#include <source/patchdata/index/IndexDataFactory.h>
Inheritance diagram for SAMRAI::pdat::IndexDataFactory< DIM, TYPE >:
Public Member Functions | |
IndexDataFactory (const hier::IntVector< DIM > &ghosts) | |
virtual | ~IndexDataFactory () |
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::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) |
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 |
|
The default constructor for the IndexDataFactory<DIM> class. The ghost cell width argument gives the default width for all irregular data objects created with this factory. |
|
Virtual destructor for the irregular data factory class. |
|
Virtual function to clone the irregular data factor. This will return a new instantiation of the factory with the samr properties (e.g, same type and ghost cell width). The properties of the cloned factory can then be changed (e.g., change the ghost cell width) without modifying the original. Implements SAMRAI::hier::PatchDataFactory< DIM >. |
|
Virtual factory function to allocate a concrete irregular data object. The default information about the object (e.g., ghost cell width) is taken from the factory. If no memory pool is provided, 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 irregular data instances. 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 irregular data instances. |
|
Calculate the amount of memory needed to store the irregular data object, including object data but not dynamically allocated data. Because the irregular data list can grow and shrink, it would be impossible to estimate the necessary amount of memory. Instead, dynamic data is allocated via the standard new/free mechanisms. |
|
Return a boolean true value indicating that the index data quantities will always be treated as though fine values represent them on coarse-fine interfaces. See the IndexVariable<DIM> class header file for more information. Implements SAMRAI::hier::PatchDataFactory< DIM >. |
|
Return false since the index data index space matches the cell-centered index space for AMR patches. Thus, index data does not live on patch borders. Implements SAMRAI::hier::PatchDataFactory< DIM >. |
|
Return whether it is valid to copy this IndexDataFactory to the supplied destination patch data factory. It will return true if dst_pdf is an IndexDataFactory of the same type and dimension, false otherwise. |