IBAMR
An adaptive and distributed-memory parallel implementation of the immersed boundary (IB) method
|
Class RelaxationLSBcCoefs is an implementation of the strategy class RobinBcCoefStrategy that is used to specify fixed Dirichlet boundary conditions for the level set function during reinitialization step. More...
#include </home/runner/work/IBAMR/IBAMR/include/ibamr/RelaxationLSBcCoefs.h>
Public Member Functions | |
RelaxationLSBcCoefs (std::string name) | |
Constructor. | |
virtual | ~RelaxationLSBcCoefs ()=default |
Destructor. | |
void | setLSPatchDataIndex (int phi_idx) |
Set the level set field to extract boundary condition value. | |
void | resetLSPatchDataIndex () |
Reset the level set patch data index to negative index. | |
Implementation of SAMRAI::solv::RobinBcCoefStrategy interface. | |
void | setBcCoefs (SAMRAI::tbox::Pointer< SAMRAI::pdat::ArrayData< NDIM, double > > &acoef_data, SAMRAI::tbox::Pointer< SAMRAI::pdat::ArrayData< NDIM, double > > &bcoef_data, SAMRAI::tbox::Pointer< SAMRAI::pdat::ArrayData< NDIM, double > > &gcoef_data, const SAMRAI::tbox::Pointer< SAMRAI::hier::Variable< NDIM > > &variable, const SAMRAI::hier::Patch< NDIM > &patch, const SAMRAI::hier::BoundaryBox< NDIM > &bdry_box, double fill_time=0.0) const override |
Function to fill arrays of Robin boundary condition coefficients at a patch boundary. More... | |
SAMRAI::hier::IntVector< NDIM > | numberOfExtensionsFillable () const override |
Class RelaxationLSBcCoefs is an implementation of the strategy class RobinBcCoefStrategy that is used to specify fixed Dirichlet boundary conditions for the level set function during reinitialization step.
|
overridevirtual |
Function to fill arrays of Robin boundary condition coefficients at a patch boundary.
acoef_data | Boundary coefficient data. The array will have been defined to include index range for corresponding to the boundary box bdry_box and appropriate for the alignment of the given variable. If this is a null pointer, then the calling function is not interested in a, and you can disregard it. |
bcoef_data | Boundary coefficient data. This array is exactly like acoef_data, except that it is to be filled with the b coefficient. |
gcoef_data | Boundary coefficient data. This array is exactly like acoef_data, except that it is to be filled with the g coefficient. |
variable | Variable to set the coefficients for. If implemented for multiple variables, this parameter can be used to determine which variable's coefficients are being sought. |
patch | Patch requiring bc coefficients. |
bdry_box | Boundary box showing where on the boundary the coefficient data is needed. |
fill_time | Solution time corresponding to filling, for use when coefficients are time-dependent. |
Implements SAMRAI::solv::RobinBcCoefStrategy< NDIM >.