IBAMR
An adaptive and distributed-memory parallel implementation of the immersed boundary (IB) method
|
Class AdvDiffStochasticForcing provides an interface for specifying a stochastic forcing term for cell-centered advection-diffusion solver solver. More...
#include </home/runner/work/IBAMR/IBAMR/include/ibamr/AdvDiffStochasticForcing.h>
Public Member Functions | |
AdvDiffStochasticForcing (std::string object_name, SAMRAI::tbox::Pointer< SAMRAI::tbox::Database > input_db, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > C_var, const AdvDiffSemiImplicitHierarchyIntegrator *adv_diff_solver) | |
This constructor creates Variable and VariableContext objects for storing the stochastic fluxes at the faces of the Cartesian grid. | |
~AdvDiffStochasticForcing ()=default | |
Empty destructor. | |
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. | |
virtual 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) |
Evaluate the function on the patch interiors on the specified level of the patch hierarchy using the virtual function setDataOnPatch(). More... | |
Methods to set patch data. | |
std::string | d_object_name |
bool | isTimeDependent () const override |
Indicates whether the concrete AdvDiffStochasticForcing object is time-dependent. | |
void | setDataOnPatchHierarchy (const int data_idx, SAMRAI::tbox::Pointer< SAMRAI::hier::Variable< NDIM > > var, SAMRAI::tbox::Pointer< SAMRAI::hier::PatchHierarchy< NDIM > > hierarchy, const double data_time, const bool initial_time=false, const int coarsest_ln=IBTK::invalid_level_number, const int finest_ln=IBTK::invalid_level_number) override |
Evaluate the function on the patch interiors on the specified levels of the patch hierarchy. | |
void | setDataOnPatch (const int data_idx, SAMRAI::tbox::Pointer< SAMRAI::hier::Variable< NDIM > > var, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, const double data_time, const bool initial_time=false, SAMRAI::tbox::Pointer< SAMRAI::hier::PatchLevel< NDIM > > patch_level=SAMRAI::tbox::Pointer< SAMRAI::hier::PatchLevel< NDIM > >(NULL)) override |
Evaluate the function on the patch interior. | |
Additional Inherited Members | |
Protected Attributes inherited from IBTK::CartGridFunction | |
std::string | d_object_name |
Class AdvDiffStochasticForcing provides an interface for specifying a stochastic forcing term for cell-centered advection-diffusion solver solver.
|
protected |
The object name is used for error/warning reporting.