IBAMR  IBAMR version 0.19.
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.

#include <ibamr/IBHierarchyIntegrator.h>

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

Public Member Functions

 IBEulerianSourceFunction (IBHierarchyIntegrator *ib_solver)
 Constructor. More...
 
 ~IBEulerianSourceFunction ()=default
 Destructor. More...
 

Methods to set the data.

IBHierarchyIntegratord_ib_solver
 
bool isTimeDependent () const override
 
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
 Set the data on the patch interiors on the specified levels of the patch hierarchy. More...
 
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 > >(nullptr)) override
 
 IBEulerianSourceFunction ()=delete
 Default constructor. More...
 
 IBEulerianSourceFunction (const IBEulerianSourceFunction &from)=delete
 Copy constructor. More...
 
IBEulerianSourceFunctionoperator= (const IBEulerianSourceFunction &that)=delete
 Assignment operator. More...
 

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

◆ IBEulerianSourceFunction() [1/3]

IBAMR::IBHierarchyIntegrator::IBEulerianSourceFunction::IBEulerianSourceFunction ( IBHierarchyIntegrator ib_solver)

◆ ~IBEulerianSourceFunction()

IBAMR::IBHierarchyIntegrator::IBEulerianSourceFunction::~IBEulerianSourceFunction ( )
default

◆ IBEulerianSourceFunction() [2/3]

IBAMR::IBHierarchyIntegrator::IBEulerianSourceFunction::IBEulerianSourceFunction ( )
privatedelete
Note
This constructor is not implemented and should not be used.

◆ IBEulerianSourceFunction() [3/3]

IBAMR::IBHierarchyIntegrator::IBEulerianSourceFunction::IBEulerianSourceFunction ( const IBEulerianSourceFunction from)
privatedelete
Note
This constructor is not implemented and should not be used.
Parameters
fromThe value to copy to this object.

Member Function Documentation

◆ isTimeDependent()

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

Implements IBTK::CartGridFunction.

◆ setDataOnPatchHierarchy()

void IBAMR::IBHierarchyIntegrator::IBEulerianSourceFunction::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 
)
overridevirtual

Reimplemented from 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::PointerSAMRAI::hier::PatchLevel< NDIM > >(nullptr) 
)
overridevirtual

Necessary override of setDataOnPatch - use setDataOnPatchHierarchy instead.

Implements IBTK::CartGridFunction.

◆ operator=()

IBEulerianSourceFunction& IBAMR::IBHierarchyIntegrator::IBEulerianSourceFunction::operator= ( const IBEulerianSourceFunction that)
privatedelete
Note
This operator is not implemented and should not be used.
Parameters
thatThe value to assign to this object.
Returns
A reference to this object.

◆ 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_ib_solver

IBHierarchyIntegrator* IBAMR::IBHierarchyIntegrator::IBEulerianSourceFunction::d_ib_solver
private

◆ d_object_name

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

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