Repository navigation
Add adaptive native split orbit and collision tracing - #189
eduardolneto wants to merge 16 commits into
Conversation
afefacf to
9f796f6
Compare
…enter collision step The Ito speed drift contains 2 D_par/v, which diverges as v -> 0. Explicit Euler overshoots it whenever v^2 < 2 D_par h, throwing slow ions to nonthermal speeds (up to ~100 kT for a 1 keV bath). Applying it as v -> sqrt(v1^2 + 4 D_par h) keeps the drift to O(h) and v > 0. The Spitzer test now runs to 6 tau_s and checks relaxation to 3T/2.
rogeriojorge
left a comment
There was a problem hiding this comment.
Consolidate benchmark scripts, remove results/* folder, reduce number of readme figures and compress them, and make additions to readme more concise, deliberate and sober.
|
Eduardo, status on the split solver. Fix already on this branch: below about 2 keV, a proton in an electron bath could jump to an unphysical energy in one step, because the explicit #197 (into this branch) trims the PR without changing the default path:
Merging: #191 contains this branch through a merge. If this PR is squash-merged, #191 will conflict in Please have a look at #197 and merge it into this branch if you agree. |
|
Main moved and this PR now conflicts in essos/dynamics.py. I did not push to your branch. #251 merges main into feat/native_split_collisions and targets it. The conflict is the same as on #187: main's Tests under JAX_ENABLE_X64=1: test_native_orbit.py, test_native_split.py and test_dynamics.py, 154 passed. Merging #251 clears the conflict here. |
PR summary:
Adds forward GC and Lorentz tracing with separately controlled native orbit and collision intervals. The moment predictor controls coupled errors while retaining the existing collision maps and Brownian increments through rejected trials.