Ordered.RegularGenerator Class

class Ordered.RegularGenerator(spacing)

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

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

Clear cache of generated meshes

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