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 | Public Attributes | Private Attributes | List of all members
fei::Record< GlobalIDType > Class Template Reference

#include <fei_Record.hpp>

Public Member Functions

 Record ()
 
 Record (const Record< GlobalIDType > &src)
 
virtual ~Record ()
 
void setID (const GlobalIDType &ID)
 
GlobalIDType getID () const
 
void setNumber (const GlobalIDType &num)
 
GlobalIDType getNumber () const
 
bool operator== (const Record< GlobalIDType > &rcd) const
 
bool operator!= (const Record< GlobalIDType > &rcd) const
 
bool operator< (const Record< GlobalIDType > &rcd) const
 
bool operator> (const Record< GlobalIDType > &rcd) const
 
void setOwnerProc (int owner)
 
int getOwnerProc () const
 
void setFieldMask (fei::FieldMask *fm)
 
fei::FieldMaskgetFieldMask ()
 
const fei::FieldMaskgetFieldMask () const
 
void setOffsetIntoEqnNumbers (int offset)
 
int getOffsetIntoEqnNumbers () const
 
bool hasSlaveDof () const
 
void hasSlaveDof (bool flag)
 
Record< GlobalIDType > & operator= (const Record< GlobalIDType > &src)
 

Public Attributes

bool isInLocalSubdomain_
 

Private Attributes

GlobalIDType ID_
 
GlobalIDType number_
 
fei::FieldMaskfieldMask_
 
int offsetIntoEqnNumbers_
 
int ownerProc_
 
bool hasSlaveDof_
 

Detailed Description

template<typename GlobalIDType>
class fei::Record< GlobalIDType >

Container for record attributes. A Record is basically the FEI representation of a "mesh-object".

Definition at line 20 of file fei_Record.hpp.

Constructor & Destructor Documentation

template<class GlobalIDType >
fei::Record< GlobalIDType >::Record ( )

Constructor

Definition at line 181 of file fei_Record.hpp.

template<typename GlobalIDType>
fei::Record< GlobalIDType >::Record ( const Record< GlobalIDType > &  src)
inline

copy constructor

Definition at line 26 of file fei_Record.hpp.

template<class GlobalIDType >
fei::Record< GlobalIDType >::~Record ( )
virtual

Destructor

Definition at line 193 of file fei_Record.hpp.

Member Function Documentation

template<typename GlobalIDType>
void fei::Record< GlobalIDType >::setID ( const GlobalIDType &  ID)
inline

Set globally unique identifier.

Definition at line 40 of file fei_Record.hpp.

References fei::Record< GlobalIDType >::ID_.

Referenced by snl_fei::RecordCollection::initRecords().

template<typename GlobalIDType>
GlobalIDType fei::Record< GlobalIDType >::getID ( ) const
inline
template<typename GlobalIDType>
void fei::Record< GlobalIDType >::setNumber ( const GlobalIDType &  num)
inline

Set globally zero-based number.

Definition at line 52 of file fei_Record.hpp.

References fei::Record< GlobalIDType >::number_.

Referenced by fei::VectorSpace::setLocalEqnNumbers(), and snl_fei::RecordMsgHandler::storeEqnNumbers().

template<typename GlobalIDType>
GlobalIDType fei::Record< GlobalIDType >::getNumber ( ) const
inline
template<typename GlobalIDType>
bool fei::Record< GlobalIDType >::operator== ( const Record< GlobalIDType > &  rcd) const
inline

operator==

Definition at line 64 of file fei_Record.hpp.

References fei::Record< GlobalIDType >::ID_.

template<typename GlobalIDType>
bool fei::Record< GlobalIDType >::operator!= ( const Record< GlobalIDType > &  rcd) const
inline

operator!=

Definition at line 70 of file fei_Record.hpp.

References fei::Record< GlobalIDType >::ID_.

template<typename GlobalIDType>
bool fei::Record< GlobalIDType >::operator< ( const Record< GlobalIDType > &  rcd) const
inline

operator<

Definition at line 76 of file fei_Record.hpp.

References fei::Record< GlobalIDType >::ID_.

template<typename GlobalIDType>
bool fei::Record< GlobalIDType >::operator> ( const Record< GlobalIDType > &  rcd) const
inline

operator>

Definition at line 82 of file fei_Record.hpp.

References fei::Record< GlobalIDType >::ID_.

template<typename GlobalIDType>
void fei::Record< GlobalIDType >::setOwnerProc ( int  owner)
inline
template<typename GlobalIDType>
int fei::Record< GlobalIDType >::getOwnerProc ( ) const
inline
template<typename GlobalIDType>
void fei::Record< GlobalIDType >::setFieldMask ( fei::FieldMask fm)
inline

setFieldMask

Definition at line 100 of file fei_Record.hpp.

References fei::Record< GlobalIDType >::fieldMask_.

Referenced by snl_fei::RecordCollection::initRecords().

template<typename GlobalIDType>
fei::FieldMask* fei::Record< GlobalIDType >::getFieldMask ( )
inline
template<typename GlobalIDType>
const fei::FieldMask* fei::Record< GlobalIDType >::getFieldMask ( ) const
inline

getFieldMask

Definition at line 112 of file fei_Record.hpp.

References fei::Record< GlobalIDType >::fieldMask_.

template<typename GlobalIDType>
void fei::Record< GlobalIDType >::setOffsetIntoEqnNumbers ( int  offset)
inline

Set offset-into-equation-numbers.

Definition at line 119 of file fei_Record.hpp.

References fei::Record< GlobalIDType >::offsetIntoEqnNumbers_.

Referenced by fei::VectorSpace::setLocalEqnNumbers().

template<typename GlobalIDType>
int fei::Record< GlobalIDType >::getOffsetIntoEqnNumbers ( ) const
inline
template<typename GlobalIDType>
bool fei::Record< GlobalIDType >::hasSlaveDof ( ) const
inline
template<typename GlobalIDType>
void fei::Record< GlobalIDType >::hasSlaveDof ( bool  flag)
inline

Definition at line 134 of file fei_Record.hpp.

References fei::Record< GlobalIDType >::hasSlaveDof_.

template<typename GlobalIDType>
Record<GlobalIDType>& fei::Record< GlobalIDType >::operator= ( const Record< GlobalIDType > &  src)
inline

Member Data Documentation

template<typename GlobalIDType>
GlobalIDType fei::Record< GlobalIDType >::ID_
private
template<typename GlobalIDType>
GlobalIDType fei::Record< GlobalIDType >::number_
private
template<typename GlobalIDType>
fei::FieldMask* fei::Record< GlobalIDType >::fieldMask_
private
template<typename GlobalIDType>
int fei::Record< GlobalIDType >::offsetIntoEqnNumbers_
private
template<typename GlobalIDType>
int fei::Record< GlobalIDType >::ownerProc_
private
template<typename GlobalIDType>
bool fei::Record< GlobalIDType >::isInLocalSubdomain_
template<typename GlobalIDType>
bool fei::Record< GlobalIDType >::hasSlaveDof_
private

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