tfel
Loading...
Searching...
No Matches
mfront::TDLSLinearSystemSolver Struct Reference
Inheritance diagram for mfront::TDLSLinearSystemSolver:
mfront::LinearSystemSolverBase mfront::AbstractLinearSystemSolver

Public Member Functions

 TDLSLinearSystemSolver (const tfel::utilities::DataMap &)
 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
void writeLinearSystemResolution (std::ostream &, const BehaviourDescription &, const AbstractNonLinearSystemSolver &, const Hypothesis, const LinearSystemVariables &) const override
 write the resolution of a linear system
MatrixDecompositionResult getMatrixDecompositionResults (const BehaviourDescription &, const AbstractNonLinearSystemSolver &, const Hypothesis, const std::string &) const override
 return the description of the results of the matrix decomposition (see writeMatrixDecomposition)
MatrixDecompositionResult writeMatrixDecomposition (std::ostream &, const BehaviourDescription &, const AbstractNonLinearSystemSolver &, const Hypothesis, const MatrixDecompositionVariables &) const override
 write the decomposition of a matrix prior to a resolution of one or several linear systems (see writeLinearSystemSubstitution)
void writeLinearSystemSubstitution (std::ostream &, const MatrixDecompositionResult &, const LinearSystemSubstitutionVariables &) const override
 write the resolution of a linear system after the matrix decomposition
 ~TDLSLinearSystemSolver () override
 destructor
Public Member Functions inherited from mfront::LinearSystemSolverBase
 LinearSystemSolverBase ()
 constructor
 ~LinearSystemSolverBase () override
 destructor
Public Member Functions inherited from mfront::AbstractLinearSystemSolver
virtual ~AbstractLinearSystemSolver ()
 destructor

Protected Types

enum struct  SchedulePolicy { LEFT_LOOKING , RIGHT_LOOKING }
enum struct  OutOfTileSearchStrategy { FIRST_ACCEPTABLE , FULL_SCAN }

Protected Attributes

std::optional< std::variant< int, std::string > > tile_size
std::optional< bool > unroll_inner
std::optional< SchedulePolicy > schedule
std::optional< OutOfTileSearchStrategy > out_of_tile_search_strategy
std::optional< double > out_of_tile_search_threshold
std::optional< double > relative_pivot_threshold
std::optional< double > singular_pivot_threshold
bool out_of_tile_search_diagnostics = false

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ TDLSLinearSystemSolver()

mfront::TDLSLinearSystemSolver::TDLSLinearSystemSolver ( const tfel::utilities::DataMap & )

constructor

Parameters
[in]optsoptions passed to the linear solver

Member Function Documentation

◆ getMatrixDecompositionResults()

MatrixDecompositionResult mfront::TDLSLinearSystemSolver::getMatrixDecompositionResults ( const BehaviourDescription & ,
const AbstractNonLinearSystemSolver & ,
const Hypothesis ,
const std::string &  ) const
overridevirtual

return the description of the results of the matrix decomposition (see writeMatrixDecomposition)

Parameters
[in]bdbehaviour description
[in]solvernonlinear solver
[in]hmodelling hypothesis
[in]nname of the decomposed matrix

Implements mfront::AbstractLinearSystemSolver.

◆ getReservedNames()

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

Reimplemented from mfront::LinearSystemSolverBase.

◆ getSpecificHeaders()

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

Reimplemented from mfront::LinearSystemSolverBase.

◆ writeLinearSystemResolution()

void mfront::TDLSLinearSystemSolver::writeLinearSystemResolution ( std::ostream & ,
const BehaviourDescription & ,
const AbstractNonLinearSystemSolver & ,
const Hypothesis ,
const LinearSystemVariables &  ) const
overridevirtual

write the resolution of a linear system

Parameters
[in]osoutput stream
[in]bdbehaviour description
[in]solvernonlinear solver
[in]hmodelling hypothesis
[in]sdescription of the linear system

Implements mfront::AbstractLinearSystemSolver.

◆ writeLinearSystemSubstitution()

void mfront::TDLSLinearSystemSolver::writeLinearSystemSubstitution ( std::ostream & ,
const MatrixDecompositionResult & ,
const LinearSystemSubstitutionVariables &  ) const
overridevirtual

write the resolution of a linear system after the matrix decomposition

Parameters
[in]osoutput stream
[in]rresult of the matrix decomposition
[in]sdescription of the substitution variables

Implements mfront::AbstractLinearSystemSolver.

◆ writeMatrixDecomposition()

MatrixDecompositionResult mfront::TDLSLinearSystemSolver::writeMatrixDecomposition ( std::ostream & ,
const BehaviourDescription & ,
const AbstractNonLinearSystemSolver & ,
const Hypothesis ,
const MatrixDecompositionVariables &  ) const
overridevirtual

write the decomposition of a matrix prior to a resolution of one or several linear systems (see writeLinearSystemSubstitution)

Parameters
[in]osoutput stream
[in]bdbehaviour description
[in]solvernonlinear solver
[in]hmodelling hypothesis
[in]svariables of the matrix decomposition

Implements mfront::AbstractLinearSystemSolver.

◆ writeSpecificMembers()

void mfront::TDLSLinearSystemSolver::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

Reimplemented from mfront::LinearSystemSolverBase.


The documentation for this struct was generated from the following file: