local_frame_1D#
module opensg.utils.shared
Compute local orthonormal frame for 1D curved elements.
This function computes an orthonormal frame (e1, e2, e3) at each point of a 1D curved mesh, where: - e1 is aligned with the global x-axis - e2 is the tangent vector - e3 is computed to complete the right-handed system
- Parameters:
mesh (dolfinx.mesh.Mesh) – 1D mesh object
- Returns:
tuple – Three ufl.Vector objects (e1, e2, e3) forming the local frame