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.

Copyright 2022 National Technology & Engineering Solutions of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. Government retains certain rights in this software.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.

Functions

coordinate_array([node, direction, ...])

Creates a coordinate array that specify degrees of freedom.

create_coordinate_string(node, direction)

Create a string from node and directions integers

from_matlab_cellstr(cellstr_data)

Creates a CoordinateArray from a matlab cellstring object loaded from scipy.io.loadmat

from_nodelist(nodes[, directions, flatten])

Returns a coordinate array with a set of nodes with a set of directions

outer_product(*args)

Returns a CoordinateArray consisting of all combinations of the provided CoordinateArrays

parse_coordinate_string(coordinate)

Parse coordinate string into node and direction integers.

Classes

CoordinateArray(shape[, buffer, offset, ...])

Coordinate information specifying Degrees of Freedom (e.g.