Commit fc7f770
committed
src: delete the remaining validator-dead hypoelastic blocks in LF and HLLC; doc fixes
Guard inventory (every tau_e/G consumer in the two files was classified by its
exact guard before deletion):
- LF: hypoelastic momentum flux (else if hypoelasticity), hypoelastic energy
flux (else if hypoelasticity), stress evolution flux (if hypoelasticity),
cylindrical tau_sigmasigma source (if cyl_coord .and. hypoelasticity) - all
deleted.
- HLLC: stress evolution flux (if hypoelasticity), both 6-eqn and 5-eqn copies
- deleted. The hyperelasticity-gated tau_e/G/xi_field loads and the
elasticity-gated wave speeds and elastic momentum/energy fluxes are
untouched (live under hyperelasticity, which is legal with all solvers).
- HLL is untouched.
case_validator.py prohibits hypoelasticity with any solver but HLL, so these
blocks were unreachable; after PR #1572 deleted the hypoelastic energy blocks
they consumed tau_e_L/R that nothing in these files loads. Per the maintainer
ruling: prefer deleting code - lifting the restriction later means adding the
code back deliberately.
Unused locals removed from LF: tau_e_L/R and flux_tau_L/R (zero refs after
deletion) and xi_field_L/R (orphaned since the solver split, never referenced
in LF) - declarations and GPU private-list entries. HLLC declarations are
unchanged (tau_e/G remain live on the hyper/elasticity paths).
GPU census: LF -7 acc seq-loop directives (2 deleted seq loops x 3 sweep
copies + 1 cyl-only), HLLC -6 (1 seq loop x 3 copies x 2 blocks), OMP path
unchanged (seq loops emit nothing under OMP); all deltas trace to deleted
blocks.
Doc fixes: rescope the cray_inline guidance to cross-module helpers only,
describe the AMD case-opt guard as sitting on the helper's dummy declaration
with matching caller-local guards, and note in
s_compute_hypoelastic_interface_energy that the verysmall gate is the
deliberate ruling that replaced HLL's former G > 1000 stability floor and
retired its TODO.1 parent a577f15 commit fc7f770
4 files changed
Lines changed: 18 additions & 81 deletions
File tree
- docs/documentation
- src/simulation
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
635 | 635 | | |
636 | 636 | | |
637 | 637 | | |
638 | | - | |
639 | | - | |
640 | | - | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
641 | 643 | | |
642 | 644 | | |
643 | 645 | | |
| |||
654 | 656 | | |
655 | 657 | | |
656 | 658 | | |
657 | | - | |
658 | | - | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
659 | 662 | | |
660 | 663 | | |
661 | 664 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | 445 | | |
457 | 446 | | |
458 | 447 | | |
| |||
1404 | 1393 | | |
1405 | 1394 | | |
1406 | 1395 | | |
1407 | | - | |
1408 | | - | |
1409 | | - | |
1410 | | - | |
1411 | | - | |
1412 | | - | |
1413 | | - | |
1414 | | - | |
1415 | | - | |
1416 | | - | |
1417 | | - | |
1418 | 1396 | | |
1419 | 1397 | | |
1420 | 1398 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
| |||
73 | 72 | | |
74 | 73 | | |
75 | 74 | | |
76 | | - | |
77 | 75 | | |
78 | | - | |
79 | 76 | | |
80 | 77 | | |
81 | 78 | | |
| |||
111 | 108 | | |
112 | 109 | | |
113 | 110 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
122 | 118 | | |
123 | 119 | | |
124 | 120 | | |
| |||
379 | 375 | | |
380 | 376 | | |
381 | 377 | | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | 378 | | |
393 | 379 | | |
394 | 380 | | |
| |||
422 | 408 | | |
423 | 409 | | |
424 | 410 | | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | 411 | | |
437 | 412 | | |
438 | 413 | | |
439 | 414 | | |
440 | 415 | | |
441 | 416 | | |
442 | 417 | | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | 418 | | |
454 | 419 | | |
455 | 420 | | |
| |||
521 | 486 | | |
522 | 487 | | |
523 | 488 | | |
524 | | - | |
525 | | - | |
526 | | - | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | | - | |
534 | | - | |
535 | 489 | | |
536 | 490 | | |
537 | 491 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1076 | 1076 | | |
1077 | 1077 | | |
1078 | 1078 | | |
1079 | | - | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
1080 | 1082 | | |
1081 | 1083 | | |
1082 | 1084 | | |
| |||
0 commit comments