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

#include <ibamr/Wall.h>

Public Types

using WallForceFcnPtr = double(*)(double D, const SAMRAI::tbox::Array< double > params)
 

Public Member Functions

 Wall (SAMRAI::tbox::Pointer< SAMRAI::tbox::Database > wall_db, SAMRAI::tbox::Pointer< SAMRAI::geom::CartesianGridGeometry< NDIM > > grid_geometry, double wall_ghost_dist)
 
 Wall (const Wall &other_wall)
 
Walloperator= (const Wall &other_wall)
 
void registerWallForceFcn (WallForceFcnPtr wall_force_fcn)
 
SAMRAI::hier::Box< NDIM > getForceArea ()
 
int getAxis ()
 
int getLocation ()
 
double applyForce (double wall_distance, double eval_time)
 

Private Attributes

int d_axis
 
int d_side
 
int d_location
 
double d_force_distance
 
SAMRAI::tbox::Array< doubled_parameters
 
SAMRAI::hier::Box< NDIM > d_force_area
 
WallForceFcnPtr d_wall_force_fcn
 

Member Typedef Documentation

◆ WallForceFcnPtr

Constructor & Destructor Documentation

◆ Wall() [1/2]

IBAMR::Wall::Wall ( SAMRAI::tbox::Pointer< SAMRAI::tbox::Database wall_db,
SAMRAI::tbox::Pointer< SAMRAI::geom::CartesianGridGeometry< NDIM > >  grid_geometry,
double  wall_ghost_dist 
)

◆ Wall() [2/2]

IBAMR::Wall::Wall ( const Wall other_wall)

Member Function Documentation

◆ operator=()

Wall& IBAMR::Wall::operator= ( const Wall other_wall)

◆ registerWallForceFcn()

void IBAMR::Wall::registerWallForceFcn ( WallForceFcnPtr  wall_force_fcn)

◆ getForceArea()

SAMRAI::hier::Box<NDIM> IBAMR::Wall::getForceArea ( )

◆ getAxis()

int IBAMR::Wall::getAxis ( )

◆ getLocation()

int IBAMR::Wall::getLocation ( )

◆ applyForce()

double IBAMR::Wall::applyForce ( double  wall_distance,
double  eval_time 
)

Member Data Documentation

◆ d_axis

int IBAMR::Wall::d_axis
private

◆ d_side

int IBAMR::Wall::d_side
private

◆ d_location

int IBAMR::Wall::d_location
private

◆ d_force_distance

double IBAMR::Wall::d_force_distance
private

◆ d_parameters

SAMRAI::tbox::Array<double> IBAMR::Wall::d_parameters
private

◆ d_force_area

SAMRAI::hier::Box<NDIM> IBAMR::Wall::d_force_area
private

◆ d_wall_force_fcn

WallForceFcnPtr IBAMR::Wall::d_wall_force_fcn
private

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