fdtdx.PositionConstraint
dataclass
PositionConstraint(
*,
object: SimulationObject,
other_object: SimulationObject,
axes: tuple[int, ...],
object_positions: tuple[float, ...],
other_object_positions: tuple[float, ...],
margins: tuple[float, ...],
grid_margins: tuple[int, ...]
)
Defines a positional relationship between two simulation objects.
A constraint that positions one object relative to another, with optional margins and offsets. Used to specify how objects should be placed in the simulation volume relative to each other.
Attributes: |
|
---|