Chombo + EB  3.2
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 >, RealOneDMoments
 
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

◆ IvDim

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

◆ RvDim

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

◆ PthMoment

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

◆ PthMomentLesserDimension

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

◆ OneDMoments

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

◆ LocPthMoment

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

◆ PthMomentLoc

template<int dim>
typedef map<IvDim,int,LexLT <IvDim> > ComputeCutCellMoments< dim >::PthMomentLoc

◆ BdCutCellMoments

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

Constructor & Destructor Documentation

◆ ComputeCutCellMoments() [1/3]

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

◆ ComputeCutCellMoments() [2/3]

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

◆ ComputeCutCellMoments() [3/3]

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

◆ ~ComputeCutCellMoments()

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

Member Function Documentation

◆ computeMoments()

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 
)

◆ computeRhs()

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

◆ refine()

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 
)

◆ addMomentMaps()

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

◆ addMoments()

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

◆ addBdMoments()

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 
)

◆ computeResiduals() [1/2]

template<int dim>
void ComputeCutCellMoments< dim >::computeResiduals ( const int &  a_order,
const int &  a_degreeP,
const bool &  a_useConstraints 
)

◆ computeResiduals() [2/2]

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

◆ print()

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

◆ dump()

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

◆ operator=()

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

◆ factorial()

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

References dim.

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

Member Data Documentation

◆ m_cutCellMoments

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

◆ m_boundaryMomentsComputed

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

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