Generator2D Class

class plask.mesh.Generator2D

Base class for all 2D 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

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

Generator2D.clear_cache()

Clear cache of generated meshes

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