# MeshImData¶

class MeshImData(*args)

GetFEM MeshImData object

This object represents data defined on a mesh_im object.

General constructor for MeshImData objects

• MIMD = MeshImData(MeshIm mim, int region, ivec size) Build a new MeshImd object linked to a MeshIm object. If region is provided, considered integration points are filtered in this region. size is a vector of integers that specifies the dimensions of the stored data per integration point. If not given, the scalar stored data are considered.
display()

displays a short summary for a MeshImd object.

linked_mesh()

Returns a reference to the Mesh object linked to mim.

nb_tensor_elements()

Output the size of the stored data (per integration point).

nbpts()

Output the number of integration points (filtered in the considered region).

region()

Output the region that the MeshImd is restricted to.

set_region(rnum)

Set the considered region to rnum.

set_tensor_size()

Set the size of the data per integration point.

tensor_size()

Output the dimensions of the stored data (per integration point).