Chombo + EB + MF  3.2
Public Member Functions | List of all members
DirichletConductivityDomainBC Class Reference

#include <DirichletConductivityDomainBC.H>

Inheritance diagram for DirichletConductivityDomainBC:
Inheritance graph
[legend]

Public Member Functions

 DirichletConductivityDomainBC ()
 
virtual ~DirichletConductivityDomainBC ()
 
virtual int whichBC (int a_idir, Side::LoHiSide a_side)
 
virtual void getFaceFlux (BaseFab< Real > &a_faceFlux, const BaseFab< Real > &a_phi, const RealVect &a_probLo, const RealVect &a_dx, const int &a_idir, const Side::LoHiSide &a_side, const DataIndex &a_dit, const Real &a_time, const bool &a_useHomogeneous)
 
virtual void getHigherOrderFaceFlux (BaseFab< Real > &a_faceFlux, const BaseFab< Real > &a_phi, const RealVect &a_probLo, const RealVect &a_dx, const int &a_idir, const Side::LoHiSide &a_side, const DataIndex &a_dit, const Real &a_time, const bool &a_useHomogeneous)
 
virtual bool isDirichletDom (const VolIndex &a_ivof, const VolIndex &a_jvof, const EBCellFAB &a_phi)
 
virtual void getFaceFlux (Real &a_faceFlux, const VolIndex &a_vof, const int &a_comp, const EBCellFAB &a_phi, const RealVect &a_probLo, const RealVect &a_dx, const int &a_idir, const Side::LoHiSide &a_side, const DataIndex &a_dit, const Real &a_time, const bool &a_useHomogeneous)
 
virtual void getFaceGradPhi (Real &a_faceFlux, const FaceIndex &a_face, const int &a_comp, const EBCellFAB &a_phi, const RealVect &a_probLo, const RealVect &a_dx, const int &a_idir, const Side::LoHiSide &a_side, const DataIndex &a_dit, const Real &a_time, const bool &a_useAreaFrac, const RealVect &a_centroid, const bool &a_useHomogeneous)
 
virtual void getFaceVel (Real &a_faceFlux, const FaceIndex &a_face, const EBFluxFAB &a_vel, const RealVect &a_probLo, const RealVect &a_dx, const int &a_idir, const int &a_icomp, const Real &a_time, const Side::LoHiSide &a_side)
 
virtual void fillPhiGhost (FArrayBox &a_phi, const Box &a_valid, const Box &a_domain, Real a_dx, bool a_homogeneous)
 
- Public Member Functions inherited from ConductivityBaseDomainBC
 ConductivityBaseDomainBC ()
 
void setValue (Real a_value)
 
void setFunction (RefCountedPtr< BaseBCFuncEval > a_func)
 
virtual ~ConductivityBaseDomainBC ()
 
void setCoef (EBLevelGrid &a_eblg, Real &a_beta, RefCountedPtr< LevelData< EBFluxFAB > > &a_bcoef)
 
Real bcvaluefunc (const RealVect &a_point, const int &a_dir, const Side::LoHiSide &a_side)
 
- Public Member Functions inherited from BaseDomainBC
 BaseDomainBC ()
 
virtual ~BaseDomainBC ()
 
virtual void getFluxStencil (VoFStencil &a_stencil, const VolIndex &a_vof, const int &a_comp, const RealVect &a_dx, const int &a_idir, const Side::LoHiSide &a_side, const EBISBox &a_ebisBox)
 
virtual void getFluxStencil (VoFStencil &a_stencil, const FaceIndex &a_face, const int &a_comp, const RealVect &a_dx, const int &a_idir, const Side::LoHiSide &a_side, const EBISBox &a_ebisBox)
 
virtual bool isDirichletDom (const VolIndex &a_ivof, const VolIndex &a_jvof, const EBCellFAB &a_phi) const
 
virtual void getInhomFaceFlux (Real &a_faceFlux, const VolIndex &a_vof, const int &a_comp, const EBCellFAB &a_phi, const RealVect &a_probLo, const RealVect &a_dx, const int &a_idir, const Side::LoHiSide &a_side, const DataIndex &a_dit, const Real &a_time)
 
virtual void enforceFaceVel (LevelData< EBFluxFAB > &a_velocity, const DisjointBoxLayout &a_grids, const EBISLayout &a_ebisl, const ProblemDomain &a_domain, const RealVect &a_dx, const Real &a_time, const RealVect &a_origin)
 
