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

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

Inheritance diagram for mfront::PowellDogLegAlgorithmBase:
mfront::PowellDogLegBroydenSolver mfront::PowellDogLegNewtonRaphsonNumericalJacobianSolver mfront::PowellDogLegNewtonRaphsonSolver

Public Types

using tokens_iterator
 a simple alias
using Hypothesis = tfel::material::ModellingHypothesis::Hypothesis
 a simple alias

Protected Member Functions

 ~PowellDogLegAlgorithmBase ()

Static Protected Member Functions

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

base class providing some helper function to build non linear systeme solver based on the Powell dogleg algorithm

Member Typedef Documentation

◆ tokens_iterator

Initial value:
tfel::utilities::CxxTokenizer::TokensContainer::const_iterator

a simple alias

Constructor & Destructor Documentation

◆ ~PowellDogLegAlgorithmBase()

mfront::PowellDogLegAlgorithmBase::~PowellDogLegAlgorithmBase ( )
protected

destructor

Member Function Documentation

◆ completeVariableDeclaration()

void mfront::PowellDogLegAlgorithmBase::completeVariableDeclaration ( BehaviourDescription & )
staticprotected

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

Parameters
[in,out]md: mechanical description

◆ getReservedNames()

std::vector< std::string > mfront::PowellDogLegAlgorithmBase::getReservedNames ( )
staticprotected
Returns
the reserved names

◆ initializeNumericalParameters()

void mfront::PowellDogLegAlgorithmBase::initializeNumericalParameters ( std::ostream & ,
const std::string &  )
staticprotected

initialize numerical parameters for the behaviour parameters

Parameters
[in]osoutput stream
[in]nname of the solver

◆ treatSpecificKeywords()

std::pair< bool, tokens_iterator > mfront::PowellDogLegAlgorithmBase::treatSpecificKeywords ( BehaviourDescription & ,
const std::string & key,
const tokens_iterator ,
const tokens_iterator  )
staticprotected

write the algorithm specific members

Parameters
[in,out]md: mechanical description
[in]key: keyword
[in]p: current position in file (after keyword)
[in]pe: end of file

◆ writePowellDogLegStep()

void mfront::PowellDogLegAlgorithmBase::writePowellDogLegStep ( std::ostream & ,
const BehaviourDescription & ,
const Hypothesis ,
const std::string & ,
const std::string & ,
const std::string &  )
staticprotected

write a step of the Powell dogleg method

Parameters
[in]out: output file
[in]mb: mechanical behaviour description
[in]h: modelling hypothesis
[in]B: name of the jacobian
[in]f: name of values of f
[in]pn: Newton or quasi-Newton step

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