FEI
Version of the Day
|
#include <fei_DofMapper.hpp>
Public Member Functions | |
DofMapper () | |
~DofMapper () | |
void | setFieldSize (LocalOrdinal field, LocalOrdinal field_size) |
A mapping from mesh-degrees-of-freedom (dofs) to equation-numbers.
Mesh-dofs are represented by fei::Dof, see fei_Dof.hpp for details.
Equation numbers are also called global indices. They are globally-unique and zero-based.
A 'dof' may correspond to multiple global-indices if the dof's field has multiple scalar components, e.g. a vector field such as velocity in 3D.
Fields are assumed to be scalar fields (have 1 component) unless a field-size is set using the setFieldSize method.
Definition at line 42 of file fei_DofMapper.hpp.
|
inline |
constructor
Definition at line 45 of file fei_DofMapper.hpp.
|
inline |
destructor
Definition at line 49 of file fei_DofMapper.hpp.
void fei::DofMapper< LocalOrdinal, GlobalOrdinal, DofOrder >::setFieldSize | ( | LocalOrdinal | field, |
LocalOrdinal | field_size | ||
) |
Set the specified field to have the specified field_size. 'field' is added to the internal field map if not already present. If 'field' is already present, its field_size is reset to the new value.
Definition at line 124 of file fei_DofMapper.hpp.