Bases: object
A simple mesh editor for creating simplicial meshes in 1D, 2D and 3D.
Constructor
Overloaded versions
add_cell(c, v0, v1)
Add cell with given vertices (1D)
The cell (index).
The first vertex (local index).
The second vertex (local index).
add_cell(c, v0, v1, v2)
Add cell with given vertices (2D)
The cell (index).
The first vertex (local index).
The second vertex (local index).
The third vertex (local index).
add_cell(c, v0, v1, v2, v3)
Add cell with given vertices (3D)
The cell (index).
The first vertex (local index).
The second vertex (local index).
The third vertex (local index).
The fourth vertex (local index).
add_cell(c, v)
Add cell with given vertices (non-templated version for Python interface)
The cell (index).
The vertex indices (local indices)
add_cell(c, v)
Add cell with given vertices
The cell (index).
The vertex indices (local indices)
add_cell(local_index, global_index, v)
Add cell with given vertices
The cell (index).
The global (user) cell index.
The vertex indices (local indices)
Overloaded versions
add_vertex(index, p)
Add vertex v at given point p
The vertex (index).
The point.
add_vertex(index, x)
Add vertex v at given coordinate x
The vertex (index).
The x-coordinates.
add_vertex(index, x)
Add vertex v at given point x (for a 1D mesh)
The vertex (index).
The x-coordinate.
add_vertex(index, x, y)
Add vertex v at given point (x, y) (for a 2D mesh)
The vertex (index).
The x-coordinate.
The y-coordinate.
add_vertex(index, x, y, z)
Add vertex v at given point (x, y, z) (for a 3D mesh)
The vertex (index).
The x-coordinate.
The y-coordinate.
The z-coordinate.
Overloaded versions
add_vertex_global(local_index, global_index, p)
Add vertex v at given point p
The vertex (local index).
The vertex (global_index).
The point.
add_vertex_global(local_index, global_index, x)
Add vertex v at given coordinate x
The vertex (local index).
The vertex (global_index).
The x-coordinates.
Close mesh, finish editing, and order entities locally
Note
No example code available for this function.
Specify number of cells (serial version)
Note
No example code available for this function.
Specify number of cells (distributed version)
Note
No example code available for this function.
Specify number of vertices (serial version)
Note
No example code available for this function.
Specify number of vertices (distributed version)
Note
No example code available for this function.
Overloaded versions
open(mesh, tdim, gdim)
Open mesh of given topological and geometrical dimension
The mesh to open.
The topological dimension.
The geometrical dimension.
Note
No example code available for this function.
open(mesh, type, tdim, gdim)
Open mesh of given cell type, topological and geometrical dimension
The mesh to open.
Cell type.
The topological dimension.
The geometrical dimension.
open(mesh, type, tdim, gdim)
Open mesh of given cell type, topological and geometrical dimension
The mesh to open.
Cell type.
The topological dimension.
The geometrical dimension.
The membership flag