Chombo + EB  3.0
Public Types | Public Member Functions | Public Attributes | List of all members
ComputeCutCellMoments< dim > Class Template Reference

#include <ComputeCutCellMoments.H>

Public Types

typedef IndexTM< int, dimIvDim
 
typedef IndexTM< Real, dimRvDim
 
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, IvDimLocPthMoment
 
typedef map< IvDim, int, LexLT
< IvDim > > 
PthMomentLoc
 
typedef map< Iv2,
CutCellMoments< dim-1 >, LexLT
< Iv2 > > 
BdCutCellMoments
 

Public Member Functions

 ComputeCutCellMoments ()
 
 ComputeCutCellMoments (const ComputeCutCellMoments< dim > &a_computeCutCellMoments)
 
 ComputeCutCellMoments (const IFData< dim > &a_info)
 
 ~ComputeCutCellMoments ()
 
void computeMoments (const int &a_order, const int &a_degreeP, const bool &a_useConstraints, RefinementCriterion< dim > &a_refinementCriterion, const int &a_numberOfRefinements=0)
 
Vector< RealcomputeRhs (LSProblem< dim > &a_lsp, const int &a_order)
 
Vector< CutCellMoments< dim > > refine (const int &a_order, const int &a_degreeP, const bool &a_useConstraints, RefinementCriterion< dim > &a_refinementCriterion, const IndexTM< int, dim > &a_refineInDir, const int &a_numberOfRefinements)
 
void addMomentMaps (const Vector< CutCellMoments< dim > > &a_refinedCutCellVector, const int &a_degreeP, const bool &a_useConstraints)
 
void addMoments (PthMoment &a_momentMap, PthMoment &a_refinedMomentMap, 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)
 
void computeResiduals (const int &a_order, const int &a_degreeP, const bool &a_useConstraints)
 
void computeResiduals (const Vector< CutCellMoments< dim > > &a_refinedCCMoms, const int &a_degreeP)
 
void print (ostream &out) const
 
void dump () const
 
void operator= (const ComputeCutCellMoments< dim > &a_computeCutCellMoments)
 
Real factorial (const IvDim &a_multiIndex) const
 

Public Attributes

CutCellMoments< dimm_cutCellMoments
 
bool m_boundaryMomentsComputed
 

Member Typedef Documentation

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

Constructor & Destructor Documentation

template<int dim>
ComputeCutCellMoments< dim >::ComputeCutCellMoments ( )
template<int dim>
ComputeCutCellMoments< dim >::ComputeCutCellMoments ( const ComputeCutCellMoments< dim > &  a_computeCutCellMoments)
template<int dim>
ComputeCutCellMoments< dim >::ComputeCutCellMoments ( const IFData< dim > &  a_info)
template<int dim>
ComputeCutCellMoments< dim >::~ComputeCutCellMoments ( )

Member Function Documentation

template<int dim>
void ComputeCutCellMoments< dim >::computeMoments ( const int &  a_order,
const int &  a_degreeP,
const bool &  a_useConstraints,
RefinementCriterion< dim > &  a_refinementCriterion,
const int &  a_numberOfRefinements = 0 
)
template<int dim>
Vector< Real > ComputeCutCellMoments< dim >::computeRhs ( LSProblem< dim > &  a_lsp,
const int &  a_order 
)
template<int dim>
Vector< CutCellMoments< dim > > ComputeCutCellMoments< dim >::refine ( const int &  a_order,
const int &  a_degreeP,
const bool &  a_useConstraints,
RefinementCriterion< dim > &  a_refinementCriterion,
const IndexTM< int, dim > &  a_refineInDir,
const int &  a_numberOfRefinements 
)
template<int dim>
void ComputeCutCellMoments< dim >::addMomentMaps ( const Vector< CutCellMoments< dim > > &  a_refinedCutCellVector,
const int &  a_degreeP,
const bool &  a_useConstraints 
)
template<int dim>
void ComputeCutCellMoments< dim >::addMoments ( PthMoment a_momentMap,
PthMoment a_refinedMomentMap,
const IndexTM< Real, dim > &  a_refinedCenterDelta 
)
template<int dim>
void ComputeCutCellMoments< 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 
)
template<int dim>
void ComputeCutCellMoments< dim >::computeResiduals ( const int &  a_order,
const int &  a_degreeP,
const bool &  a_useConstraints 
)
template<int dim>
void ComputeCutCellMoments< dim >::computeResiduals ( const Vector< CutCellMoments< dim > > &  a_refinedCCMoms,
const int &  a_degreeP 
)

References LARGEREALVAL.

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

Referenced by operator<<().

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

References pout().

template<int dim>
void ComputeCutCellMoments< dim >::operator= ( const ComputeCutCellMoments< dim > &  a_computeCutCellMoments)
template<int dim>
Real ComputeCutCellMoments< dim >::factorial ( const IvDim a_multiIndex) const

References dim.

Member Data Documentation

template<int dim>
CutCellMoments<dim> ComputeCutCellMoments< dim >::m_cutCellMoments
template<int dim>
bool ComputeCutCellMoments< dim >::m_boundaryMomentsComputed

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