Regular Class

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

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 = <property object>

Mesh with points in the middles of elements of this mesh

Regular.start = <property object>

Position of the beginning of the mesh

Regular.step = <property object>
Regular.stop = <property object>

Position of the end of the mesh