Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

EBQuadCFInterp Class Reference

#include <EBQuadCFInterp.H>

Collaboration diagram for EBQuadCFInterp:

Collaboration graph
[legend]
List of all members.

Public Methods

 EBQuadCFInterp ()
 ~EBQuadCFInterp ()
 EBQuadCFInterp (const DisjointBoxLayout &a_dblFine, const DisjointBoxLayout &a_dblCoar, const EBISLayout &a_ebislFine, const EBISLayout &a_ebislCoar, const Box &a_domainCoar, const int &a_nref, const int &a_nvar)
void define (const DisjointBoxLayout &a_dblFine, const DisjointBoxLayout &a_dblCoar, const EBISLayout &a_ebislFine, const EBISLayout &a_ebislCoar, const Box &a_domainCoar, const int &a_nref, const int &a_nvar)
void interpolate (LevelData< EBCellFAB > &a_fineData, const LevelData< EBCellFAB > &a_coarData, const Interval &a_variables)
bool isDefined () const

Protected Methods

void regCFInterp (BaseFab< Real > &a_phif, const BaseFab< Real > &a_phic, const QuadCFStencil &a_qcfs, const Side::LoHiSide a_hiorlo, const int &a_idir, const Interval &a_variables) const
void irrCFInterp (EBCellFAB &a_phif, const EBCellFAB &a_phic, const DataIndex &a_datInd, const Interval &a_variables) const
void getPhiStar (BaseFab< Real > &a_phistar, const BaseFab< Real > &a_phic, const QuadCFStencil &a_qcfs, const Side::LoHiSide a_hiorlo, const int &a_idir, const Interval &a_variables) const
void interpOnIVS (BaseFab< Real > &a_phif, const BaseFab< Real > &a_phiStar, const QuadCFStencil &a_qcfs, const Side::LoHiSide a_hiorlo, const int &a_idir, const Interval &a_variables) const
bool extractFromSten (Real &a_value, const VoFStencil &a_vofsten, const EBCellFAB &a_coarData, const int &ivar) const
void makeStencils ()

Protected Attributes

int m_nComp
int m_refRat
LayoutData< QuadCFStencilm_loQCFS [SpaceDim]
LayoutData< QuadCFStencilm_hiQCFS [SpaceDim]
LevelData< EBCellFABm_coarBuffer
EBISLayout m_coarsenedFineEBISL
DisjointBoxLayout m_coarsenedFineGrids
DisjointBoxLayout m_inputFineGrids
DisjointBoxLayout m_inputCoarGrids
EBISLayout m_inputFineEBISL
EBISLayout m_inputCoarEBISL
Box m_domainCoar
Box m_domainFine
bool m_isDefined
 has full define function been called?

LayoutData< BaseIVFAB< VoFStencil > > m_stencils [SpaceDim]
LayoutData< IntVectSetm_irregRegions

Private Methods

 EBQuadCFInterp (const EBQuadCFInterp &ebcin)
void operator= (const EBQuadCFInterp &fabin)

Detailed Description

Fills one layer of fine level ghost cells by piecewise linear interpolation from the coarse level.


Constructor & Destructor Documentation

EBQuadCFInterp::EBQuadCFInterp  
 

Default constructor. User must subsequently call define().

EBQuadCFInterp::~EBQuadCFInterp  
 

EBQuadCFInterp::EBQuadCFInterp const DisjointBoxLayout   a_dblFine,
const DisjointBoxLayout   a_dblCoar,
const EBISLayout   a_ebislFine,
const EBISLayout   a_ebislCoar,
const Box   a_domainCoar,
const int &    a_nref,
const int &    a_nvar
 

Defining constructor. Constructs a valid object. Equivalent to default construction followed by define().

{\bf Arguments:}\ dblFine, dblCoar: The fine and coarse layouts of the data. \ ebislFine, ebislCoar: The fine and coarse layouts of the geometric description.\ nref: The refinement ratio between the two levels. \ nvar: The number of variables contained in the data at each VoF.

EBQuadCFInterp::EBQuadCFInterp const EBQuadCFInterp &    ebcin [inline, private]
 


Member Function Documentation

