|
DiFfRG
|
A class to set up initial data for whatever discretization we have chosen. Also used to switch/manage memory, vectors, matrices over interfaces between spatial discretization and separate variables. More...
#include <data.hh>
Public Types | |
| using | NumberType = NT |
Public Member Functions | |
| FlowingVariables () | |
| Construct a new Flowing Variables object. | |
| template<typename Model > | |
| void | interpolate (const Model &model) |
| Interpolates the initial condition from a numerical model. | |
| virtual BlockVector< NumberType > & | data () override |
| Obtain the data vector holding both spatial (block 0) and variable (block 1) data. | |
| virtual const BlockVector< NumberType > & | data () const override |
| virtual Vector< NumberType > & | spatial_data () override |
| Obtain the spatial data vector. | |
| virtual const Vector< NumberType > & | spatial_data () const override |
| virtual Vector< NumberType > & | variable_data () override |
| Obtain the variable data vector. | |
| virtual const Vector< NumberType > & | variable_data () const override |
Public Member Functions inherited from DiFfRG::AbstractFlowingVariables< double > | |
Private Attributes | |
| BlockVector< NumberType > | m_data |
A class to set up initial data for whatever discretization we have chosen. Also used to switch/manage memory, vectors, matrices over interfaces between spatial discretization and separate variables.
| Discretization | Spatial Discretization used in the system |
| using DiFfRG::FlowingVariables< NT >::NumberType = NT |
|
inline |
Construct a new Flowing Variables object.
|
inlineoverridevirtual |
Implements DiFfRG::AbstractFlowingVariables< double >.
|
inlineoverridevirtual |
Obtain the data vector holding both spatial (block 0) and variable (block 1) data.
Implements DiFfRG::AbstractFlowingVariables< double >.
|
inline |
Interpolates the initial condition from a numerical model.
| model | The model to interpolate from. Must provide a method initial_condition(const Point<dim> &, Vector<NumberType> &) |
|
inlineoverridevirtual |
Implements DiFfRG::AbstractFlowingVariables< double >.
|
inlineoverridevirtual |
Obtain the spatial data vector.
Implements DiFfRG::AbstractFlowingVariables< double >.
|
inlineoverridevirtual |
Implements DiFfRG::AbstractFlowingVariables< double >.
|
inlineoverridevirtual |
Obtain the variable data vector.
Implements DiFfRG::AbstractFlowingVariables< double >.
|
private |