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 ()
LocalOrdinal rank () const
GlobalOrdinal id () const
LocalOrdinal field () const

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).


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 40 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]


Definition at line 43 of file fei_Dof.hpp.

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


Definition at line 47 of file fei_Dof.hpp.

The documentation for this class was generated from the following file:
Generated on Mon Jul 12 09:31:42 2010 for FEI by  doxygen 1.4.7