void EBQuadCFInterp::define const DisjointBoxLayout   a_dblFine,
const DisjointBoxLayout   a_dblCoar,
const EBISLayout   a_ebislFine,
const EBISLayout   a_ebislCoar,
const Box   a_domainCoar,
const int &    a_nref,
const int &    a_nvar
 

Defines this object. Existing information is overriden.

{\bf Arguments:}\ dblFine, dblCoar: The fine and coarse layouts of the data.\ ebislFine, ebislCoar: The fine and coarse layouts of the geometric description.\ nref: The refinement ratio between the two levels. \ nvar: The number of variables contained in the data at each VoF.

bool EBQuadCFInterp::extractFromSten Real   a_value,
const VoFStencil   a_vofsten,
const EBCellFAB   a_coarData,
const int &    ivar
const [protected]
 

void EBQuadCFInterp::getPhiStar BaseFab< Real > &    a_phistar,
const BaseFab< Real > &    a_phic,
const QuadCFStencil   a_qcfs,
const Side::LoHiSide    a_hiorlo,
const int &    a_idir,
const Interval   a_variables
const [protected]
 

void EBQuadCFInterp::interpolate LevelData< EBCellFAB > &    a_fineData,
const LevelData< EBCellFAB > &    a_coarData,
const Interval   a_variables
 

Interpolate the fine data from the coarse data over the intersection of the fine layout with the refined coarse layout. \ {\bf Arguments:}\ coarDataOld: The data over the coarse layout.\ fineData: The data over the fine layout. \ Fine and coarse data must have the same number of variables.\ variables: The variables to interpolate. Those not in this range will be left alone. This range of variables must be in both the coarse and fine data.

void EBQuadCFInterp::interpOnIVS BaseFab< Real > &    a_phif,
const BaseFab< Real > &    a_phiStar,
const QuadCFStencil   a_qcfs,
const Side::LoHiSide    a_hiorlo,
const int &    a_idir,
const Interval   a_variables
const [protected]
 

void EBQuadCFInterp::irrCFInterp EBCellFAB   a_phif,
const EBCellFAB   a_phic,
const DataIndex   a_datInd,
const Interval   a_variables
const [protected]
 

bool EBQuadCFInterp::isDefined   const
 

void EBQuadCFInterp::makeStencils   [protected]
 

void EBQuadCFInterp::operator= const EBQuadCFInterp &    fabin [inline, private]
 

void EBQuadCFInterp::regCFInterp BaseFab< Real > &    a_phif,
const BaseFab< Real > &    a_phic,
const QuadCFStencil   a_qcfs,
const Side::LoHiSide    a_hiorlo,
const int &    a_idir,
const Interval   a_variables
const [protected]
 


Member Data Documentation

LevelData<EBCellFAB> EBQuadCFInterp::m_coarBuffer [protected]
 

EBISLayout EBQuadCFInterp::m_coarsenedFineEBISL [protected]
 

DisjointBoxLayout EBQuadCFInterp::m_coarsenedFineGrids [protected]
 

Box EBQuadCFInterp::m_domainCoar [protected]
 

Box EBQuadCFInterp::m_domainFine [protected]
 

LayoutData<QuadCFStencil> EBQuadCFInterp::m_hiQCFS[SpaceDim] [protected]
 

EBISLayout EBQuadCFInterp::m_inputCoarEBISL [protected]
 

DisjointBoxLayout EBQuadCFInterp::m_inputCoarGrids [protected]
 

EBISLayout EBQuadCFInterp::m_inputFineEBISL [protected]
 

DisjointBoxLayout EBQuadCFInterp::m_inputFineGrids [protected]
 

LayoutData<IntVectSet> EBQuadCFInterp::m_irregRegions [protected]
 

bool EBQuadCFInterp::m_isDefined [protected]
 

has full define function been called?

LayoutData<QuadCFStencil> EBQuadCFInterp::m_loQCFS[SpaceDim] [protected]
 

int EBQuadCFInterp::m_nComp [protected]
 

int EBQuadCFInterp::m_refRat [protected]
 

LayoutData<BaseIVFAB<VoFStencil> > EBQuadCFInterp::m_stencils[SpaceDim] [protected]
 


The documentation for this class was generated from the following file:
Generated on Wed Apr 16 14:35:16 2003 for EBChombo by doxygen1.2.16