IBAMR
An adaptive and distributed-memory parallel implementation of the immersed boundary (IB) method
Public Member Functions | List of all members
IBAMR::PhaseChangeDivUSourceFunction Class Reference

Class PhaseChangeDivUSourceFunction class set the RHS of the Div U equation computed from the PhaseChangeHierarchyIntegrator class. More...

#include </home/runner/work/IBAMR/IBAMR/include/ibamr/PhaseChangeDivUSourceFunction.h>

Inheritance diagram for IBAMR::PhaseChangeDivUSourceFunction:
Inheritance graph
[legend]

Public Member Functions

 PhaseChangeDivUSourceFunction (const std::string &object_name, SAMRAI::tbox::Pointer< IBAMR::PhaseChangeHierarchyIntegrator > pc_hier_integrator)
 Class constructor.
 
 ~PhaseChangeDivUSourceFunction ()=default
 Empty destructor.
 
bool isTimeDependent () const override
 Indicates whether the concrete TemperatureInitialCondition 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=-1, int finest_ln=-1) override
 Evaluate the function on the patch interiors on the specified levels of the patch hierarchy using the virtual function setDataOnPatch(). More...
 
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.
 
- 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...
 

Additional Inherited Members

- Protected Attributes inherited from IBTK::CartGridFunction
std::string d_object_name
 

Detailed Description

Class PhaseChangeDivUSourceFunction class set the RHS of the Div U equation computed from the PhaseChangeHierarchyIntegrator class.

Member Function Documentation

◆ setDataOnPatchHierarchy()

void IBAMR::PhaseChangeDivUSourceFunction::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 = -1,
int  finest_ln = -1 
)
overridevirtual

Evaluate the function on the patch interiors on the specified levels of the patch hierarchy using the virtual function setDataOnPatch().

See also
setDataOnPatch

Reimplemented from IBTK::CartGridFunction.


The documentation for this class was generated from the following files: