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

#include <NeumannViscousTensorEBBC.H>

Inheritance diagram for NeumannViscousTensorEBBC:
Inheritance graph
[legend]

Public Member Functions

virtual void define (const LayoutData< IntVectSet > &a_cfivs, const Real &a_factor)
 
virtual void applyEBFlux (EBCellFAB &a_lphi, const EBCellFAB &a_phi, VoFIterator &a_vofit, const LayoutData< IntVectSet > &a_cfivs, const DataIndex &a_dit, const RealVect &a_probLo, const RealVect &a_dx, const Real &a_factor, const bool &a_useHomogeneous, const Real &a_time)
 
 NeumannViscousTensorEBBC (const ProblemDomain &a_domain, const EBISLayout &a_layout, const RealVect &a_dx, const IntVect *a_ghostCellsPhi, const IntVect *a_ghostCellsRhs)
 
virtual LayoutData< BaseIVFAB< VoFStencil > > * getFluxStencil (int ivar)
 
virtual ~NeumannViscousTensorEBBC ()
 
virtual void getEBFlux (Real &a_flux, const VolIndex &a_vof, const LevelData< EBCellFAB > &a_phi, const LayoutData< IntVectSet > &a_cfivs, const DataIndex &a_dit, const RealVect &a_probLo, const RealVect &a_dx, const bool &a_useHomogeneous, const Real &a_time, const pair< int, Real > *a_cacheHint=0)
 
 NeumannViscousTensorEBBC ()
 
- Public Member Functions inherited from ViscousBaseEBBC
 ViscousBaseEBBC ()
 
virtual ~ViscousBaseEBBC ()
 
void setCoef (EBLevelGrid &a_eblg, Real &a_beta, RefCountedPtr< LevelData< BaseIVFAB< Real > > > &a_eta, RefCountedPtr< LevelData< BaseIVFAB< Real > > > &a_lambda, RefCountedPtr< LevelData< EBFluxFAB > > &a_etaOpen, RefCountedPtr< LevelData< EBFluxFAB > > &a_lambdaOpen)
 
virtual void setValue (Real a_value)
 
virtual void setFunction (RefCountedPtr< BaseBCFuncEval > a_func)
 
void getBoundaryGrad (Real a_grad[CH_SPACEDIM][CH_SPACEDIM], const VolIndex &a_vof, const RealVect &a_dx, const RealVect &a_probLo, const EBISBox &a_ebisBox)
 
void getFluxFromGrad (Real a_flux[CH_SPACEDIM][CH_SPACEDIM], const Real a_grad[CH_SPACEDIM][CH_SPACEDIM], const VolIndex &a_vof, const DataIndex &a_dit)
 
void getChangeInSolution (Real a_deltaLph[CH_SPACEDIM], const Real a_flux[CH_SPACEDIM][CH_SPACEDIM], const RealVect &a_dx, const VolIndex &a_vof, const DataIndex &a_dit, const EBISBox &a_ebisBox)
 
- Public Member Functions inherited from BaseEBBC
 BaseEBBC ()
 
virtual ~BaseEBBC ()
 
virtual void setData (RefCountedPtr< LevelData< BaseIVFAB< Real > > > &a_data)
 
bool dataBased () const
 
virtual void setType (RefCountedPtr< LevelData< BaseIVFAB< int > > > &a_type)
 

Additional Inherited Members

- Protected Attributes inherited from ViscousBaseEBBC
bool m_isFunction
 
Real m_value
 
RefCountedPtr< BaseBCFuncEvalm_func
 
EBLevelGrid m_eblg
 
bool m_coefSet
 
Real m_beta
 
RefCountedPtr< LevelData< BaseIVFAB< Real > > > m_eta
 
RefCountedPtr< LevelData< BaseIVFAB< Real > > > m_lambda
 
RefCountedPtr< LevelData< EBFluxFAB > > m_etaOpen
 
RefCountedPtr< LevelData< EBFluxFAB > > m_lambdaOpen
 
- Protected Attributes inherited from BaseEBBC
RefCountedPtr< LevelData< BaseIVFAB< Real > > > m_data
 
bool m_dataBased
 

Constructor & Destructor Documentation

◆ NeumannViscousTensorEBBC() [1/2]

NeumannViscousTensorEBBC::NeumannViscousTensorEBBC ( const ProblemDomain a_domain,
const EBISLayout a_layout,
const RealVect a_dx,
const IntVect a_ghostCellsPhi,
const IntVect a_ghostCellsRhs 
)

◆ ~NeumannViscousTensorEBBC()

virtual NeumannViscousTensorEBBC::~NeumannViscousTensorEBBC ( )
virtual

Referenced by getFluxStencil().

◆ NeumannViscousTensorEBBC() [2/2]

NeumannViscousTensorEBBC::NeumannViscousTensorEBBC ( )
inline

Referenced by define().

Member Function Documentation

◆ define()

virtual void NeumannViscousTensorEBBC::define ( const LayoutData< IntVectSet > &  a_cfivs,
const Real a_factor 
)
inlinevirtual

Implements BaseEBBC.

References applyEBFlux(), and NeumannViscousTensorEBBC().

◆ applyEBFlux()

virtual void NeumannViscousTensorEBBC::applyEBFlux ( EBCellFAB a_lphi,
const EBCellFAB a_phi,
VoFIterator a_vofit,
const LayoutData< IntVectSet > &  a_cfivs,
const DataIndex a_dit,
const RealVect a_probLo,
const RealVect a_dx,
const Real a_factor,
const bool &  a_useHomogeneous,
const Real a_time 
)
virtual

add change in lphi due to eb flux

Implements BaseEBBC.

Referenced by define().

◆ getFluxStencil()

virtual LayoutData<BaseIVFAB<VoFStencil> >* NeumannViscousTensorEBBC::getFluxStencil ( int  ivar)
inlinevirtual

Return a pointer to the homogenous flux stencil for the boundary condition. contribution. In the case where there in no contribution in the homogeneous case (ie. homogeneous Neumann) return NULL.

Implements BaseEBBC.

References ~NeumannViscousTensorEBBC().

◆ getEBFlux()

virtual void NeumannViscousTensorEBBC::getEBFlux ( Real a_flux,
const VolIndex a_vof,
const LevelData< EBCellFAB > &  a_phi,
const LayoutData< IntVectSet > &  a_cfivs,
const DataIndex a_dit,
const RealVect a_probLo,
const RealVect a_dx,
const bool &  a_useHomogeneous,
const Real a_time,
const pair< int, Real > *  a_cacheHint = 0 
)
inlinevirtual

deprecated

Reimplemented from BaseEBBC.

References MayDay::Error().


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