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

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

References fieldMask_, hasSlaveDof_, ID_, isInLocalSubdomain_, number_, offsetIntoEqnNumbers_, ownerProc_, and Record().

◆ ~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 ID_.

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

◆ getID()

◆ 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 number_.

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

◆ getNumber()

◆ 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 ID_, and Record().

◆ 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 ID_, and Record().

◆ 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 ID_, and Record().

◆ 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 ID_, and Record().

◆ setOwnerProc()

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

◆ getOwnerProc()

◆ setFieldMask()

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

setFieldMask

Definition at line 100 of file fei_Record.hpp.

References fieldMask_.

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

◆ getFieldMask() [1/2]

◆ 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 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 offsetIntoEqnNumbers_.

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

◆ getOffsetIntoEqnNumbers()

◆ 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 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

Definition at line 152 of file fei_Record.hpp.

Referenced by getNumber(), operator=(), Record(), Record(), and setNumber().

◆ fieldMask_

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

Definition at line 154 of file fei_Record.hpp.

Referenced by getFieldMask(), getFieldMask(), operator=(), Record(), Record(), and setFieldMask().

◆ offsetIntoEqnNumbers_

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

◆ ownerProc_

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

Definition at line 158 of file fei_Record.hpp.

Referenced by getOwnerProc(), operator=(), Record(), Record(), and setOwnerProc().

◆ isInLocalSubdomain_

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

ugh, public data member...

Definition at line 162 of file fei_Record.hpp.

Referenced by fei::Lookup_Impl::buildDatabases(), snl_fei::SubdMsgHandler::getSendMessage(), operator=(), Record(), and Record().

◆ hasSlaveDof_

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

Definition at line 165 of file fei_Record.hpp.

Referenced by hasSlaveDof(), hasSlaveDof(), operator=(), Record(), and Record().


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