Commit 506dccd
Fix optional arg UB, missing deallocates, missing intent
- Remove case default in f_advance_step that dereferenced absent optional
args fVel/fPos (undefined behavior when called from EE path with adap_dt)
- Add @:DEALLOCATE for p_send_buff, p_recv_buff, p_send_ids in MPI finalize
- Add intent(in) on lag_num_ts in s_initialize_particles_mpi
- Add intent(in) on nBub, pos, posPrev in s_add_particles_to_transfer_list
- Fix bare 3 -> 3._wp in vel_model=3 force computation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 52adde3 commit 506dccd
2 files changed
Lines changed: 11 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
597 | 597 | | |
598 | 598 | | |
599 | 599 | | |
600 | | - | |
| 600 | + | |
601 | 601 | | |
602 | 602 | | |
603 | 603 | | |
604 | 604 | | |
605 | 605 | | |
606 | | - | |
607 | | - | |
608 | | - | |
609 | | - | |
610 | | - | |
611 | 606 | | |
612 | 607 | | |
613 | 608 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
90 | 91 | | |
91 | | - | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
503 | 504 | | |
504 | 505 | | |
505 | 506 | | |
506 | | - | |
507 | | - | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
508 | 510 | | |
509 | 511 | | |
510 | 512 | | |
| |||
989 | 991 | | |
990 | 992 | | |
991 | 993 | | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
992 | 999 | | |
993 | 1000 | | |
994 | 1001 | | |
| |||
0 commit comments