DYNAMICS C API
C-compatible interface to the DYNAMICS library
Loading...
Searching...
No Matches
Public constants

Macros

#define DYN_HYPERBOLIC_FIXED_POINT_SINK   100
 Hyperbolic fixed point classified as a sink.
 
#define DYN_HYPERBOLIC_FIXED_POINT_SOURCE   101
 Hyperbolic fixed point classified as a source.
 
#define DYN_HYPERBOLIC_FIXED_POINT_SADDLE   102
 Hyperbolic fixed point classified as a saddle.
 
#define DYN_NONHYPERBOLIC_FIXED_POINT_UNSTABLE   103
 Nonhyperbolic fixed point classified as unstable.
 
#define DYN_NONHYPERBOLIC_FIXED_POINT_NEUTRALLY_STABLE   104
 Nonhyperbolic fixed point classified as neutrally stable.
 
#define DYN_NONHYPERBOLIC_FIXED_POINT_CENTER   105
 Nonhyperbolic fixed point classified as a center.
 
#define DYN_REVOLUTE_JOINT   0
 Revolute joint type.
 
#define DYN_PRISMATIC_JOINT   1
 Prismatic joint type.
 
#define DYN_FIXED_JOINT   2
 Fixed joint type.
 
#define DYN_CYLINDRICAL_JOINT   3
 Cylindrical joint type.
 
#define DYN_UNIVERSAL_JOINT   4
 Universal joint type.
 
#define DYN_SPHERICAL_JOINT   5
 Spherical joint type.
 
#define DYN_FRF_ACCELERANCE_MODEL   1
 Frequency-response model expressed as accelerance.
 
#define DYN_FRF_RECEPTANCE_MODEL   2
 Frequency-response model expressed as receptance.
 
#define DYN_RUNGE_KUTTA_23   10
 Runge-Kutta 2/3 integration method.
 
#define DYN_RUNGE_KUTTA_45   11
 Runge-Kutta 4/5 integration method.
 
#define DYN_RUNGE_KUTTA_853   12
 Runge-Kutta 8/5/3 integration method.
 
#define DYN_ROSENBROCK   13
 Rosenbrock integration method.
 
#define DYN_BDF   14
 Backward-differentiation-formula integration method.
 
#define DYN_ADAMS   15
 Adams integration method.
 
#define DYN_KENNEDY_CARPENTER_4   16
 Kennedy-Carpenter fourth-order integration method.
 
#define DYN_KENNEDY_CARPENTER_5   17
 Kennedy-Carpenter fifth-order integration method.
 
#define DYN_TSITOURAS_5   18
 Tsitouras fifth-order integration method.
 
#define DYN_ACCELERANCE_MODEL   1
 Accelerance model selector for system identification.
 
#define DYN_RECEPTANCE_MODEL   2
 Receptance model selector for system identification.
 
#define DYN_H1   1
 H1 estimator selector for SISO frequency analysis.
 
#define DYN_H2   2
 H2 estimator selector for SISO frequency analysis.
 
#define DYN_LEVENBERG_MARQUARDT_UPDATE   1
 Levenberg-Marquardt damping update method.
 
#define DYN_QUADRATIC_UPDATE   2
 Quadratic damping update method.
 
#define DYN_NIELSEN_UPDATE   3
 Nielsen damping update method.
 
#define DYN_POINCARE_TWO_SIDED   0
 Store intersections with both directions of the Poincare plane.
 
#define DYN_POINCARE_ONE_SIDED_FROM_FRONT   1
 Store intersections approaching the Poincare plane from the front.
 
#define DYN_POINCARE_ONE_SIDED_FROM_BACK   2
 Store intersections approaching the Poincare plane from the back.
 
#define DYN_ONE_POINT_INTEGRATION_RULE   1
 Single-point Gauss integration rule.
 
#define DYN_TWO_POINT_INTEGRATION_RULE   2
 Two-point Gauss integration rule.
 
#define DYN_THREE_POINT_INTEGRATION_RULE   3
 Three-point Gauss integration rule.
 
#define DYN_FOUR_POINT_INTEGRATION_RULE   4
 Four-point Gauss integration rule.
 
#define DYN_VI_DENSE_SOLVER   1
 Dense LU solver for variational-integrator Newton systems.
 
#define DYN_VI_GRAPH_FACTORIZED_SOLVER   2
 Graph-factorized solver for variational-integrator Newton systems.
 
