#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 | ( | ) | [inline] |
MinimalCCCM< dim >::MinimalCCCM | ( | const MinimalCCCM< dim > & | a_MinimalCCCM | ) | [inline] |
MinimalCCCM< dim >::MinimalCCCM | ( | const IFData< dim > & | a_info | ) | [inline] |
References BDID_DIR, BDID_HILO, dim, MinimalCCCM< dim >::m_cutCellMoments, and IFData< dim >::m_maxOrder.
MinimalCCCM< dim >::~MinimalCCCM | ( | ) | [inline] |
void MinimalCCCM< dim >::computeMoments | ( | const int & | a_orderPmax, | |
const int & | a_degreePmax | |||
) | [inline] |
void MinimalCCCM< dim >::computeMomentsRecursively | ( | const int & | a_orderPmax, | |
const int & | a_degreePmax | |||
) | [inline] |
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 | |||
) | [inline] |
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 [inline] |
References MinimalCCCM< dim >::m_cutCellMoments.
Referenced by MinimalCCCM< dim >::dump(), and operator<<().
void MinimalCCCM< dim >::dump | ( | ) | const [inline] |
References pout(), and MinimalCCCM< dim >::print().
void MinimalCCCM< dim >::operator= | ( | const MinimalCCCM< dim > & | a_MinimalCCCM | ) | [inline] |
References MinimalCCCM< dim >::m_cutCellMoments.
Real MinimalCCCM< dim >::factorial | ( | const IvDim & | a_multiIndex | ) | const [inline] |
CutCellMoments<dim> MinimalCCCM< dim >::m_cutCellMoments |
bool MinimalCCCM< dim >::m_boundaryMomentsComputed |
Referenced by MinimalCCCM< dim >::computeMoments(), and MinimalCCCM< dim >::computeMomentsRecursively().