IBAMR
An adaptive and distributed-memory parallel implementation of the immersed boundary (IB) method
|
Class LIndexSetPatchDataFactory provides a SAMRAI::hier::PatchDataFactory class corresponding to patch data of type LIndexSetData. More...
#include </home/runner/work/IBAMR/IBAMR/ibtk/include/ibtk/LIndexSetDataFactory.h>
Additional Inherited Members | |
Protected Attributes inherited from SAMRAI::hier::PatchDataFactory< DIM > | |
IntVector< DIM > | d_ghosts |
Class LIndexSetPatchDataFactory provides a SAMRAI::hier::PatchDataFactory class corresponding to patch data of type LIndexSetData.
IBTK::LIndexSetDataFactory< T >::LIndexSetDataFactory | ( | SAMRAI::hier::IntVector< NDIM > | ghosts | ) |
The default constructor for the LIndexSetDataFactory 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.
|
overridevirtual |
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.
Reimplemented from SAMRAI::pdat::IndexDataFactory< NDIM, LSet< T >, SAMRAI::pdat::CellGeometry< NDIM > >.
|
overridevirtual |
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.
Reimplemented from SAMRAI::pdat::IndexDataFactory< NDIM, LSet< T >, SAMRAI::pdat::CellGeometry< NDIM > >.
|
overridevirtual |
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.
Reimplemented from SAMRAI::pdat::IndexDataFactory< NDIM, LSet< T >, SAMRAI::pdat::CellGeometry< NDIM > >.
|
overridevirtual |
Calculate the amount of memory needed to store the data object, including object data but not dynamically allocated data.
Reimplemented from SAMRAI::pdat::IndexDataFactory< NDIM, LSet< T >, SAMRAI::pdat::CellGeometry< NDIM > >.
|
override |
Return whether it is valid to copy this LIndexSetDataFactory to the supplied destination patch data factory. It will return true if dst_pdf is a LIndexSetDataFactory, false otherwise.