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

TensorCFInterp Class Reference

Quadratic coarse-fine interpolation utility for tensors. More...

#include <TensorCFInterp.H>

Collaboration diagram for TensorCFInterp:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TensorCFInterp (const DisjointBoxLayout &a_fineBoxes, const DisjointBoxLayout *a_coarBoxes, Real a_dxFine, int a_refRatio, int a_nComp, const Box &a_domf)
 constructors, destructors, defines
 TensorCFInterp (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 Box &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)
 TensorCFInterp ()
 ~TensorCFInterp ()
void clear ()
void coarseFineInterp (LevelData< FArrayBox > &a_phif, LevelData< FArrayBox > &a_tanGradf, const LevelData< FArrayBox > &a_phic)
void coarseFineInterpH (LevelData< FArrayBox > &a_phif, LevelData< FArrayBox > &a_tanGradf)
bool isDefined () const

Protected Member Functions

void coarseFineInterp (BaseFab< Real > &a_phif, BaseFab< Real > &a_tanGradStar, 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, BaseFab< Real > &a_tanGradStar, 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
void computeTanGrad (BaseFab< Real > &a_tanGradf, const BaseFab< Real > &a_phiFine, const BaseFab< Real > &a_tanGradStar, const TensorFineStencilSet &a_fineStencils, 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
ProblemDomain m_probDomain
LayoutData< QuadCFStencilm_loQCFS [SpaceDim]
LayoutData< QuadCFStencilm_hiQCFS [SpaceDim]
LayoutData< TensorFineStencilSetm_loFineStencilSets [SpaceDim]
 this contains info for the fine-level differencing
LayoutData< TensorFineStencilSetm_hiFineStencilSets [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?

Detailed Description

Quadratic coarse-fine interpolation utility for tensors.

Class to fill ghost cells on coarse-fine interface using quadratic interpolation. Also computes tangential derivatives


Constructor & Destructor Documentation

TensorCFInterp::TensorCFInterp 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

TensorCFInterp::TensorCFInterp 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

TensorCFInterp::TensorCFInterp  ) 
 

Default constructor leaves TCFI undefined.

TensorCFInterp::~TensorCFInterp  ) 
 


Member Function Documentation

void TensorCFInterp::clear  ) 
 

return TCFI to undefined state

void TensorCFInterp::coarseFineInterp BaseFab< Real > &  a_phif,
BaseFab< Real > &  a_tanGradStar,
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 TensorCFInterp::coarseFineInterp LevelData< FArrayBox > &  a_phif,
LevelData< FArrayBox > &  a_tanGradf,
const LevelData< FArrayBox > &  a_phic
 

Coarse / Fine interpolation operator.

void TensorCFInterp::coarseFineInterpH LevelData< FArrayBox > &  a_phif,
LevelData< FArrayBox > &  a_tanGradf
 

Coarse-fine interpolation operator with homogeneous BCs. Does same interpolation as coarseFineInterp function, but with all coarse-level data set to 0.

void TensorCFInterp::computeTanGrad BaseFab< Real > &  a_tanGradf,
const BaseFab< Real > &  a_phiFine,
const BaseFab< Real > &  a_tanGradStar,
const TensorFineStencilSet a_fineStencils,
const QuadCFStencil a_qcfs,
const Side::LoHiSide a_hiorlo,
const int  a_idir,
const Interval a_variables
const [protected]
 

void TensorCFInterp::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 TensorCFInterp::define const DisjointBoxLayout a_fineBoxes,
const DisjointBoxLayout a_coarBoxes,
Real  a_dxFine,
int  a_refRatio,
int  a_nComp,
const Box a_domf
 

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

void TensorCFInterp::getPhiStar BaseFab< Real > &  a_phistar,
BaseFab< Real > &  a_tanGradStar,
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 TensorCFInterp::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 TensorCFInterp::isDefined  )  const
 

has full define function been called? return true if so


Member Data Documentation

Real TensorCFInterp::m_dxFine [protected]
 

BoxLayout TensorCFInterp::m_hiCoarBoxes[SpaceDim] [protected]
 

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

Copier TensorCFInterp::m_hiCoarCopiers[SpaceDim] [protected]
 

LayoutData<TensorFineStencilSet> TensorCFInterp::m_hiFineStencilSets[SpaceDim] [protected]
 

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

DisjointBoxLayout TensorCFInterp::m_inputCoarLayout [protected]
 

DisjointBoxLayout TensorCFInterp::m_inputFineLayout [protected]
 

bool TensorCFInterp::m_isDefined [protected]
 

has full define function been called?

int TensorCFInterp::m_level [protected]
 

BoxLayout TensorCFInterp::m_loCoarBoxes[SpaceDim] [protected]
 

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

Copier TensorCFInterp::m_loCoarCopiers[SpaceDim] [protected]
 

LayoutData<TensorFineStencilSet> TensorCFInterp::m_loFineStencilSets[SpaceDim] [protected]
 

this contains info for the fine-level differencing

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

int TensorCFInterp::m_nComp [protected]
 

ProblemDomain TensorCFInterp::m_probDomain [protected]
 

int TensorCFInterp::m_refRatio [protected]
 


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