Commit fa99d3c
committed
capture excitation force/phase and fix type hints
- Updated MEEMEngine.run_and_store_results to extract excitation_force and excitation_phase from the solver output and pass them to the results object.
- Updated Results.store_hydrodynamic_coefficients to accept and store these new excitation metrics in the xarray dataset.
- Fixed type hint in Results to allow Optional[np.ndarray] for optional arguments, resolving static analysis errors.
- Fixed type hint in ProblemCache to correctly reflect that I_nm_vals is a List[np.ndarray].
- Fixed OpenFLASH.ipynb visualization by correctly importing matplotlib.patches for drawing geometry rectangles.1 parent 3355feb commit fa99d3c
File tree
5 files changed
+302
-338
lines changed- package
- src/openflash
- test
5 files changed
+302
-338
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
587 | 587 | | |
588 | 588 | | |
589 | 589 | | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
590 | 595 | | |
591 | 596 | | |
592 | 597 | | |
| |||
684 | 689 | | |
685 | 690 | | |
686 | 691 | | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
687 | 699 | | |
688 | 700 | | |
689 | 701 | | |
| |||
710 | 722 | | |
711 | 723 | | |
712 | 724 | | |
| 725 | + | |
713 | 726 | | |
714 | 727 | | |
715 | 728 | | |
716 | 729 | | |
| 730 | + | |
| 731 | + | |
717 | 732 | | |
718 | 733 | | |
719 | 734 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
203 | 204 | | |
204 | 205 | | |
205 | 206 | | |
206 | | - | |
| 207 | + | |
207 | 208 | | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
| 209 | + | |
213 | 210 | | |
214 | 211 | | |
215 | 212 | | |
| |||
222 | 219 | | |
223 | 220 | | |
224 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
225 | 234 | | |
226 | 235 | | |
227 | 236 | | |
| |||
0 commit comments