#include <source/patchdata/face/FaceDataFactory.h>
Inheritance diagram for SAMRAI::pdat::FaceDataFactory< DIM, TYPE >:
Public Member Functions | |
FaceDataFactory (int depth, const hier::IntVector< DIM > &ghosts, bool fine_boundary_represents_var) | |
virtual | ~FaceDataFactory () |
virtual tbox::Pointer< hier::PatchDataFactory< DIM > > | cloneFactory () |
virtual tbox::Pointer< hier::PatchData< DIM > > | allocate (const hier::Box< DIM > &box, tbox::Pointer< tbox::Arena > pool=tbox::Pointer< tbox::Arena >((0))) const |
virtual tbox::Pointer< hier::BoxGeometry< DIM > > | getBoxGeometry (const hier::Box< DIM > &box) const |
virtual const hier::IntVector< DIM > & | getDefaultGhostCellWidth () const |
virtual void | setDefaultGhostCellWidth (const hier::IntVector< DIM > &ghosts) |
int | getDefaultDepth () const |
void | setDefaultDepth (const int depth) |
virtual size_t | getSizeOfMemory (const hier::Box< DIM > &box) const |
bool | fineBoundaryRepresentsVariable () const |
bool | dataLivesOnPatchBorder () const |
bool | validCopyTo (const tbox::Pointer< hier::PatchDataFactory< DIM > > &dst_pdf) const |
pdat::PatchDataFactory
|
The constructor for the face data factory class. The ghost cell width, depth (number of components), and fine boundary representation arguments give the defaults for all edge data objects created with this factory. See the FaceVariable<DIM> class header file for more information. |
|
Virtual destructor for the face 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 ghost cell width). 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 face data object. The default information about the object (e.g., ghost cell width) 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 face 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 face data instances. |
|
Get the default depth (number of components). This is the default depth that will be used in the instantiation of face data objects. |
|
Set the default depth (number of components). This is the default depth that will be used in the instantiation of face data objects. |
|
Calculate the amount of memory needed to store the face data object, including object data and dynamically allocated data. |
|
Return a boolean value indicating how data for the face quantity will be treated on coarse-fine interfaces. This value is passed into the constructor. See the FaceVariable<DIM> class header file for more information. Implements SAMRAI::hier::PatchDataFactory< DIM >. |
|
Return true since the face data index space extends beyond the interior of patches. That is, face data lives on patch borders. Implements SAMRAI::hier::PatchDataFactory< DIM >. |
|
Return whether it is valid to copy this FaceDataFactory to the supplied destination patch data factory. It will return true if dst_pdf is FaceDataFactory and OuterfaceDataFactory, false otherwise. |