![]() |
KASKADE 7 development version
|
A class defining elementary information about a single variable. More...
#include <variables.hh>
Public Member Functions | |
| Variable (std::string const &name_) | |
| Constructor. | |
| Variable ()=default | |
| Constructor. This will create a default name based on the variable id. | |
Public Attributes | |
| std::string | name |
Static Public Attributes | |
| static int const | spaceIndex = A::spaceIndex>=0? A::spaceIndex : B::spaceIndex |
| static int const | m = A::m>=0? A::m : B::m |
A class defining elementary information about a single variable.
This includes the number of components, the name of the variable, and the index of the associated FEFunctionSpace from which the variable comes.
This class differs from VariableDescription mainly in how it is created. The template parameters should be SpaceIndex and Components, in arbitrary order (but one of each).
Example (e.g. for a Stokes setting):
Definition at line 120 of file variables.hh.
|
inline |
Constructor.
| name | The name of the variable. This is used for output. |
Definition at line 132 of file variables.hh.
|
default |
Constructor. This will create a default name based on the variable id.
|
static |
Definition at line 123 of file variables.hh.
| std::string Kaskade::Variable< A, B >::name |
Definition at line 141 of file variables.hh.
Referenced by Variable().
|
static |