BoxField#

class planestress.pre.mesh.BoxField(extents: tuple[float, float, float, float], min_size: float, max_size: float, thickness: float)[source]#

Bases: Field

Class for a box mesh refinement field.

Methods

apply_field

Applies the box field and returns the field tag.

__init__(extents: tuple[float, float, float, float], min_size: float, max_size: float, thickness: float) None[source]#

Inits the BoxField class.

Parameters:
apply_field() int[source]#

Applies the box field and returns the field tag.

Returns:

Field tag.

Return type:

int