|
IBAMR
IBAMR version 0.19.
|
Class MultiblockPatchLevel<DIM> contains an array of hier::PatchLevel<DIM> that contains all of the patch levels that have the same level of refinement in a multiblock domain. More...
#include <MultiblockPatchLevel.h>

Public Member Functions | |
| MultiblockPatchLevel (tbox::Array< tbox::Pointer< hier::PatchLevel< DIM > > > &levels) | |
| Constructor takes an array of pointers to patch levels. More... | |
| ~MultiblockPatchLevel () | |
| tbox::Pointer< hier::PatchLevel< DIM > > | getPatchLevelForBlock (const int id) const |
| Return a pointer to the hier::PatchLevel<DIM> associated with the id number. More... | |
| 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. More... | |
| 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. More... | |
| void | deallocatePatchData (const int id) |
| Deallocate the specified component on all patches. More... | |
| void | deallocatePatchData (const hier::ComponentSelector &components) |
| Deallocate the specified components on all patches. More... | |
| void | setTime (const double timestamp, const int id) |
| Set the simulation time for the specified patch component. More... | |
| void | setTime (const double timestamp, const hier::ComponentSelector &components) |
| Set the simulation time for the specified patch components. More... | |
| void | setTime (const double timestamp) |
| Set the simulation time for all allocated patch components. More... | |
| int | getNumberOfBlocks () const |
| Get the number of blocks in the multiblock domain. More... | |
| int | getLevelNumber () const |
| Get the level number of this level. More... | |
| const hier::IntVector< DIM > & | getRatio () const |
| Get the ratio to level zero of this level. More... | |
Private Attributes | |
| tbox::Array< tbox::Pointer< hier::PatchLevel< DIM > > > | d_levels |
| int | d_number_blocks |
| SAMRAI::hier::MultiblockPatchLevel< DIM >::MultiblockPatchLevel | ( | tbox::Array< tbox::Pointer< hier::PatchLevel< DIM > > > & | levels | ) |
| levels | Array of pointers to hier::PatchLevel<DIM>. The array indices correspond to block numbers. Pointers in the array may be null. A null pointer indicates that the MultiblockPatchLevel does not represent any space in the block associated with its array index. |
| SAMRAI::hier::MultiblockPatchLevel< DIM >::~MultiblockPatchLevel | ( | ) |
Destructor is uninteresting
| tbox::Pointer< hier::PatchLevel<DIM> > SAMRAI::hier::MultiblockPatchLevel< DIM >::getPatchLevelForBlock | ( | const int | id | ) | const |
| id | corresponds to the indexing of the array passed into the constructor. |
|
virtual |
| id | A patch data id |
| timestamp | Simulation time |
| pool | A memory arena |
Implements SAMRAI::hier::BasePatchLevel< DIM >.
|
virtual |
| components | A component selector defining a set of patch data id's |
| timestamp | Simulation time |
| pool | A memory arena |
Implements SAMRAI::hier::BasePatchLevel< DIM >.
|
virtual |
| id | Patch data id of data to be deallocated |
Implements SAMRAI::hier::BasePatchLevel< DIM >.
|
virtual |
| components | A component selector defining a set of patch data id's which indicate the data to be deallocated |
Implements SAMRAI::hier::BasePatchLevel< DIM >.
|
virtual |
| timestamp | Simulation time |
| id | A patch data id |
Implements SAMRAI::hier::BasePatchLevel< DIM >.
|
virtual |
| timestamp | Simulation time |
| components | A component selector defining a set of patch data id's |
Implements SAMRAI::hier::BasePatchLevel< DIM >.
|
virtual |
| timestamp | Simulation time |
Implements SAMRAI::hier::BasePatchLevel< DIM >.
| int SAMRAI::hier::MultiblockPatchLevel< DIM >::getNumberOfBlocks | ( | ) | const |
|
virtual |
Implements SAMRAI::hier::BasePatchLevel< DIM >.
|
virtual |
Implements SAMRAI::hier::BasePatchLevel< DIM >.
|
private |
|
private |
1.8.17