DiFfRG
Loading...
Searching...
No Matches
DiFfRG::AbstractFlowingVariables< NumberType > Class Template Referenceabstract

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

template<typename NumberType>
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
DiscretizationSpatial Discretization used in the system

Member Function Documentation

◆ data() [1/2]

template<typename NumberType >
virtual const BlockVector< NumberType > & DiFfRG::AbstractFlowingVariables< NumberType >::data ( ) const
pure virtual

◆ data() [2/2]

template<typename NumberType >
virtual BlockVector< NumberType > & DiFfRG::AbstractFlowingVariables< NumberType >::data ( )
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]

template<typename NumberType >
virtual const Vector< NumberType > & DiFfRG::AbstractFlowingVariables< NumberType >::spatial_data ( ) const
pure virtual

◆ spatial_data() [2/2]

template<typename NumberType >
virtual Vector< NumberType > & DiFfRG::AbstractFlowingVariables< NumberType >::spatial_data ( )
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]

template<typename NumberType >
virtual const Vector< NumberType > & DiFfRG::AbstractFlowingVariables< NumberType >::variable_data ( ) const
pure virtual

◆ variable_data() [2/2]

template<typename NumberType >
virtual Vector< NumberType > & DiFfRG::AbstractFlowingVariables< NumberType >::variable_data ( )
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: