G+Smo
24.08.0
Geometry + Simulation Modules
|
Static solver using the Dynamic Relaxation method.
T | coefficient type |
Public Member Functions | |
void | _reset () |
Start over again. | |
virtual bool | converged () const |
Returns whether the solver converged or not. | |
void | defaultOptions () override |
See gsStaticBase. | |
gsVector< T > | energies () const |
Returns the kinetic energy in all steps. | |
void | getOptions () override |
See gsStaticBase. | |
gsStaticDR (const gsVector< T > &M, const gsVector< T > &F, const Residual_t &Residual) | |
Constructor. More... | |
gsStaticDR (const gsVector< T > &M, const gsVector< T > &F, const ALResidual_t &ALResidual) | |
Constructs a new instance. More... | |
virtual T | indicator (const gsSparseMatrix< T > &jacMat, T shift=-1e-2) |
Returns the stability indicator. | |
void | initialize () override |
See gsStaticBase. | |
void | initOutput () override |
See gsStaticBase. | |
virtual index_t | iterations () const |
Returns the number of iterations. | |
T | kineticEnergy () const |
Returns the kinetic energy. | |
virtual index_t | numDofs () |
Returns the number of DoFs of the system. | |
virtual gsOptionList | options () const |
Get options. | |
gsVector< T > | relEnergies () const |
Returns the kinetic energy relative to the first iteration. | |
void | reset () override |
See gsStaticBase. | |
T | residualNorm () const |
Return the residual norm. | |
virtual void | setDisplacement (const gsVector< T > &displacement) |
Set the displacement. | |
virtual void | setLoad (const T L) |
Set the load. | |
virtual void | setOptions (gsOptionList &options) |
Set the options from options. | |
virtual void | setSolution (const gsVector< T > &displacement, const T L) |
Set the displacement and the load. | |
virtual gsVector< T > | solution () const |
Access the solution. | |
gsStatus | solve () override |
gsStaticBase base functions More... | |
virtual gsVector< T > | stabilityVec (const gsSparseMatrix< T > &jacMat, T shift=-1e-2) |
Returns the stability vector. | |
virtual gsStatus | status () const |
Returns the status. | |
void | stepOutput (index_t k) override |
See gsStaticBase. | |
virtual gsVector< T > | update () const |
Access the update. | |
gsVector< T > | velocities () const |
Returns the velocity. | |
Protected Member Functions | |
virtual bool | _computeStability (const gsSparseMatrix< T > &jacMat, T shift) |
Computes the stability of the Jacobian, optionally applying a shift (if provided) | |
virtual bool | _computeStabilityDet (const gsSparseMatrix< T > &jacMat) |
Computes the stability vector using the determinant of the Jacobian. | |
virtual bool | _computeStabilityEig (const gsSparseMatrix< T > &jacMat, T shift) |
Computes the stability vector using the eigenvalues of the Jacobian, optionally applying a shift. | |
void | _init () |
Initializes the method. | |
void | _iteration () |
Performs an iteration. | |
void | _peak () |
Identifies a peak. | |
void | _solve () |
See solve() | |
void | _start () |
Starts the method. | |
|
inline |
Constructor.
[in] | M | Lumped mass matrix (as vector) |
[in] | F | External forcing vector |
[in] | Residual | The residual |
|
inline |
Constructs a new instance.
[in] | M | Lumped mass matrix (as vector) |
[in] | F | External forcing vector |
[in] | Residual | The residual as arc-length object |
|
overridevirtual |