ASPECT
Public Member Functions | List of all members
aspect::PrescribedSolution::Interface< dim > Class Template Referenceabstract
Inheritance diagram for aspect::PrescribedSolution::Interface< dim >:
Inheritance graph
[legend]

Public Member Functions

virtual void constrain_solution (const typename DoFHandler< dim >::active_cell_iterator &cell, const std::vector< Point< dim >> &positions, const std::vector< unsigned int > &component_indices, std::vector< bool > &should_be_constrained, std::vector< double > &solution)=0
 
- Public Member Functions inherited from aspect::Plugins::InterfaceBase
virtual ~InterfaceBase ()=default
 
virtual void initialize ()
 
virtual void update ()
 
virtual void parse_parameters (ParameterHandler &prm)
 

Additional Inherited Members

- Static Public Member Functions inherited from aspect::Plugins::InterfaceBase
static void declare_parameters (ParameterHandler &prm)
 

Detailed Description

template<int dim>
class aspect::PrescribedSolution::Interface< dim >

This plugin allows the user to prescribe solution and can be thought of as prescribing temperature, velocities, etc. during the model run, equivalent to the initial conditions plugin.

Definition at line 53 of file interface.h.

Member Function Documentation

§ constrain_solution()

template<int dim>
virtual void aspect::PrescribedSolution::Interface< dim >::constrain_solution ( const typename DoFHandler< dim >::active_cell_iterator &  cell,
const std::vector< Point< dim >> &  positions,
const std::vector< unsigned int > &  component_indices,
std::vector< bool > &  should_be_constrained,
std::vector< double > &  solution 
)
pure virtual

A function that walks through all active DoF positions in a cell and determines whether each of them should_be_constrained based on the component_indices. If a constraint is required, its value is computed and stored in the solution.

Implemented in aspect::PrescribedSolution::VelocityFunction< dim >.


The documentation for this class was generated from the following file: