chombo-discharge
Public Types | Public Member Functions | Protected Attributes | List of all members
MFHelmholtzJumpBCFactory Class Reference

Factory class for making jump boundary condition objects in a multifluid MFHelmholtzOp context. More...

#include <CD_MFHelmholtzJumpBCFactory.H>

Inheritance diagram for MFHelmholtzJumpBCFactory:
Inheritance graph
[legend]

Public Types

using BcoefPtr = RefCountedPtr< LevelData< MFBaseIVFAB > >
 Alias to cut down on typing.
 

Public Member Functions

 MFHelmholtzJumpBCFactory ()
 Weak constructor.
 
virtual ~MFHelmholtzJumpBCFactory ()
 Default constructor.
 
virtual RefCountedPtr< MFHelmholtzJumpBCcreate (const Location::Cell a_dataLocation, const MFLevelGrid &a_mflg, const BcoefPtr &a_Bcoef, 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. More...
 
virtual void setDomainDropOrder (const int a_domainSize)
 Drop BC order if domain size is equal or below this.
 

Protected Attributes

int m_domainDropOrder
 Special flag for dropping stencil order when domains become coarser than this.
 

Detailed Description

Factory class for making jump boundary condition objects in a multifluid MFHelmholtzOp context.

Member Function Documentation

◆ create()

RefCountedPtr< MFHelmholtzJumpBC > MFHelmholtzJumpBCFactory::create ( const Location::Cell  a_dataLocation,
const MFLevelGrid a_mflg,
const BcoefPtr a_Bcoef,
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_dataLocationData centering
[in]a_mflgGrids
[in]a_BcoefHelmholtz B-coefficient
[in]a_dxGrid resolution
[in]a_orderStencil approximation order
[in]a_weightWeighting factor for least squares
[in]a_radiusStencil radius
[in]a_ghostCFNumber of grid cells that were filled across the CF.
[in]a_ghostPhiNumber of ghost cells in phi

Reimplemented in MFHelmholtzSaturationChargeJumpBCFactory.


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