|
DYNAMICS C API
C-compatible interface to the DYNAMICS library
|
A two-dimensional linear, axial spring element with x and y 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 [2] |
| 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 two-dimensional linear, axial spring element with x and y translations at each node.
| double c_spring_element_2d::stiffness |
The spring stiffness.
| c_node c_spring_element_2d::node_1 |
The first node of the element.
| c_node c_spring_element_2d::node_2 |
The second node of the element.
| double c_spring_element_2d::direction[2] |
The spring axis; used only if use_direction is true.
The vector must be non-zero and is normalized internally.
| bool c_spring_element_2d::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.