|
DYNAMICS C API
C-compatible interface to the DYNAMICS library
|
A three-dimensional linear, axial spring element with x, y, and z translations at each node. More...
#include <dynamics.h>
Public Attributes | |
| double | stiffness |
| The spring stiffness. | |
| c_node | node_1 |
| The first node of the element. | |
| c_node | node_2 |
| The second node of the element. | |
| double | direction [3] |
| The spring axis; used only if use_direction is true. | |
| bool | use_direction |
| True to define the spring axis by direction; false to define it by the vector from node_1 to node_2, in which case the nodes must not be coincident. | |
A three-dimensional linear, axial spring element with x, y, and z translations at each node.
| double c_spring_element_3d::stiffness |
The spring stiffness.
| c_node c_spring_element_3d::node_1 |
The first node of the element.
| c_node c_spring_element_3d::node_2 |
The second node of the element.
| double c_spring_element_3d::direction[3] |
The spring axis; used only if use_direction is true.
The vector must be non-zero and is normalized internally.
| bool c_spring_element_3d::use_direction |
True to define the spring axis by direction; false to define it by the vector from node_1 to node_2, in which case the nodes must not be coincident.