tidy3d.UniformUnstructuredGrid#

class UniformUnstructuredGrid[source]#

Bases: Tidy3dBaseModel

Uniform grid.

Parameters:
  • dl (Attribute: dl) –

    Type

    PositiveFloat

    Default

    Units

    um

    Description

    Grid size for uniform grid generation.

  • min_edges_per_circumference (Attribute: min_edges_per_circumference) –

    Type

    PositiveFloat

    Default

    = 15

    Description

    Enforced minimum number of mesh segments per circumference of an object. Applies to Cylinder and Sphere, for which the circumference is taken as 2 * pi * radius.

  • min_edges_per_side (Attribute: min_edges_per_side) –

    Type

    PositiveFloat

    Default

    = 2

    Description

    Enforced minimum number of mesh segments per any side of an object.

  • non_refined_structures (Attribute: non_refined_structures) –

    Type

    Tuple[str, …]

    Default

    = ()

    Description

    List of structures for which min_edges_per_circumference and min_edges_per_side will not be enforced. The original dl is used instead.

Example

>>> heat_grid = UniformUnstructuredGrid(dl=0.1)

Attributes

Methods

dl#
min_edges_per_circumference#
min_edges_per_side#
non_refined_structures#
__hash__()#

Hash method.