ComputeCutCellMoments< dim > Class Template Reference

#include <ComputeCutCellMoments.H>

List of all members.

template<int dim>
class ComputeCutCellMoments< dim >


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 (  )  [inline]

template<int dim>
ComputeCutCellMoments< dim >::ComputeCutCellMoments ( const ComputeCutCellMoments< dim > &  a_computeCutCellMoments  )  [inline]

template<int dim>
ComputeCutCellMoments< dim >::ComputeCutCellMoments ( const IFData< dim > &  a_info  )  [inline]

template<int dim>
ComputeCutCellMoments< dim >::~ComputeCutCellMoments (  )  [inline]


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 
) [inline]

template<int dim>
Vector< Real > ComputeCutCellMoments< dim >::computeRhs ( LSProblem< dim > &  a_lsp,
const int &  a_order 
) [inline]

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 
) [inline]

template<int dim>
void ComputeCutCellMoments< dim >::addMomentMaps ( const Vector< CutCellMoments< dim > > &  a_refinedCutCellVector,
const int &  a_degreeP,
const bool &  a_useConstraints 
) [inline]

template<int dim>
void ComputeCutCellMoments< dim >::addMoments ( PthMoment a_momentMap,
PthMoment a_refinedMomentMap,
const IndexTM< Real, dim > &  a_refinedCenterDelta 
) [inline]

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 
) [inline]

template<int dim>
void ComputeCutCellMoments< dim >::computeResiduals ( const Vector< CutCellMoments< dim > > &  a_refinedCCMoms,
const int &  a_degreeP 
) [inline]

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

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

template<int dim>
void ComputeCutCellMoments< dim >::operator= ( const ComputeCutCellMoments< dim > &  a_computeCutCellMoments  )  [inline]

template<int dim>
Real ComputeCutCellMoments< dim >::factorial ( const IvDim a_multiIndex  )  const [inline]

References dim.

Referenced by ComputeCutCellMoments< dim >::computeRhs().


Member Data Documentation


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

Generated on Tue May 30 03:42:55 2017 for Chombo + EB by  doxygen 1.5.5