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

#include <GenericGridCollection.h>

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

Public Types

enum  {
  THEbaseGrid = 1 << 20, THErefinementLevel = THEbaseGrid << 1, THEcomponentGrid = THErefinementLevel << 1, THEmultigridLevel = THEcomponentGrid << 1,
  THEdomain = THEmultigridLevel << 1, ENDtheGenericGridCollectionData = THEdomain << 1, NOTHING = GenericGridData::NOTHING, THEusualSuspects = GenericGridData::THEusualSuspects,
  THElists, EVERYTHING, COMPUTEnothing = GenericGridData::COMPUTEnothing, COMPUTEtheUsual = GenericGridData::COMPUTEtheUsual,
  COMPUTEfailed = GenericGridData::COMPUTEfailed
}
 

Public Member Functions

 GenericGridCollectionData (const Integer numberOfGrids_=0)
 
 GenericGridCollectionData (const GenericGridCollectionData &x, const CopyType ct=DEEP)
 
virtual ~GenericGridCollectionData ()
 
GenericGridCollectionDataoperator= (const GenericGridCollectionData &x)
 
GenericGridoperator[] (const Integer &i)
 
const GenericGridoperator[] (const Integer &i) const
 
void reference (const GenericGridCollectionData &x)
 
virtual void breakReference ()
 
virtual void consistencyCheck () const
 
const aStringgetDomainName (int domain) const
 
void setDomainName (int domain, const aString &name)
 
virtual Integer get (const GenericDataBase &db, const aString &name)
 
virtual Integer put (GenericDataBase &db, const aString &name, int geometryToPut=-1) const
 
Integer update (const Integer what=THEusualSuspects, const Integer how=COMPUTEtheUsual)
 
virtual Integer update (GenericGridCollectionData &x, const Integer what=THEusualSuspects, const Integer how=COMPUTEtheUsual)
 
virtual void destroy (const Integer what=NOTHING)
 
virtual void geometryHasChanged (const Integer what=~NOTHING)
 
virtual Integer addRefinement (const Integer &level, const Integer k=0)
 
virtual Integer addRefinements (const Integer level, const Integer k, const Integer numberToAdd)
 
virtual void deleteRefinement (const Integer &k)
 
virtual void deleteRefinementLevels (const Integer level=0)
 
virtual void referenceRefinementLevels (GenericGridCollectionData &x, const Integer level=INTEGER_MAX)
 
virtual Integer addMultigridCoarsening (const Integer &level, const Integer k=0)
 
virtual void deleteMultigridCoarsening (const Integer &k)
 
virtual void deleteMultigridLevels (const Integer level=0)
 
virtual void setNumberOfGrids (const Integer &numberOfGrids_)
 Set the number of grids.
 
void initialize (const Integer &numberOfGrids_)
 
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

Integer computedGeometry
 
Integer numberOfGrids
 
ListOfGenericGrid grid
 
IntegerArray gridNumber
 
Integer numberOfBaseGrids
 
ListOfGenericGridCollection baseGrid
 
IntegerArray baseGridNumber
 
Integer numberOfRefinementLevels
 
ListOfGenericGridCollection refinementLevel
 
IntegerArray refinementLevelNumber
 
Integer numberOfComponentGrids
 
ListOfGenericGridCollection componentGrid
 
IntegerArray componentGridNumber
 
Integer numberOfMultigridLevels
 
ListOfGenericGridCollection multigridLevel
 
IntegerArray multigridLevelNumber
 
Integer numberOfDomains
 
ListOfGenericGridCollection domain
 
IntegerArray domainNumber
 
std::vector< aStringdomainName
 
bool keepGridDistributionOnCopy
 
GridDistributionList gridDistributionList
 
LoadBalancerpLoadBalancer
 

Protected Types

enum  GridCollectionTypes {
  masterGridCollection, refinementLevelGridCollection, multigridLevelGridCollection, baseGridGridCollection,
  domainGridCollection
}
 

Protected Member Functions

