# PLaSK User Manual

#### Page Contents

- Ordered Class
  - `Ordered`
  - Subclasses
  - Methods
  - Attributes
  - Descriptions
    - Method Details
      - `Ordered.extend()`
      - `Ordered.get_midpoints()`
      - `Ordered.insert()`
    - Attribute Details
      - `Ordered.dim`
      - `Ordered.midpoints`

# 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 and fine regular division of each object with spacing approximately equal to specified spacing
`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 = <property object>

  Mesh with points in the middles of elements of this mesh