Chombo + EB + MF  3.2
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
NWOEBQuadCFInterp Class Reference

Quadratic coarse-fine interpolation utility. More...

#include <NWOEBQuadCFInterp.H>

Public Member Functions

 NWOEBQuadCFInterp (const DisjointBoxLayout &a_gridsFine, const DisjointBoxLayout &a_gridsCoar, const EBISLayout &a_ebislFine, const EBISLayout &a_ebislCoar, const ProblemDomain &a_domainCoar, const int &a_nref, const int &a_nvar, const Real &a_dxFine, const IntVect &a_ghost, const LayoutData< IntVectSet > &a_cfivs)
 
 ~NWOEBQuadCFInterp ()
 
void coarseFineInterp (LevelData< EBCellFAB > &a_phif, const LevelData< EBCellFAB > &a_phic, int isrc, int idst, int inco)
 
void coarseFineInterpH (LevelData< EBCellFAB > &a_phif, int isrc, int idst, int inco)
 

Protected Member Functions

void defineInternals (const LayoutData< IntVectSet > &a_cfivs)
 
void defineStencils (const LayoutData< IntVectSet > &a_cfivs)
 
void getStencils (Vector< RefCountedPtr< BaseStencil > > &a_stencils, Vector< RefCountedPtr< BaseIndex > > &a_baseDstVoFs, const IntVectSet &a_cfivs, const EBISBox &a_ebisFine, const EBISBox &a_ebisCoFi, const DataIndex &a_dit)
 
void getStencil (VoFStencil &a_stencil, const VolIndex &a_vofFine, const EBISBox &a_ebisFine, const EBISBox &a_ebisCoFi, const DataIndex &a_dit)
 

Protected Attributes

DisjointBoxLayout m_gridsFine
 
DisjointBoxLayout m_gridsCoar
 
DisjointBoxLayout m_gridsCoFi
 
EBISLayout m_ebislFine
 
EBISLayout m_ebislCoar
 
EBISLayout m_ebislCoFi
 
ProblemDomain m_domainCoar
 
int m_nref
 
int m_nvar
 
Real m_dxFine
 
IntVect m_ghost
 
LayoutData< RefCountedPtr
< AggStencil< EBCellFAB,
EBCellFAB > > > 
m_stencil
 
LevelData< EBCellFABm_bufferCoFi
 

Private Member Functions

 NWOEBQuadCFInterp ()
 
 NWOEBQuadCFInterp (NWOEBQuadCFInterp &a_input)
 
void operator= (NWOEBQuadCFInterp &a_input)
 

Detailed Description

Quadratic coarse-fine interpolation utility.

Constructor & Destructor Documentation

NWOEBQuadCFInterp::NWOEBQuadCFInterp ( const DisjointBoxLayout a_gridsFine,
const DisjointBoxLayout a_gridsCoar,
const EBISLayout a_ebislFine,
const EBISLayout a_ebislCoar,
const ProblemDomain a_domainCoar,
const int &  a_nref,
const int &  a_nvar,
const Real a_dxFine,
const IntVect a_ghost,
const LayoutData< IntVectSet > &  a_cfivs 
)
NWOEBQuadCFInterp::~NWOEBQuadCFInterp ( )
inline
NWOEBQuadCFInterp::NWOEBQuadCFInterp ( )
inlineprivate

References MayDay::Error().

NWOEBQuadCFInterp::NWOEBQuadCFInterp ( NWOEBQuadCFInterp a_input)
inlineprivate

References MayDay::Error().

Member Function Documentation

void NWOEBQuadCFInterp::coarseFineInterp ( LevelData< EBCellFAB > &  a_phif,
const LevelData< EBCellFAB > &  a_phic,
int  isrc,
int  idst,
int  inco 
)

Coarse / Fine interpolation operator.

void NWOEBQuadCFInterp::coarseFineInterpH ( LevelData< EBCellFAB > &  a_phif,
int  isrc,
int  idst,
int  inco 
)

Coarse-fine interpolation operator with homogeneous BCs. Does same interpolation as coarseFineInterp function, but with all coarse-level data set to 0.

void NWOEBQuadCFInterp::defineInternals ( const LayoutData< IntVectSet > &  a_cfivs)
protected
void NWOEBQuadCFInterp::defineStencils ( const LayoutData< IntVectSet > &  a_cfivs)
protected
void NWOEBQuadCFInterp::getStencils ( Vector< RefCountedPtr< BaseStencil > > &  a_stencils,
Vector< RefCountedPtr< BaseIndex > > &  a_baseDstVoFs,
const IntVectSet a_cfivs,
const EBISBox a_ebisFine,
const EBISBox a_ebisCoFi,
const DataIndex a_dit 
)
protected
void NWOEBQuadCFInterp::getStencil ( VoFStencil a_stencil,
const VolIndex a_vofFine,
const EBISBox a_ebisFine,
const EBISBox a_ebisCoFi,
const DataIndex a_dit 
)
protected
void NWOEBQuadCFInterp::operator= ( NWOEBQuadCFInterp a_input)
inlineprivate

References MayDay::Error().

Member Data Documentation

DisjointBoxLayout NWOEBQuadCFInterp::m_gridsFine
protected
DisjointBoxLayout NWOEBQuadCFInterp::m_gridsCoar
protected
DisjointBoxLayout NWOEBQuadCFInterp::m_gridsCoFi
protected
EBISLayout NWOEBQuadCFInterp::m_ebislFine
protected
EBISLayout NWOEBQuadCFInterp::m_ebislCoar
protected
EBISLayout NWOEBQuadCFInterp::m_ebislCoFi
protected
ProblemDomain NWOEBQuadCFInterp::m_domainCoar
protected
int NWOEBQuadCFInterp::m_nref
protected
int NWOEBQuadCFInterp::m_nvar
protected
Real NWOEBQuadCFInterp::m_dxFine
protected
IntVect NWOEBQuadCFInterp::m_ghost
protected
LayoutData<RefCountedPtr< AggStencil<EBCellFAB, EBCellFAB> > > NWOEBQuadCFInterp::m_stencil
protected
LevelData<EBCellFAB> NWOEBQuadCFInterp::m_bufferCoFi
protected

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