chrono::ChStaticNonLinearAnalysis Class Reference

Description

Nonlinear static analysis.

#include <ChStaticAnalysis.h>

Inheritance diagram for chrono::ChStaticNonLinearAnalysis:
Collaboration diagram for chrono::ChStaticNonLinearAnalysis:

Public Member Functions

 ChStaticNonLinearAnalysis (ChIntegrableIIorder &integrable)
 
virtual void StaticAnalysis () override
 Performs the static analysis, doing a non-linear solve.
 
void SetVerbose (bool verbose)
 Enable/disable verbose output (default: false)
 
void SetMaxIterations (int max_iters)
 Set the max number of iterations for the Newton Raphson procedure (default: 10).
 
void SetIncrementalSteps (int incr_steps)
 Set the number of steps that, for the first iterations, make the residual grow linearly (default: 6). More...
 
void SetCorrectionTolerance (double reltol, double abstol)
 Set stopping criteria based on WRMS norm of correction and the specified relative and absolute tolerances. More...
 
void SetResidualTolerance (double tol)
 Set stopping criteria based on norm of residual and the specified tolerance. More...
 
int GetMaxIterations () const
 Get the max number of iterations for the Newton Raphson procedure.
 
int GetIncrementalSteps () const
 Set the number of steps that, for the first iterations, make the residual grow linearly.
 
- Public Member Functions inherited from chrono::ChStaticAnalysis
 ChStaticAnalysis (ChIntegrableIIorder &integrable)
 
ChIntegrableGetIntegrable ()
 Get the integrable object.
 
const ChStateGetX () const
 Access the state, position part, at current analysis.
 
const ChVectorDynamicGetL () const
 Access the Lagrange multipliers, if any.
 

Additional Inherited Members

- Protected Attributes inherited from chrono::ChStaticAnalysis
ChIntegrableIIorderm_integrable
 
ChState X
 
ChVectorDynamic L
 

Member Function Documentation

◆ SetCorrectionTolerance()

void chrono::ChStaticNonLinearAnalysis::SetCorrectionTolerance ( double  reltol,
double  abstol 
)

Set stopping criteria based on WRMS norm of correction and the specified relative and absolute tolerances.

This is the default, with reltol = 1e-4, abstol = 1e-8. The Newton Raphson procedure is stopped if the WRMS norm of the correction vector (based on the current state) is less than 1.

◆ SetIncrementalSteps()

void chrono::ChStaticNonLinearAnalysis::SetIncrementalSteps ( int  incr_steps)

Set the number of steps that, for the first iterations, make the residual grow linearly (default: 6).

If =0, no incremental application of residual, so it is a classic Newton Raphson iteration, otherwise acts as a continuation strategy. For values > 0 , it might help convergence. Must be less than maxiters.

◆ SetResidualTolerance()

void chrono::ChStaticNonLinearAnalysis::SetResidualTolerance ( double  tol)

Set stopping criteria based on norm of residual and the specified tolerance.

The Newton Raphson is stopped when the infinity norm of the residual is below the tolerance.


The documentation for this class was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono/timestepper/ChStaticAnalysis.h
  • /builds/uwsbel/chrono/src/chrono/timestepper/ChStaticAnalysis.cpp