sdynpy.core.sdynpy_shape.shape_alignment

shape_alignment(shape_1, shape_2, node_id_map=None)

Computes if the shapes are aligned, or if one needs to be flipped

Parameters
Returns

An array denoting if one of the shapes need to be flipped (-1) to be equivalent to the other, or if they are already aligned (1)

Return type

np.ndarray