chrono::ChAssemblyAnalysis Class Reference

Description

Class for assembly analysis.

Assembly is performed by satisfying constraints at a position, velocity, and acceleration levels. Assembly at position level involves solving a non-linear problem. Assembly at velocity level is performed by taking a small integration step. Consistent accelerations are obtained through finite differencing.

#include <ChAssemblyAnalysis.h>

Public Member Functions

 ChAssemblyAnalysis (ChIntegrableIIorder &mintegrable)
 
AssemblyAnalysis::ExitFlag AssemblyAnalysis (int action, double dt=1e-7)
 Perform the assembly analysis. More...
 
void SetMaxAssemblyIters (int mi)
 Set the max number of Newton-Raphson iterations for the position assembly procedure.
 
int GetMaxAssemblyIters ()
 Get the max number of Newton-Raphson iterations for the position assembly procedure.
 
void SetRelToleranceUpdate (double tol)
 Set the termination criterion on the infinity norm of the relative state update.
 
double GetRelToleranceUpdate () const
 Get the termination criterion on the infinity norm of the relative state update.
 
void SetAbsToleranceUpdate (double tol)
 Set the termination criterion on the infinity norm of the (absolute) state update.
 
double GetAbsToleranceUpdate () const
 Get the termination criterion on the infinity norm of the (absolute) state update.
 
void SetAbsToleranceResidual (double tol)
 Set the termination criterion on the infinity norm of the residual.
 
double GetAbsToleranceResidual () const
 Get the termination criterion on the infinity norm of the residual.
 
double GetLastResidualNorm () const
 Get the infinity norm of the last computed residual.
 
double GetLastUpdateNorm () const
 Get the infinity norm of the last update.
 
unsigned int GetLastIters () const
 Get the number of iterations after last assembly.
 
ChIntegrableGetIntegrable ()
 Get the integrable object.
 
const ChVectorDynamicGetLagrangeMultipliers () const
 Access the Lagrange multipliers.
 
const ChStateGetStatePos () const
 Access the current position state vector.
 
const ChStateDeltaGetStateVel () const
 Access the current velocity state vector.
 
const ChStateDeltaGetStateAcc () const
 Access the current acceleration state vector.
 

Member Function Documentation

◆ AssemblyAnalysis()

AssemblyAnalysis::ExitFlag chrono::ChAssemblyAnalysis::AssemblyAnalysis ( int  action,
double  dt = 1e-7 
)

Perform the assembly analysis.

Assembly is performed by satisfying constraints at position, velocity, and acceleration levels. Assembly at position level involves solving a non-linear problem. Assembly at velocity level is performed by taking a small integration step. Consistent accelerations are obtained through finite differencing.


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