25 #include "NamespaceHeader.H" 42 const bool & a_useConstraints);
46 const int & a_degreeP,
47 const bool & a_useConstraints,
82 void print(ostream & a_out)
const;
134 const IvDim & a_mono,
141 const IvDim& a_mono);
147 void fillMap(PthMomentLoc & a_monoLoc,
148 LocPthMoment & a_locMono,
149 const int & a_degree);
231 int recursiveCount(
const int & a_degreeP);
233 void setNumMonomials();
236 void print(ostream & a_out)
const;
239 void operator=(
const LSProblem & a_lSProblem);
242 #include "NamespaceFooter.H" void computeBounds(const IndexTM< Real, dim > &a_dx, const CutCellMoments< dim > &a_ccm)
Definition: LSProblemImplem.H:94
void getMatrix(Real **a_matrix)
void differentiate(int &a_coeff, IvDim &a_Dmono, int &a_idir, const IvDim &a_mono)
Definition: LSProblemImplem.H:508
map< IvDim, int, LexLT< IvDim > > PthMomentLoc
Definition: LSProblem.H:32
void print(ostream &a_out) const
Definition: LSProblemImplem.H:587
int m_numP
Definition: LSProblem.H:186
bool m_useConstraints
Definition: LSProblem.H:176
int m_ithMoment
Definition: LSProblem.H:219
int getDegree()
Definition: LSProblem.H:56
void outputRhs() const
Definition: LSProblemImplem.H:652
void outputMatrix() const
Definition: LSProblemImplem.H:636
Vector< Real > m_rhs
Definition: LSProblem.H:199
void outputBounds() const
Definition: LSProblemImplem.H:670
Real getUnknown(int loc)
Definition: LSProblem.H:104
int m_numPLess1
Definition: LSProblem.H:213
int numMonomials(const int &a_monoDegree)
Definition: LSProblemImplem.H:426
Definition: ComputeCutCellMoments.H:35
void momentBounds(Real &a_lobnd, Real &a_hibnd, const IvDim &a_mono, const IFData< dim > &a_ifData)
Definition: LSProblemImplem.H:250
LSProblem(const int &a_degreeP, const bool &a_useConstraints)
Definition: LSProblemImplem.H:303
PthMomentLoc m_monoLocPLess1
Definition: LSProblem.H:189
void outputUnknowns() const
Definition: LSProblemImplem.H:661
Real m_pMoments
Definition: LSProblem.H:216
int getOrderAccuracy()
Definition: LSProblem.H:61
~LSProblem()
Definition: LSProblemImplem.H:290
void fillMap(PthMomentLoc &a_monoLoc, LocPthMoment &a_locMono, const int &a_degree)
Definition: LSProblemImplem.H:537
int factorial(const int &a_n, const int &a_m=0)
Definition: LSProblemImplem.H:411
map< int, IvDim > LocPthMoment
Definition: LSProblem.H:33
int numActiveBounds() const
Definition: LSProblem.H:119
const PthMomentLoc & getMonomialLocMapDegreeP() const
Definition: LSProblem.H:94
int getNumberDegPLess1()
Definition: LSProblem.H:114
const PthMomentLoc & getMonomialLocMapDegreePLess1() const
Definition: LSProblem.H:99
int nChooseR(int a_n, int a_r)
Definition: LSProblemImplem.H:36
double Real
Definition: REAL.H:33
int invertNormalEq(const Vector< Real > &a_rhs, Vector< Real > &a_residual)
Definition: LSProblemImplem.H:344
void monoMaxMin(Real &a_maxVal, Real &a_minVal, const IndexTM< int, dim > &a_mono, const IFData< dim > &a_IFData)
Definition: LSProblemImplem.H:50
PthMomentLoc m_monoLocP
Definition: LSProblem.H:182
void getUnknowns(Vector< Real > &a_unknown)
void setRhs(const Vector< Real > &a_rhs)
Definition: LSProblemImplem.H:533
int m_order
Definition: LSProblem.H:167
int m_numPLess1
Definition: LSProblem.H:193
Real ** m_matrix
Definition: LSProblem.H:197
const LocPthMoment & getLocMonomialMapDegreeP() const
Definition: LSProblem.H:89
int getNumberDegP()
Definition: LSProblem.H:109
LocPthMoment m_locMonoP
Definition: LSProblem.H:183
Definition: LSProblem.H:205
int m_numP
Definition: LSProblem.H:210
int m_numActiveBounds
Definition: LSProblem.H:173
int m_degreeP
Definition: LSProblem.H:170
Vector< Real > m_upperBound
Definition: LSProblem.H:202
void getRhs(Vector< Real > &a_rhs)
void allocArray(const int &a_rows, const int &a_cols, Real **&a_A)
Definition: LSProblemImplem.H:557
void freeArray(const int &a_rows, const int &a_cols, Real **&a_A)
Definition: LSProblemImplem.H:575
IndexTM< int, dim > IvDim
Definition: LSProblem.H:31
void setMatrix()
Definition: LSProblemImplem.H:457
Definition: CutCellMoments.H:32
Vector< Real > m_unknowns
Definition: LSProblem.H:198
IndexTM< Real, dim > m_normal
Definition: LSProblem.H:179
Vector< Real > m_lowerBound
Definition: LSProblem.H:201
LocPthMoment m_locMonoPLess1
Definition: LSProblem.H:190