fdtdx.SizeExtensionConstraint
dataclass
SizeExtensionConstraint(
*,
object: SimulationObject,
other_object: Optional[SimulationObject],
axis: int,
direction: Literal["+", "-"],
other_position: float,
offset: float,
grid_offset: int
)
Defines how an object extends toward another object or boundary.
A constraint that extends one object's size until it reaches another object or the simulation boundary. Can extend in positive or negative direction along an axis.
Attributes: |
|
---|