From 7792aa6ca23adcf9aa5aabc9efec6cdc9ae2a51b Mon Sep 17 00:00:00 2001 From: Liwei Ji Date: Tue, 24 Mar 2026 17:17:20 -0400 Subject: [PATCH] CLAUDE.md: update Architecture section for recent changes Reflect recently added SoA particle attributes (time, num_neutrinos, pt, species, cell_id) and multi-level AMR support. --- CLAUDE.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index efbd40e..1c97a45 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -29,8 +29,9 @@ Each thorn follows the Cactus format: ## Architecture -- Particles are managed via AMReX `AmrParticleContainer` with SoA attributes for momentum (`NuParticleContainers.hxx`) +- Particles are managed via AMReX `AmrParticleContainer` with SoA attributes for position, momentum, and particle properties (`NuParticleContainers.hxx`) - `NuParticleContainer` handles particle push (geodesic integration), deposition, and I/O +- Multi-level AMR supported — particle containers resize across refinement levels; setup runs at BASEGRID - Symbolic expressions in `Particles/wolfram/` generate C++ headers (`.hxx`) — do not edit generated headers directly ## Key Patterns