jaxdem.domains.free#
Unbounded (free) simulation domain.
Classes
|
A Domain implementation representing an unbounded, "free" space. |
- class jaxdem.domains.free.FreeDomain(box_size: Array, anchor: Array)[source]#
Bases:
DomainA Domain implementation representing an unbounded, “free” space.
In a FreeDomain, there are no explicit boundary conditions applied to particles. Particles can move indefinitely in any direction, and the concept of a “simulation box” is only used to define the bounding box of the system.
Notes
The box_size and anchor attributes are dynamically updated in the shift method to encompass all particles. Some hashing tools require the domain size.
- static apply(state: State, system: System) Tuple['State', 'System'][source][source]#
Updates the System’s domain anchor and box_size to encompass all particles. Does not apply any transformations to the state.
- Parameters:
- Returns:
The original State object (unchanged) and the System object with updated domain.anchor and domain.box_size.
- Return type:
Note
This method donates state and system