#include <source/hierarchy/patches/BasePatchLevel.h>
Inheritance diagram for SAMRAI::hier::BasePatchLevel< DIM >:
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 |
|
Default constructor. BasePatchLevel must be initialized before it can be used. |
|
The virtual destructor for patch level deallocates all patches. |
|
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::PatchLevel< DIM >, and SAMRAI::mblk::MultiblockPatchLevel< DIM >. |
|
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::PatchLevel< DIM >, and SAMRAI::mblk::MultiblockPatchLevel< DIM >. |
|
Allocate the specified components on all patches. If no memory arena is specified, then the standard memory arena will be used. Implemented in SAMRAI::mblk::MultiblockPatchLevel< DIM >. |
|
Deallocate the specified component on all patches. This component will need to be reallocated before its next use. Implemented in SAMRAI::hier::PatchLevel< DIM >, and SAMRAI::mblk::MultiblockPatchLevel< DIM >. |
|
Deallocate the specified components on all patches. These components will need to be reallocated before their next use. Implemented in SAMRAI::mblk::MultiblockPatchLevel< DIM >. |
|
Set the simulation time for the specified patch component. Implemented in SAMRAI::hier::PatchLevel< DIM >, and SAMRAI::mblk::MultiblockPatchLevel< DIM >. |
|
Set the simulation time for the specified patch components. Implemented in SAMRAI::mblk::MultiblockPatchLevel< DIM >. |
|
Set the simulation time for all allocated patch components. Implemented in SAMRAI::hier::PatchLevel< DIM >, and SAMRAI::mblk::MultiblockPatchLevel< DIM >. |
|
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::PatchLevel< DIM >, and SAMRAI::mblk::MultiblockPatchLevel< DIM >. |