FEI Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
fei::FieldDofMap< LocalOrdinal > Class Template Reference

#include <fei_FieldDofMap.hpp>

Inheritance diagram for fei::FieldDofMap< LocalOrdinal >:
Inheritance graph
[legend]

Public Member Functions

 FieldDofMap ()
 
 ~FieldDofMap ()
 
void add_field (LocalOrdinal fieldID, LocalOrdinal fieldSize, LocalOrdinal fieldType=fei::UNKNOWN)
 
LocalOrdinal get_dof_id (LocalOrdinal fieldID, LocalOrdinal offset)
 

Private Types

typedef std::map< LocalOrdinal,
std::pair< LocalOrdinal,
LocalOrdinal > > 
dof_id_map
 

Private Member Functions

void compute_dof_ids ()
 

Private Attributes

dof_id_map m_dof_id_map
 
bool m_need_to_compute_dof_ids
 

Detailed Description

template<class LocalOrdinal>
class fei::FieldDofMap< LocalOrdinal >

A simple class to map fieldIDs to dof_ids. fieldIDs are arbitrary numbers, while dof_ids are members of a zero-based contiguous set, one dof_id for each scalar component of each field.

Definition at line 23 of file fei_FieldDofMap.hpp.

Member Typedef Documentation

template<class LocalOrdinal>
typedef std::map<LocalOrdinal,std::pair<LocalOrdinal,LocalOrdinal> > fei::FieldDofMap< LocalOrdinal >::dof_id_map
private

Definition at line 39 of file fei_FieldDofMap.hpp.

Constructor & Destructor Documentation

template<class LocalOrdinal>
fei::FieldDofMap< LocalOrdinal >::FieldDofMap ( )
inline

Definition at line 25 of file fei_FieldDofMap.hpp.

template<class LocalOrdinal>
fei::FieldDofMap< LocalOrdinal >::~FieldDofMap ( )
inline

Definition at line 29 of file fei_FieldDofMap.hpp.

Member Function Documentation

template<class LocalOrdinal>
void fei::FieldDofMap< LocalOrdinal >::add_field ( LocalOrdinal  fieldID,
LocalOrdinal  fieldSize,
LocalOrdinal  fieldType = fei::UNKNOWN 
)

Definition at line 46 of file fei_FieldDofMap.hpp.

Referenced by SNL_FEI_Structure::initFields().

template<class LocalOrdinal>
LocalOrdinal fei::FieldDofMap< LocalOrdinal >::get_dof_id ( LocalOrdinal  fieldID,
LocalOrdinal  offset 
)
template<class LocalOrdinal >
void fei::FieldDofMap< LocalOrdinal >::compute_dof_ids ( )
private

Definition at line 76 of file fei_FieldDofMap.hpp.

References fei::UNKNOWN.

Member Data Documentation

template<class LocalOrdinal>
dof_id_map fei::FieldDofMap< LocalOrdinal >::m_dof_id_map
private

Definition at line 41 of file fei_FieldDofMap.hpp.

template<class LocalOrdinal>
bool fei::FieldDofMap< LocalOrdinal >::m_need_to_compute_dof_ids
private

Definition at line 42 of file fei_FieldDofMap.hpp.


The documentation for this class was generated from the following file: