Chombo + EB  3.0
Public Member Functions | Private Attributes | List of all members
NeumannConductivityDomainBC Class Reference

#include <NeumannConductivityDomainBC.H>

Inheritance diagram for NeumannConductivityDomainBC:
Inheritance graph
[legend]

Public Member Functions

 NeumannConductivityDomainBC ()
 
virtual ~NeumannConductivityDomainBC ()
 
virtual void setValue (Real a_value)
 
virtual int whichBC (int a_idir, Side::LoHiSide a_side)
 
virtual void setFunction (RefCountedPtr< BaseBCValue > a_flux)
 
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 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, const bool &a_doDivFreeOutflow)
 
- Public Member Functions inherited from ConductivityBaseDomainBC
 ConductivityBaseDomainBC ()
 
virtual ~ConductivityBaseDomainBC ()
 
void setCoef (EBLevelGrid &a_eblg, Real &a_beta, RefCountedPtr< LevelData< EBFluxFAB > > &a_bcoef)
 
- 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, const bool &a_doDivFreeOutflow)
 
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 bool &a_doDivFreeOutflow, const int &a_comp)
 

Private Attributes

bool m_onlyHomogeneous
 
bool m_isFunction
 
Real m_value
 
RefCountedPtr< BaseBCValuem_flux
 

Additional Inherited Members

- Protected Attributes inherited from ConductivityBaseDomainBC
bool m_coefSet
 
EBLevelGrid m_eblg
 
Real m_beta
 
RefCountedPtr< LevelData< EBFluxFAB > > m_bcoef
 

Constructor & Destructor Documentation

◆ NeumannConductivityDomainBC()

NeumannConductivityDomainBC::NeumannConductivityDomainBC ( )

◆ ~NeumannConductivityDomainBC()

virtual NeumannConductivityDomainBC::~NeumannConductivityDomainBC ( )
virtual

Member Function Documentation

◆ setValue()

virtual void NeumannConductivityDomainBC::setValue ( Real  a_value)
virtual

◆ whichBC()

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

◆ setFunction()

virtual void NeumannConductivityDomainBC::setFunction ( RefCountedPtr< BaseBCValue a_flux)
virtual

◆ getFaceFlux() [1/2]

virtual void NeumannConductivityDomainBC::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.

◆ getFaceFlux() [2/2]

virtual void NeumannConductivityDomainBC::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 NeumannConductivityDomainBC::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.

◆ getFaceVel()

virtual void NeumannConductivityDomainBC::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,
const bool &  a_doDivFreeOutflow 
)
virtual

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

Implements BaseDomainBC.

Member Data Documentation

◆ m_onlyHomogeneous

bool NeumannConductivityDomainBC::m_onlyHomogeneous
private

◆ m_isFunction

bool NeumannConductivityDomainBC::m_isFunction
private

◆ m_value

Real NeumannConductivityDomainBC::m_value
private

◆ m_flux

RefCountedPtr<BaseBCValue> NeumannConductivityDomainBC::m_flux
private

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