# PLaSK User Manual

#### Page Contents

- Ordered.SimpleGenerator Class
  - `Ordered.SimpleGenerator`
  - Methods
  - Descriptions
    - Method Details
      - `Ordered.SimpleGenerator.__call__()`
      - `Ordered.SimpleGenerator.clear_cache()`
      - `Ordered.SimpleGenerator.generate()`

# Ordered.SimpleGenerator Class

class Ordered.SimpleGenerator

  Generator of ordered 1D mesh with lines at transverse edges of all objects.

  create generator

## Methods

`__call__`(...) | Generate mesh for given geometry object or load it from the cache.
`clear_cache`() | Clear cache of generated meshes
`generate`(...) | Generate mesh for given geometry object omitting the cache.

## Descriptions

### Method Details

Ordered.SimpleGenerator.__call__(geometry)
Ordered.SimpleGenerator.__call__(object)

  Generate mesh for given geometry object or load it from the cache.

  Parameters:

    - geometry – Geometry to generate mesh at.

    - object – Geometry object to generate mesh at.

Ordered.SimpleGenerator.clear_cache()

  Clear cache of generated meshes

Ordered.SimpleGenerator.generate(geometry)
Ordered.SimpleGenerator.generate(object)

  Generate mesh for given geometry object omitting the cache.

  Parameters:

    - geometry – Geometry to generate mesh at.

    - object – Geometry object to generate mesh at.