pysdic.Mesh.uvmap#
- property Mesh.uvmap: ndarray | None#
[Get/Set] The UV coordinates of the vertices of each element (only for surface meshes, \(K = 2\)).
The UV map is an array of shape \((N_e, 2 N_{vpe})\) storing, for each element, \((u_1, v_1, u_2, v_2, ..., u_{N_{vpe}}, v_{N_{vpe}})\). It is stored as the element property
"uvmap".- Parameters:
value (Optional[ArrayLike]) – An array of shape \((N_e, 2 N_{vpe})\) with finite values, or
Noneto remove the UV map.- Returns:
A read-only array of shape \((N_e, 2 N_{vpe})\), or
Noneif no UV map is set.- Return type:
Optional[numpy.ndarray]
- Raises:
ValueError – If the element type is set and \(K \neq 2\).