Chombo + EB  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() [1/3]

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::~NWOEBQuadCFInterp ( )
inline

◆ NWOEBQuadCFInterp() [2/3]

NWOEBQuadCFInterp::NWOEBQuadCFInterp ( )
inlineprivate

References MayDay::Error().

◆ NWOEBQuadCFInterp() [3/3]

NWOEBQuadCFInterp::NWOEBQuadCFInterp ( NWOEBQuadCFInterp a_input)
inlineprivate

References MayDay::Error().

Member Function Documentation

◆ coarseFineInterp()

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

Coarse / Fine interpolation operator.

Referenced by ~NWOEBQuadCFInterp().

◆ coarseFineInterpH()

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.

Referenced by ~NWOEBQuadCFInterp().

◆ defineInternals()

void NWOEBQuadCFInterp::defineInternals ( const LayoutData< IntVectSet > &  a_cfivs)
protected

Referenced by ~NWOEBQuadCFInterp().

◆ defineStencils()

void NWOEBQuadCFInterp::defineStencils ( const LayoutData< IntVectSet > &  a_cfivs)
protected

Referenced by ~NWOEBQuadCFInterp().

◆ getStencils()

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

Referenced by ~NWOEBQuadCFInterp().

◆ getStencil()

void NWOEBQuadCFInterp::getStencil ( VoFStencil a_stencil,
const VolIndex a_vofFine,
const EBISBox a_ebisFine,
const EBISBox a_ebisCoFi,
const DataIndex a_dit 
)
protected

Referenced by ~NWOEBQuadCFInterp().

◆ operator=()

void NWOEBQuadCFInterp::operator= ( NWOEBQuadCFInterp a_input)
inlineprivate

References MayDay::Error().

Member Data Documentation

◆ m_gridsFine

DisjointBoxLayout NWOEBQuadCFInterp::m_gridsFine
protected

◆ m_gridsCoar

DisjointBoxLayout NWOEBQuadCFInterp::m_gridsCoar
protected

◆ m_gridsCoFi

DisjointBoxLayout NWOEBQuadCFInterp::m_gridsCoFi
protected

◆ m_ebislFine

EBISLayout NWOEBQuadCFInterp::m_ebislFine
protected

◆ m_ebislCoar

EBISLayout NWOEBQuadCFInterp::m_ebislCoar
protected

◆ m_ebislCoFi

EBISLayout NWOEBQuadCFInterp::m_ebislCoFi
protected

◆ m_domainCoar

ProblemDomain NWOEBQuadCFInterp::m_domainCoar
protected

◆ m_nref

int NWOEBQuadCFInterp::m_nref
protected

◆ m_nvar

int NWOEBQuadCFInterp::m_nvar
protected

◆ m_dxFine

Real NWOEBQuadCFInterp::m_dxFine
protected

◆ m_ghost

IntVect NWOEBQuadCFInterp::m_ghost
protected

◆ m_stencil

LayoutData<RefCountedPtr< AggStencil<EBCellFAB, EBCellFAB> > > NWOEBQuadCFInterp::m_stencil
protected

◆ m_bufferCoFi

LevelData<EBCellFAB> NWOEBQuadCFInterp::m_bufferCoFi
protected

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