AbstractFlowingVariables< NumberType > Class Template Reference#
|
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 <abstract_data.hh>
Public Member Functions | |
| virtual BlockVector< NumberType > & | data ()=0 |
| Obtain the data vector holding both spatial (block 0) and variable (block 1) data. | |
| virtual const BlockVector< NumberType > & | data () const =0 |
| virtual Vector< NumberType > & | spatial_data ()=0 |
| Obtain the spatial data vector. | |
| virtual const Vector< NumberType > & | spatial_data () const =0 |
| virtual Vector< NumberType > & | variable_data ()=0 |
| Obtain the variable data vector. | |
| virtual const Vector< NumberType > & | variable_data () const =0 |
Detailed Description
class DiFfRG::AbstractFlowingVariables< NumberType >
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.
- Template Parameters
-
Discretization Spatial Discretization used in the system
Member Function Documentation
◆ data() [1/2]
|
pure virtual |
Implemented in DiFfRG::FE::FlowingVariables< Discretization >, and DiFfRG::FlowingVariables< NT >.
◆ data() [2/2]
|
pure virtual |
Obtain the data vector holding both spatial (block 0) and variable (block 1) data.
- Returns
- BlockVector<NumberType>& The data vector.
Implemented in DiFfRG::FE::FlowingVariables< Discretization >, and DiFfRG::FlowingVariables< NT >.
◆ spatial_data() [1/2]
|
pure virtual |
Implemented in DiFfRG::FE::FlowingVariables< Discretization >, and DiFfRG::FlowingVariables< NT >.
◆ spatial_data() [2/2]
|
pure virtual |
Obtain the spatial data vector.
- Returns
- Vector<NumberType>& The spatial data vector.
Implemented in DiFfRG::FE::FlowingVariables< Discretization >, and DiFfRG::FlowingVariables< NT >.
◆ variable_data() [1/2]
|
pure virtual |
Implemented in DiFfRG::FE::FlowingVariables< Discretization >, and DiFfRG::FlowingVariables< NT >.
◆ variable_data() [2/2]
|
pure virtual |
Obtain the variable data vector.
- Returns
- Vector<NumberType>& The variable data vector.
Implemented in DiFfRG::FE::FlowingVariables< Discretization >, and DiFfRG::FlowingVariables< NT >.
The documentation for this class was generated from the following file:
- /home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/discretization/common/abstract_data.hh
Generated by