optymus.benchmark.SuspensionDomain

optymus.benchmark.SuspensionDomain = <optymus.benchmark._topological_domain.TopologicalDomain object>

Represents a mathematically defined domain for polygonal mesh.

This class defines a mathematically defined domain based on its name, bounding box, signed distance function (signed_distance_function), boundary conditions (domain_boundary_conditions), and fixed points (domain_fixed_points).

optymus.benchmark.name

The name of the mathematically defined domain.

Type:

str

optymus.benchmark.domain_bounding_box

The bounding box of the domain, defined as [xmin, xmax, ymin, ymax].

Type:

list

optymus.benchmark.signed_distance_function

The signed distance function that provides the distance values.

Type:

callable

optymus.benchmark.domain_boundary_conditions

The function for setting boundary conditions. Default is None.

Type:

callable, optional

optymus.benchmark.domain_fixed_points

List of fixed points within the domain. Default is an empty list.

Type:

list, optional

optymus.benchmark.signed_distance(P)

Computes the distance value for a point P using the signed distance function.

optymus.benchmark.boundary_conditions(Node)

Determines the boundary conditions for a given node within the domain.

optymus.benchmark.compute_area(n=1_000_000)

Calculates the approximate area of the domain using the Monte Carlo method