Chombo + EB + MF
3.2
|
#include <CutCellMoments.H>
Public Types | |
typedef IndexTM< int, dim > | IvDim |
typedef IndexTM< Real, dim > | RvDim |
typedef map< IvDim, Real > | PthMoment |
typedef map< IndexTM< int, dim-1 >, Real > | PthMomentLesserDimension |
typedef map< IndexTM< int, 1 >, Real > | OneDMoments |
typedef map< int, IvDim > | LocPthMoment |
typedef map< IvDim, int > | PthMomentLoc |
typedef map< Iv2, CutCellMoments< dim-1 > > | BdCutCellMoments |
Public Member Functions | |
CutCellMoments () | |
CutCellMoments (const CutCellMoments< dim > &a_cutCellMoments) | |
CutCellMoments (const IFData< dim > &a_info) | |
~CutCellMoments () | |
const CutCellMoments< dim - 1 > | getBdCutCellMoments (const Iv2 &a_bdId) const |
Real | changeMomentCoordinates (PthMoment &a_refinedMomentMap, const IndexTM< int, dim > &a_monomial, const IndexTM< Real, dim > &a_refinedCenterDelta) |
void | changeMomentCoordinatesToCellCenter () |
void | changeMomentCoordinatesToParentCenter () |
void | initialize (CutCellMoments< dim > &a_refinedCutCell) |
void | initializeMap (PthMoment &a_map1, PthMoment &a_map2) |
void | initializeMap (PthMomentLesserDimension &a_map1, PthMomentLesserDimension &a_map2) |
Real | getBdMoment (const IvDim &a_mono, const IFData< dim+1 > &a_IFData, const IndexTM< Real, dim > &a_refinedCenterDelta, PthMoment a_fullCellMap=PthMoment()) |
Real | getBdEBMoment (const IvDim &a_mono, const IFData< dim+1 > &a_IFData, const IndexTM< Real, dim > &a_refinedCenterDelta) |
void | addBdMoments (CutCellMoments< dim > &a_coarseCutCell, const IFData< dim+1 > &a_IFData, const int &a_degreePmax, const bool &a_useConstraints, const IndexTM< Real, dim > &a_refinedCenterDelta, const IndexTM< int, dim > &a_localHilo) |
Real | fullCellQuadrature (const IndexTM< int, dim > &a_mono, const CoordinateSystem< dim > &a_coord) |
Real | getMoment (const IvDim &a_mono, const EBorVol &a_EBorVOL) const |
Real | getVol (const EBorVol &a_EBorVol) const |
RvDim | getCentroid (const EBorVol &a_EBorVOL) const |
Real | getResidual (const int &a_iDegree, const int &a_normJ) const |
void | setResidual (const Real &a_value, const int &a_iDegree, const int &a_normJ) |
Vector< Real > | sliceResidual (const int &a_iDegree) const |
bool | isCovered () const |
bool | isRegular () const |
void | print (ostream &out) const |
void | dump () const |
void | operator= (const CutCellMoments< dim > &a_cutCellMoments) |
Public Attributes | |
PthMoment | m_moments |
PthMoment | m_EBmoments |
BdCutCellMoments | m_bdCutCellMoments |
IFData< dim > | m_IFData |
bool | m_bdCCOn |
Vector< Vector< Real > > | m_residual |
int | m_numActiveBounds |
bool | m_badNormal |
typedef IndexTM<int,dim> CutCellMoments< dim >::IvDim |
typedef map<IvDim,Real > CutCellMoments< dim >::PthMoment |
typedef map<IndexTM<int,dim-1>,Real > CutCellMoments< dim >::PthMomentLesserDimension |
typedef map<IndexTM<int,1>,Real > CutCellMoments< dim >::OneDMoments |
typedef map<int,IvDim> CutCellMoments< dim >::LocPthMoment |
typedef map<IvDim,int > CutCellMoments< dim >::PthMomentLoc |
typedef map<Iv2,CutCellMoments<dim-1> > CutCellMoments< dim >::BdCutCellMoments |
CutCellMoments< dim >::CutCellMoments | ( | ) |
CutCellMoments< dim >::CutCellMoments | ( | const CutCellMoments< dim > & | a_cutCellMoments | ) |
CutCellMoments< dim >::CutCellMoments | ( | const IFData< dim > & | a_info | ) |
CutCellMoments< dim >::~CutCellMoments | ( | ) |
const CutCellMoments< dim - 1 > CutCellMoments< dim >::getBdCutCellMoments | ( | const Iv2 & | a_bdId | ) | const |
References MayDay::Abort(), and CutCellMoments< dim >::m_bdCutCellMoments.
Referenced by CutCellMoments< dim >::initialize().
void CutCellMoments< dim >::changeMomentCoordinatesToCellCenter | ( | ) |
void CutCellMoments< dim >::changeMomentCoordinatesToParentCenter | ( | ) |
void CutCellMoments< dim >::initialize | ( | CutCellMoments< dim > & | a_refinedCutCell | ) |
void CutCellMoments< dim >::initializeMap | ( | PthMoment & | a_map1, |
PthMoment & | a_map2 | ||
) |
Referenced by CutCellMoments< dim >::initialize().
void CutCellMoments< dim >::initializeMap | ( | PthMomentLesserDimension & | a_map1, |
PthMomentLesserDimension & | a_map2 | ||
) |
void CutCellMoments< dim >::addBdMoments | ( | CutCellMoments< dim > & | a_coarseCutCell, |
const IFData< dim+1 > & | a_IFData, | ||
const int & | a_degreePmax, | ||
const bool & | a_useConstraints, | ||
const IndexTM< Real, dim > & | a_refinedCenterDelta, | ||
const IndexTM< int, dim > & | a_localHilo | ||
) |
References dim, CutCellMoments< dim >::fullCellQuadrature(), CutCellMoments< dim >::getBdEBMoment(), CutCellMoments< dim >::getBdMoment(), LSProblem< dim >::getMonomialLocMapDegreeP(), LSProblem< dim >::getMonomialLocMapDegreePLess1(), LARGEINTVAL, IFData< dim >::m_allVerticesIn, CutCellMoments< dim >::m_bdCutCellMoments, CutCellMoments< dim >::m_EBmoments, CutCellMoments< dim >::m_IFData, and CutCellMoments< dim >::m_moments.
Real CutCellMoments< dim >::fullCellQuadrature | ( | const IndexTM< int, dim > & | a_mono, |
const CoordinateSystem< dim > & | a_coord | ||
) |
References CoordinateSystem< dim >::convertDir(), dim, and CutCellMoments< dim >::m_IFData.
Referenced by CutCellMoments< dim >::addBdMoments().
Real CutCellMoments< dim >::getMoment | ( | const IvDim & | a_mono, |
const EBorVol & | a_EBorVOL | ||
) | const |
References MayDay::Abort(), EBMoment, LARGEREALVAL, CutCellMoments< dim >::m_EBmoments, CutCellMoments< dim >::m_moments, and VolMoment.
Referenced by CutCellMoments< dim >::getCentroid(), and CutCellMoments< dim >::getVol().
Real CutCellMoments< dim >::getVol | ( | const EBorVol & | a_EBorVol | ) | const |
References CutCellMoments< dim >::getMoment(), and IndexTM< T, N >::Zero.
Referenced by CutCellMoments< dim >::getCentroid().
IndexTM< Real, dim > CutCellMoments< dim >::getCentroid | ( | const EBorVol & | a_EBorVOL | ) | const |
References dim, CutCellMoments< dim >::getMoment(), CutCellMoments< dim >::getVol(), and MayDay::Warning().
Real CutCellMoments< dim >::getResidual | ( | const int & | a_iDegree, |
const int & | a_normJ | ||
) | const |
void CutCellMoments< dim >::setResidual | ( | const Real & | a_value, |
const int & | a_iDegree, | ||
const int & | a_normJ | ||
) |
Vector< Real > CutCellMoments< dim >::sliceResidual | ( | const int & | a_iDegree | ) | const |
bool CutCellMoments< dim >::isCovered | ( | ) | const |
References CutCellMoments< dim >::m_IFData.
Referenced by CutCellMoments< dim >::getResidual(), CutCellMoments< dim >::setResidual(), and CutCellMoments< dim >::sliceResidual().
bool CutCellMoments< dim >::isRegular | ( | ) | const |
void CutCellMoments< dim >::print | ( | ostream & | out | ) | const |
void CutCellMoments< dim >::dump | ( | ) | const |
References pout(), and CutCellMoments< dim >::print().
void CutCellMoments< dim >::operator= | ( | const CutCellMoments< dim > & | a_cutCellMoments | ) |
References CutCellMoments< dim >::m_badNormal, CutCellMoments< dim >::m_bdCCOn, CutCellMoments< dim >::m_bdCutCellMoments, CutCellMoments< dim >::m_EBmoments, CutCellMoments< dim >::m_IFData, CutCellMoments< dim >::m_moments, CutCellMoments< dim >::m_numActiveBounds, and CutCellMoments< dim >::m_residual.
PthMoment CutCellMoments< dim >::m_moments |
Referenced by CutCellMoments< dim >::addBdMoments(), ComputeCutCellMoments< dim >::addMomentMaps(), CutCellMoments< dim >::changeMomentCoordinatesToCellCenter(), CutCellMoments< dim >::changeMomentCoordinatesToParentCenter(), LSProblem< dim >::computeBounds(), CutCellMoments< dim >::getBdMoment(), CutCellMoments< dim >::getMoment(), CutCellMoments< dim >::initialize(), CutCellMoments< dim >::operator=(), and CutCellMoments< dim >::print().
PthMoment CutCellMoments< dim >::m_EBmoments |
Referenced by CutCellMoments< dim >::addBdMoments(), ComputeCutCellMoments< dim >::addMomentMaps(), CutCellMoments< dim >::changeMomentCoordinatesToCellCenter(), CutCellMoments< dim >::changeMomentCoordinatesToParentCenter(), LSProblem< dim >::computeBounds(), CutCellMoments< dim >::getBdEBMoment(), CutCellMoments< dim >::getMoment(), CutCellMoments< dim >::initialize(), CutCellMoments< dim >::operator=(), and CutCellMoments< dim >::print().
BdCutCellMoments CutCellMoments< dim >::m_bdCutCellMoments |
IFData<dim> CutCellMoments< dim >::m_IFData |
Referenced by CutCellMoments< dim >::addBdMoments(), ComputeCutCellMoments< dim >::addMomentMaps(), DivNormalRefinement< dim >::approximateDivNormal(), CutCellMoments< dim >::changeMomentCoordinatesToCellCenter(), CutCellMoments< dim >::changeMomentCoordinatesToParentCenter(), LSProblem< dim >::computeBounds(), CutCellMoments< dim >::fullCellQuadrature(), CutCellMoments< dim >::isCovered(), CutCellMoments< dim >::isRegular(), CutCellMoments< dim >::operator=(), and CutCellMoments< dim >::print().
bool CutCellMoments< dim >::m_bdCCOn |
Vector<Vector<Real> > CutCellMoments< dim >::m_residual |
int CutCellMoments< dim >::m_numActiveBounds |
Referenced by CutCellMoments< dim >::operator=().
bool CutCellMoments< dim >::m_badNormal |