EBTensorCFInterp Class Reference

#include <EBTensorCFInterp.H>

Inheritance diagram for EBTensorCFInterp:

Inheritance graph
[legend]

List of all members.


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

Public Member Functions

 EBTensorCFInterp (const DisjointBoxLayout &a_fineBoxes, const DisjointBoxLayout &a_coarBoxes, const EBISLayout &a_ebislFine, const EBISLayout &a_ebislCoar, const ProblemDomain &a_domainCoar, const int &a_nref, const int &a_nvar, const Real &a_dxFine, const LayoutData< IntVectSet > &a_cfivs, const EBIndexSpace *const a_ebisPtr=Chombo_EBIS::instance(), bool a_doEBCFCrossing=true)
 ~EBTensorCFInterp ()
void coarseFineInterp (LevelData< EBCellFAB > &a_phif, LevelData< EBCellFAB > &a_tanGradf, const LevelData< EBCellFAB > &a_phic)
void coarseFineInterpH (LevelData< EBCellFAB > &a_phif, LevelData< EBCellFAB > &a_tanGradf)

Protected Member Functions

void buildEBCFCornerStencils (const LayoutData< IntVectSet > &a_cfivs)
void buildEBCFCrossingStencils (const LayoutData< IntVectSet > &a_cfivs)
void interpEBCFCrossing (LevelData< EBCellFAB > &a_fineData, LevelData< EBCellFAB > &a_tanGradF, const LevelData< EBCellFAB > &a_coarData)
void interpEBCFCorners (LevelData< EBCellFAB > &a_fineData, LevelData< EBCellFAB > &a_tanGradF, const LevelData< EBCellFAB > &a_coarData)

Protected Attributes

RefCountedPtr< EBCFDatam_ebcfdata
RefCountedPtr< EBQuadCFInterpm_ebquadcfi
LevelData< EBCellFABm_ebBufferCoarsenedFine
LayoutData< BaseIVFAB
< VoFStencil > > 
m_coarStencilLo [SpaceDim]
LayoutData< BaseIVFAB
< VoFStencil > > 
m_coarStencilHi [SpaceDim]
LayoutData< BaseIVFAB
< VoFStencil > > 
m_stencilCorners
LayoutData< BaseIVFAB
< VoFStencil > > 
m_stencilEdges
LayoutData< IntVectSetm_ebcfivsLo [SpaceDim]
LayoutData< IntVectSetm_ebcfivsHi [SpaceDim]
CornerCopier m_cornerCopier
bool m_doEBCFCrossing
int m_refRat
ProblemDomain m_domainFine
ProblemDomain m_domainCoar

Static Protected Attributes

static IntVect s_ivDebFine
static IntVect s_ivDebCoar

Private Member Functions

 EBTensorCFInterp ()
 EBTensorCFInterp (EBTensorCFInterp &a_input)
void operator= (EBTensorCFInterp &a_input)


Constructor & Destructor Documentation

EBTensorCFInterp::EBTensorCFInterp ( const DisjointBoxLayout a_fineBoxes,
const DisjointBoxLayout a_coarBoxes,
const EBISLayout a_ebislFine,
const EBISLayout a_ebislCoar,
const ProblemDomain a_domainCoar,
const int &  a_nref,
const int &  a_nvar,
const Real a_dxFine,
const LayoutData< IntVectSet > &  a_cfivs,
const EBIndexSpace *const   a_ebisPtr = Chombo_EBIS::instance(),
bool  a_doEBCFCrossing = true 
)

EBTensorCFInterp::~EBTensorCFInterp (  ) 

EBTensorCFInterp::EBTensorCFInterp (  )  [inline, private]

References MayDay::Error().

EBTensorCFInterp::EBTensorCFInterp ( EBTensorCFInterp a_input  )  [inline, private]

References MayDay::Error().


Member Function Documentation

void EBTensorCFInterp::coarseFineInterp ( LevelData< EBCellFAB > &  a_phif,
LevelData< EBCellFAB > &  a_tanGradf,
const LevelData< EBCellFAB > &  a_phic 
)

Coarse / Fine interpolation operator.

void EBTensorCFInterp::coarseFineInterpH ( LevelData< EBCellFAB > &  a_phif,
LevelData< EBCellFAB > &  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 EBTensorCFInterp::buildEBCFCornerStencils ( const LayoutData< IntVectSet > &  a_cfivs  )  [protected]

void EBTensorCFInterp::buildEBCFCrossingStencils ( const LayoutData< IntVectSet > &  a_cfivs  )  [protected]

void EBTensorCFInterp::interpEBCFCrossing ( LevelData< EBCellFAB > &  a_fineData,
LevelData< EBCellFAB > &  a_tanGradF,
const LevelData< EBCellFAB > &  a_coarData 
) [protected]

void EBTensorCFInterp::interpEBCFCorners ( LevelData< EBCellFAB > &  a_fineData,
LevelData< EBCellFAB > &  a_tanGradF,
const LevelData< EBCellFAB > &  a_coarData 
) [protected]

void EBTensorCFInterp::operator= ( EBTensorCFInterp a_input  )  [inline, private]

References MayDay::Error().


Member Data Documentation

int EBTensorCFInterp::m_refRat [protected]


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

Generated on Fri Apr 5 04:25:04 2019 for Chombo + EB by  doxygen 1.5.5