|
MorphoGraphX
2.0-1-227
|
#include <Solver.hpp>
Inheritance diagram for mgx::Solver:Classes | |
| struct | EdgData |
| struct | VtxData |
Public Types | |
| enum | ParmNames { pSolvingMethod, pDt, pCGTolerance, pCGMaxIter, pMaxNewtonSteps, pErrTolerance, pDebug, pNumParms } |
| typedef AttrMap< cell, VtxData > | CellAttr2 |
| typedef std::pair< cell, cell > | CellCellPair |
| typedef AttrMap< CellCellPair, EdgData > | MyEdgeAttr2 |
Public Member Functions | |
| Solver (Mesh *m, cellGraph &pC, SolvingMethod method, int variables, double eulerDt, double _Dx=0.001, bool debug=true) | |
| void | processParms (const QStringList &parms) |
| QStringList | parmNames () const |
| QStringList | parmDescs () const |
| QStringList | parmDefaults () const |
| void | setInput (std::vector< double > &values, std::vector< double > &derivatives) |
| void | solve () |
| virtual std::vector< double > | getValues (const cell &c) |
| virtual void | setValues (const cell &c, std::vector< double > values) |
| virtual void | updateDerivatives (const cell &c) |
| virtual std::vector< double > | getDerivatives (const cell &c) |
Public Attributes | |
| cellGraph & | C |
| SolvingMethod | method |
| int | variables |
| double | eulerDt |
| double | cgTolerance |
| double | cgMaxIter |
| int | maxNewtonSteps |
| double | newtonErrTolerance |
| bool | debugOutput |
| DistNhbdC * | nhbd |
| DistVertexAttr< DistNhbdC, VtxData, Matrix2d > * | vJ |
| DistEdgeAttr< DistNhbdC, EdgData, Matrix2d > * | eJ |
| DistVertexAttr< DistNhbdC, VtxData, Point2d > * | vX |
| DistVertexAttr< DistNhbdC, VtxData, Point2d > * | vB |
| DMatrix2d * | J |
| DVector2d * | X |
| DVector2d * | B |
| CellAttr2 * | cellVars |
| MyEdgeAttr2 * | cellEdges |
Definition at line 41 of file Solver.hpp.
| typedef AttrMap<cell, VtxData> mgx::Solver::CellAttr2 |
Definition at line 95 of file Solver.hpp.
| typedef std::pair<cell, cell> mgx::Solver::CellCellPair |
Definition at line 98 of file Solver.hpp.
| typedef AttrMap<CellCellPair, EdgData> mgx::Solver::MyEdgeAttr2 |
Definition at line 100 of file Solver.hpp.
| Enumerator | |
|---|---|
| pSolvingMethod | |
| pDt | |
| pCGTolerance | |
| pCGMaxIter | |
| pMaxNewtonSteps | |
| pErrTolerance | |
| pDebug | |
| pNumParms | |
Definition at line 114 of file Solver.hpp.
|
inline |
Definition at line 104 of file Solver.hpp.
|
inlinevirtual |
Reimplemented in mgx::MeinhardtAI::Solver.
Definition at line 161 of file Solver.hpp.
|
inlinevirtual |
Reimplemented in mgx::MeinhardtAI::Solver.
Definition at line 158 of file Solver.hpp.
|
inline |
Definition at line 140 of file Solver.hpp.
|
inline |
Definition at line 129 of file Solver.hpp.
|
inline |
Definition at line 118 of file Solver.hpp.
| void mgx::Solver::processParms | ( | const QStringList & | parms | ) |
| void mgx::Solver::setInput | ( | std::vector< double > & | values, |
| std::vector< double > & | derivatives | ||
| ) |
|
inlinevirtual |
Reimplemented in mgx::MeinhardtAI::Solver.
Definition at line 159 of file Solver.hpp.
| void mgx::Solver::solve | ( | ) |
|
inlinevirtual |
Reimplemented in mgx::MeinhardtAI::Solver.
Definition at line 160 of file Solver.hpp.
| DVector2d* mgx::Solver::B |
Definition at line 92 of file Solver.hpp.
| cellGraph& mgx::Solver::C |
Definition at line 44 of file Solver.hpp.
| MyEdgeAttr2* mgx::Solver::cellEdges |
Definition at line 101 of file Solver.hpp.
| CellAttr2* mgx::Solver::cellVars |
Definition at line 96 of file Solver.hpp.
| double mgx::Solver::cgMaxIter |
Definition at line 50 of file Solver.hpp.
| double mgx::Solver::cgTolerance |
Definition at line 50 of file Solver.hpp.
| bool mgx::Solver::debugOutput |
Definition at line 54 of file Solver.hpp.
| DistEdgeAttr<DistNhbdC, EdgData, Matrix2d>* mgx::Solver::eJ |
Definition at line 86 of file Solver.hpp.
| double mgx::Solver::eulerDt |
Definition at line 47 of file Solver.hpp.
| DMatrix2d* mgx::Solver::J |
Definition at line 90 of file Solver.hpp.
| int mgx::Solver::maxNewtonSteps |
Definition at line 51 of file Solver.hpp.
| SolvingMethod mgx::Solver::method |
Definition at line 45 of file Solver.hpp.
| double mgx::Solver::newtonErrTolerance |
Definition at line 52 of file Solver.hpp.
| DistNhbdC* mgx::Solver::nhbd |
Definition at line 57 of file Solver.hpp.
| int mgx::Solver::variables |
Definition at line 46 of file Solver.hpp.
| DistVertexAttr<DistNhbdC, VtxData, Point2d>* mgx::Solver::vB |
Definition at line 88 of file Solver.hpp.
| DistVertexAttr<DistNhbdC, VtxData, Matrix2d>* mgx::Solver::vJ |
Definition at line 85 of file Solver.hpp.
| DistVertexAttr<DistNhbdC, VtxData, Point2d>* mgx::Solver::vX |
Definition at line 87 of file Solver.hpp.
| DVector2d* mgx::Solver::X |
Definition at line 91 of file Solver.hpp.
1.8.17