Steno3D object to hold resource data
Data is stored as an array. It is bound to a composite resource using a data binder cell array. The length of the Array must correspond to the specified mesh geometry location (nodes or cell centers). For some types of meshes, this is straightforward (e.g. using Mesh0D the Array must be equal in length to the Vertices). For gridded meshes (Mesh2DGrid, Mesh3DGrid), the Array must be unwrapped in the correct order. By default, if you have a matrix of the correct shape [X-length, Y-length(, Z-length)], flattening with matrix(:) gives the correct order.
DataArray can also be added to a resource through a high-level
functional interface with
See the EXAMPLES