Wire Jets through ObjectManager and Simulation

ObjectManager.jets holds scene-level Jets. build_compact_lists_for
collects true FP64 hits (SimObject.get_curved_list hits_out) row-aligned
with the cut-link columns; BodySyncPlan carries them as curved_hits, and
sync_to_gpu / apply_sync_plan / the pre-sync check pass jets+hits to
assign_surface. Jets require D2Q9/FP32/unshifted/double_buffer and may
only drive links of stationary bodies. Simulation.add_jet (before
initialize) and set_jet_amplitude (velocity column re-upload only);
save_checkpoint refuses scenes with jets. Fine-path wiring not included.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Opus 5.5 committed 2026-10-15 08:15:22 +00:00
1 parent 611a64c54a
commit 932702f779
6 files changed
+112 -11

No files matched your search

+2
View File
@@ -40,6 +40,7 @@ class BodySyncPlan:
added_solid_mask: Bool array -- True where ``old_fluid -> new_solid``.
released_fluid_mask: Bool array -- True where ``old_obstacle -> new_fluid``.
new_sensor_counts: Int array of sensor cell counts per object.
curved_hits: FP64 (n, 2) true hit points row-aligned with curved_host.
"""
next_objects: List[SimObject]
next_count: int
@@ -50,3 +51,4 @@ class BodySyncPlan:
added_solid_mask: np.ndarray
released_fluid_mask: np.ndarray
new_sensor_counts: np.ndarray
curved_hits: np.ndarray | None = None