Skip to content

PointSelection

PointSelection dataclass

PointSelection(partition: int, index: int, coordinate: tuple[float, float, float], distance: float)

Location returned by ResultSet.nearest_point(), not an OpenSees node tag.

Attributes:

Name Type Description
partition int

Zero-based reader position in the result set, not an MPI rank.

index int

Zero-based local point index within that reader's mesh.

coordinate tuple[float, float, float]

Selected XYZ location in model length units.

distance float

Distance from the requested coordinate, in model length units.

Note

Keep this selection with the result set that created it. Partition order follows the supplied file order; a glob is sorted lexicographically.