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

The standard Broyden Solver coupled with Powell' dog leg algorithm. More...

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

Inheritance diagram for mfront::PowellDogLegBroydenSolver:
mfront::BroydenSolverBase mfront::PowellDogLegAlgorithmBase mfront::NonLinearSystemSolverBase mfront::AbstractNonLinearSystemSolver

Public Types

using Hypothesis
 a simple alias
Public Types inherited from mfront::BroydenSolverBase
using Hypothesis = NonLinearSystemSolverBase::Hypothesis
 a simple alias
Public Types inherited from mfront::AbstractNonLinearSystemSolver
using Hypothesis = tfel::material::ModellingHypothesis::Hypothesis
 a simple alias
using CxxTokenizer = tfel::utilities::CxxTokenizer
 a simple alias
using tokens_iterator = CxxTokenizer::TokensContainer::const_iterator
 a simple alias

Public Member Functions

std::vector< std::string > getReservedNames () const override
std::vector< std::string > getSpecificHeaders () const override
std::string getExternalAlgorithmClassName (const BehaviourDescription &, const Hypothesis) const override
bool usesJacobian () const override
bool usesJacobianInvert () const override
std::pair< bool, tokens_iterator > treatSpecificKeywords (BehaviourDescription &, const std::string &, const tokens_iterator, const tokens_iterator) override
void completeVariableDeclaration (BehaviourDescription &) const override
 method called when all the user defined variables have been set.
void initializeNumericalParameters (std::ostream &, const BehaviourDescription &, const Hypothesis) const override
 initialize numerical parameters for the behaviour parameters
 ~PowellDogLegBroydenSolver () override
 destructor
Public Member Functions inherited from mfront::BroydenSolverBase
std::vector< std::string > getMemberNames () const override
bool requiresNumericalJacobian () const override
bool allowsJacobianInitialisation () const override
bool allowsJacobianInvertInitialisation () const override
bool requiresJacobianToBeReinitialisedToIdentityAtEachIterations () const override
void writeSpecificInitializeMethodPart (std::ostream &, const BehaviourDescription &, const Hypothesis) const override
 write algorithm specific initialisations This method may be used to initialise the jacobian to identity at the beginning of the computations (if the user did no provide an initialisation of the jacobian).
void writeSpecificMembers (std::ostream &, const BehaviourDescription &, const Hypothesis) const override
 write the algorithm specific members
 ~BroydenSolverBase () override
 destructor
Public Member Functions inherited from mfront::NonLinearSystemSolverBase
std::vector< std::string > getMemberNames () const override
Public Member Functions inherited from mfront::AbstractNonLinearSystemSolver
virtual std::pair< bool, tokens_iterator > treatSpecificKeywords (BehaviourDescription &, const std::string &, const tokens_iterator, const tokens_iterator)=0
 write the algorithm specific members
virtual ~AbstractNonLinearSystemSolver ()
 destructor

Additional Inherited Members

Static Public Member Functions inherited from mfront::NonLinearSystemSolverBase
static std::string buildExternalAlgorithmClassName (const BehaviourDescription &, const Hypothesis, const std::string &)
 brief build a suitable specialisation of the class implementing the algorithm.
static std::string getJacobianPart (const VariableDescription &, const VariableDescription &, const SupportedTypes::TypeSize &, const SupportedTypes::TypeSize &, const std::string &="this->jacobian", const std::string &="")
static void writeEvaluateNumericallyComputedBlocks (std::ostream &, const BehaviourDescription &, const Hypothesis)
static void writeComparisonToNumericalJacobian (std::ostream &, const BehaviourDescription &, const Hypothesis, const std::string &)
static void writeLimitsOnIncrementValues (std::ostream &, const BehaviourDescription &, const Hypothesis, const std::string &)
static void writeLimitsOnIncrementValuesBasedOnStateVariablesPhysicalBounds (std::ostream &, const BehaviourDescription &, const Hypothesis)
static void writeLimitsOnIncrementValuesBasedOnIntegrationVariablesIncrementsPhysicalBounds (std::ostream &, const BehaviourDescription &, const Hypothesis)
Protected Types inherited from mfront::PowellDogLegAlgorithmBase
using tokens_iterator
 a simple alias
using Hypothesis = tfel::material::ModellingHypothesis::Hypothesis
 a simple alias
Protected Member Functions inherited from mfront::NonLinearSystemSolverBase
 ~NonLinearSystemSolverBase () override
 destructor
Protected Member Functions inherited from mfront::PowellDogLegAlgorithmBase
 ~PowellDogLegAlgorithmBase ()
Static Protected Member Functions inherited from mfront::PowellDogLegAlgorithmBase
static std::vector< std::string > getReservedNames ()
static std::pair< bool, tokens_iterator > treatSpecificKeywords (BehaviourDescription &, const std::string &key, const tokens_iterator, const tokens_iterator)
 write the algorithm specific members
static void completeVariableDeclaration (BehaviourDescription &)
 method called when all the user defined variables have been set.
static void writePowellDogLegStep (std::ostream &, const BehaviourDescription &, const Hypothesis, const std::string &, const std::string &, const std::string &)
static void initializeNumericalParameters (std::ostream &, const std::string &)
 initialize numerical parameters for the behaviour parameters

Detailed Description

The standard Broyden Solver coupled with Powell' dog leg algorithm.

Member Function Documentation

◆ completeVariableDeclaration()

void mfront::PowellDogLegBroydenSolver::completeVariableDeclaration ( BehaviourDescription & ) const
overridevirtual

method called when all the user defined variables have been set.

Parameters
[in,out]md: mechanical description

Implements mfront::AbstractNonLinearSystemSolver.

◆ getExternalAlgorithmClassName()

std::string mfront::PowellDogLegBroydenSolver::getExternalAlgorithmClassName ( const BehaviourDescription & ,
const Hypothesis  ) const
nodiscardoverridevirtual
Returns
the name of the class implementing the external algorithm
Parameters
[in]bdbehaviour description
[in]hmodelling hypothesis

Implements mfront::AbstractNonLinearSystemSolver.

◆ getReservedNames()

std::vector< std::string > mfront::PowellDogLegBroydenSolver::getReservedNames ( ) const
nodiscardoverridevirtual
Returns
the reserved names

Reimplemented from mfront::NonLinearSystemSolverBase.

◆ getSpecificHeaders()

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

Implements mfront::AbstractNonLinearSystemSolver.

◆ initializeNumericalParameters()

void mfront::PowellDogLegBroydenSolver::initializeNumericalParameters ( std::ostream & ,
const BehaviourDescription & ,
const Hypothesis  ) const
overridevirtual

initialize numerical parameters for the behaviour parameters

Parameters
[in]osoutput stream
[in]bdbehaviour description
[in]hmodelling hypothesis

Reimplemented from mfront::NonLinearSystemSolverBase.

◆ usesJacobian()

bool mfront::PowellDogLegBroydenSolver::usesJacobian ( ) const
nodiscardoverridevirtual
Returns
true if the solver uses the jacobian of the system (Newton-Raphson solvers) or an approximation of it (Broyden method).d'

Implements mfront::AbstractNonLinearSystemSolver.

◆ usesJacobianInvert()

bool mfront::PowellDogLegBroydenSolver::usesJacobianInvert ( ) const
nodiscardoverridevirtual
Returns
true if the solver uses the invert jacobian of the system or an approximation of it (second Broyden method).

Implements mfront::AbstractNonLinearSystemSolver.


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