tfel
Loading...
Searching...
No Matches
mfront::LinearSystemSolverBase Struct Reference

Base class for linear system solver used by implicit domain specific languages. More...

#include </home/runner/work/tfel/tfel/mfront/include/MFront/LinearSystemSolverBase.hxx>

Inheritance diagram for mfront::LinearSystemSolverBase:
mfront::AbstractLinearSystemSolver mfront::DefaultLinearSystemSolver mfront::TDLSLinearSystemSolver

Public Member Functions

 LinearSystemSolverBase ()
 constructor
std::vector< std::string > getSpecificHeaders () const override
std::vector< std::string > getReservedNames () const override
void writeSpecificMembers (std::ostream &, const BehaviourDescription &, const Hypothesis) const override
 write the solver specific members
 ~LinearSystemSolverBase () override
 destructor
Public Member Functions inherited from mfront::AbstractLinearSystemSolver
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 ~AbstractLinearSystemSolver ()
 destructor

Additional Inherited Members

Public Types inherited from mfront::AbstractLinearSystemSolver
using Hypothesis = tfel::material::ModellingHypothesis::Hypothesis
 a simple alias

Detailed Description

Base class for linear system solver used by implicit domain specific languages.

Member Function Documentation

◆ getReservedNames()

std::vector< std::string > mfront::LinearSystemSolverBase::getReservedNames ( ) const
overridevirtual
Returns
the reserved names

Implements mfront::AbstractLinearSystemSolver.

Reimplemented in mfront::TDLSLinearSystemSolver.

◆ getSpecificHeaders()

std::vector< std::string > mfront::LinearSystemSolverBase::getSpecificHeaders ( ) const
overridevirtual
Returns
the header to be included

Implements mfront::AbstractLinearSystemSolver.

Reimplemented in mfront::TDLSLinearSystemSolver.

◆ writeSpecificMembers()

void mfront::LinearSystemSolverBase::writeSpecificMembers ( std::ostream & ,
const BehaviourDescription & ,
const Hypothesis  ) const
overridevirtual

write the solver specific members

Parameters
[in]out: output file
[in]md: mechanical description
[in]h: modelling hypothesis

Implements mfront::AbstractLinearSystemSolver.

Reimplemented in mfront::TDLSLinearSystemSolver.


The documentation for this struct was generated from the following file:
  • LinearSystemSolverBase.hxx