#include <source/multiblock/MultiblockPatchLevel.h>
Inheritance diagram for SAMRAI::mblk::MultiblockPatchLevel< DIM >:
Public Member Functions | |
MultiblockPatchLevel (tbox::Array< tbox::Pointer< hier::PatchLevel< DIM > > > &levels) | |
Constructor takes an array of pointers to patch levels. | |
~MultiblockPatchLevel () | |
tbox::Pointer< hier::PatchLevel< DIM > > | getPatchLevelForBlock (const int id) const |
Return a pointer to the hier::PatchLevel<DIM> associated with the id number. | |
void | allocatePatchData (const int id, const double timestamp=0.0, tbox::Pointer< tbox::Arena > pool=NULL) |
Allocate the specified component on all patches. If no memory arena is specified, then the standard memory arena will be used. | |
void | allocatePatchData (const hier::ComponentSelector &components, const double timestamp=0.0, tbox::Pointer< tbox::Arena > pool=NULL) |
Allocate the specified components on all patches. If no memory arena is specified, then the standard memory arena will be used. | |
void | deallocatePatchData (const int id) |
Deallocate the specified component on all patches. | |
void | deallocatePatchData (const hier::ComponentSelector &components) |
Deallocate the specified components on all patches. | |
void | setTime (const double timestamp, const int id) |
Set the simulation time for the specified patch component. | |
void | setTime (const double timestamp, const hier::ComponentSelector &components) |
Set the simulation time for the specified patch components. | |
void | setTime (const double timestamp) |
Set the simulation time for all allocated patch components. | |
int | getNumberBlocks () const |
Get the number of blocks in the multiblock domain. | |
int | getLevelNumber () const |
Get the level number of this level. | |
const hier::IntVector< DIM > & | getRatio () const |
Get the ratio to level zero of this level. |
|
Constructor takes an array of pointers to patch levels.
|
|
Destructor is uninteresting |
|
Return a pointer to the hier::PatchLevel<DIM> associated with the id number.
|
|
Allocate the specified component on all patches. If no memory arena is specified, then the standard memory arena will be used.
Implements SAMRAI::hier::BasePatchLevel< DIM >. |
|
Allocate the specified components on all patches. If no memory arena is specified, then the standard memory arena will be used.
Implements SAMRAI::hier::BasePatchLevel< DIM >. |
|
Deallocate the specified component on all patches.
Implements SAMRAI::hier::BasePatchLevel< DIM >. |
|
Deallocate the specified components on all patches.
Implements SAMRAI::hier::BasePatchLevel< DIM >. |
|
Set the simulation time for the specified patch component.
Implements SAMRAI::hier::BasePatchLevel< DIM >. |
|
Set the simulation time for the specified patch components.
Implements SAMRAI::hier::BasePatchLevel< DIM >. |
|
Set the simulation time for all allocated patch components.
Implements SAMRAI::hier::BasePatchLevel< DIM >. |
|
Get the number of blocks in the multiblock domain.
|
|
Get the level number of this level.
Implements SAMRAI::hier::BasePatchLevel< DIM >. |
|
Get the ratio to level zero of this level.
Implements SAMRAI::hier::BasePatchLevel< DIM >. |