Chombo + EB + MF
3.2
|
Class to manage coarse-to-fine spatial interpolation to all fine cells within a single particular coarse cell. More...
#include <FourthOrderOneDStencil.H>
Public Member Functions | |
FourthOrderOneDStencil () | |
Default constructor. More... | |
~FourthOrderOneDStencil () | |
Destructor. More... | |
void | define (const int &a_refRatio, const int &a_order) |
Actual constructor. More... | |
void | makeMomentMatrix (LAPACKMatrix &a_matrix, const Real &a_dx, const Real &a_vol) |
void | calculateStencilWeights (LAPACKMatrix &a_weights, const LAPACKMatrix &a_matrix, const LAPACKMatrix &a_coarseData) |
void | calculateMoments (Vector< Real > &a_oneDMomentMap, const Real &a_dx, const Real &a_vol) |
void | apply (FArrayBox &a_fineFab, const FArrayBox &a_coarseFab, const IntVect &a_coarseIv, const int &a_interpDir, const IntVect &a_coarseRefineVect) |
Public Attributes | |
int | m_refRatio |
int | m_order |
Real ** | m_weights |
Protected Attributes | |
bool | m_defined |
whether define() has been called More... | |
Private Member Functions | |
void | operator= (const FourthOrderOneDStencil &a_input) |
FourthOrderOneDStencil (const FourthOrderOneDStencil &a_input) | |
Class to manage coarse-to-fine spatial interpolation to all fine cells within a single particular coarse cell.
FourthOrderOneDStencil::FourthOrderOneDStencil | ( | ) |
Default constructor.
Object requires define() to be called before all other functions.
|
inline |
Destructor.
Destroys all objects created by define(). Passed in data references of define() are left alone.
References apply(), calculateMoments(), calculateStencilWeights(), define(), m_weights, and makeMomentMatrix().
|
inlineprivate |
References MayDay::Error().
void FourthOrderOneDStencil::define | ( | const int & | a_refRatio, |
const int & | a_order | ||
) |
void FourthOrderOneDStencil::makeMomentMatrix | ( | LAPACKMatrix & | a_matrix, |
const Real & | a_dx, | ||
const Real & | a_vol | ||
) |
Referenced by ~FourthOrderOneDStencil().
void FourthOrderOneDStencil::calculateStencilWeights | ( | LAPACKMatrix & | a_weights, |
const LAPACKMatrix & | a_matrix, | ||
const LAPACKMatrix & | a_coarseData | ||
) |
Referenced by ~FourthOrderOneDStencil().
void FourthOrderOneDStencil::calculateMoments | ( | Vector< Real > & | a_oneDMomentMap, |
const Real & | a_dx, | ||
const Real & | a_vol | ||
) |
Referenced by ~FourthOrderOneDStencil().
void FourthOrderOneDStencil::apply | ( | FArrayBox & | a_fineFab, |
const FArrayBox & | a_coarseFab, | ||
const IntVect & | a_coarseIv, | ||
const int & | a_interpDir, | ||
const IntVect & | a_coarseRefineVect | ||
) |
Referenced by ~FourthOrderOneDStencil().
|
inlineprivate |
References MayDay::Error().
int FourthOrderOneDStencil::m_refRatio |
int FourthOrderOneDStencil::m_order |
Real** FourthOrderOneDStencil::m_weights |
Referenced by ~FourthOrderOneDStencil().
|
protected |
whether define() has been called