FEI Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
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

◆ Record() [1/2]

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

Constructor

Definition at line 181 of file fei_Record.hpp.

◆ Record() [2/2]

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

copy constructor

Definition at line 26 of file fei_Record.hpp.

◆ ~Record()

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

Destructor

Definition at line 193 of file fei_Record.hpp.

Member Function Documentation

◆ setID()

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(), and snl_fei::RecordCollection::initRecords().

◆ getID()

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

◆ setNumber()

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

◆ getNumber()

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

◆ operator==()

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

◆ operator!=()

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

◆ operator<()

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

◆ operator>()

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

◆ setOwnerProc()

template<typename GlobalIDType >
void fei::Record< GlobalIDType >::setOwnerProc ( int owner)
inline

◆ getOwnerProc()

template<typename GlobalIDType >
int fei::Record< GlobalIDType >::getOwnerProc ( ) const
inline

◆ setFieldMask()

template<typename GlobalIDType >
void fei::Record< GlobalIDType >::setFieldMask ( fei::FieldMask * fm)
inline

◆ getFieldMask() [1/2]

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

◆ getFieldMask() [2/2]

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

◆ setOffsetIntoEqnNumbers()

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

◆ getOffsetIntoEqnNumbers()

template<typename GlobalIDType >
int fei::Record< GlobalIDType >::getOffsetIntoEqnNumbers ( ) const
inline

◆ hasSlaveDof() [1/2]

template<typename GlobalIDType >
bool fei::Record< GlobalIDType >::hasSlaveDof ( ) const
inline

◆ hasSlaveDof() [2/2]

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

◆ operator=()

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

Member Data Documentation

◆ ID_

template<typename GlobalIDType >
GlobalIDType fei::Record< GlobalIDType >::ID_
private

◆ number_

template<typename GlobalIDType >
GlobalIDType fei::Record< GlobalIDType >::number_
private

◆ fieldMask_

template<typename GlobalIDType >
fei::FieldMask* fei::Record< GlobalIDType >::fieldMask_
private

◆ offsetIntoEqnNumbers_

template<typename GlobalIDType >
int fei::Record< GlobalIDType >::offsetIntoEqnNumbers_
private

◆ ownerProc_

template<typename GlobalIDType >
int fei::Record< GlobalIDType >::ownerProc_
private

◆ isInLocalSubdomain_

template<typename GlobalIDType >
bool fei::Record< GlobalIDType >::isInLocalSubdomain_

◆ hasSlaveDof_

template<typename GlobalIDType >
bool fei::Record< GlobalIDType >::hasSlaveDof_
private

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