Chombo + EB  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 >
, Real
PthMomentLesserDimension
 
typedef map< IndexTM< int, 1 >
, Real
OneDMoments
 
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

template<int dim>
typedef IndexTM<int,dim> CutCellMoments< dim >::IvDim
template<int dim>
typedef IndexTM<Real,dim> CutCellMoments< dim >::RvDim
template<int dim>
typedef map<IvDim,Real > CutCellMoments< dim >::PthMoment
template<int dim>
typedef map<IndexTM<int,dim-1>,Real > CutCellMoments< dim >::PthMomentLesserDimension
template<int dim>
typedef map<IndexTM<int,1>,Real > CutCellMoments< dim >::OneDMoments
template<int dim>
typedef map<int,IvDim> CutCellMoments< dim >::LocPthMoment
template<int dim>
typedef map<IvDim,int > CutCellMoments< dim >::PthMomentLoc
template<int dim>
typedef map<Iv2,CutCellMoments<dim-1> > CutCellMoments< dim >::BdCutCellMoments

Constructor & Destructor Documentation

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

Member Function Documentation

template<int dim>
const CutCellMoments< dim-1 > CutCellMoments< dim >::getBdCutCellMoments ( const Iv2 a_bdId) const
template<int dim>
Real CutCellMoments< dim >::changeMomentCoordinates ( PthMoment a_refinedMomentMap,
const IndexTM< int, dim > &  a_monomial,
const IndexTM< Real, dim > &  a_refinedCenterDelta 
)

References MayDay::Abort(), dim, and factorial().

template<int dim>
void CutCellMoments< dim >::changeMomentCoordinatesToCellCenter ( )
template<int dim>
void CutCellMoments< dim >::changeMomentCoordinatesToParentCenter ( )
template<int dim>
void CutCellMoments< dim >::initialize ( CutCellMoments< dim > &  a_refinedCutCell)
template<int dim>
void CutCellMoments< dim >::initializeMap ( PthMoment a_map1,
PthMoment a_map2 
)
template<int dim>
void CutCellMoments< dim >::initializeMap ( PthMomentLesserDimension a_map1,
PthMomentLesserDimension a_map2 
)
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() 
)
template<int dim>
Real CutCellMoments< dim >::getBdEBMoment ( const IvDim a_mono,
const IFData< dim+1 > &  a_IFData,
const IndexTM< Real, dim > &  a_refinedCenterDelta 
)
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 
)
template<int dim>
Real CutCellMoments< dim >::fullCellQuadrature ( const IndexTM< int, dim > &  a_mono,
const CoordinateSystem< dim > &  a_coord 
)
template<int dim>
Real CutCellMoments< dim >::getMoment ( const IvDim a_mono,
const EBorVol a_EBorVOL 
) const
template<int dim>
Real CutCellMoments< dim >::getVol ( const EBorVol a_EBorVol) const
template<int dim>
IndexTM< Real, dim > CutCellMoments< dim >::getCentroid ( const EBorVol a_EBorVOL) const

References dim, and MayDay::Warning().

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

References MayDay::Abort().

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

References MayDay::Abort(), dim, and pout().

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

References dim, and GLOBALDIM.

Referenced by operator<<().

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

References pout().

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

Member Data Documentation

template<int dim>
PthMoment CutCellMoments< dim >::m_moments
template<int dim>
PthMoment CutCellMoments< dim >::m_EBmoments
template<int dim>
BdCutCellMoments CutCellMoments< dim >::m_bdCutCellMoments
template<int dim>
IFData<dim> CutCellMoments< dim >::m_IFData
template<int dim>
bool CutCellMoments< dim >::m_bdCCOn
template<int dim>
Vector<Vector<Real> > CutCellMoments< dim >::m_residual
template<int dim>
int CutCellMoments< dim >::m_numActiveBounds
template<int dim>
bool CutCellMoments< dim >::m_badNormal

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