Module sleplet.meshes.mesh

Contains the Mesh class.

Classes

class Mesh (*args: Any, **kwargs: Any)

Create a mesh object.

Class variables

var basis_functions : numpy.ndarray[typing.Any, numpy.dtype[numpy.float64]]
var faces : numpy.ndarray[typing.Any, numpy.dtype[numpy.float64]]
var mesh_eigenvalues : numpy.ndarray[typing.Any, numpy.dtype[numpy.float64]]
var mesh_region : numpy.ndarray[typing.Any, numpy.dtype[numpy.bool_]]
var name : str

The name of the mesh. Current options bird, cheetah, cube, dragon homer and teapot.

var number_basis_functions : int | None

The number of basis functions to compute from the Laplacian of the given mesh. Defaults to one quarter of the number of vertices o the given mesh.

var vertices : numpy.ndarray[typing.Any, numpy.dtype[numpy.float64]]
var zoom : bool

Whether to zoom in on the pre-selected region of the mesh in the plots.