Chombo + EB  3.2
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
NeumannPoissonEBBC Class Reference

#include <NeumannPoissonEBBC.H>

Inheritance diagram for NeumannPoissonEBBC:
Inheritance graph
[legend]

Public Member Functions

virtual void define (const LayoutData< IntVectSet > &a_cfivs, const Real &a_factor)
 
void applyEBFluxPoint (const VolIndex &a_vof, 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 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)
 
 NeumannPoissonEBBC (const ProblemDomain &a_domain, const EBISLayout &a_layout, const RealVect &a_dx)
 
virtual LayoutData< BaseIVFAB
< VoFStencil > > * 
getFluxStencil (int ivar)
 
virtual ~NeumannPoissonEBBC ()
 
virtual void setValue (Real a_value)
 
virtual int whichBC ()
 
virtual void setFunction (RefCountedPtr< BaseBCValue > a_flux)
 
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)
 
- 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)
 

Public Attributes

bool m_onlyHomogeneous
 
bool m_isFunction
 
Real m_value
 
RefCountedPtr< BaseBCValuem_flux
 

Static Public Attributes

static int s_comp
 

Additional Inherited Members

- Protected Attributes inherited from BaseEBBC
RefCountedPtr< LevelData
< BaseIVFAB< Real > > > 
m_data
 
bool m_dataBased
 

Constructor & Destructor Documentation

NeumannPoissonEBBC::NeumannPoissonEBBC ( const ProblemDomain a_domain,
const EBISLayout a_layout,
const RealVect a_dx 
)
virtual NeumannPoissonEBBC::~NeumannPoissonEBBC ( )
virtual

Member Function Documentation

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

Implements BaseEBBC.

void NeumannPoissonEBBC::applyEBFluxPoint ( const VolIndex a_vof,
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 void NeumannPoissonEBBC::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.

virtual LayoutData<BaseIVFAB<VoFStencil> >* NeumannPoissonEBBC::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.

virtual void NeumannPoissonEBBC::setValue ( Real  a_value)
virtual
virtual int NeumannPoissonEBBC::whichBC ( )
inlinevirtual

0 Neumann 1 Dirichlet Anything else is invalid

virtual void NeumannPoissonEBBC::setFunction ( RefCountedPtr< BaseBCValue a_flux)
virtual
virtual void NeumannPoissonEBBC::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 
)
virtual

deprecated

Reimplemented from BaseEBBC.

Member Data Documentation

bool NeumannPoissonEBBC::m_onlyHomogeneous
bool NeumannPoissonEBBC::m_isFunction
Real NeumannPoissonEBBC::m_value
RefCountedPtr<BaseBCValue> NeumannPoissonEBBC::m_flux
int NeumannPoissonEBBC::s_comp
static

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