ASPECT
include
aspect
mesh_deformation
function.h
Go to the documentation of this file.
1
// ------------------------------------------------------
2
//
3
// SPDX-License-Identifier: GPL-2.0-or-later
4
//
5
// SPDX-FileCopyrightText: Copyright (C) 2018-2026 by the ASPECT authors.
6
//
7
// This file is part of ASPECT.
8
//
9
// Detailed license information governing the source code and
10
// contributions can be found in the folder LICENSES and in
11
// LICENSE and CONTRIBUTING.md at the top level directory.
12
//
13
// ------------------------------------------------------
14
15
16
#ifndef _aspect_mesh_deformation_boundary_function_h
17
#define _aspect_mesh_deformation_boundary_function_h
18
19
#include <
aspect/mesh_deformation/interface.h
>
20
#include <
aspect/simulator_access.h
>
21
#include <
aspect/utilities.h
>
22
23
#include <
deal.II/base/parsed_function.h
>
24
25
namespace
aspect
26
{
27
namespace
MeshDeformation
28
{
35
template
<
int
dim>
36
class
BoundaryFunction
:
public
Interface
<dim>,
public
SimulatorAccess
<dim>
37
{
38
public
:
42
BoundaryFunction
();
43
47
void
update
()
override
;
48
55
void
56
compute_velocity_constraints_on_boundary
(
const
DoFHandler<dim>
&mesh_deformation_dof_handler,
57
AffineConstraints<double>
&mesh_velocity_constraints,
58
const
std::set<types::boundary_id> &boundary_ids)
const override
;
59
63
bool
needs_surface_stabilization
()
const override
;
64
68
static
69
void
declare_parameters
(
ParameterHandler
&prm);
70
74
void
parse_parameters
(
ParameterHandler
&prm)
override
;
75
76
private
:
80
Functions::ParsedFunction<dim>
function
;
81
86
Utilities::Coordinates::CoordinateSystem
coordinate_system
;
87
};
88
}
89
}
90
91
92
#endif
aspect::Utilities::Coordinates::CoordinateSystem
CoordinateSystem
Definition:
coordinate_systems.h:53
utilities.h
AffineConstraints< double >
parsed_function.h
Functions::ParsedFunction< dim >
interface.h
aspect::MeshDeformation::BoundaryFunction::compute_velocity_constraints_on_boundary
void compute_velocity_constraints_on_boundary(const DoFHandler< dim > &mesh_deformation_dof_handler, AffineConstraints< double > &mesh_velocity_constraints, const std::set< types::boundary_id > &boundary_ids) const override
ParameterHandler
aspect::MeshDeformation::BoundaryFunction::needs_surface_stabilization
bool needs_surface_stabilization() const override
aspect::MeshDeformation::BoundaryFunction::coordinate_system
Utilities::Coordinates::CoordinateSystem coordinate_system
Definition:
function.h:86
simulator_access.h
aspect::SimulatorAccess
Definition:
plugins.h:41
aspect::MeshDeformation::Interface
Definition:
interface.h:83
aspect
Definition:
advection_field.h:24
aspect::MeshDeformation::BoundaryFunction
Definition:
function.h:36
DoFHandler< dim >
aspect::MeshDeformation::BoundaryFunction::parse_parameters
void parse_parameters(ParameterHandler &prm) override
aspect::MeshDeformation::BoundaryFunction::update
void update() override
aspect::MeshDeformation::BoundaryFunction::declare_parameters
static void declare_parameters(ParameterHandler &prm)
aspect::MeshDeformation::BoundaryFunction::BoundaryFunction
BoundaryFunction()
ASPECT manual
| Generated by
1.8.12