|
chombo-discharge
|
Factory class for making jump boundary condition objects in a multifluid MFHelmholtzOp context. More...
#include <CD_MFHelmholtzJumpBCFactory.H>

Public Types | |
| using | BcoefPtr = RefCountedPtr< LevelData< MFBaseIVFAB > > |
| Alias to cut down on typing. | |
| using | AmrMask = RefCountedPtr< LevelData< BaseFab< bool > > > |
| Alias to cut down on typing. | |
Public Member Functions | |
| 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. | |
Protected Attributes | |
| 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.
|
virtual |
Factory method for creating MFHelmholtzJumpBC objects.
| [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 |
Reimplemented in MFHelmholtzSaturationChargeJumpBCFactory.