IBAMR  IBAMR version 0.19.
Public Member Functions | List of all members
IBAMR::StaggeredStokesOpenBoundaryStabilizer Class Reference

Class StaggeredStokesOpenBoundaryStabilizer provides forcing at physical boundaries that attempts to stabilize flows at open boundaries.

#include <ibamr/StaggeredStokesOpenBoundaryStabilizer.h>

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

Public Member Functions

 StaggeredStokesOpenBoundaryStabilizer (const std::string &object_name, SAMRAI::tbox::Pointer< SAMRAI::tbox::Database > input_db, const INSHierarchyIntegrator *fluid_solver, SAMRAI::tbox::Pointer< SAMRAI::geom::CartesianGridGeometry< NDIM > > grid_geometry)
 Constructor. More...
 
 ~StaggeredStokesOpenBoundaryStabilizer ()=default
 Destructor. 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...
 
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...
 

Protected Attributes

Methods to set patch interior data.
std::string d_object_name
 
Methods to set patch interior data.
std::string d_object_name
 

Methods to set the data.

std::array< bool, 2 *NDIM > d_open_bdry
 
std::array< bool, 2 *NDIM > d_inflow_bdry
 
std::array< bool, 2 *NDIM > d_outflow_bdry
 
std::array< double, 2 *NDIM > d_width
 
const INSHierarchyIntegrator *const d_fluid_solver
 
SAMRAI::tbox::Pointer< SAMRAI::geom::CartesianGridGeometry< NDIM > > d_grid_geometry
 
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 > >(nullptr)) override
 
 StaggeredStokesOpenBoundaryStabilizer ()=delete
 Default constructor. More...
 
 StaggeredStokesOpenBoundaryStabilizer (const StaggeredStokesOpenBoundaryStabilizer &from)=delete
 Copy constructor. More...
 
StaggeredStokesOpenBoundaryStabilizeroperator= (const StaggeredStokesOpenBoundaryStabilizer &that)=delete
 Assignment operator. More...
 

Methods to set patch interior data.

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

Constructor & Destructor Documentation

◆ StaggeredStokesOpenBoundaryStabilizer() [1/3]

IBAMR::StaggeredStokesOpenBoundaryStabilizer::StaggeredStokesOpenBoundaryStabilizer ( const std::string &  object_name,
SAMRAI::tbox::Pointer< SAMRAI::tbox::Database input_db,
const INSHierarchyIntegrator fluid_solver,
SAMRAI::tbox::Pointer< SAMRAI::geom::CartesianGridGeometry< NDIM > >  grid_geometry 
)

◆ ~StaggeredStokesOpenBoundaryStabilizer()

IBAMR::StaggeredStokesOpenBoundaryStabilizer::~StaggeredStokesOpenBoundaryStabilizer ( )
default

◆ StaggeredStokesOpenBoundaryStabilizer() [2/3]

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

◆ StaggeredStokesOpenBoundaryStabilizer() [3/3]

IBAMR::StaggeredStokesOpenBoundaryStabilizer::StaggeredStokesOpenBoundaryStabilizer ( const StaggeredStokesOpenBoundaryStabilizer 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::StaggeredStokesOpenBoundaryStabilizer::isTimeDependent ( ) const
overridevirtual
Note
This concrete IBTK::CartGridFunction is time-dependent.

Implements IBTK::CartGridFunction.

◆ setDataOnPatch()

void IBAMR::StaggeredStokesOpenBoundaryStabilizer::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

Set the data on the patch interior.

Implements IBTK::CartGridFunction.

◆ operator=()

StaggeredStokesOpenBoundaryStabilizer& IBAMR::StaggeredStokesOpenBoundaryStabilizer::operator= ( const StaggeredStokesOpenBoundaryStabilizer 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.

◆ setDataOnPatchHierarchy()

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

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

std::array<bool, 2 * NDIM> IBAMR::StaggeredStokesOpenBoundaryStabilizer::d_open_bdry
private

◆ d_inflow_bdry

std::array<bool, 2 * NDIM> IBAMR::StaggeredStokesOpenBoundaryStabilizer::d_inflow_bdry
private

◆ d_outflow_bdry

std::array<bool, 2 * NDIM> IBAMR::StaggeredStokesOpenBoundaryStabilizer::d_outflow_bdry
private

◆ d_width

std::array<double, 2 * NDIM> IBAMR::StaggeredStokesOpenBoundaryStabilizer::d_width
private

◆ d_fluid_solver

const INSHierarchyIntegrator* const IBAMR::StaggeredStokesOpenBoundaryStabilizer::d_fluid_solver
private

◆ d_grid_geometry

SAMRAI::tbox::Pointer<SAMRAI::geom::CartesianGridGeometry<NDIM> > IBAMR::StaggeredStokesOpenBoundaryStabilizer::d_grid_geometry
private

◆ d_object_name

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

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