Integer updateCollection (const Integer &what, Integer &numberOfCollections, ListOfGenericGridCollection &list, IntegerArray &number)
 

Protected Attributes

enum
GenericGridCollectionData::GridCollectionTypes 
gridCollectionType
 

Member Enumeration Documentation

anonymous enum
Enumerator
THEbaseGrid 
THErefinementLevel 
THEcomponentGrid 
THEmultigridLevel 
THEdomain 
ENDtheGenericGridCollectionData 
NOTHING 
THEusualSuspects 
THElists 
EVERYTHING 
COMPUTEnothing 
COMPUTEtheUsual 
COMPUTEfailed 
Enumerator
masterGridCollection 
refinementLevelGridCollection 
multigridLevelGridCollection 
baseGridGridCollection 
domainGridCollection 

Constructor & Destructor Documentation

GenericGridCollectionData::GenericGridCollectionData ( const Integer  numberOfGrids_ = 0)

References initialize().

GenericGridCollectionData::GenericGridCollectionData ( const GenericGridCollectionData x,
const CopyType  ct = DEEP 
)

References initialize(), and NOCOPY.

GenericGridCollectionData::~GenericGridCollectionData ( )
virtual

Member Function Documentation

Integer GenericGridCollectionData::addMultigridCoarsening ( const Integer level,
const Integer  k = 0 
)
virtual
Integer GenericGridCollectionData::addRefinement ( const Integer level,
const Integer  k = 0 
)
virtual
Integer GenericGridCollectionData::addRefinements ( const Integer  level,
const Integer  k,
const Integer  numberToAdd 
)
virtual
void GenericGridCollectionData::breakReference ( void  )
virtual
void GenericGridCollectionData::consistencyCheck ( void  ) const
virtual
void GenericGridCollectionData::deleteMultigridCoarsening ( const Integer k)
virtual
void GenericGridCollectionData::deleteMultigridLevels ( const Integer  level = 0)
virtual
void GenericGridCollectionData::deleteRefinement ( const Integer k)
virtual
void GenericGridCollectionData::deleteRefinementLevels ( const Integer  level = 0)
virtual
void GenericGridCollectionData::destroy ( const Integer  what = NOTHING)
virtual
void GenericGridCollectionData::geometryHasChanged ( const Integer  what = ~NOTHING)
virtual
Integer GenericGridCollectionData::get ( const GenericDataBase db,
const aString name 
)
virtual
virtual aString GenericGridCollectionData::getClassName ( void  ) const
inlinevirtual
const aString & GenericGridCollectionData::getDomainName ( int  domain) const

References domainName, printF(), and sPrintF().

void GenericGridCollectionData::initialize ( const Integer numberOfGrids_)
GenericGridCollectionData & GenericGridCollectionData::operator= ( const GenericGridCollectionData x)
GenericGrid& GenericGridCollectionData::operator[] ( const Integer i)
inline

References grid.

const GenericGrid& GenericGridCollectionData::operator[] ( const Integer i) const
inline

References grid.

Integer GenericGridCollectionData::put ( GenericDataBase db,
const aString name,
int  geometryToPut = -1 
) const
virtual
void GenericGridCollectionData::reference ( const GenericGridCollectionData x)
void GenericGridCollectionData::referenceRefinementLevels ( GenericGridCollectionData x,
const Integer  level = INTEGER_MAX 
)
virtual
void GenericGridCollectionData::setDomainName ( int  domain,
const aString name 
)
void GenericGridCollectionData::setNumberOfGrids ( const Integer numberOfGrids_)
virtual
Integer GenericGridCollectionData::update ( const Integer  what = THEusualSuspects,
const Integer  how = COMPUTEtheUsual 
)
inline
Integer GenericGridCollectionData::update ( GenericGridCollectionData x,
const Integer  what = THEusualSuspects,
const Integer  how = COMPUTEtheUsual 
)
virtual
Integer GenericGridCollectionData::updateCollection ( const Integer what,
Integer numberOfCollections,
ListOfGenericGridCollection list,
IntegerArray number 
)
protected

