#include <source/hierarchy/patches/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=(0)) 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=(0), const ComponentSelector component_selector=ComponentSelector(false)) const |
|
Construct a patch level factory object. |
|
Virtual destructor for patch level factory objects. |
|
Allocate a patch level with the specified boxes and processor mappings. Redefine this function to change the method for creating patch levels. |
|
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. |