virtual void enforceFaceVel (LevelData< EBFluxFAB > &a_velocity, const DisjointBoxLayout &a_grids, const EBISLayout &a_ebisl, const ProblemDomain &a_domain, const RealVect &a_dx, const Real &a_time, const RealVect &a_origin, const int &a_comp)
 
virtual void setData (LevelData< EBCellFAB > *a_data)
 
bool dataBased () const
 

Additional Inherited Members

- Protected Attributes inherited from ConductivityBaseDomainBC
bool m_onlyHomogeneous
 
bool m_isFunction
 
Real m_value
 
RefCountedPtr< BaseBCFuncEvalm_func
 
bool m_coefSet
 
EBLevelGrid m_eblg
 
Real m_beta
 
RefCountedPtr< LevelData< EBFluxFAB > > m_bcoef
 
- Protected Attributes inherited from BaseDomainBC
LevelData< EBCellFAB > * m_data
 
bool m_dataBased
 

Constructor & Destructor Documentation

◆ DirichletConductivityDomainBC()

DirichletConductivityDomainBC::DirichletConductivityDomainBC ( )

◆ ~DirichletConductivityDomainBC()

virtual DirichletConductivityDomainBC::~DirichletConductivityDomainBC ( )
virtual

Member Function Documentation

◆ whichBC()

virtual int DirichletConductivityDomainBC::whichBC ( int  a_idir,
Side::LoHiSide  a_side 
)
virtual

◆ getFaceFlux() [1/2]

virtual void DirichletConductivityDomainBC::getFaceFlux ( BaseFab< Real > &  a_faceFlux,
const BaseFab< Real > &  a_phi,
const RealVect a_probLo,
const RealVect a_dx,
const int &  a_idir,
const Side::LoHiSide a_side,
const DataIndex a_dit,
const Real a_time,
const bool &  a_useHomogeneous 
)
virtual

Implements BaseDomainBC.

Referenced by isDirichletDom().

◆ getHigherOrderFaceFlux()

virtual void DirichletConductivityDomainBC::getHigherOrderFaceFlux ( BaseFab< Real > &  a_faceFlux,
const BaseFab< Real > &  a_phi,
const RealVect a_probLo,
const RealVect a_dx,
const int &  a_idir,
const Side::LoHiSide a_side,
const DataIndex a_dit,
const Real a_time,
const bool &  a_useHomogeneous 
)
virtual

◆ isDirichletDom()

virtual bool DirichletConductivityDomainBC::isDirichletDom ( const VolIndex a_ivof,
const VolIndex a_jvof,
const EBCellFAB a_phi 
)
inlinevirtual

◆ getFaceFlux() [2/2]

virtual void DirichletConductivityDomainBC::getFaceFlux ( Real a_faceFlux,
const VolIndex a_vof,
const int &  a_comp,
const EBCellFAB a_phi,
const RealVect a_probLo,
const RealVect a_dx,
const int &  a_idir,
const Side::LoHiSide a_side,
const DataIndex a_dit,
const Real a_time,
const bool &  a_useHomogeneous 
)
virtual

This is used by the elliptic solvers to get the flux of stuff through domain faces.

Implements BaseDomainBC.

◆ getFaceGradPhi()

virtual void DirichletConductivityDomainBC::getFaceGradPhi ( Real a_faceFlux,
const FaceIndex a_face,
const int &  a_comp,
const EBCellFAB a_phi,
const RealVect a_probLo,
const RealVect a_dx,
const int &  a_idir,
const Side::LoHiSide a_side,
const DataIndex a_dit,
const Real a_time,
const bool &  a_useAreaFrac,
const RealVect a_centroid,
const bool &  a_useHomogeneous 
)
virtual

This is used by the projections to get a) grad(phi) at domain faces.

Implements BaseDomainBC.

Referenced by isDirichletDom().

◆ getFaceVel()

virtual void DirichletConductivityDomainBC::getFaceVel ( Real a_faceFlux,
const FaceIndex a_vof,
const EBFluxFAB a_vel,
const RealVect a_probLo,
const RealVect a_dx,
const int &  a_idir,
const int &  a_icomp,
const Real a_time,
const Side::LoHiSide a_side 
)
virtual

This is used by the projections to get velocity at domain faces.

Reimplemented from BaseDomainBC.

Referenced by isDirichletDom().

◆ fillPhiGhost()

virtual void DirichletConductivityDomainBC::fillPhiGhost ( FArrayBox a_phi,
const Box a_valid,
const Box a_domain,
Real  a_dx,
bool  a_homogeneous 
)
inlinevirtual

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