Member Data Documentation

ListOfGenericGridCollection GenericGridCollectionData::baseGrid
IntegerArray GenericGridCollectionData::baseGridNumber
ListOfGenericGridCollection GenericGridCollectionData::componentGrid
IntegerArray GenericGridCollectionData::componentGridNumber
Integer GenericGridCollectionData::computedGeometry
ListOfGenericGridCollection GenericGridCollectionData::domain
std::vector<aString> GenericGridCollectionData::domainName

Referenced by setDomainName().

IntegerArray GenericGridCollectionData::domainNumber
ListOfGenericGrid GenericGridCollectionData::grid
enum GenericGridCollectionData::GridCollectionTypes GenericGridCollectionData::gridCollectionType
protected

Referenced by initialize(), and operator=().

GridDistributionList GenericGridCollectionData::gridDistributionList
IntegerArray GenericGridCollectionData::gridNumber
bool GenericGridCollectionData::keepGridDistributionOnCopy
ListOfGenericGridCollection GenericGridCollectionData::multigridLevel
IntegerArray GenericGridCollectionData::multigridLevelNumber
Integer GenericGridCollectionData::numberOfBaseGrids
Integer GenericGridCollectionData::numberOfComponentGrids
Integer GenericGridCollectionData::numberOfDomains
Integer GenericGridCollectionData::numberOfGrids

Referenced by addMultigridCoarsening(), CompositeGridData::addMultigridCoarsening(), CompositeGridData::addRefinement(), addRefinements(), CompositeGridData::canInterpolate(), CompositeGridData::CompositeGridData(), consistencyCheck(), doubleGridCollectionFunction::consistencyCheck(), floatGridCollectionFunction::consistencyCheck(), intGridCollectionFunction::consistencyCheck(), CompositeGridData::convertLocalInterpolationData(), deleteMultigridCoarsening(), GridCollectionData::deleteMultigridCoarsening(), CompositeGridData::deleteMultigridCoarsening(), deleteMultigridLevels(), GridCollectionData::deleteMultigridLevels(), CompositeGridData::deleteMultigridLevels(), deleteRefinement(), GridCollectionData::deleteRefinement(), CompositeGridData::deleteRefinement(), deleteRefinementLevels(), GridCollectionData::deleteRefinementLevels(), CompositeGridData::deleteRefinementLevels(), destroy(), geometryHasChanged(), get(), GridCollectionData::get(), CompositeGridData::get(), GridCollectionData::GridCollectionData(), GridCollectionData::initialize(), CompositeGridData::makeCompleteMultigridLevels(), doubleGridCollectionFunction::numberOfGrids(), floatGridCollectionFunction::numberOfGrids(), intGridCollectionFunction::numberOfGrids(), GenericGridCollection::numberOfGrids(), operator=(), GridCollectionData::operator=(), referenceRefinementLevels(), GridCollectionData::referenceRefinementLevels(), CompositeGridData::referenceRefinementLevels(), GridCollectionData::replaceRefinementLevels(), CompositeGridData::replaceRefinementLevels(), GridCollectionData::setNumberOfDimensions(), CompositeGridData::setNumberOfDimensions(), CompositeGridData::setNumberOfDimensionsAndGrids(), setNumberOfGrids(), update(), GridCollectionData::update(), CompositeGridData::update(), updateCollection(), GridCollectionData::updateCollection(), CompositeGridData::updateCollection(), floatGridCollectionFunction::updateToMatchGridFunction(), doubleGridCollectionFunction::updateToMatchGridFunction(), and intGridCollectionFunction::updateToMatchGridFunction().

Integer GenericGridCollectionData::numberOfMultigridLevels
Integer GenericGridCollectionData::numberOfRefinementLevels
LoadBalancer* GenericGridCollectionData::pLoadBalancer
ListOfGenericGridCollection GenericGridCollectionData::refinementLevel
IntegerArray GenericGridCollectionData::refinementLevelNumber

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