#define DYN_VI_FORCE_LEFT_ENDPOINT   1
 Evaluate applied loads at the current state (explicit left endpoint).
 
#define DYN_VI_FORCE_IMPLICIT_ENDPOINT   2
 Evaluate applied loads at the trial next state inside Newton.
 
#define DYN_VI_FORCE_MIDPOINT   3
 Evaluate applied loads at an interpolated midpoint state inside Newton.
 
#define DYN_NO_ERROR   0
 No error has been recorded.
 
#define DYN_MEMORY_ERROR   10000
 A memory allocation failed.
 
#define DYN_NULL_POINTER_ERROR   10001
 A required pointer or handle was NULL or invalid.
 
#define DYN_INVALID_INPUT_ERROR   10004
 An input argument was invalid.
 
#define DYN_MATRIX_SIZE_ERROR   100100
 A matrix was incorrectly sized.
 
#define DYN_ARRAY_SIZE_ERROR   100105
 An array was incorrectly sized.
 

Detailed Description

Macro Definition Documentation

◆ DYN_HYPERBOLIC_FIXED_POINT_SINK

#define DYN_HYPERBOLIC_FIXED_POINT_SINK   100

Hyperbolic fixed point classified as a sink.

◆ DYN_HYPERBOLIC_FIXED_POINT_SOURCE

#define DYN_HYPERBOLIC_FIXED_POINT_SOURCE   101

Hyperbolic fixed point classified as a source.

◆ DYN_HYPERBOLIC_FIXED_POINT_SADDLE

#define DYN_HYPERBOLIC_FIXED_POINT_SADDLE   102

Hyperbolic fixed point classified as a saddle.

◆ DYN_NONHYPERBOLIC_FIXED_POINT_UNSTABLE

#define DYN_NONHYPERBOLIC_FIXED_POINT_UNSTABLE   103

Nonhyperbolic fixed point classified as unstable.

◆ DYN_NONHYPERBOLIC_FIXED_POINT_NEUTRALLY_STABLE

#define DYN_NONHYPERBOLIC_FIXED_POINT_NEUTRALLY_STABLE   104

Nonhyperbolic fixed point classified as neutrally stable.

◆ DYN_NONHYPERBOLIC_FIXED_POINT_CENTER

#define DYN_NONHYPERBOLIC_FIXED_POINT_CENTER   105

Nonhyperbolic fixed point classified as a center.

◆ DYN_REVOLUTE_JOINT

#define DYN_REVOLUTE_JOINT   0

Revolute joint type.

◆ DYN_PRISMATIC_JOINT

#define DYN_PRISMATIC_JOINT   1

Prismatic joint type.

◆ DYN_FIXED_JOINT

#define DYN_FIXED_JOINT   2

Fixed joint type.

◆ DYN_CYLINDRICAL_JOINT

#define DYN_CYLINDRICAL_JOINT   3

Cylindrical joint type.

◆ DYN_UNIVERSAL_JOINT

#define DYN_UNIVERSAL_JOINT   4

Universal joint type.

◆ DYN_SPHERICAL_JOINT

#define DYN_SPHERICAL_JOINT   5

Spherical joint type.

◆ DYN_FRF_ACCELERANCE_MODEL

#define DYN_FRF_ACCELERANCE_MODEL   1

Frequency-response model expressed as accelerance.

◆ DYN_FRF_RECEPTANCE_MODEL

#define DYN_FRF_RECEPTANCE_MODEL   2

Frequency-response model expressed as receptance.

◆ DYN_RUNGE_KUTTA_23

#define DYN_RUNGE_KUTTA_23   10

Runge-Kutta 2/3 integration method.

◆ DYN_RUNGE_KUTTA_45

#define DYN_RUNGE_KUTTA_45   11

Runge-Kutta 4/5 integration method.

◆ DYN_RUNGE_KUTTA_853

#define DYN_RUNGE_KUTTA_853   12

Runge-Kutta 8/5/3 integration method.

◆ DYN_ROSENBROCK

#define DYN_ROSENBROCK   13

Rosenbrock integration method.

◆ DYN_BDF

#define DYN_BDF   14

Backward-differentiation-formula integration method.

◆ DYN_ADAMS

#define DYN_ADAMS   15

Adams integration method.

◆ DYN_KENNEDY_CARPENTER_4

#define DYN_KENNEDY_CARPENTER_4   16

