#include <source/patchdata/outeredge/OuteredgeDataFactory.h>
Inheritance diagram for SAMRAI::pdat::OuteredgeDataFactory< DIM, TYPE >:
Public Member Functions | |
OuteredgeDataFactory (int depth) | |
The default constructor for the outeredge data factory class. | |
virtual | ~OuteredgeDataFactory () |
Virtual destructor for the outeredge data factory class. | |
virtual tbox::Pointer< hier::PatchDataFactory< DIM > > | cloneFactory () |
Virtual function to clone the patch data factory . | |
virtual tbox::Pointer< hier::PatchData< DIM > > | allocate (const hier::Box< DIM > &box, tbox::Pointer< tbox::Arena > pool=tbox::Pointer< tbox::Arena >((0))) const |
Virtual factory function to allocate a concrete outeredge data object. | |
virtual tbox::Pointer< hier::BoxGeometry< DIM > > | getBoxGeometry (const hier::Box< DIM > &box) const |
Allocate the box geometry object associated with the patch data. | |
virtual const hier::IntVector< DIM > & | getDefaultGhostCellWidth () const |
Get the default ghost cell width. | |
virtual void | setDefaultGhostCellWidth (const hier::IntVector< DIM > &ghosts) |
Set the default ghost cell width. | |
int | getDefaultDepth () const |
Get the default depth (number of components). | |
void | setDefaultDepth (const int depth) |
Set the default depth (number of components). | |
virtual size_t | getSizeOfMemory (const hier::Box< DIM > &box) const |
Calculate the amount of memory needed to store the outeredge data object, including object data and dynamically allocated data. | |
bool | fineBoundaryRepresentsVariable () const |
bool | dataLivesOnPatchBorder () const |
bool | validCopyTo (const tbox::Pointer< hier::PatchDataFactory< DIM > > &dst_pdf) const |
pdat::PatchDataFactory
|
The default constructor for the outeredge data factory class. The depth (number of components) gives the default for all of the outeredge data objects created with this factory. |
|
Virtual destructor for the outeredge data factory class.
|
|
Virtual function to clone the patch data factory . This will return a new instantiation of the factory with the same properties (e.g., same type and depth). The properties of the cloned factory can then be changed without modifying the original. Implements SAMRAI::hier::PatchDataFactory< DIM >. |
|
Virtual factory function to allocate a concrete outeredge data object. The default information about the object (e.g., depth) is taken from the factory. If no memory pool is provided, then the allocation routine assumes some default memory pool. |
|
Allocate the box geometry object associated with the patch data. This information will be used in the computation of intersections and data dependencies between objects. |
|
Get the default ghost cell width. This is the ghost cell width that will be used in the instantiation of concrete outeredge data objects. This is set to zero currently for outeredge data objects. Implements SAMRAI::hier::PatchDataFactory< DIM >. |
|
Set the default ghost cell width. This is the ghost cell width that will be used in the instantiation of concrete outeredge data instances. This routine should not be called with a non-zero ghost cell width and will cause an abort if the code is compiled with assertions enabled. |
|
Get the default depth (number of components). This is the default depth that will be used in the instantiation of outeredge data objects. |
|
Set the default depth (number of components). This is the default depth that will be used in the instantiation of outeredge data objects. |
|
Calculate the amount of memory needed to store the outeredge data object, including object data and dynamically allocated data.
|
|
Return a boolean true value indicating that fine data for the outeredge quantity will take precedence on coarse-fine interfaces. See the OuteredgeVariable<DIM> class header file for more information. Implements SAMRAI::hier::PatchDataFactory< DIM >. |
|
Return true since the outeredge data index space extends beyond the interior of patches. That is, outeredge data lives on patch borders. Implements SAMRAI::hier::PatchDataFactory< DIM >. |
|
Return whether it is valid to copy this OuteredgeDataFactory to the supplied destination patch data factory. It will return true if dst_pdf is EdgeDataFactory or OuteredgeDataFactory, false otherwise. |