IBAMR
An adaptive and distributed-memory parallel implementation of the immersed boundary (IB) method
|
Class StokesBcCoefStrategy is a subclass of the abstract base class IBTK::ExtendedRobinBcCoefStrategy to allow for specialization needed to treat physical boundary conditions for coupled Stokes solvers. More...
#include </home/runner/work/IBAMR/IBAMR/include/ibamr/StokesBcCoefStrategy.h>
Public Member Functions | |
StokesBcCoefStrategy ()=default | |
Empty default constructor. | |
~StokesBcCoefStrategy ()=default | |
Empty destructor. | |
virtual void | setStokesSpecifications (const StokesSpecifications *problem_coefs) |
Set the StokesSpecifications object used by this boundary condition specification object. More... | |
virtual void | setTargetVelocityPatchDataIndex (int u_target_data_idx) |
Set the target velocity data index to use when setting physical boundary conditions and the time at which it is defined. | |
virtual void | clearTargetVelocityPatchDataIndex () |
Clear the target velocity data index used when setting physical boundary conditions. | |
virtual void | setTargetPressurePatchDataIndex (int u_target_data_idx) |
Set the target pressure data index to use when setting physical boundary conditions and the time at which it is defined. | |
virtual void | clearTargetPressurePatchDataIndex () |
Clear the target pressure data index used when setting physical boundary conditions. | |
virtual void | setTractionBcType (TractionBcType bc_type) |
Set the type of traction boundary conditions. Supported options are: TRACTION_BOUNDARY_CONDITIONS and PSEUDO_TRACTION_BOUNDARY_CONDITIONS. More... | |
virtual TractionBcType | getTractionBcType () const |
Get the type of traction boundary conditions. | |
Public Member Functions inherited from IBTK::ExtendedRobinBcCoefStrategy | |
ExtendedRobinBcCoefStrategy ()=default | |
Empty default constructor. | |
virtual | ~ExtendedRobinBcCoefStrategy ()=default |
Empty virtual destructor. | |
virtual void | setTargetPatchDataIndex (int target_data_idx) |
Set the target data index. | |
virtual void | clearTargetPatchDataIndex () |
Clear the target data index. | |
virtual void | setHomogeneousBc (bool homogeneous_bc) |
Set whether the class is filling homogeneous or inhomogeneous boundary conditions. | |
Public Member Functions inherited from SAMRAI::solv::RobinBcCoefStrategy< NDIM > | |
virtual void | setBcCoefs (tbox::Pointer< pdat::ArrayData< NDIM, double > > &acoef_data, tbox::Pointer< pdat::ArrayData< NDIM, double > > &bcoef_data, tbox::Pointer< pdat::ArrayData< NDIM, double > > &gcoef_data, const tbox::Pointer< hier::Variable< NDIM > > &variable, const hier::Patch< NDIM > &patch, const hier::BoundaryBox< NDIM > &bdry_box, const double fill_time=0.0) const =0 |
virtual hier::IntVector< NDIM > | numberOfExtensionsFillable () const=0 |
Protected Attributes | |
const StokesSpecifications * | d_problem_coefs |
int | d_u_target_data_idx = IBTK::invalid_index |
int | d_p_target_data_idx = IBTK::invalid_index |
TractionBcType | d_traction_bc_type = TRACTION |
Protected Attributes inherited from IBTK::ExtendedRobinBcCoefStrategy | |
int | d_target_data_idx = IBTK::invalid_index |
bool | d_homogeneous_bc = false |
Class StokesBcCoefStrategy is a subclass of the abstract base class IBTK::ExtendedRobinBcCoefStrategy to allow for specialization needed to treat physical boundary conditions for coupled Stokes solvers.
|
virtual |
Set the StokesSpecifications object used by this boundary condition specification object.
problem_coefs | Problem coefficients |
Reimplemented in IBAMR::INSVCStaggeredVelocityBcCoef, IBAMR::INSVCStaggeredPressureBcCoef, IBAMR::INSStaggeredVelocityBcCoef, IBAMR::INSStaggeredPressureBcCoef, and IBAMR::INSCollocatedVelocityBcCoef.
|
virtual |
Set the type of traction boundary conditions. Supported options are: TRACTION_BOUNDARY_CONDITIONS and PSEUDO_TRACTION_BOUNDARY_CONDITIONS.
The default is TRACTION_BOUNDARY_CONDITIONS.
|
protected |
Patch data indices.