#include <CutCellMoments.H>
Public Types | |
typedef map< IndexTM< int, 1 > , Real > | OneDMoments |
Public Member Functions | |
CutCellMoments () | |
CutCellMoments (const CutCellMoments< 1 > &a_cutCellMoments) | |
CutCellMoments (const IFData< 1 > &a_info) | |
~CutCellMoments () | |
void | computeMoments (const int &a_order, const int &a_degree, const bool &a_useConstraints, RefinementCriterion &a_refinementCriterion) |
void | simpleComputeMoments (const Real &a_loPt, const Real &a_hiPt, const int &a_degree) |
void | computeMomentsUsingBinomial (const Real &a_loPt, const Real &a_hiPt, const int &a_loSign, const int &a_hiSign, const int &a_degree) |
void | addBdMoments (CutCellMoments< 1 > &a_coarseCutCell, const IFData< 2 > &a_iFData, const int &a_degreeP, const bool &a_useConstraints, const IndexTM< Real, 1 > &a_refinedCenterDelta, const IndexTM< int, 1 > &a_localHilo) |
Real | changeMomentCoordinates (OneDMoments &a_refinedMap, const IndexTM< int, 1 > &a_monomial, const IndexTM< Real, 1 > &a_refinedCenterDelta) |
void | initialize (CutCellMoments< 1 > &a_refinedCutCell) |
void | initializeMap (OneDMoments &a_map1, OneDMoments &a_map2) |
Real | getBdMoment (const IndexTM< int, 1 > &a_mono, const IFData< 2 > &a_iFData, const IndexTM< Real, 1 > &a_refinedCenterDelta, OneDMoments a_fullCellMap=OneDMoments()) |
Real | getBdEBMoment (const IndexTM< int, 1 > &a_mono, const IFData< 2 > &a_iFData, const IndexTM< Real, 1 > &a_refinedCenterDelta) |
Real | getMoment (const IndexTM< int, 1 > &a_mono, const EBorVol &a_EBorVOL) const |
Real | getMoment (const IndexTM< int, 1 > &a_mono) const |
Real | getVol (const EBorVol &a_EBorVol) const |
IndexTM< Real, 1 > | getCentroid (const EBorVol &a_EBorVol) const |
bool | isCovered () const |
bool | isRegular () const |
void | print (ostream &out) const |
void | dump () const |
void | operator= (const CutCellMoments< 1 > &a_cutCellMoments) |
Public Attributes | |
OneDMoments | m_moments |
IFData< 1 > | m_iFData |
bool | m_bdCCOn |
OneDMoments | m_EBmoments |
typedef map<IndexTM<int,1>,Real> CutCellMoments< 1 >::OneDMoments |
CutCellMoments< 1 >::CutCellMoments | ( | ) | [inline] |
CutCellMoments< 1 >::CutCellMoments | ( | const CutCellMoments< 1 > & | a_cutCellMoments | ) | [inline] |
CutCellMoments< 1 >::CutCellMoments | ( | const IFData< 1 > & | a_info | ) | [inline] |
CutCellMoments< 1 >::~CutCellMoments | ( | ) | [inline] |
void CutCellMoments< 1 >::computeMoments | ( | const int & | a_order, | |
const int & | a_degree, | |||
const bool & | a_useConstraints, | |||
RefinementCriterion & | a_refinementCriterion | |||
) | [inline] |
References hi, LARGEREALVAL, lo, CutCellMoments< dim >::m_iFData, CutCellMoments< dim >::m_moments, and ON.
void CutCellMoments< 1 >::simpleComputeMoments | ( | const Real & | a_loPt, | |
const Real & | a_hiPt, | |||
const int & | a_degree | |||
) | [inline] |
References CutCellMoments< dim >::m_moments.
void CutCellMoments< 1 >::computeMomentsUsingBinomial | ( | const Real & | a_loPt, | |
const Real & | a_hiPt, | |||
const int & | a_loSign, | |||
const int & | a_hiSign, | |||
const int & | a_degree | |||
) | [inline] |
References i, j, CutCellMoments< dim >::m_moments, and ON.
void CutCellMoments< 1 >::addBdMoments | ( | CutCellMoments< 1 > & | a_coarseCutCell, | |
const IFData< 2 > & | a_iFData, | |||
const int & | a_degreeP, | |||
const bool & | a_useConstraints, | |||
const IndexTM< Real, 1 > & | a_refinedCenterDelta, | |||
const IndexTM< int, 1 > & | a_localHilo | |||
) | [inline] |
Real CutCellMoments< 1 >::changeMomentCoordinates | ( | OneDMoments & | a_refinedMap, | |
const IndexTM< int, 1 > & | a_monomial, | |||
const IndexTM< Real, 1 > & | a_refinedCenterDelta | |||
) | [inline] |
References j.
void CutCellMoments< 1 >::initialize | ( | CutCellMoments< 1 > & | a_refinedCutCell | ) | [inline] |
void CutCellMoments< 1 >::initializeMap | ( | OneDMoments & | a_map1, | |
OneDMoments & | a_map2 | |||
) | [inline] |
Real CutCellMoments< 1 >::getBdMoment | ( | const IndexTM< int, 1 > & | a_mono, | |
const IFData< 2 > & | a_iFData, | |||
const IndexTM< Real, 1 > & | a_refinedCenterDelta, | |||
OneDMoments | a_fullCellMap = OneDMoments() | |||
) | [inline] |
Real CutCellMoments< 1 >::getBdEBMoment | ( | const IndexTM< int, 1 > & | a_mono, | |
const IFData< 2 > & | a_iFData, | |||
const IndexTM< Real, 1 > & | a_refinedCenterDelta | |||
) | [inline] |
Real CutCellMoments< 1 >::getMoment | ( | const IndexTM< int, 1 > & | a_mono, | |
const EBorVol & | a_EBorVOL | |||
) | const [inline] |
References CutCellMoments< dim >::getMoment().
Real CutCellMoments< 1 >::getMoment | ( | const IndexTM< int, 1 > & | a_mono | ) | const [inline] |
References MayDay::Abort(), LARGEREALVAL, and CutCellMoments< dim >::m_moments.
Real CutCellMoments< 1 >::getVol | ( | const EBorVol & | a_EBorVol | ) | const [inline] |
References CutCellMoments< dim >::getMoment().
IndexTM< Real, 1 > CutCellMoments< 1 >::getCentroid | ( | const EBorVol & | a_EBorVol | ) | const [inline] |
References MayDay::Abort(), CutCellMoments< dim >::getMoment(), and CutCellMoments< dim >::getVol().
bool CutCellMoments< 1 >::isCovered | ( | ) | const [inline] |
References CutCellMoments< dim >::m_iFData.
bool CutCellMoments< 1 >::isRegular | ( | ) | const [inline] |
References CutCellMoments< dim >::m_iFData.
void CutCellMoments< 1 >::print | ( | ostream & | out | ) | const [inline] |
References CutCellMoments< dim >::m_iFData, and CutCellMoments< dim >::m_moments.
void CutCellMoments< 1 >::dump | ( | ) | const [inline] |
void CutCellMoments< 1 >::operator= | ( | const CutCellMoments< 1 > & | a_cutCellMoments | ) | [inline] |
References CutCellMoments< dim >::m_iFData, and CutCellMoments< dim >::m_moments.
IFData<1> CutCellMoments< 1 >::m_iFData |
bool CutCellMoments< 1 >::m_bdCCOn |