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

A class to communicate the Eulerian fluid source-sink distribution computed by class IBHierarchyIntegrator to the incompressible Navier-Stokes solver. More...

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

Inheritance diagram for IBAMR::IBHierarchyIntegrator::IBEulerianSourceFunction:
Inheritance graph
[legend]

Public Member Functions

 IBEulerianSourceFunction (const IBHierarchyIntegrator *ib_solver)
 Constructor.
 
 ~IBEulerianSourceFunction ()=default
 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 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)
 Evaluate the function on the patch interiors on the specified levels of the patch hierarchy using the virtual function setDataOnPatch(). More...
 
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 the data.

bool isTimeDependent () const override
 
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 > > level=SAMRAI::tbox::Pointer< SAMRAI::hier::PatchLevel< NDIM > >(NULL)) override
 

Additional Inherited Members

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

Detailed Description

A class to communicate the Eulerian fluid source-sink distribution computed by class IBHierarchyIntegrator to the incompressible Navier-Stokes solver.

Member Function Documentation

◆ isTimeDependent()

bool IBAMR::IBHierarchyIntegrator::IBEulerianSourceFunction::isTimeDependent ( ) const
overridevirtual
Note
This concrete IBTK::CartGridFunction is time-dependent.

Implements IBTK::CartGridFunction.

◆ setDataOnPatch()

void IBAMR::IBHierarchyIntegrator::IBEulerianSourceFunction::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 > >  level = SAMRAI::tbox::Pointer<SAMRAI::hier::PatchLevel<NDIM> >(NULL) 
)
overridevirtual

Set the data on the patch interior.

Implements IBTK::CartGridFunction.


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