PLaSK User Manual

Generator1D Class

class plask.mesh.Generator1D

Base class for all 1D mesh generators.

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

Generator1D.__call__(geometry)
Generator1D.__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.
Generator1D.clear_cache()

Clear cache of generated meshes

Generator1D.generate(geometry)
Generator1D.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.