Ordered.SmoothGenerator Class¶
- class Ordered.SmoothGenerator¶
Generator of Rectilinear1D mesh with dense sampling at edges and smooth change of element size.
create generator without initial division of geometry objects
Methods¶
|
Generate mesh for given geometry object or load it from the cache. |
|
Add a refining line inside the object |
Clear cache of generated meshes |
|
|
Clear all refining lines |
|
Generate mesh for given geometry object omitting the cache. |
|
Get list of all the refinements defined for this generator for specified axis |
|
Remove the refining line from the object |
|
Remove the all refining lines from the object |
Attributes¶
Maximum aspect ratio for the elements generated by this generator. |
|
factor by which element sizes increase along each axis |
|
maximum size of mesh elements along each axis |
|
small size of mesh elements near object edges along each axis |
Descriptions¶
Method Details¶
- Ordered.SmoothGenerator.__call__(geometry)¶
- Ordered.SmoothGenerator.__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.SmoothGenerator.add_refinement(axis, object, path, at)¶
- Ordered.SmoothGenerator.add_refinement(axis, path, at)
- Ordered.SmoothGenerator.add_refinement(axis, subtree, at)
- Ordered.SmoothGenerator.add_refinement(axis, object, at)
Add a refining line inside the object
Add a refining line inside the object
Add a refining line inside the object
Add a refining line inside the object
- Ordered.SmoothGenerator.clear_cache()¶
Clear cache of generated meshes
- Ordered.SmoothGenerator.clear_refinements(subtree)¶
Clear all refining lines
- Ordered.SmoothGenerator.generate(geometry)¶
- Ordered.SmoothGenerator.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.
- Ordered.SmoothGenerator.get_refinements(axis)¶
Get list of all the refinements defined for this generator for specified axis
- Ordered.SmoothGenerator.remove_refinement(axis, object, path, at)¶
- Ordered.SmoothGenerator.remove_refinement(axis, path, at)
- Ordered.SmoothGenerator.remove_refinement(axis, subtree, at)
- Ordered.SmoothGenerator.remove_refinement(axis, object, at)
Remove the refining line from the object
Remove the refining line from the object
Remove the refining line from the object
Remove the refining line from the object
- Ordered.SmoothGenerator.remove_refinements(subtree)¶
- Ordered.SmoothGenerator.remove_refinements(path)
- Ordered.SmoothGenerator.remove_refinements(object, path=None)
Remove the all refining lines from the object
Remove the all refining lines from the object
Remove the all refining lines from the object
Attribute Details¶
- Ordered.SmoothGenerator.aspect = <property object>¶
Maximum aspect ratio for the elements generated by this generator.
- Ordered.SmoothGenerator.factor = <property object>¶
factor by which element sizes increase along each axis
- Ordered.SmoothGenerator.large = <property object>¶
maximum size of mesh elements along each axis
- Ordered.SmoothGenerator.small = <property object>¶
small size of mesh elements near object edges along each axis