Chombo + EB + MF  3.2
Public Types | Public Member Functions | Public Attributes | List of all members
CutCellMoments< dim > Class Template Reference

#include <CutCellMoments.H>

Public Types

typedef IndexTM< int, dimIvDim
 
typedef IndexTM< Real, dimRvDim
 
typedef map< IvDim, RealPthMoment
 
typedef map< IndexTM< int, dim-1 >, RealPthMomentLesserDimension
 
typedef map< IndexTM< int, 1 >, RealOneDMoments
 
typedef map< int, IvDimLocPthMoment
 
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< RealsliceResidual (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< dimm_IFData
 
bool m_bdCCOn
 
Vector< Vector< Real > > m_residual
 
int m_numActiveBounds
 
bool m_badNormal
 

Member Typedef Documentation

◆ IvDim

template<int dim>
typedef IndexTM<int,dim> CutCellMoments< dim >::IvDim

◆ RvDim

template<int dim>
typedef IndexTM<Real,dim> CutCellMoments< dim >::RvDim

◆ PthMoment

template<int dim>
typedef map<IvDim,Real > CutCellMoments< dim >::PthMoment

◆ PthMomentLesserDimension

template<int dim>
typedef map<IndexTM<int,dim-1>,Real > CutCellMoments< dim >::PthMomentLesserDimension

◆ OneDMoments

template<int dim>
typedef map<IndexTM<int,1>,Real > CutCellMoments< dim >::OneDMoments

◆ LocPthMoment

template<int dim>
typedef map<int,IvDim> CutCellMoments< dim >::LocPthMoment

◆ PthMomentLoc

template<int dim>
typedef map<IvDim,int > CutCellMoments< dim >::PthMomentLoc

◆ BdCutCellMoments

template<int dim>
typedef map<Iv2,CutCellMoments<dim-1> > CutCellMoments< dim >::BdCutCellMoments

Constructor & Destructor Documentation

◆ CutCellMoments() [1/3]

template<int dim>
CutCellMoments< dim >::CutCellMoments ( )

◆ CutCellMoments() [2/3]

template<int dim>
CutCellMoments< dim >::CutCellMoments ( const CutCellMoments< dim > &  a_cutCellMoments)

◆ CutCellMoments() [3/3]

template<int dim>
CutCellMoments< dim >::CutCellMoments ( const IFData< dim > &  a_info)

◆ ~CutCellMoments()

template<int dim>
CutCellMoments< dim >::~CutCellMoments ( )

Member Function Documentation

◆ getBdCutCellMoments()

template<int dim>
const CutCellMoments< dim - 1 > CutCellMoments< dim >::getBdCutCellMoments ( const Iv2 a_bdId) const

◆ changeMomentCoordinates()

template<int dim>
Real CutCellMoments< dim >::changeMomentCoordinates ( PthMoment a_refinedMomentMap,
const IndexTM< int, dim > &  a_monomial,
const IndexTM< Real, dim > &  a_refinedCenterDelta 
)

◆ changeMomentCoordinatesToCellCenter()

template<int dim>
void CutCellMoments< dim >::changeMomentCoordinatesToCellCenter ( )

◆ changeMomentCoordinatesToParentCenter()

template<int dim>
void CutCellMoments< dim >::changeMomentCoordinatesToParentCenter ( )

◆ initialize()

template<int dim>
void CutCellMoments< dim >::initialize ( CutCellMoments< dim > &  a_refinedCutCell)

◆ initializeMap() [1/2]

template<int dim>
void CutCellMoments< dim >::initializeMap ( PthMoment a_map1,
PthMoment a_map2 
)

◆ initializeMap() [2/2]

template<int dim>
void CutCellMoments< dim >::initializeMap ( PthMomentLesserDimension a_map1,
PthMomentLesserDimension a_map2 
)

◆ getBdMoment()

template<int dim>
Real CutCellMoments< dim >::getBdMoment ( const IvDim a_mono,
const IFData< dim+1 > &  a_IFData,
const IndexTM< Real, dim > &  a_refinedCenterDelta,
PthMoment  a_fullCellMap = PthMoment() 
)

◆ getBdEBMoment()

template<int dim>
Real CutCellMoments< dim >::getBdEBMoment ( const IvDim a_mono,
const IFData< dim+1 > &  a_IFData,
const IndexTM< Real, dim > &  a_refinedCenterDelta 
)

◆ addBdMoments()

template<int dim>
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 
)

◆ fullCellQuadrature()

template<int dim>
Real CutCellMoments< dim >::fullCellQuadrature ( const IndexTM< int, dim > &  a_mono,
const CoordinateSystem< dim > &  a_coord 
)

◆ getMoment()

template<int dim>
Real CutCellMoments< dim >::getMoment ( const IvDim a_mono,
const EBorVol a_EBorVOL 
) const

◆ getVol()

template<int dim>
Real CutCellMoments< dim >::getVol ( const EBorVol a_EBorVol) const

◆ getCentroid()

template<int dim>
IndexTM< Real, dim > CutCellMoments< dim >::getCentroid ( const EBorVol a_EBorVOL) const

◆ getResidual()

template<int dim>
Real CutCellMoments< dim >::getResidual ( const int &  a_iDegree,
const int &  a_normJ 
) const

◆ setResidual()

template<int dim>
void CutCellMoments< dim >::setResidual ( const Real a_value,
const int &  a_iDegree,
const int &  a_normJ 
)

◆ sliceResidual()

template<int dim>
Vector< Real > CutCellMoments< dim >::sliceResidual ( const int &  a_iDegree) const

◆ isCovered()

template<int dim>
bool CutCellMoments< dim >::isCovered ( ) const

◆ isRegular()

template<int dim>
bool CutCellMoments< dim >::isRegular ( ) const

◆ print()

template<int dim>
void CutCellMoments< dim >::print ( ostream &  out) const

◆ dump()

template<int dim>
void CutCellMoments< dim >::dump ( ) const

◆ operator=()

template<int dim>
void CutCellMoments< dim >::operator= ( const CutCellMoments< dim > &  a_cutCellMoments)

Member Data Documentation

◆ m_moments

template<int dim>
PthMoment CutCellMoments< dim >::m_moments

◆ m_EBmoments

template<int dim>
PthMoment CutCellMoments< dim >::m_EBmoments

◆ m_bdCutCellMoments

template<int dim>
BdCutCellMoments CutCellMoments< dim >::m_bdCutCellMoments

◆ m_IFData

template<int dim>
IFData<dim> CutCellMoments< dim >::m_IFData

◆ m_bdCCOn

template<int dim>
bool CutCellMoments< dim >::m_bdCCOn

◆ m_residual

template<int dim>
Vector<Vector<Real> > CutCellMoments< dim >::m_residual

◆ m_numActiveBounds

template<int dim>
int CutCellMoments< dim >::m_numActiveBounds

◆ m_badNormal

template<int dim>
bool CutCellMoments< dim >::m_badNormal

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