Expand description
Two-phase stepping utilities inspired by FlameGPU2.
FlameGPU2’s stepping model separates agent computation into distinct phases via the layer system:
- Output phase: agents write messages (no reading)
- Spatial index build: messages are spatially sorted (PBM construction)
- Input phase: agents read messages and update state
This module provides helper functions (two_phase_brute_force,
two_phase_spatial_2d, two_phase_spatial_3d) that automate
this pattern for use with StandardModel and spatial messaging.
Structs§
- TwoPhase
Result - Result of a two-phase step.
Functions§
- two_
phase_ brute_ force - Execute a two-phase step using brute-force messaging.
- two_
phase_ spatial_ 2d - Execute a two-phase step using 2D spatial messaging.
- two_
phase_ spatial_ 3d - Execute a two-phase step using 3D spatial messaging.