|
IBAMR
IBAMR version 0.19.
|
#include <PatchLevelFactory.h>

Public Member Functions | |
| PatchLevelFactory () | |
| virtual | ~PatchLevelFactory () |
| virtual tbox::Pointer< PatchLevel< DIM > > | allocate (const BoxArray< DIM > &boxes, const ProcessorMapping &mapping, const IntVector< DIM > &ratio_to_level_zero, const tbox::Pointer< GridGeometry< DIM > > grid_geometry, const tbox::Pointer< PatchDescriptor< DIM > > descriptor, tbox::Pointer< PatchFactory< DIM > > factory=NULL, const bool defer_boundary_box_creation=false) const |
| virtual tbox::Pointer< PatchLevel< DIM > > | allocate (tbox::Pointer< tbox::Database > database, const tbox::Pointer< GridGeometry< DIM > > grid_geometry, const tbox::Pointer< PatchDescriptor< DIM > > descriptor, tbox::Pointer< PatchFactory< DIM > > factory=NULL, const ComponentSelector component_selector=ComponentSelector(false), const bool defer_boundary_box_creation=false) const |
Private Member Functions | |
| PatchLevelFactory (const PatchLevelFactory< DIM > &) | |
| void | operator= (const PatchLevelFactory< DIM > &) |
Class PatchLevelFactory<DIM> is a factory object used to create new patch levels. New types of patch level objects can be introduced into SAMRAI by deriving from PatchLevelFactory<DIM> and re-defining allocate.
| SAMRAI::hier::PatchLevelFactory< DIM >::PatchLevelFactory | ( | ) |
Construct a patch level factory object.
|
virtual |
Virtual destructor for patch level factory objects.
|
private |
|
virtual |
Allocate a patch level with the specified boxes and processor mappings. Redefine this function to change the method for creating patch levels.
|
virtual |
Allocate a patch level using the data from the database to initialize it. The component_selector argument is used to specify which patch data components to allocate and read in from the database. By default, the component_selector has all its bits set to false so that no patch data components are allocated and read from the database.
Redefine this function to change the method for creating patch levels from a database.
|
private |
1.8.17