|
IBAMR
IBAMR version 0.19.
|
#include <ibamr/LSInitStrategy.h>

Public Member Functions | |
| BasePatchLevel () | |
| virtual | ~BasePatchLevel () |
| virtual int | getLevelNumber () const =0 |
| virtual void | allocatePatchData (const int id, const double timestamp=0.0, tbox::Pointer< tbox::Arena > pool=NULL)=0 |
| virtual void | allocatePatchData (const hier::ComponentSelector &components, const double timestamp=0.0, tbox::Pointer< tbox::Arena > pool=NULL)=0 |
| virtual void | deallocatePatchData (const int id)=0 |
| virtual void | deallocatePatchData (const hier::ComponentSelector &components)=0 |
| virtual void | setTime (const double timestamp, const int id)=0 |
| virtual void | setTime (const double timestamp, const hier::ComponentSelector &components)=0 |
| virtual void | setTime (const double timestamp)=0 |
| virtual const hier::IntVector< DIM > & | getRatio () const =0 |
Class BasePatchLevel in a virtual base class that provides an abstract interface for a patch level. This allows higher-level classes in SAMRAI and in applications that use SAMRAI to interface with a level in an abstract manner without knowing whether it is a PatchLevel representing a level on a rectangular domain or if it is a level that exists, for example, in a multiblock domain.
| SAMRAI::hier::BasePatchLevel< DIM >::BasePatchLevel | ( | ) |
Default constructor. BasePatchLevel must be initialized before it can be used.
|
virtual |
The virtual destructor for patch level deallocates all patches.
|
pure virtual |
Return the number of this level in a hierarchy, or the number of a hierarchy level matching the index space of this level. If this level does not align with the index space of a level in the hierarchy, then this value is -1. When the level is in a hierarchy, the return value os the number of the level in the hierarchy. See member function inHierarchy() below.
Implemented in SAMRAI::hier::MultiblockPatchLevel< DIM >.
|
pure virtual |
Allocate the specified component on all patches. If no memory arena is specified, then the standard memory arena will be used.
Implemented in SAMRAI::hier::MultiblockPatchLevel< DIM >.
|
pure virtual |
Allocate the specified components on all patches. If no memory arena is specified, then the standard memory arena will be used.
Implemented in SAMRAI::hier::MultiblockPatchLevel< DIM >.
|
pure virtual |
Deallocate the specified component on all patches. This component will need to be reallocated before its next use.
Implemented in SAMRAI::hier::MultiblockPatchLevel< DIM >.
|
pure virtual |
Deallocate the specified components on all patches. These components will need to be reallocated before their next use.
Implemented in SAMRAI::hier::MultiblockPatchLevel< DIM >.
|
pure virtual |
Set the simulation time for the specified patch component.
Implemented in SAMRAI::hier::MultiblockPatchLevel< DIM >.
|
pure virtual |
Set the simulation time for the specified patch components.
Implemented in SAMRAI::hier::MultiblockPatchLevel< DIM >.
|
pure virtual |
Set the simulation time for all allocated patch components.
Implemented in SAMRAI::hier::MultiblockPatchLevel< DIM >.
|
pure virtual |
Return a const reference to the vector ratio between the index space of this patch level and that of a reference level in AMR hierarchy (typically, level zero). Specifically, this is the ratio passed to the constructor.
Implemented in SAMRAI::hier::MultiblockPatchLevel< DIM >.
1.8.17