nanomesh
A large part of Nanomesh deals with with generating and manipulating 2D and 3D meshes. To store the data, Nanomesh uses MeshContainer
, which is a somewhat low-level, generic container for mesh data. It can store different types of cells and associated data. It is used to read/write data via meshio.
To deal with mesh data more directly, use a Mesh
. Instantiating Mesh
will create the appropriate subtype, LineMesh
, TriangleMesh
or TetraMesh
. These contain dedicated methods for working with a specific type of mesh and plotting them.
In addition, each can be extracted from MeshContainer
.
Classes
nanomesh.MeshContainer nanomesh.Mesh nanomesh.LineMesh nanomesh.TriangleMesh nanomesh.TetraMesh
MeshContainer
Mesh
LineMesh
TriangleMesh
TetraMesh