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

the standard Newton-Raphson Solver coupled with a Powell' dog leg algorithm. More...

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

Inheritance diagram for mfront::PowellDogLegNewtonRaphsonSolver:
mfront::NewtonRaphsonSolverBase mfront::PowellDogLegAlgorithmBase mfront::NonLinearSystemSolverBase mfront::AbstractNonLinearSystemSolver

Public Types

using Hypothesis = NewtonRaphsonSolverBase::Hypothesis
Public Types inherited from mfront::NewtonRaphsonSolverBase
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 > getSpecificHeaders () const override
void initializeNumericalParameters (std::ostream &, const BehaviourDescription &, const Hypothesis) const override
 initialize numerical parameters for the behaviour parameters
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.
std::string getExternalAlgorithmClassName (const BehaviourDescription &, const Hypothesis) const override
bool requiresNumericalJacobian () const override
 ~PowellDogLegNewtonRaphsonSolver () override
 destructor
Public Member Functions inherited from mfront::NewtonRaphsonSolverBase
 NewtonRaphsonSolverBase ()
 default constructor
bool usesJacobian () const override
bool usesJacobianInvert () const override
bool allowsJacobianInitialisation () const override
bool allowsJacobianInvertInitialisation () const override
bool requiresJacobianToBeReinitialisedToIdentityAtEachIterations () const override
std::pair< bool, tokens_iterator > treatSpecificKeywords (BehaviourDescription &, const std::string &, const tokens_iterator, const tokens_iterator) override
 write the algorithm specific members
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
Public Member Functions inherited from mfront::NonLinearSystemSolverBase
std::vector< std::string > getReservedNames () const override
std::vector< std::string > getMemberNames () const override
Public Member Functions inherited from mfront::AbstractNonLinearSystemSolver
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::NewtonRaphsonSolverBase
 ~NewtonRaphsonSolverBase () override
 destructor
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 Newton-Raphson Solver coupled with a Powell' dog leg algorithm.

Member Function Documentation

◆ completeVariableDeclaration()

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

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

Parameters
[in,out]md: mechanical description

Reimplemented from mfront::NewtonRaphsonSolverBase.

◆ getExternalAlgorithmClassName()

std::string mfront::PowellDogLegNewtonRaphsonSolver::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.

◆ getSpecificHeaders()

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

Implements mfront::AbstractNonLinearSystemSolver.

◆ initializeNumericalParameters()

void mfront::PowellDogLegNewtonRaphsonSolver::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.

◆ requiresNumericalJacobian()

bool mfront::PowellDogLegNewtonRaphsonSolver::requiresNumericalJacobian ( ) const
nodiscardoverridevirtual
Returns
true if the solver requires a numerical jacobian

Implements mfront::AbstractNonLinearSystemSolver.


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