|
tfel
|
Base class for linear system solver used by implicit domain specific languages. More...
#include </home/runner/work/tfel/tfel/mfront/include/MFront/AbstractLinearSystemSolver.hxx>
Classes | |
| struct | MatrixDecompositionVariables |
| struct | MatrixDecompositionResult |
| structure containing the results of the matrix decomposition More... | |
| struct | LinearSystemVariables |
| struct | LinearSystemSubstitutionVariables |
Public Types | |
| using | Hypothesis = tfel::material::ModellingHypothesis::Hypothesis |
| a simple alias | |
Public Member Functions | |
| virtual std::vector< std::string > | getSpecificHeaders () const =0 |
| virtual std::vector< std::string > | getReservedNames () const =0 |
| virtual void | writeLinearSystemResolution (std::ostream &, const BehaviourDescription &, const AbstractNonLinearSystemSolver &, const Hypothesis, const LinearSystemVariables &) const =0 |
| write the resolution of a linear system | |
| virtual MatrixDecompositionResult | getMatrixDecompositionResults (const BehaviourDescription &, const AbstractNonLinearSystemSolver &, const Hypothesis, const std::string &) const =0 |
| return the description of the results of the matrix decomposition (see writeMatrixDecomposition) | |
| virtual MatrixDecompositionResult | writeMatrixDecomposition (std::ostream &, const BehaviourDescription &, const AbstractNonLinearSystemSolver &, const Hypothesis, const MatrixDecompositionVariables &) const =0 |
| write the decomposition of a matrix prior to a resolution of one or several linear systems (see writeLinearSystemSubstitution) | |
| virtual void | writeLinearSystemSubstitution (std::ostream &, const MatrixDecompositionResult &, const LinearSystemSubstitutionVariables &) const =0 |
| write the resolution of a linear system after the matrix decomposition | |
| virtual void | writeSpecificMembers (std::ostream &, const BehaviourDescription &, const Hypothesis) const =0 |
| write the solver specific members | |
| virtual | ~AbstractLinearSystemSolver () |
| destructor | |
Base class for linear system solver used by implicit domain specific languages.
|
pure virtual |
return the description of the results of the matrix decomposition (see writeMatrixDecomposition)
| [in] | bd | behaviour description |
| [in] | solver | nonlinear solver |
| [in] | h | modelling hypothesis |
| [in] | n | name of the decomposed matrix |
Implemented in mfront::DefaultLinearSystemSolver, and mfront::TDLSLinearSystemSolver.
|
pure virtual |
Implemented in mfront::LinearSystemSolverBase, and mfront::TDLSLinearSystemSolver.
|
pure virtual |
Implemented in mfront::LinearSystemSolverBase, and mfront::TDLSLinearSystemSolver.
|
pure virtual |
write the resolution of a linear system
| [in] | os | output stream |
| [in] | bd | behaviour description |
| [in] | solver | nonlinear solver |
| [in] | h | modelling hypothesis |
| [in] | s | description of the linear system |
Implemented in mfront::DefaultLinearSystemSolver, and mfront::TDLSLinearSystemSolver.
|
pure virtual |
write the resolution of a linear system after the matrix decomposition
| [in] | os | output stream |
| [in] | r | result of the matrix decomposition |
| [in] | s | description of the substitution variables |
Implemented in mfront::DefaultLinearSystemSolver, and mfront::TDLSLinearSystemSolver.
|
pure virtual |
write the decomposition of a matrix prior to a resolution of one or several linear systems (see writeLinearSystemSubstitution)
| [in] | os | output stream |
| [in] | bd | behaviour description |
| [in] | solver | nonlinear solver |
| [in] | h | modelling hypothesis |
| [in] | s | variables of the matrix decomposition |
Implemented in mfront::DefaultLinearSystemSolver, and mfront::TDLSLinearSystemSolver.
|
pure virtual |
write the solver specific members
| [in] | out | : output file |
| [in] | md | : mechanical description |
| [in] | h | : modelling hypothesis |
Implemented in mfront::LinearSystemSolverBase, and mfront::TDLSLinearSystemSolver.