EBMGInterp Class Reference

#include <EBMGInterp.H>

Collaboration diagram for EBMGInterp:

Collaboration graph
[legend]

List of all members.


Detailed Description

Piecewise constant interpolation.

Finedata += coarse data.

Public Member Functions

 EBMGInterp ()
 ~EBMGInterp ()
 EBMGInterp (const DisjointBoxLayout &dblFine, const DisjointBoxLayout &dblCoar, const EBISLayout &ebislFine, const EBISLayout &ebislCoar, const ProblemDomain &domainCoar, const int &nref, const int &nvar, const EBIndexSpace *ebisPtr, const IntVect &ghostCellsPhi)
void define (const DisjointBoxLayout &dblFine, const DisjointBoxLayout &dblCoar, const EBISLayout &ebislFine, const EBISLayout &ebislCoar, const ProblemDomain &domainCoar, const int &nref, const int &nvar, const EBIndexSpace *ebisPtr, const IntVect &ghostCellsPhi)
bool isDefined () const
void pwcInterp (LevelData< EBCellFAB > &a_fineData, const LevelData< EBCellFAB > &a_coarseData, const Interval &a_variables)
void pwcInterpMG (LevelData< EBCellFAB > &a_fineData, const LevelData< EBCellFAB > &a_coarseData, const Interval &a_variables)

Protected Member Functions

void pwcInterpFAB (EBCellFAB &a_refCoar, const EBCellFAB &a_fine, const DataIndex &a_datInd, const Interval &a_variables) const
void setDefaultValues ()

Protected Attributes

bool m_isDefined
IntVect m_ghost
DisjointBoxLayout m_coarGrids
DisjointBoxLayout m_fineGrids
DisjointBoxLayout m_refinedCoarseGrids
Copier m_copierFtoRC
Copier m_copierRCtoF
ProblemDomain m_coarDomain
ProblemDomain m_fineDomain
EBISLayout m_coarEBISL
EBISLayout m_fineEBISL
EBISLayout m_refinedCoarseEBISL
int m_refRat
int m_nComp
LevelData< EBCellFABm_refinedCoarseData
LayoutData< RefCountedPtr
< EBStencil > > 
m_interpEBStencil

Private Member Functions

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


Constructor & Destructor Documentation

EBMGInterp::EBMGInterp (  ) 

Default constructor. User must subsequently call define().

EBMGInterp::~EBMGInterp (  ) 

EBMGInterp::EBMGInterp ( const DisjointBoxLayout dblFine,
const DisjointBoxLayout dblCoar,
const EBISLayout ebislFine,
const EBISLayout ebislCoar,
const ProblemDomain domainCoar,
const int &  nref,
const int &  nvar,
const EBIndexSpace ebisPtr,
const IntVect ghostCellsPhi 
)

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

{ 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.

EBMGInterp::EBMGInterp ( const EBMGInterp ebcin  )  [inline, private]

References MayDay::Error().


Member Function Documentation

void EBMGInterp::define ( const DisjointBoxLayout dblFine,
const DisjointBoxLayout dblCoar,
const EBISLayout ebislFine,
const EBISLayout ebislCoar,
const ProblemDomain domainCoar,
const int &  nref,
const int &  nvar,
const EBIndexSpace ebisPtr,
const IntVect ghostCellsPhi 
)

Defines this object. Existing information is overriden.

{ 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 EBMGInterp::isDefined (  )  const

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

void EBMGInterp::pwcInterp ( LevelData< EBCellFAB > &  a_fineData,
const LevelData< EBCellFAB > &  a_coarseData,
const Interval a_variables 
)

Piecewise constant interpolation function FineData += coarseData

void EBMGInterp::pwcInterpMG ( LevelData< EBCellFAB > &  a_fineData,
const LevelData< EBCellFAB > &  a_coarseData,
const Interval a_variables 
)

Piecewise constant interpolation function for unchanged layouts (no agglomeration) there are no copies here FineData += coarseData

void EBMGInterp::pwcInterpFAB ( EBCellFAB a_refCoar,
const EBCellFAB a_fine,
const DataIndex a_datInd,
const Interval a_variables 
) const [protected]

void EBMGInterp::setDefaultValues (  )  [protected]

void EBMGInterp::operator= ( const EBMGInterp fabin  )  [inline, private]

References MayDay::Error().


Member Data Documentation

bool EBMGInterp::m_isDefined [protected]

int EBMGInterp::m_refRat [protected]

int EBMGInterp::m_nComp [protected]


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

Generated on Tue Apr 14 14:23:24 2009 for Chombo + EB by  doxygen 1.5.5