|
tfel
|
class for user defined non linear system solvers More...
#include </home/runner/work/tfel/tfel/mfront/include/MFront/UserDefinedNonLinearSystemSolver.hxx>
Public Types | |
| using | DataMap = tfel::utilities::DataMap |
| 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 | |
| UserDefinedNonLinearSystemSolver (const DataMap &) | |
| constructor | |
| bool | usesJacobian () const override |
| bool | usesJacobianInvert () const override |
| bool | requiresNumericalJacobian () 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 | completeVariableDeclaration (BehaviourDescription &) const override |
| method called when all the user defined variables have been set. | |
| 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 | |
| std::string | getExternalAlgorithmClassName (const BehaviourDescription &, const Hypothesis) const override |
| std::vector< std::string > | getSpecificHeaders () const override |
| ~UserDefinedNonLinearSystemSolver () override | |
| destructor | |
| Public Member Functions inherited from mfront::NonLinearSystemSolverBase | |
| std::vector< std::string > | getReservedNames () const override |
| std::vector< std::string > | getMemberNames () const override |
| void | initializeNumericalParameters (std::ostream &, const BehaviourDescription &, const Hypothesis) const override |
| initialize numerical parameters for the behaviour parameters | |
| Public Member Functions inherited from mfront::AbstractNonLinearSystemSolver | |
| virtual | ~AbstractNonLinearSystemSolver () |
| destructor | |
Public Attributes | |
| std::string | class_name |
| class implementing the non linear solver | |
| std::string | header_file |
| path to the header file in which the non linear solver is implemented. | |
| bool | use_jacobian = true |
| bool | use_jacobian_invert = false |
| bool | requires_numerical_jacobian = false |
| bool | allows_jacobian_initialisation = false |
| bool | allows_jacobian_invert_initialisation = false |
| bool | requires_jacobian_reinitialisation_to_identity_at_each_iterations |
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 Member Functions inherited from mfront::NonLinearSystemSolverBase | |
| ~NonLinearSystemSolverBase () override | |
| destructor | |
class for user defined non linear system solvers
|
nodiscardoverridevirtual |
Implements mfront::AbstractNonLinearSystemSolver.
|
nodiscardoverridevirtual |
Implements mfront::AbstractNonLinearSystemSolver.
|
overridevirtual |
method called when all the user defined variables have been set.
| [in,out] | md | : mechanical description |
Implements mfront::AbstractNonLinearSystemSolver.
|
nodiscardoverridevirtual |
| [in] | bd | behaviour description |
| [in] | h | modelling hypothesis |
Implements mfront::AbstractNonLinearSystemSolver.
|
nodiscardoverridevirtual |
Implements mfront::AbstractNonLinearSystemSolver.
|
nodiscardoverridevirtual |
Implements mfront::AbstractNonLinearSystemSolver.
|
nodiscardoverridevirtual |
Implements mfront::AbstractNonLinearSystemSolver.
|
nodiscardoverridevirtual |
write the algorithm specific members
| [in,out] | md | : mechanical description |
| [in] | key | : keyword |
| [in] | p | : current position in file (after keyword) |
| [in] | pe | : end of file |
Implements mfront::AbstractNonLinearSystemSolver.
|
nodiscardoverridevirtual |
Implements mfront::AbstractNonLinearSystemSolver.
|
nodiscardoverridevirtual |
Implements mfront::AbstractNonLinearSystemSolver.
|
overridevirtual |
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).
| [in] | out | : output file |
| [in] | md | : mechanical description |
| [in] | h | : modelling hypotheis |
Implements mfront::AbstractNonLinearSystemSolver.
|
overridevirtual |
write the algorithm specific members
| [in] | out | : output file |
| [in] | md | : mechanical description |
| [in] | h | : modelling hypotheis |
Implements mfront::AbstractNonLinearSystemSolver.
| bool mfront::UserDefinedNonLinearSystemSolver::requires_jacobian_reinitialisation_to_identity_at_each_iterations |