fdtdx.SizeConstraint
dataclass
SizeConstraint(
*,
object: SimulationObject,
other_object: SimulationObject,
axes: tuple[int, ...],
other_axes: tuple[int, ...],
proportions: tuple[float, ...],
offsets: tuple[float, ...],
grid_offsets: tuple[int, ...]
)
Defines a size relationship between two simulation objects.
A constraint that sets the size of one object relative to another, with optional proportions and offsets. Used to specify how objects should be sized relative to each other in the simulation.
Attributes: |
|
---|