ASPECT
|
Public Member Functions | |
virtual | ~Interface ()=default |
virtual void | initialize () |
virtual void | update () |
virtual bool | needs_surface_stabilization () const |
virtual Tensor< 1, dim > | compute_initial_deformation_on_boundary (const types::boundary_id boundary_indicator, const Point< dim > &position) const |
virtual 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_id) const |
virtual void | parse_parameters (ParameterHandler &prm) |
Static Public Member Functions | |
static void | declare_parameters (ParameterHandler &prm) |
A base class for mesh deformation plugins. Each derived class should implement a function that determines the deformation velocity for certain mesh vertices and store them in a AffineConstraints<double> object. The velocities for all non-constrained vertices will be computed by solving a Laplace problem with the given constraints.
Definition at line 90 of file interface.h.
|
virtualdefault |
Destructor. Made virtual to enforce that derived classes also have virtual destructors.
|
virtual |
Initialization function. This function is called once at the beginning of the program after parse_parameters is run and after the SimulatorAccess (if applicable) is initialized.
The default implementation of this function does nothing.
Reimplemented in aspect::MeshDeformation::AsciiData< dim >, aspect::MeshDeformation::Diffusion< dim >, and aspect::MeshDeformation::FreeSurface< dim >.
|
virtual |
A function that is called at the beginning of each time step and that allows the implementation to update internal data structures. This is useful, for example, if you have mesh deformation that depends on time, or on the solution of the previous step.
The default implementation of this function does nothing.
Reimplemented in aspect::MeshDeformation::Diffusion< dim >, and aspect::MeshDeformation::BoundaryFunction< dim >.
|
virtual |
A function that will be called to check whether stabilization is needed.
Reimplemented in aspect::MeshDeformation::Diffusion< dim >, aspect::MeshDeformation::FreeSurface< dim >, aspect::MeshDeformation::AsciiData< dim >, and aspect::MeshDeformation::BoundaryFunction< dim >.
|
virtual |
A function that returns the initial deformation of points on the boundary (e.g. the surface vertices). position
is the undeformed position and this function is expected to return the displacement vector of this position. The default implementation returns a zero displacement (= no initial deformation).
Reimplemented in aspect::MeshDeformation::AsciiData< dim >.
|
virtual |
A function that creates constraints for the velocity of certain mesh vertices (e.g. the surface vertices) for a specific set of boundaries. The calling class will respect these constraints when computing the new vertex positions. The default implementation creates no constraints.
Reimplemented in aspect::MeshDeformation::Diffusion< dim >, aspect::MeshDeformation::FreeSurface< dim >, and aspect::MeshDeformation::BoundaryFunction< dim >.
|
static |
Declare the parameters this class takes through input files. The default implementation of this function does not describe any parameters. Consequently, derived classes do not have to overload this function if they do not take any runtime parameters.
|
virtual |
Read the parameters this class declares from the parameter file. The default implementation of this function does not read any parameters. Consequently, derived classes do not have to overload this function if they do not take any runtime parameters.
Reimplemented in aspect::MeshDeformation::AsciiData< dim >, aspect::MeshDeformation::Diffusion< dim >, aspect::MeshDeformation::FreeSurface< dim >, and aspect::MeshDeformation::BoundaryFunction< dim >.