Kennedy-Carpenter fourth-order integration method.

◆ DYN_KENNEDY_CARPENTER_5

#define DYN_KENNEDY_CARPENTER_5   17

Kennedy-Carpenter fifth-order integration method.

◆ DYN_TSITOURAS_5

#define DYN_TSITOURAS_5   18

Tsitouras fifth-order integration method.

◆ DYN_ACCELERANCE_MODEL

#define DYN_ACCELERANCE_MODEL   1

Accelerance model selector for system identification.

◆ DYN_RECEPTANCE_MODEL

#define DYN_RECEPTANCE_MODEL   2

Receptance model selector for system identification.

◆ DYN_H1

#define DYN_H1   1

H1 estimator selector for SISO frequency analysis.

◆ DYN_H2

#define DYN_H2   2

H2 estimator selector for SISO frequency analysis.

◆ DYN_LEVENBERG_MARQUARDT_UPDATE

#define DYN_LEVENBERG_MARQUARDT_UPDATE   1

Levenberg-Marquardt damping update method.

◆ DYN_QUADRATIC_UPDATE

#define DYN_QUADRATIC_UPDATE   2

Quadratic damping update method.

◆ DYN_NIELSEN_UPDATE

#define DYN_NIELSEN_UPDATE   3

Nielsen damping update method.

◆ DYN_POINCARE_TWO_SIDED

#define DYN_POINCARE_TWO_SIDED   0

Store intersections with both directions of the Poincare plane.

◆ DYN_POINCARE_ONE_SIDED_FROM_FRONT

#define DYN_POINCARE_ONE_SIDED_FROM_FRONT   1

Store intersections approaching the Poincare plane from the front.

◆ DYN_POINCARE_ONE_SIDED_FROM_BACK

#define DYN_POINCARE_ONE_SIDED_FROM_BACK   2

Store intersections approaching the Poincare plane from the back.

◆ DYN_ONE_POINT_INTEGRATION_RULE

#define DYN_ONE_POINT_INTEGRATION_RULE   1

Single-point Gauss integration rule.

◆ DYN_TWO_POINT_INTEGRATION_RULE

#define DYN_TWO_POINT_INTEGRATION_RULE   2

Two-point Gauss integration rule.

◆ DYN_THREE_POINT_INTEGRATION_RULE

#define DYN_THREE_POINT_INTEGRATION_RULE   3

Three-point Gauss integration rule.

◆ DYN_FOUR_POINT_INTEGRATION_RULE

#define DYN_FOUR_POINT_INTEGRATION_RULE   4

Four-point Gauss integration rule.

◆ DYN_VI_DENSE_SOLVER

#define DYN_VI_DENSE_SOLVER   1

Dense LU solver for variational-integrator Newton systems.

◆ DYN_VI_GRAPH_FACTORIZED_SOLVER

#define DYN_VI_GRAPH_FACTORIZED_SOLVER   2

Graph-factorized solver for variational-integrator Newton systems.

◆ DYN_VI_FORCE_LEFT_ENDPOINT

#define DYN_VI_FORCE_LEFT_ENDPOINT   1

Evaluate applied loads at the current state (explicit left endpoint).

◆ DYN_VI_FORCE_IMPLICIT_ENDPOINT

#define DYN_VI_FORCE_IMPLICIT_ENDPOINT   2

Evaluate applied loads at the trial next state inside Newton.

◆ DYN_VI_FORCE_MIDPOINT

#define DYN_VI_FORCE_MIDPOINT   3

Evaluate applied loads at an interpolated midpoint state inside Newton.

◆ DYN_NO_ERROR

#define DYN_NO_ERROR   0

No error has been recorded.

◆ DYN_MEMORY_ERROR

#define DYN_MEMORY_ERROR   10000

A memory allocation failed.

◆ DYN_NULL_POINTER_ERROR

#define DYN_NULL_POINTER_ERROR   10001

A required pointer or handle was NULL or invalid.

◆ DYN_INVALID_INPUT_ERROR

#define DYN_INVALID_INPUT_ERROR   10004

An input argument was invalid.

◆ DYN_MATRIX_SIZE_ERROR

#define DYN_MATRIX_SIZE_ERROR   100100

A matrix was incorrectly sized.

◆ DYN_ARRAY_SIZE_ERROR

#define DYN_ARRAY_SIZE_ERROR   100105

An array was incorrectly sized.