#include <source/patchdata/side/SideDataFactory.h>
Inheritance diagram for SAMRAI::pdat::SideDataFactory< DIM, TYPE >:
Note that it is possible to create a side data factory to allocate and manage data for cell sides associated with a single coordinate direction only. See the constructor for more information.
pdat::PatchDataFactory
|
The default constructor for the side 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. Also, the default data allocation scheme is to generate storage for sides in all coordinate directions (default integer vector of all 1's). To use this factory to manage side data objects for sides associated with a single direction only, provide the directions vector argument. A zero entry indicates that data for that direction is not wanted. Otherwise, data will be created for that direction. See the SideVariable<DIM> class header file for more information. |
|
Virtual destructor for the side 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 side 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 side 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 side data instances. |
|
Get the default depth (number of components). This is the default depth that will be used in the instantiation of side data objects. |
|
Set the default depth (number of components). This is the default depth that will be used in the instantiation of side data objects. |
|
Return constant reference to vector describing which coordinate directions have data associated with this side data object. A vector entry of zero indicates that there is no data array allocated for the corresponding coordinate direction. A non-zero value indicates that a valid data array is maintained for that coordinate direction. |
|
Calculate the amount of memory needed to store the side data object, including object data and dynamically allocated data. |
|
Return a boolean value indicating how data for the side 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 side data index space extends beyond the interior of patches. That is, side data lives on patch borders. Implements SAMRAI::hier::PatchDataFactory< DIM >. |
|
Return whether it is valid to copy this SideDataFactory to the supplied destination patch data factory. It will return true if dst_pdf is SideDataFactory or OutersideDataFactory, false otherwise. |