Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

sdynpy.core.sdynpy_coordinate

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

NameSummary
CoordinateArrayCoordinate information specifying Degrees of Freedom (e.g. 101X+).

Functions

NameSummary
coordinate_arrayCreates a coordinate array that specify degrees of freedom.
create_coordinate_stringCreate a string from node and directions integers
from_matlab_cellstrCreates a CoordinateArray from a matlab cellstring object loaded from scipy.io.loadmat
outer_productReturns a CoordinateArray consisting of all combinations of the provided CoordinateArrays
parse_coordinate_stringParse coordinate string into node and direction integers.