IBAMR  IBAMR version 0.19.
Public Member Functions | Private Member Functions | Private Attributes | List of all members
IBAMR::PhaseChangeDivUSourceFunction Class Reference

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

#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. More...
 
 ~PhaseChangeDivUSourceFunction ()=default
 Empty destructor. More...
 
bool isTimeDependent () const override
 Indicates whether the concrete TemperatureInitialCondition object is time-dependent. More...
 
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 > >(nullptr)) override
 Evaluate the function on the patch interior. More...
 

Private Member Functions

 PhaseChangeDivUSourceFunction ()=delete
 
 PhaseChangeDivUSourceFunction (const PhaseChangeDivUSourceFunction &from)=delete
 
PhaseChangeDivUSourceFunctionoperator= (const PhaseChangeDivUSourceFunction &that)=delete
 

Private Attributes

SAMRAI::tbox::Pointer< IBAMR::PhaseChangeHierarchyIntegrator > d_pc_hier_integrator
 

Methods to set patch interior data.

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...
 
std::string d_object_name
 

Constructor & Destructor Documentation

◆ PhaseChangeDivUSourceFunction() [1/3]

IBAMR::PhaseChangeDivUSourceFunction::PhaseChangeDivUSourceFunction ( const std::string &  object_name,
SAMRAI::tbox::Pointer< IBAMR::PhaseChangeHierarchyIntegrator >  pc_hier_integrator 
)

◆ ~PhaseChangeDivUSourceFunction()

IBAMR::PhaseChangeDivUSourceFunction::~PhaseChangeDivUSourceFunction ( )
default

◆ PhaseChangeDivUSourceFunction() [2/3]

IBAMR::PhaseChangeDivUSourceFunction::PhaseChangeDivUSourceFunction ( )
privatedelete

Deleted default constructor.

◆ PhaseChangeDivUSourceFunction() [3/3]

IBAMR::PhaseChangeDivUSourceFunction::PhaseChangeDivUSourceFunction ( const PhaseChangeDivUSourceFunction from)
privatedelete

Deleted copy constructor.

Member Function Documentation

◆ isTimeDependent()

bool IBAMR::PhaseChangeDivUSourceFunction::isTimeDependent ( ) const
overridevirtual

◆ 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
See also
setDataOnPatch

Reimplemented from IBTK::CartGridFunction.

◆ setDataOnPatch()

void IBAMR::PhaseChangeDivUSourceFunction::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::PointerSAMRAI::hier::PatchLevel< NDIM > >(nullptr) 
)
overridevirtual

◆ operator=()

PhaseChangeDivUSourceFunction& IBAMR::PhaseChangeDivUSourceFunction::operator= ( const PhaseChangeDivUSourceFunction that)
privatedelete

Deleted assignment operator.

◆ setDataOnPatchLevel()

virtual void IBTK::CartGridFunction::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 
)
virtualinherited

Member Data Documentation

◆ d_pc_hier_integrator

SAMRAI::tbox::Pointer<IBAMR::PhaseChangeHierarchyIntegrator> IBAMR::PhaseChangeDivUSourceFunction::d_pc_hier_integrator
private

Name of this object.

◆ d_object_name

std::string IBTK::CartGridFunction::d_object_name
protectedinherited

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