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

#include <fei_Dof.hpp>

List of all members.

Public Member Functions

 Dof (LocalOrdinal rank, GlobalOrdinal id, LocalOrdinal field)
 ~Dof ()

Detailed Description

template<class LocalOrdinal, class GlobalOrdinal>
class fei::Dof< LocalOrdinal, GlobalOrdinal >

Dof - mesh-degree-of-freedom.

A mesh-dof is the triple (rank, id, field).

Thus if the user chooses to give nodes a rank of 0 and the temperature field a label of 4, then the temperature at node 97 can be represented as the dof (0, 97, 4).

Notes:

1. The Dof class is templated on the two integer types LocalOrdinal and GlobalOrdinal. Ranks and Fields have type LocalOrdinal, while ids have type GlobalOrdinal. The distinction is somewhat arbitrary, but the assumption is that there may be billions (or more?) ids, but probably far fewer distinct ranks or fields. So in extreme cases a user may wish to use a different type (larger) for ids than for the rank or field.

Definition at line 74 of file fei_Dof.hpp.


Constructor & Destructor Documentation

template<class LocalOrdinal, class GlobalOrdinal>
fei::Dof< LocalOrdinal, GlobalOrdinal >::Dof ( LocalOrdinal  rank,
GlobalOrdinal  id,
LocalOrdinal  field 
) [inline]

constructor

Definition at line 77 of file fei_Dof.hpp.

template<class LocalOrdinal, class GlobalOrdinal>
fei::Dof< LocalOrdinal, GlobalOrdinal >::~Dof ( ) [inline]

destructor

Definition at line 81 of file fei_Dof.hpp.


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