Commit e98e106
add SimConfig, free CMR clock assignment, top-4 cluster collection
Replace 11+ bare args on run_sweep_loop with a single &SimConfig
backed by typed enums and validator-based cross-field checks.
New features:
- Free CMR overlap update: independently flip each replica (SW) or
pick uniformly from {flip_a, flip_b, flip_both} (Wolff) instead
of swapping σ^a ↔ σ^b. Validated to require houdayer_mode=cmr.
- Top-4 cluster sizes: opt-in collection of average relative sizes
of the 4 largest overlap clusters per temperature.
Split spin glass Binder tests into tests/spin_glass_crossings.py
so CI can run ferromagnet and spin glass suites in parallel.
Signed-off-by: PeaBrane <peabrane@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2d29ad2 commit e98e106
File tree
13 files changed
+1128
-176
lines changed- .github/workflows
- python/peapods
- spin-sim
- src
- clusters
- statistics
- src
- tests
13 files changed
+1128
-176
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
0 commit comments