IBAMR
An adaptive and distributed-memory parallel implementation of the immersed boundary (IB) method
|
Class CartGridFunctionSet is a concrete CartGridFunction that is used to allow multiple CartGridFunction objects to act as a single function. More...
#include </home/runner/work/IBAMR/IBAMR/ibtk/include/ibtk/CartGridFunctionSet.h>
Public Member Functions | |
CartGridFunctionSet (std::string object_name="") | |
The default constructor sets the name of the strategy object and sets the collection of functions to be empty. | |
virtual | ~CartGridFunctionSet ()=default |
Empty virtual destructor. | |
void | addFunction (SAMRAI::tbox::Pointer< CartGridFunction > fcn) |
Add a CartGridFunction to the set of functions grouped together by this object. | |
Public Member Functions inherited from IBTK::CartGridFunction | |
CartGridFunction (std::string object_name="") | |
The default constructor sets the name of the strategy object. | |
virtual | ~CartGridFunction ()=default |
Empty virtual destructor. | |
Methods to set patch interior data. | |
std::vector< SAMRAI::tbox::Pointer< CartGridFunction > > | d_fcns |
bool | isTimeDependent () const override |
Indicates whether the concrete CartGridFunctionSet object is time-dependent. | |
void | setDataOnPatchHierarchy (int data_idx, SAMRAI::tbox::Pointer< SAMRAI::hier::Variable< NDIM > > var, SAMRAI::tbox::Pointer< SAMRAI::hier::PatchHierarchy< NDIM > > hierarchy, double data_time, bool initial_time=false, int coarsest_ln=invalid_level_number, int finest_ln=invalid_level_number) override |
Evaluate the function on the patch interiors on the specified levels of the patch hierarchy using the implementations of setDataOnPatchHierarchy() provided by the component function objects. | |
void | setDataOnPatchLevel (int data_idx, SAMRAI::tbox::Pointer< SAMRAI::hier::Variable< NDIM > > var, SAMRAI::tbox::Pointer< SAMRAI::hier::PatchLevel< NDIM > > patch_level, double data_time, bool initial_time=false) override |
Evaluate the function on the patch interiors on the specified level of the patch hierarchy using the implementations of setDataOnPatchLevel() provided by the component function objects. | |
void | setDataOnPatch (int data_idx, SAMRAI::tbox::Pointer< SAMRAI::hier::Variable< NDIM > > var, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, double data_time, bool initial_time=false, SAMRAI::tbox::Pointer< SAMRAI::hier::PatchLevel< NDIM > > patch_level=SAMRAI::tbox::Pointer< SAMRAI::hier::PatchLevel< NDIM > >(nullptr)) override |
Evaluate the function on the patch interior using the implementations of setDataOnPatch() provided by the component function objects. | |
Additional Inherited Members | |
Protected Attributes inherited from IBTK::CartGridFunction | |
std::string | d_object_name |
Class CartGridFunctionSet is a concrete CartGridFunction that is used to allow multiple CartGridFunction objects to act as a single function.