Source: GitHub
Defines the CoordinateArray, which specifies arrays of node numbers and directions.
Coordinates in SDynPy are used to define degrees of freedom. These consist of a node number (which corresponds to a node in a SDynPy Geometry object) and a direction (which corresponds to the local displacement coordinate system of that node in the SDynPy Geometry object). Directions are the translations or rotations about the principal axis, and can be positive or negative. The direction can also be empty for non-directional data.
Classes¶
| Name | Summary |
|---|---|
CoordinateArray | Coordinate information specifying Degrees of Freedom (e.g. 101X+). |
Functions¶
| Name | Summary |
|---|---|
coordinate_array | Creates a coordinate array that specify degrees of freedom. |
create_coordinate_string | Create a string from node and directions integers |
from_matlab_cellstr | Creates a CoordinateArray from a matlab cellstring object loaded from scipy.io.loadmat |
outer_product | Returns a CoordinateArray consisting of all combinations of the provided CoordinateArrays |
parse_coordinate_string | Parse coordinate string into node and direction integers. |