PLaSK User Manual

Ordered Class

class plask.mesh.Ordered
class plask.mesh.Ordered(points)

One-dimesnional rectilinear mesh, used also as rectangular mesh axis

create empty mesh

create mesh filled with points provides in sequence type

Subclasses

DivideGenerator Generator of Rectilinear1D mesh by simple division of the geometry.
RegularGenerator Generator of ordered 1D mesh with lines at transverse edges of all objects
SimpleGenerator Generator of ordered 1D mesh with lines at transverse edges of all objects.
SmoothGenerator Generator of Rectilinear1D mesh with dense sampling at edges and smooth change of element size.

Methods

extend(points) Insert points from the sequence to the mesh
get_midpoints()
insert(point) Insert point into the mesh

Attributes

dim
midpoints Mesh with points in the middles of elements of this mesh

Descriptions

Method Details

Ordered.extend(points)

Insert points from the sequence to the mesh

Ordered.get_midpoints()
Ordered.insert(point)

Insert point into the mesh

Attribute Details

Ordered.dim = 1
Ordered.midpoints

Mesh with points in the middles of elements of this mesh