1 #ifndef _GridCollection
2 #define _GridCollection
18 class AMR_RefinementLevelInfo;
79 RCVector<MappedGrid>
grid;
84 RCVector<GridCollection>
domain;
110 const Integer numberOfDimensions_ = 0,
111 const Integer numberOfGrids_ = 0);
128 int geometryToPut = -1
133 {
return update(*
this, what, how); }
166 const Integer& numberOfDimensions_,
167 const Integer& numberOfGrids_);
169 const Integer& numberOfDimensions_,
170 const Integer& numberOfGrids_);
185 RCVector<GridCollection>& list,
186 RCVector<GenericGridCollection>& genericList,
205 cerr <<
"virtual void GridCollectionData::addRefinement(const Integer& level, const Integer k) must not be called!"
206 <<
"It must have been called illegally through the base class GenericGridCollectionData."
215 cerr <<
"virtual void GridCollectionData::addMultigridCoarsening(const Integer& level, const Integer k) must not be called!"
216 <<
"It must have been called illegally through the base class GenericGridCollectionData."
304 RCVector<MappedGrid>
grid;
319 RCVector<GridCollection>
domain;
359 const Integer numberOfDimensions_ = 0,
360 const Integer numberOfGrids_ = 0);
418 int geometryToPut = -1
430 {
return update(*
this, what, how); }
536 const Integer& numberOfDimensions_,
537 const Integer& numberOfGrids_);
541 virtual real sizeOf(FILE *file =
NULL,
bool returnSizeOfReference =
false )
const;
571 const Integer& numberOfDimensions_,
572 const Integer& numberOfGrids_);
604 cerr <<
"virtual void GridCollection::addRefinement(const Integer& level, const Integer k) must not be called!"
605 <<
"It must have been called illegally through the base class GenericGridCollection."
614 cerr <<
"virtual void GridCollection::addMultigridCoarsening(const Integer& level, const Integer k) must not be called!"
615 <<
"It must have been called illegally through the base class GenericGridCollection."
621 const Integer& numberOfGrids_) {
622 if (&numberOfGrids_);
623 cerr <<
"virtual void GridCollection::initialize(const Integer& numberOfGrids_) must not be called!"
624 <<
"It must have been called illegally through the base class GenericGridCollection."
652 #endif // _GridCollection