Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

QuadCFInterp Class Reference

Quadratic coarse-fine interpolation utility. More...

#include <QuadCFInterp.H>

Collaboration diagram for QuadCFInterp:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QuadCFInterp (const DisjointBoxLayout &a_fineBoxes, const DisjointBoxLayout *a_coarBoxes, Real a_dxFine, int a_refRatio, int a_nComp, const Box &a_domf)
 constructors, destructors, defines
 QuadCFInterp (const DisjointBoxLayout &a_fineBoxes, const DisjointBoxLayout *a_coarBoxes, Real a_dxFine, int a_refRatio, int a_nComp, const ProblemDomain &a_domf)
void define (const DisjointBoxLayout &a_fineBoxes, const DisjointBoxLayout *a_coarBoxes, Real a_dxFine, int a_refRatio, int a_nComp, const ProblemDomain &a_domf)
 QuadCFInterp ()
 ~QuadCFInterp ()
void clear ()
void coarseFineInterp (LevelData< FArrayBox > &a_phif, const LevelData< FArrayBox > &a_phic)
bool isDefined () const

Protected Member Functions

void coarseFineInterp (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 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

Protected Attributes

BoxLayout m_loCoarBoxes [SpaceDim]
BoxLayout m_hiCoarBoxes [SpaceDim]
int m_level
int m_nComp
int m_refRatio
Real m_dxFine
LayoutData< QuadCFStencilm_loQCFS [SpaceDim]
LayoutData< QuadCFStencilm_hiQCFS [SpaceDim]
BoxLayoutData< FArrayBoxm_hiCoarBuffer [SpaceDim]
Copier m_hiCoarCopiers [SpaceDim]
BoxLayoutData< FArrayBoxm_loCoarBuffer [SpaceDim]
Copier m_loCoarCopiers [SpaceDim]
DisjointBoxLayout m_inputFineLayout
DisjointBoxLayout m_inputCoarLayout
bool m_isDefined
 has full define function been called?
ProblemDomain m_domainFine

Detailed Description

Quadratic coarse-fine interpolation utility.

Class to fill ghost cells on coarse-fine interface using quadratic interpolation


Constructor & Destructor Documentation

QuadCFInterp::QuadCFInterp const DisjointBoxLayout a_fineBoxes,
const DisjointBoxLayout a_coarBoxes,
Real  a_dxFine,
int  a_refRatio,
int  a_nComp,
const Box a_domf
 

constructors, destructors, defines

Full Constructor. makes all coarse-fine information and sets internal variables calls full define

QuadCFInterp::QuadCFInterp const DisjointBoxLayout a_fineBoxes,
const DisjointBoxLayout a_coarBoxes,
Real  a_dxFine,
int  a_refRatio,
int  a_nComp,
const ProblemDomain a_domf
 

Full Constructor. makes all coarse-fine information and sets internal variables calls full define

QuadCFInterp::QuadCFInterp  ) 
 

Default constructor leaves QCFI undefined.

QuadCFInterp::~QuadCFInterp  ) 
 


Member Function Documentation

void QuadCFInterp::clear  ) 
 

return QCFI to undefined state

void QuadCFInterp::coarseFineInterp 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]
 

void QuadCFInterp::coarseFineInterp LevelData< FArrayBox > &  a_phif,
const LevelData< FArrayBox > &  a_phic
 

Coarse / Fine interpolation operator.

void QuadCFInterp::define const DisjointBoxLayout a_fineBoxes,
const DisjointBoxLayout a_coarBoxes,
Real  a_dxFine,
int  a_refRatio,
int  a_nComp,
const ProblemDomain a_domf
 

Full define function. makes all coarse-fine information and sets internal variables

void QuadCFInterp::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 QuadCFInterp::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]
 

bool QuadCFInterp::isDefined  )  const
 

has full define function been called? return true if so


Member Data Documentation

ProblemDomain QuadCFInterp::m_domainFine [protected]
 

Real QuadCFInterp::m_dxFine [protected]
 

BoxLayout QuadCFInterp::m_hiCoarBoxes[SpaceDim] [protected]
 

BoxLayoutData<FArrayBox> QuadCFInterp::m_hiCoarBuffer[SpaceDim] [protected]
 

Copier QuadCFInterp::m_hiCoarCopiers[SpaceDim] [protected]
 

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

DisjointBoxLayout QuadCFInterp::m_inputCoarLayout [protected]
 

DisjointBoxLayout QuadCFInterp::m_inputFineLayout [protected]
 

bool QuadCFInterp::m_isDefined [protected]
 

has full define function been called?

int QuadCFInterp::m_level [protected]
 

BoxLayout QuadCFInterp::m_loCoarBoxes[SpaceDim] [protected]
 

BoxLayoutData<FArrayBox> QuadCFInterp::m_loCoarBuffer[SpaceDim] [protected]
 

Copier QuadCFInterp::m_loCoarCopiers[SpaceDim] [protected]
 

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

int QuadCFInterp::m_nComp [protected]
 

int QuadCFInterp::m_refRatio [protected]
 


The documentation for this class was generated from the following file:
Generated on Wed Oct 5 14:02:09 2005 for Chombo&AMRSelfGravity by  doxygen 1.4.1