Overture  Version 25
Public Types | Public Member Functions | Public Attributes | List of all members
GenericGrid Class Reference

#include <GenericGrid.h>

Inheritance diagram for GenericGrid:
Inheritance graph
[legend]
Collaboration diagram for GenericGrid:
Collaboration graph
[legend]

Public Types

enum  GridTypeEnum { structuredGrid =0, unstructuredGrid }
 
enum  { NOTHING = GenericGridData::NOTHING, THEusualSuspects = GenericGridData::THEusualSuspects, EVERYTHING = GenericGridData::EVERYTHING }
 
enum  { COMPUTEnothing = GenericGridData::COMPUTEnothing, COMPUTEtheUsual = GenericGridData::COMPUTEtheUsual, COMPUTEfailed = GenericGridData::COMPUTEfailed }
 
typedef GenericGridData RCData
 

Public Member Functions

const IntegercomputedGeometry () const
 
 GenericGrid ()
 
 GenericGrid (const GenericGrid &x, const CopyType ct=DEEP)
 
virtual ~GenericGrid ()
 
GenericGridoperator= (const GenericGrid &x)
 
GenericGridequals (const GenericGrid &x, int option=0)
 
void reference (const GenericGrid &x)
 
void reference (GenericGridData &x)
 
virtual void breakReference ()
 
virtual void consistencyCheck () const
 
virtual Integer get (const GenericDataBase &db, const aString &name, bool getMapping=true)
 
virtual Integer put (GenericDataBase &db, const aString &name, bool putMapping=true, int geometryToPut=-1) const
 
virtual void specifyProcesses (const Range &range)
 
void updateReferences (const Integer what=EVERYTHING)
 
Integer update (const Integer what=THEusualSuspects, const Integer how=COMPUTEtheUsual)
 
virtual Integer update (GenericGrid &x, const Integer what=THEusualSuspects, const Integer how=COMPUTEtheUsual)
 
virtual void destroy (const Integer what=NOTHING)
 
void geometryHasChanged (const Integer what=~NOTHING)
 
virtual void initialize ()
 
Logical operator== (const GenericGrid &x) const
 
Logical operator!= (const GenericGrid &x) const
 
GenericGridDataoperator-> ()
 
const GenericGridDataoperator-> () const
 
GenericGridDataoperator* ()
 
const GenericGridDataoperator* () const
 
virtual aString getClassName () const
 
- Public Member Functions inherited from ReferenceCounting
 ReferenceCounting ()
 
 ReferenceCounting (const ReferenceCounting &x, const CopyType ct=DEEP)
 
virtual ~ReferenceCounting ()
 
Integer incrementReferenceCount ()
 
Integer decrementReferenceCount ()
 
Integer getReferenceCount () const
 
Logical uncountedReferencesMayExist ()
 
Integer getGlobalID () const
 
void setGlobalID (int id)
 

Public Attributes

RCDatarcData
 
Logical isCounted
 

Member Typedef Documentation

Member Enumeration Documentation

anonymous enum
Enumerator
NOTHING 
THEusualSuspects 
EVERYTHING 
anonymous enum
Enumerator
COMPUTEnothing 
COMPUTEtheUsual 
COMPUTEfailed 
Enumerator
structuredGrid 
unstructuredGrid 

Constructor & Destructor Documentation

GenericGrid::GenericGrid ( )
GenericGrid::GenericGrid ( const GenericGrid x,
const CopyType  ct = DEEP 
)
GenericGrid::~GenericGrid ( )
virtual

Member Function Documentation

void GenericGrid::breakReference ( void  )
virtual

Reimplemented from ReferenceCounting.

Reimplemented in MappedGrid.

References ReferenceCounting::getReferenceCount(), isCounted, rcData, reference(), and x.

const Integer& GenericGrid::computedGeometry ( ) const
inline
void GenericGrid::consistencyCheck ( void  ) const
virtual
void GenericGrid::destroy ( const Integer  what = NOTHING)
virtual

Reimplemented in MappedGrid.

References GenericGridData::destroy(), rcData, and updateReferences().

GenericGrid & GenericGrid::equals ( const GenericGrid x,
int  option = 0 
)
void GenericGrid::geometryHasChanged ( const Integer  what = ~NOTHING)
inline
Integer GenericGrid::get ( const GenericDataBase db,
const aString name,
bool  getMapping = true 
)
virtual

Reimplemented in MappedGrid.

References GenericGridData::get(), rcData, and updateReferences().

virtual aString GenericGrid::getClassName ( void  ) const
inlinevirtual

Reimplemented from ReferenceCounting.

Reimplemented in MappedGrid.

Referenced by consistencyCheck().

void GenericGrid::initialize ( )
virtual

Reimplemented in MappedGrid.

References GenericGridData::initialize(), and rcData.

Referenced by MappedGrid::initialize().

Logical GenericGrid::operator!= ( const GenericGrid x) const
inline

References rcData.

GenericGridData& GenericGrid::operator* ( )
inline

References rcData.

const GenericGridData& GenericGrid::operator* ( ) const
inline

References rcData.

GenericGridData* GenericGrid::operator-> ( )
inline

References rcData.

const GenericGridData* GenericGrid::operator-> ( ) const
inline

References rcData.

GenericGrid & GenericGrid::operator= ( const GenericGrid x)
Logical GenericGrid::operator== ( const GenericGrid x) const
inline

References rcData.

Integer GenericGrid::put ( GenericDataBase db,
const aString name,
bool  putMapping = true,
int  geometryToPut = -1 
) const
virtual

Reimplemented in MappedGrid.

void GenericGrid::reference ( const GenericGrid x)
void GenericGrid::reference ( GenericGridData x)
void GenericGrid::specifyProcesses ( const Range &  range)
virtual

Reimplemented in MappedGrid.

References rcData, and GenericGridData::specifyProcesses().

Integer GenericGrid::update ( const Integer  what = THEusualSuspects,
const Integer  how = COMPUTEtheUsual 
)
inline

References update().

Referenced by update().

Integer GenericGrid::update ( GenericGrid x,
const Integer  what = THEusualSuspects,
const Integer  how = COMPUTEtheUsual 
)
virtual
void GenericGrid::updateReferences ( const Integer  what = EVERYTHING)

Member Data Documentation

Logical GenericGrid::isCounted
RCData* GenericGrid::rcData

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