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

EBPWLFillPatch Class Reference

#include <EBPWLFillPatch.H>

Collaboration diagram for EBPWLFillPatch:

Collaboration graph
[legend]
List of all members.

Public Methods

 EBPWLFillPatch ()
 ~EBPWLFillPatch ()
 EBPWLFillPatch (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, const int &a_radius)
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, const int &a_radius)
bool isDefined () const
void interpolate (LevelData< EBCellFAB > &a_fineData, const LevelData< EBCellFAB > &a_coarDataOld, const LevelData< EBCellFAB > &a_coarDataNew, const Real &a_coarTimeOld, const Real &a_coarTimeNew, const Real &a_fineTime, const Interval &a_variables)

Protected Methods

void interpolateFAB (EBCellFAB &a_fine, const EBCellFAB &a_coarOld, const EBCellFAB &a_coarNew, const Real &a_coarTimeOld, const Real &a_coarTimeNew, const Real &a_fineTime, const DataIndex &a_datInd, const Interval &a_variables) const
void makeStencils ()
void setDefaultValues ()
bool extractFromSten (Real &a_value, const VoFStencil &a_vofsten, const EBCellFAB &a_coarData, const int &ivar) const
Real computeDMinMod (const BaseIVFAB< VoFStencil > &a_lostenBF, const BaseIVFAB< VoFStencil > &a_histenBF, const VolIndex &a_coarVoF, const EBCellFAB &a_coarData, const int &ivar, const IntVectSet &loInterpSet, const IntVectSet &hiInterpSet, const IntVectSet &ceInterpSet) const

Protected Attributes

bool m_isDefined
Box m_coarDomain
DisjointBoxLayout m_coarsenedFineGrids
DisjointBoxLayout m_fineGrids
DisjointBoxLayout m_coarGrids
EBISLayout m_coarsenedFineEBISL
EBISLayout m_fineEBISL
LevelData< EBCellFABm_coarsenedFineData
LevelData< EBCellFABm_coarOnFDataOld
LevelData< EBCellFABm_coarOnFDataNew
int m_refRat
int m_nComp
int m_radius
int m_coarGhostRad
LayoutData< IntVectSetm_irregRegionsFine
LayoutData< BaseIVFAB< VoFStencil > > m_hiStencils [SpaceDim]
LayoutData< BaseIVFAB< VoFStencil > > m_loStencils [SpaceDim]
LayoutData< IntVectSetm_coarCeInterp [SpaceDim]
LayoutData< IntVectSetm_coarLoInterp [SpaceDim]
LayoutData< IntVectSetm_coarHiInterp [SpaceDim]

Private Methods

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

Detailed Description

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


Constructor & Destructor Documentation

EBPWLFillPatch::EBPWLFillPatch  
 

Default constructor. User must subsequently call define().

EBPWLFillPatch::~EBPWLFillPatch  
 

EBPWLFillPatch::EBPWLFillPatch 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,
const int &    a_radius
 

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.\ radius: the total number of ghost cells filled.

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


Member Function Documentation

Real EBPWLFillPatch::computeDMinMod const BaseIVFAB< VoFStencil > &    a_lostenBF,
const BaseIVFAB< VoFStencil > &    a_histenBF,
const VolIndex   a_coarVoF,
const EBCellFAB   a_coarData,
const int &    ivar,
const IntVectSet   loInterpSet,
const IntVectSet   hiInterpSet,
const IntVectSet   ceInterpSet
const [protected]
 

void EBPWLFillPatch::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,
const int &    a_radius
 

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. radius: the total number of ghost cells filled.

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

void EBPWLFillPatch::interpolate LevelData< EBCellFAB > &    a_fineData,
const LevelData< EBCellFAB > &    a_coarDataOld,
const LevelData< EBCellFAB > &    a_coarDataNew,
const Real   a_coarTimeOld,
const Real   a_coarTimeNew,
const Real   a_fineTime,
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 at coarse time old.\ coarDatanew: The data over the coarse layout at coarse time new.\ fineData: The data over the fine layout. \ Error occurs unless coarTimeOld <= fineTime <= coarTimeNew \ 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 EBPWLFillPatch::interpolateFAB EBCellFAB   a_fine,
const EBCellFAB   a_coarOld,
const EBCellFAB   a_coarNew,
const Real   a_coarTimeOld,
const Real   a_coarTimeNew,
const Real   a_fineTime,
const DataIndex   a_datInd,
const Interval   a_variables
const [protected]
 

bool EBPWLFillPatch::isDefined   const
 

Returns true if this object was created with the defining constructor or if define() has been called.

void EBPWLFillPatch::makeStencils   [protected]
 

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

void EBPWLFillPatch::setDefaultValues   [protected]
 


Member Data Documentation

LayoutData<IntVectSet> EBPWLFillPatch::m_coarCeInterp[SpaceDim] [protected]
 

Box EBPWLFillPatch::m_coarDomain [protected]
 

int EBPWLFillPatch::m_coarGhostRad [protected]
 

DisjointBoxLayout EBPWLFillPatch::m_coarGrids [protected]
 

LayoutData<IntVectSet> EBPWLFillPatch::m_coarHiInterp[SpaceDim] [protected]
 

LayoutData<IntVectSet> EBPWLFillPatch::m_coarLoInterp[SpaceDim] [protected]
 

LevelData<EBCellFAB> EBPWLFillPatch::m_coarOnFDataNew [protected]
 

LevelData<EBCellFAB> EBPWLFillPatch::m_coarOnFDataOld [protected]
 

LevelData<EBCellFAB> EBPWLFillPatch::m_coarsenedFineData [protected]
 

EBISLayout EBPWLFillPatch::m_coarsenedFineEBISL [protected]
 

DisjointBoxLayout EBPWLFillPatch::m_coarsenedFineGrids [protected]
 

EBISLayout EBPWLFillPatch::m_fineEBISL [protected]
 

DisjointBoxLayout EBPWLFillPatch::m_fineGrids [protected]
 

LayoutData<BaseIVFAB<VoFStencil> > EBPWLFillPatch::m_hiStencils[SpaceDim] [protected]
 

LayoutData<IntVectSet> EBPWLFillPatch::m_irregRegionsFine [protected]
 

bool EBPWLFillPatch::m_isDefined [protected]
 

LayoutData<BaseIVFAB<VoFStencil> > EBPWLFillPatch::m_loStencils[SpaceDim] [protected]
 

int EBPWLFillPatch::m_nComp [protected]
 

int EBPWLFillPatch::m_radius [protected]
 

int EBPWLFillPatch::m_refRat [protected]
 


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