sdynpy.core.sdynpy_geometry.local_coord

local_coord(coordinate_system, global_coord)[source]

Compute local coordinates from global coordinates

Compute the local coordinates of a node in the corresponding coordinate system from its global coordinates.

Parameters
  • coordinate_system (CoordinateSystemArray) – An array of coordinate systems of shape […]

  • global_coord (ndarray) – An array of coordinates of shape […,3]

Returns

local_coord – An array of coordinates of shape […,3]

Return type

ndarray