Factory class for making jump boundary condition objects in a multifluid MFHelmholtzOp context.
More...
#include <CD_MFHelmholtzJumpBCFactory.H>
|
|
using | BcoefPtr = RefCountedPtr< LevelData< MFBaseIVFAB > > |
| | Alias to cut down on typing.
|
| |
|
using | AmrMask = RefCountedPtr< LevelData< BaseFab< bool > > > |
| | Alias to cut down on typing.
|
| |
|
|
| MFHelmholtzJumpBCFactory () |
| | Weak constructor.
|
| |
|
virtual | ~MFHelmholtzJumpBCFactory () |
| | Default constructor.
|
| |
| virtual RefCountedPtr< MFHelmholtzJumpBC > | create (const Location::Cell a_dataLocation, const MFLevelGrid &a_mflg, const BcoefPtr &a_Bcoef, const AmrMask &a_validCells, const Real a_dx, const int a_order, const int a_weight, const int a_radius, const int a_ghostCF, const IntVect a_ghostPhi) |
| | Factory method for creating MFHelmholtzJumpBC objects.
|
| |
| virtual void | setDomainDropOrder (const int a_domainSize) |
| | Drop BC order if domain size is equal or below this.
|
| |
| virtual void | setCoarseGridDropOrder (const bool a_dropOrder) |
| | Drop to a first-order approximation if the cut-cell is a coarsened cell.
|
| |
|
|
int | m_domainDropOrder |
| | Special flag for dropping stencil order when domains become coarser than this.
|
| |
|
bool | m_dropOrder |
| | Special flag for signalling MFHelmholtzJumpBC that it should drop the stencil order to 1 if the cut-cell is a coarsened cell.
|
| |
Factory class for making jump boundary condition objects in a multifluid MFHelmholtzOp context.
◆ create()
| RefCountedPtr< MFHelmholtzJumpBC > MFHelmholtzJumpBCFactory::create |
( |
const Location::Cell |
a_dataLocation, |
|
|
const MFLevelGrid & |
a_mflg, |
|
|
const BcoefPtr & |
a_Bcoef, |
|
|
const AmrMask & |
a_validCells, |
|
|
const Real |
a_dx, |
|
|
const int |
a_order, |
|
|
const int |
a_weight, |
|
|
const int |
a_radius, |
|
|
const int |
a_ghostCF, |
|
|
const IntVect |
a_ghostPhi |
|
) |
| |
|
virtual |
Factory method for creating MFHelmholtzJumpBC objects.
- Parameters
-
| [in] | a_dataLocation | Data centering |
| [in] | a_mflg | Grids |
| [in] | a_Bcoef | Helmholtz B-coefficient |
| [in] | a_validCells | Valid grid cells (might be null pointer) |
| [in] | a_dx | Grid resolution |
| [in] | a_order | Stencil approximation order |
| [in] | a_weight | Weighting factor for least squares |
| [in] | a_radius | Stencil radius |
| [in] | a_ghostCF | Number of grid cells that were filled across the CF. |
| [in] | a_ghostPhi | Number of ghost cells in phi |
- Returns
- Return value
Reimplemented in MFHelmholtzSaturationChargeJumpBCFactory.
◆ setCoarseGridDropOrder()
| void MFHelmholtzJumpBCFactory::setCoarseGridDropOrder |
( |
const bool |
a_dropOrder | ) |
|
|
virtual |
Drop to a first-order approximation if the cut-cell is a coarsened cell.
- Parameters
-
| [in] | a_dropOrder | Description |
◆ setDomainDropOrder()
| void MFHelmholtzJumpBCFactory::setDomainDropOrder |
( |
const int |
a_domainSize | ) |
|
|
virtual |
Drop BC order if domain size is equal or below this.
- Parameters
-
| [in] | a_domainSize | Description |
The documentation for this class was generated from the following files: