FEI Version of the Day
Public Member Functions
fei::DofMapper< LocalOrdinal, GlobalOrdinal, DofOrder > Class Template Reference

#include <fei_DofMapper.hpp>

List of all members.

Public Member Functions

 DofMapper ()
 ~DofMapper ()
void setFieldSize (LocalOrdinal field, LocalOrdinal field_size)

Detailed Description

template<class LocalOrdinal, class GlobalOrdinal, class DofOrder = less_rank_id_field<LocalOrdinal, GlobalOrdinal>>
class fei::DofMapper< LocalOrdinal, GlobalOrdinal, DofOrder >

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 77 of file fei_DofMapper.hpp.


Constructor & Destructor Documentation

template<class LocalOrdinal, class GlobalOrdinal, class DofOrder = less_rank_id_field<LocalOrdinal, GlobalOrdinal>>
fei::DofMapper< LocalOrdinal, GlobalOrdinal, DofOrder >::DofMapper ( ) [inline]

constructor

Definition at line 80 of file fei_DofMapper.hpp.

template<class LocalOrdinal, class GlobalOrdinal, class DofOrder = less_rank_id_field<LocalOrdinal, GlobalOrdinal>>
fei::DofMapper< LocalOrdinal, GlobalOrdinal, DofOrder >::~DofMapper ( ) [inline]

destructor

Definition at line 84 of file fei_DofMapper.hpp.


Member Function Documentation

template<class LocalOrdinal , class GlobalOrdinal , class DofOrder >
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 159 of file fei_DofMapper.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends