|
tfel
|
Abstract class for all the constraints imposed to a single mechanical point. More...
#include </home/runner/work/tfel/tfel/mtest/include/MTest/Constraint.hxx>
Public Member Functions | |
| virtual bool | treatEvent (const std::string &)=0 |
| treat the given event | |
| virtual void | setActivatingEvents (const std::vector< std::string > &)=0 |
| set the activating events | |
| virtual void | setDesactivatingEvents (const std::vector< std::string > &)=0 |
| set the desactivating events | |
| virtual void | setActive (const bool)=0 |
| activate or desactivate the constraint | |
| virtual bool | isActive () const =0 |
| virtual unsigned short | getNumberOfLagrangeMultipliers () const =0 |
| virtual void | setValues (tfel::math::matrix< real > &, tfel::math::vector< real > &, const tfel::math::vector< real > &, const tfel::math::vector< real > &, const tfel::math::matrix< real > &, const tfel::math::vector< real > &, const unsigned short, const unsigned short, const real, const real, const real) const =0 |
| builds up the stiffness matrix and the residual. | |
| virtual bool | checkConvergence (const tfel::math::vector< real > &, const tfel::math::vector< real > &, const real, const real, const real, const real) const =0 |
| virtual std::string | getFailedCriteriaDiagnostic (const tfel::math::vector< real > &, const tfel::math::vector< real > &, const real, const real, const real, const real) const =0 |
| virtual | ~Constraint () |
| destructor | |
Abstract class for all the constraints imposed to a single mechanical point.
|
nodiscardpure virtual |
| [in] | e | : driving variables |
| [in] | s | : thermodynamic forces |
| [in] | eeps | : criterium value for driving variables |
| [in] | seps | : criterium value for thermodynamic forces |
| [in] | t | : beginning of the time step |
| [in] | dt | : time increment |
Implemented in mtest::ImposedGradient, mtest::ImposedThermodynamicForce, and mtest::NonLinearConstraint.
|
nodiscardpure virtual |
| [in] | e | : driving variables |
| [in] | s | : thermodynamic forces |
| [in] | eeps | : criterium value for driving variables |
| [in] | seps | : criterium value for thermodynamic forces |
| [in] | t | : beginning of the time step |
| [in] | dt | : time increment |
Implemented in mtest::ImposedGradient, mtest::ImposedThermodynamicForce, and mtest::NonLinearConstraint.
|
nodiscardpure virtual |
Implemented in mtest::ImposedGradient, mtest::ImposedThermodynamicForce, and mtest::NonLinearConstraint.
|
nodiscardpure virtual |
Implemented in mtest::ConstraintBase.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
builds up the stiffness matrix and the residual.
| [out] | K | stiffness matrix |
| [out] | r | residual vector |
| [in] | u0 | value of the unknowns at the beginning of the time step |
| [in] | u1 | current estimate of the unknowns |
| [in] | u1 | current estimate of the unknowns |
| [in] | k | approximation of the derivative of the thermodynamic force with respect to the driving variable, as returned by the mechanical behaviour. |
| [in] | f | thermodynamic forces. |
| [in] | u1 | current estimate of the unknowns |
| [in] | p | position of the first lagrange multiplier in the residual |
| [in] | d | space dimension |
| [in] | t | beginning of the time step |
| [in] | dt | time increment |
| [in] | a | normalisation factor |
Implemented in mtest::ImposedGradient, mtest::ImposedThermodynamicForce, and mtest::NonLinearConstraint.
|
pure virtual |
treat the given event
| [in] | e | :event |
Implemented in mtest::ConstraintBase.