ASPECT
|
Public Member Functions | |
FEVariable (const VariableDeclaration< dim > &fe_variable, const unsigned int component_index, const unsigned int block_index, const unsigned int base_index) | |
const FEValuesExtractors::Scalar & | extractor_scalar () const |
const FEValuesExtractors::Vector & | extractor_vector () const |
Public Member Functions inherited from aspect::VariableDeclaration< dim > | |
VariableDeclaration (const std::string &name, const std::shared_ptr< FiniteElement< dim >> &fe, const unsigned int multiplicity, const unsigned int n_blocks) | |
VariableDeclaration () | |
unsigned int | n_components () const |
Public Attributes | |
unsigned int | first_component_index |
unsigned int | block_index |
unsigned int | base_index |
ComponentMask | component_mask |
Public Attributes inherited from aspect::VariableDeclaration< dim > | |
std::string | name |
std::shared_ptr< FiniteElement< dim > > | fe |
unsigned int | multiplicity |
unsigned int | n_blocks |
Private Attributes | |
FEValuesExtractors::Scalar | scalar_extractor |
FEValuesExtractors::Vector | vector_extractor |
Struct to represent a variable as part of a FEVariableCollection. Constructed from an instance of VariableDeclaration<dim> but contains additional information that can be queried.
Definition at line 111 of file fe_variable_collection.h.
aspect::FEVariable< dim >::FEVariable | ( | const VariableDeclaration< dim > & | fe_variable, |
const unsigned int | component_index, | ||
const unsigned int | block_index, | ||
const unsigned int | base_index | ||
) |
Initialize this variable as part of a FESystem with the given indices for component
, block
, and base
.
const FEValuesExtractors::Scalar& aspect::FEVariable< dim >::extractor_scalar | ( | ) | const |
Return a scalar FeValuesExtractor if this variable is scalar.
const FEValuesExtractors::Vector& aspect::FEVariable< dim >::extractor_vector | ( | ) | const |
Return a vector FeValuesExtractor if this variable is a vector.
unsigned int aspect::FEVariable< dim >::first_component_index |
The first component index of this variable within the FEVariableCollection.
Definition at line 126 of file fe_variable_collection.h.
unsigned int aspect::FEVariable< dim >::block_index |
The index of the block of the linear system this variable is placed in (within the FEVariableCollection).
Definition at line 132 of file fe_variable_collection.h.
unsigned int aspect::FEVariable< dim >::base_index |
This index represents the how-manyth variable this is in the FEVariableCollection and consequently the FESystem, so the
Definition at line 138 of file fe_variable_collection.h.
ComponentMask aspect::FEVariable< dim >::component_mask |
The component mask of this variable.
Definition at line 143 of file fe_variable_collection.h.
|
private |
Stores the object returned by extractor_scalar().
Definition at line 159 of file fe_variable_collection.h.
|
private |
Stores the object returned by extractor_vector().
Definition at line 164 of file fe_variable_collection.h.