selfe_mesh module SelfeMesh class holds mesh and boundary information
Bases: object
A class for information of an individual SELFE boundary.
Methods
Boundary type.
Getter : | Get the type of the boundary. |
---|
A comment or name of the boundary.
Getter : | Get the comment of the boundary. |
---|---|
Setter : | Set the comment of the boundary. |
Get the total number of nodes in the boundary.
A sequence of node indices in the boundary.
Getter : | Get the sequence of nodes in the boundary. |
---|
Bases: trimesh.TriMesh
Class of the SELFE Mesh inherited from TriMesh. This class has additional information for boundaries and hydraulic structures.
Methods
Add one boundary.
An array of the boundary information
Getter : | Get the array of the boundary information |
---|
Delete all the current boundary information
Comment of the mesh.
Getter : | Get the comment |
---|---|
Setter : | Set the comment |
Create boundaries from the given pairs of coordinates for open boundaries
Fill land and island boundaries for boundary edges not assigned to any open boundary.
Format of the line segment: start_x, start_y, end_x, end_y line_segment = a pair of (X, Y)
Get the number of open boundaries. If a boundary type is given, it counts only open boundaries with the corresponding type.
Get the total node boundary of a given type