PLaSK User Manual

Regular Class

class plask.mesh.Regular
class plask.mesh.Regular(start, stop, num)

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

create empty mesh

create mesh of count points equally distributed between start and stop

Methods

get_midpoints()
resize(num) Change number of points in this mesh

Attributes

dim
midpoints Mesh with points in the middles of elements of this mesh
start Position of the beginning of the mesh
step
stop Position of the end of the mesh

Descriptions

Method Details

Regular.get_midpoints()
Regular.resize(num)

Change number of points in this mesh

Attribute Details

Regular.dim = 1
Regular.midpoints

Mesh with points in the middles of elements of this mesh

Regular.start

Position of the beginning of the mesh

Regular.step
Regular.stop

Position of the end of the mesh