magnet.mesh#

Classes for handling meshes.

Provides classes for mesh graphs, which are reduced representations of meshes used for training of GNNs and for agglomeration algorithms, and for agglomerable meshes. Provides also a list-like dataset object to hold such meshes.

Functions

create_grouped_boxplots(arrays[, colors, ...])

Creates grouped boxplots from a list of 2D numpy arrays.

Classes

AggMesh([vertices, cells, adjacency, ...])

Agglomerable mesh.

AggMeshDataset(mesh_list[, name])

Dataset of agglomerable meshes.

Boundary(faces, tags)

Mesh boundary structure.

Mesh(adjacency, coords, volumes[, ...])

Graph data that describes a mesh.

MeshDataset(list_of_meshes[, name])

Dataset of mesh graphs.