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::NeumannPoissonEBBC ( const ProblemDomain a_domain,
const EBISLayout a_layout,
const RealVect a_dx 
)

Referenced by define().

◆ ~NeumannPoissonEBBC()

virtual NeumannPoissonEBBC::~NeumannPoissonEBBC ( )
virtual

Referenced by getFluxStencil().

Member Function Documentation

◆ define()

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

◆ applyEBFluxPoint()

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 
)

Referenced by define().

◆ applyEBFlux()

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.

Referenced by define().

◆ getFluxStencil()

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.

References setValue(), and ~NeumannPoissonEBBC().

◆ setValue()

virtual void NeumannPoissonEBBC::setValue ( Real  a_value)
virtual

Referenced by getFluxStencil().

◆ whichBC()

virtual int NeumannPoissonEBBC::whichBC ( )
inlinevirtual

0 Neumann 1 Dirichlet Anything else is invalid

References getEBFlux(), and setFunction().

◆ setFunction()

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

Referenced by whichBC().

◆ getEBFlux()

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.

Referenced by whichBC().

Member Data Documentation

◆ m_onlyHomogeneous

bool NeumannPoissonEBBC::m_onlyHomogeneous

◆ m_isFunction

bool NeumannPoissonEBBC::m_isFunction

◆ m_value

Real NeumannPoissonEBBC::m_value

◆ m_flux

RefCountedPtr<BaseBCValue> NeumannPoissonEBBC::m_flux

◆ s_comp

int NeumannPoissonEBBC::s_comp
static

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