Chombo + EB
3.0
|
#include <CutCellMoments.H>
Public Types | |
typedef IndexTM< int, dim > | IvDim |
typedef IndexTM< Real, dim > | RvDim |
typedef map< IvDim, Real, LexLT< IvDim > > | PthMoment |
typedef map< IndexTM< int, dim-1 >, Real, LexLT< IndexTM< int, dim-1 > > > | PthMomentLesserDimension |
typedef map< IndexTM< int, 1 >, Real > | OneDMoments |
typedef map< int, IvDim > | LocPthMoment |
typedef map< IvDim, int, LexLT< IvDim > > | PthMomentLoc |
typedef map< Iv2, CutCellMoments< dim-1 >, LexLT< Iv2 > > | 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) |
void | initializeMap (OneDMoments &a_map1, OneDMoments &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_degreeP, 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<IndexTM<int,dim-1>,Real,LexLT < IndexTM<int,dim-1> > > CutCellMoments< dim >::PthMomentLesserDimension |
typedef map<IndexTM<int,1>,Real > CutCellMoments< dim >::OneDMoments |
typedef map<int,IvDim> CutCellMoments< dim >::LocPthMoment |
typedef map<IvDim,int,LexLT <IvDim> > CutCellMoments< dim >::PthMomentLoc |
typedef map<Iv2,CutCellMoments<dim-1>, LexLT<Iv2> > 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 |
Referenced by CutCellMoments< GLOBALDIM >::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< GLOBALDIM >::initialize().
void CutCellMoments< dim >::initializeMap | ( | PthMomentLesserDimension & | a_map1, |
PthMomentLesserDimension & | a_map2 | ||
) |
void CutCellMoments< dim >::initializeMap | ( | OneDMoments & | a_map1, |
OneDMoments & | a_map2 | ||
) |
Real CutCellMoments< dim >::getBdMoment | ( | const IvDim & | a_mono, |
const IFData< dim+1 > & | a_IFData, | ||
const IndexTM< Real, dim > & | a_refinedCenterDelta, | ||
PthMoment | a_fullCellMap = PthMoment() |
||
) |
Referenced by CutCellMoments< GLOBALDIM >::addBdMoments().
Real CutCellMoments< dim >::getBdEBMoment | ( | const IvDim & | a_mono, |
const IFData< dim+1 > & | a_IFData, | ||
const IndexTM< Real, dim > & | a_refinedCenterDelta | ||
) |
Referenced by CutCellMoments< GLOBALDIM >::addBdMoments().
void CutCellMoments< dim >::addBdMoments | ( | CutCellMoments< dim > & | a_coarseCutCell, |
const IFData< dim+1 > & | a_IFData, | ||
const int & | a_degreeP, | ||
const bool & | a_useConstraints, | ||
const IndexTM< Real, dim > & | a_refinedCenterDelta, | ||
const IndexTM< int, dim > & | a_localHilo | ||
) |
Referenced by CutCellMoments< GLOBALDIM >::addBdMoments().
Real CutCellMoments< dim >::fullCellQuadrature | ( | const IndexTM< int, dim > & | a_mono, |
const CoordinateSystem< dim > & | a_coord | ||
) |
Referenced by CutCellMoments< GLOBALDIM >::addBdMoments().
Real CutCellMoments< dim >::getMoment | ( | const IvDim & | a_mono, |
const EBorVol & | a_EBorVOL | ||
) | const |
Referenced by CutCellMoments< GLOBALDIM >::getCentroid(), and CutCellMoments< GLOBALDIM >::getVol().
Real CutCellMoments< dim >::getVol | ( | const EBorVol & | a_EBorVol | ) | const |
Referenced by CutCellMoments< GLOBALDIM >::getCentroid().
IndexTM< Real, dim > CutCellMoments< dim >::getCentroid | ( | const EBorVol & | a_EBorVOL | ) | const |
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 |
bool CutCellMoments< dim >::isRegular | ( | ) | const |
void CutCellMoments< dim >::print | ( | ostream & | out | ) | const |
Referenced by CutCellMoments< GLOBALDIM >::dump(), and operator<<().
void CutCellMoments< dim >::dump | ( | ) | const |
void CutCellMoments< dim >::operator= | ( | const CutCellMoments< dim > & | a_cutCellMoments | ) |
PthMoment CutCellMoments< dim >::m_moments |
Referenced by CutCellMoments< GLOBALDIM >::addBdMoments(), ComputeCutCellMoments< dim >::addMomentMaps(), CutCellMoments< GLOBALDIM >::changeMomentCoordinatesToCellCenter(), CutCellMoments< GLOBALDIM >::changeMomentCoordinatesToParentCenter(), LSProblem< dim >::computeBounds(), CutCellMoments< GLOBALDIM >::getBdMoment(), CutCellMoments< GLOBALDIM >::getMoment(), CutCellMoments< GLOBALDIM >::initialize(), CutCellMoments< GLOBALDIM >::operator=(), and CutCellMoments< GLOBALDIM >::print().
PthMoment CutCellMoments< dim >::m_EBmoments |
Referenced by CutCellMoments< GLOBALDIM >::addBdMoments(), ComputeCutCellMoments< dim >::addMomentMaps(), CutCellMoments< GLOBALDIM >::changeMomentCoordinatesToCellCenter(), CutCellMoments< GLOBALDIM >::changeMomentCoordinatesToParentCenter(), LSProblem< dim >::computeBounds(), CutCellMoments< GLOBALDIM >::getBdEBMoment(), CutCellMoments< GLOBALDIM >::getMoment(), CutCellMoments< GLOBALDIM >::initialize(), CutCellMoments< GLOBALDIM >::operator=(), and CutCellMoments< GLOBALDIM >::print().
BdCutCellMoments CutCellMoments< dim >::m_bdCutCellMoments |
Referenced by CutCellMoments< GLOBALDIM >::addBdMoments(), ComputeCutCellMoments< dim >::addMomentMaps(), LSProblem< dim >::computeBounds(), CutCellMoments< GLOBALDIM >::CutCellMoments(), CutCellMoments< GLOBALDIM >::getBdCutCellMoments(), CutCellMoments< GLOBALDIM >::initialize(), CutCellMoments< GLOBALDIM >::operator=(), and CutCellMoments< GLOBALDIM >::print().
IFData<dim> CutCellMoments< dim >::m_IFData |
Referenced by CutCellMoments< GLOBALDIM >::addBdMoments(), ComputeCutCellMoments< dim >::addMomentMaps(), DivNormalRefinement< dim >::approximateDivNormal(), CutCellMoments< GLOBALDIM >::changeMomentCoordinatesToCellCenter(), CutCellMoments< GLOBALDIM >::changeMomentCoordinatesToParentCenter(), LSProblem< dim >::computeBounds(), CutCellMoments< GLOBALDIM >::fullCellQuadrature(), CutCellMoments< GLOBALDIM >::isCovered(), CutCellMoments< GLOBALDIM >::isRegular(), CutCellMoments< GLOBALDIM >::operator=(), and CutCellMoments< GLOBALDIM >::print().
bool CutCellMoments< dim >::m_bdCCOn |
Vector<Vector<Real> > CutCellMoments< dim >::m_residual |
int CutCellMoments< dim >::m_numActiveBounds |
Referenced by CutCellMoments< GLOBALDIM >::operator=().
bool CutCellMoments< dim >::m_badNormal |