|
IBAMR
IBAMR version 0.19.
|
Class LSetPatchDataFactory provides a SAMRAI::hier::PatchDataFactory class corresponding to patch data of type LSetData.
#include <ibtk/LSetDataFactory.h>

Public Member Functions | |
| LSetDataFactory (SAMRAI::hier::IntVector< NDIM > ghosts) | |
| virtual | ~LSetDataFactory ()=default |
| SAMRAI::tbox::Pointer< SAMRAI::hier::PatchData< NDIM > > | allocate (const SAMRAI::hier::Box< NDIM > &box, SAMRAI::tbox::Pointer< SAMRAI::tbox::Arena > pool=nullptr) const override |
| SAMRAI::tbox::Pointer< SAMRAI::hier::PatchData< NDIM > > | allocate (const SAMRAI::hier::Patch< NDIM > &patch, SAMRAI::tbox::Pointer< SAMRAI::tbox::Arena > pool=nullptr) const override |
| size_t | getSizeOfMemory (const SAMRAI::hier::Box< NDIM > &box) const override |
| SAMRAI::tbox::Pointer< SAMRAI::hier::PatchDataFactory< NDIM > > | cloneFactory (const SAMRAI::hier::IntVector< NDIM > &ghosts) override |
| bool | validCopyTo (const SAMRAI::tbox::Pointer< SAMRAI::hier::PatchDataFactory< NDIM > > &dst_pdf) const override |
| virtual tbox::Pointer< hier::PatchDataFactory< DIM > > | cloneFactory (const hier::IntVector< DIM > &ghosts) |
| Abstract virtual function to clone a patch data factory. More... | |
| virtual tbox::Pointer< PatchDataFactory< DIM > > | cloneFactory (const IntVector< DIM > &ghosts)=0 |
| Abstract virtual function to clone a patch data factory. More... | |
| virtual tbox::Pointer< hier::PatchData< DIM > > | allocate (const hier::Box< DIM > &box, tbox::Pointer< tbox::Arena > pool=(tbox::Arena *) NULL) const |
| virtual tbox::Pointer< hier::PatchData< DIM > > | allocate (const hier::Patch< DIM > &patch, tbox::Pointer< tbox::Arena > pool=tbox::Pointer< tbox::Arena >(NULL)) const |
| virtual tbox::Pointer< PatchData< DIM > > | allocate (const Box< DIM > &box, tbox::Pointer< tbox::Arena > pool=(tbox::Arena *) NULL) const =0 |
| Abstract virtual function to allocate a concrete patch data object. More... | |
| virtual tbox::Pointer< hier::BoxGeometry< DIM > > | getBoxGeometry (const hier::Box< DIM > &box) const |
| virtual tbox::Pointer< BoxGeometry< DIM > > | getBoxGeometry (const Box< DIM > &box) const =0 |
| Abstract virtual function to allocate a concrete box geometry object. More... | |
| virtual size_t | getSizeOfMemory (const hier::Box< DIM > &box) const |
| virtual size_t | getSizeOfMemory (const Box< DIM > &box) const =0 |
| Abstract virtual function to compute the amount of memory needed to allocate for object data and to represent the object itself. More... | |
| bool | fineBoundaryRepresentsVariable () const |
| virtual bool | fineBoundaryRepresentsVariable () const =0 |
| Return true if the fine data values represent the data quantity on coarse-fine interfaces if data lives on patch borders; false otherwise. More... | |
| bool | dataLivesOnPatchBorder () const |
| virtual bool | dataLivesOnPatchBorder () const =0 |
| Return true if the variable data lives on patch borders; false otherwise. More... | |
| bool | validCopyTo (const tbox::Pointer< hier::PatchDataFactory< DIM > > &dst_pdf) const |
| const IntVector< DIM > & | getGhostCellWidth () const |
| Get the ghost cell width. More... | |
| virtual MultiblockDataTranslator< DIM > * | getMultiblockDataTranslator () |
Protected Attributes | |
| IntVector< DIM > | d_ghosts |
Private Member Functions | |
| LSetDataFactory ()=delete | |
| Default constructor. More... | |
| LSetDataFactory (const LSetDataFactory< T > &from)=delete | |
| Copy constructor. More... | |
| LSetDataFactory & | operator= (const LSetDataFactory< T > &that)=delete |
| Assignment operator. More... | |
| IBTK::LSetDataFactory< T >::LSetDataFactory | ( | SAMRAI::hier::IntVector< NDIM > | ghosts | ) |
The default constructor for the LSetDataFactory class. The ghost cell width argument gives the default width for all data objects created with this factory.
|
virtualdefault |
Virtual destructor for the data factory class.
|
privatedelete |
|
privatedelete |
| from | The value to copy to this object. |
|
override |
Virtual factory function to allocate a concrete 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.
|
override |
Virtual factory function to allocate a concrete 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.
|
override |
Calculate the amount of memory needed to store the data object, including object data but not dynamically allocated data.
|
override |
Virtual function to clone the data factory. This will return a new instantiation of the factory with the same properties (e.g., same type). The properties of the cloned factory can then be changed without modifying the original.
|
override |
Return whether it is valid to copy this LSetDataFactory to the supplied destination patch data factory. It will return true if dst_pdf is a LSetDataFactory, false otherwise.
|
privatedelete |
| that | The value to assign to this object. |
|
virtualinherited |
This will return a new instantiation of the abstract factory with the same properties. The properties of the cloned factory can then be changed without modifying the original.
| ghosts | default ghost cell width for concrete classes created from the factory. |
|
pure virtualinherited |
This will return a new instantiation of the abstract factory with the same properties. The properties of the cloned factory can then be changed without modifying the original.
| ghosts | ghost cell width for concrete classes created from the factory. |
|
virtualinherited |
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.
|
virtualinherited |
Virtual factory function to allocate a concrete index data object. Same as above function, except passes in a patch instead of a box.
Implements SAMRAI::hier::PatchDataFactory< DIM >.
|
pure virtualinherited |
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.
|
virtualinherited |
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.
|
pure virtualinherited |
The box geometry object will be used in the calculation of box intersections for the computation of data dependencies.
|
virtualinherited |
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.
|
pure virtualinherited |
This includes any dynamic storage, such as arrays, needed by the concrete patch data instance. Although the patch data subclass may choose not to allocate memory from the provided memory pool, it must not use more memory than requested here.
|
inlineinherited |
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.
|
pure virtualinherited |
The boolean return value is supplied by the concrete patch data factory subclass.
Implemented in SAMRAI::pdat::SideDataFactory< DIM, TYPE >, SAMRAI::pdat::OuteredgeDataFactory< DIM, TYPE >, SAMRAI::pdat::OuternodeDataFactory< DIM, TYPE >, SAMRAI::pdat::NodeDataFactory< DIM, TYPE >, SAMRAI::pdat::CellDataFactory< DIM, TYPE >, SAMRAI::pdat::EdgeDataFactory< DIM, TYPE >, SAMRAI::pdat::FaceDataFactory< DIM, TYPE >, SAMRAI::pdat::OuterfaceDataFactory< DIM, TYPE >, SAMRAI::pdat::OutersideDataFactory< DIM, TYPE >, and SAMRAI::pdat::IndexDataFactory< DIM, TYPE, BOX_GEOMETRY >.
|
inlineinherited |
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.
|
pure virtualinherited |
The boolean return value is supplied by the concrete patch data factory subclass.
Implemented in SAMRAI::pdat::SideDataFactory< DIM, TYPE >, SAMRAI::pdat::OuteredgeDataFactory< DIM, TYPE >, SAMRAI::pdat::OuternodeDataFactory< DIM, TYPE >, SAMRAI::pdat::NodeDataFactory< DIM, TYPE >, SAMRAI::pdat::CellDataFactory< DIM, TYPE >, SAMRAI::pdat::EdgeDataFactory< DIM, TYPE >, SAMRAI::pdat::FaceDataFactory< DIM, TYPE >, SAMRAI::pdat::OuterfaceDataFactory< DIM, TYPE >, SAMRAI::pdat::OutersideDataFactory< DIM, TYPE >, and SAMRAI::pdat::IndexDataFactory< DIM, TYPE, BOX_GEOMETRY >.
|
virtualinherited |
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.
Implements SAMRAI::hier::PatchDataFactory< DIM >.
|
inherited |
This is the ghost cell width that will be used in the instantiation of concrete patch data instances. The ghost width is specified in the clone method.
|
virtualinherited |
|
protectedinherited |
1.8.17