Chombo + EB + MF
3.2
|
#include <MinimalCCCM.H>
Public Types | |
typedef IndexTM< int, dim > | IvDim |
typedef IndexTM< Real, dim > | RvDim |
typedef map< IvDim, Real > | PthMoment |
typedef map< IndexTM< int, dim-1 >, Real > | PthMomentLesserDimension |
typedef map< IndexTM< int, 1 >, Real > | OneDMoments |
typedef map< int, IvDim > | LocPthMoment |
typedef map< IvDim, int > | PthMomentLoc |
typedef map< Iv2, CutCellMoments< dim-1 > > | BdCutCellMoments |
Public Member Functions | |
MinimalCCCM () | |
MinimalCCCM (const MinimalCCCM< dim > &a_MinimalCCCM) | |
MinimalCCCM (const IFData< dim > &a_info) | |
~MinimalCCCM () | |
void | computeMoments (const int &a_orderPmax, const int &a_degreePmax) |
void | computeMomentsRecursively (const int &a_orderPmax, const int &a_degreePmax) |
Vector< Real > | computeRhs (LSProblem< dim > &a_lsp, const int &a_order) |
void | print (ostream &out) const |
void | dump () const |
void | operator= (const MinimalCCCM< dim > &a_MinimalCCCM) |
Real | factorial (const IvDim &a_multiIndex) const |
Public Attributes | |
CutCellMoments< dim > | m_cutCellMoments |
bool | m_boundaryMomentsComputed |
typedef IndexTM<int,dim> MinimalCCCM< dim >::IvDim |
typedef map<IvDim,Real > MinimalCCCM< dim >::PthMoment |
typedef map<IndexTM<int,dim-1>,Real > MinimalCCCM< dim >::PthMomentLesserDimension |
typedef map<IndexTM<int,1>,Real > MinimalCCCM< dim >::OneDMoments |
typedef map<int,IvDim> MinimalCCCM< dim >::LocPthMoment |
typedef map<IvDim,int > MinimalCCCM< dim >::PthMomentLoc |
typedef map<Iv2,CutCellMoments<dim-1> > MinimalCCCM< dim >::BdCutCellMoments |
MinimalCCCM< dim >::MinimalCCCM | ( | ) |
MinimalCCCM< dim >::MinimalCCCM | ( | const MinimalCCCM< dim > & | a_MinimalCCCM | ) |
MinimalCCCM< dim >::MinimalCCCM | ( | const IFData< dim > & | a_info | ) |
References BDID_DIR, BDID_HILO, dim, MinimalCCCM< dim >::m_cutCellMoments, and IFData< dim >::m_maxOrder.
MinimalCCCM< dim >::~MinimalCCCM | ( | ) |
void MinimalCCCM< dim >::computeMoments | ( | const int & | a_orderPmax, |
const int & | a_degreePmax | ||
) |
void MinimalCCCM< dim >::computeMomentsRecursively | ( | const int & | a_orderPmax, |
const int & | a_degreePmax | ||
) |
References CH_assert, CH_TIME, MinimalCCCM< dim >::computeRhs(), dim, MayDay::Error(), LSProblem< dim >::getMonomialLocMapDegreeP(), LSProblem< dim >::getMonomialLocMapDegreePLess1(), LSProblem< dim >::getNumberDegP(), LSProblem< dim >::getUnknown(), LSProblem< dim >::invertNormalEq(), MinimalCCCM< dim >::m_boundaryMomentsComputed, MinimalCCCM< dim >::m_cutCellMoments, pout(), and LSProblem< dim >::print().
Referenced by MinimalCCCM< dim >::computeMoments().
Vector< Real > MinimalCCCM< dim >::computeRhs | ( | LSProblem< dim > & | a_lsp, |
const int & | a_order | ||
) |
References CH_TIME, dim, MayDay::Error(), MinimalCCCM< dim >::factorial(), generateMultiIndices(), LSProblem< dim >::getLocMonomialMapDegreeP(), LSProblem< dim >::getNumberDegP(), MinimalCCCM< dim >::m_cutCellMoments, POW(), and Vector< T >::size().
Referenced by MinimalCCCM< dim >::computeMomentsRecursively().
void MinimalCCCM< dim >::print | ( | ostream & | out | ) | const |
References MinimalCCCM< dim >::m_cutCellMoments.
Referenced by MinimalCCCM< dim >::dump(), and operator<<().
void MinimalCCCM< dim >::dump | ( | ) | const |
References pout(), and MinimalCCCM< dim >::print().
void MinimalCCCM< dim >::operator= | ( | const MinimalCCCM< dim > & | a_MinimalCCCM | ) |
References MinimalCCCM< dim >::m_cutCellMoments.
Real MinimalCCCM< dim >::factorial | ( | const IvDim & | a_multiIndex | ) | const |
References dim.
Referenced by MinimalCCCM< dim >::computeRhs().
CutCellMoments<dim> MinimalCCCM< dim >::m_cutCellMoments |
bool MinimalCCCM< dim >::m_boundaryMomentsComputed |
Referenced by MinimalCCCM< dim >::computeMoments(), and MinimalCCCM< dim >::computeMomentsRecursively().