forked from 1b-agent/fieldcraft-upstream
mesh: strong relax keeps a morph unless it inverts, default reach five element lengths
Owner's rule (#438): move the bad nodes, interpolate, keep the morph as long as no element inverts (guards "valid", the default); the old guards stay as "strict". The run keeps its best round (highest smallest scaled Jacobian, then fewest elements below the threshold, then highest mean) and never ends below the start. Default reach five mean edge lengths of the bad elements (was three); on the Pi 5 base reach 3, 5 and 7 end at the same quality, 5 moving fewer nodes than 7 while leaving none below 0.7. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UhhZMBTviDQxZvwnyP89fo
This commit is contained in:
1 parent
426df4a333
commit
a2a4f8895e
6 files changed
+82
-22
No files matched your search
@@ -349,6 +349,8 @@ fn strong_mode_parameters_are_checked() {
|
||||
json!({"mode": "strong", "nodes": [1], "iterations": 201}),
|
||||
json!({"below": 0.5}),
|
||||
json!({"nodes": [1], "reach": 1}),
|
||||
json!({"nodes": [1], "guards": "strict"}),
|
||||
json!({"mode": "strong", "nodes": [1], "guards": "loose"}),
|
||||
json!({"nodes": [1], "mode": "strong", "layers": 1}),
|
||||
] {
|
||||
assert!(s.execute("mesh.node.relax", &p).is_err(), "{p}");
|
||||
|
||||
Reference in new issue
Block a user