Commit ce7a0fc
Autograd -> Jax conversion (#433)
* Update CONTRIBUTING.md to indicate PRs should be to the new `dev` branch
* Update RELEASING.md to reflect new workflow with the `dev` branch
* update docstrings (#326)
* damping naming and consistently change radiation damping (#328)
* issue 321 fd_to_td() bug (#329)
* bug bix : DC and Nyquist frequency should not be devided by two before ifft
* Changed td_to_fd to scale single sided frequency components rather than TD signal
* minor bug fix from issue332 #332
* nodf -> ndof (#334)
* add DOI for Daniel's paper (#336)
* Lower tolerance for new test to fix CI failing occasionally
* hyperlinks no longer have formatting, plus other small adjustments (#348)
* Merge to dev, not main (#349)
* Dev version of documentation site (#347)
* added initial file changes based on sphinx_multiversion docs and WEC-Sim implementation
* removed sphinx-multiversion since it is no longer supported and made manual multiversion
* now uses absolute paths, commented out linkcheck for debugging
* fixed docstring errors in utilities module
* updating files again that somehow got reverted
* fixing path in conf.py
* don't run tutorials (will revert later)
* handle file moves correctly, fixed if statement to make other versions appear
* fixed two bugs in versions template
* reverted temp changes, changes latest to main
* switched latest to main
* main branch now in root directory of pages
* fixed URLs with change from last commit
* make other branches visible before building
* switched main branch tag for more testing
* fixed typo
* switched dev branch to an existing branch
* renamed main to latest, changed version.html file name to avoid confusion
* added prints about moving files so Sphinx output isn't misleading
* fixed typo with quotations
* changed versions.html name back because that broke things I guess
* modified contributing documentation to reflect changes
* add logic to remove duplicate 'latest' branch
* Fixed pathing when already on latest
* remove typo
* Troubleshooting complete, switching back to correct branches for deployment
* Removed extra word in docstring
* removed redundant function
* fixed pathing so returns to same file (and fixes tutorial/API docs)
* changed latest branch for demonstration
* switched back latest branch for deployment
* updated with new Capytaine docs URL
* Add warnings when adding inertia and hydrostatic stiffness automatically (#346)
* CI workflow cleanup (#352)
* removed conda environment from workflows since newer capytaine/wavespectra work with Windows
* fixed unnecessary capitalization
* still create CI conda environment to fix Mac environment failures
* added conda env fully back in, push workflow deploys docs, split PR workflow
* conda environment activates again
* mambaforge instead of miniforge
* manual cache reset
* reset to older version of setup-miniconda to troubleshoot
* Updated workflows to newest Python version and changed references to supported versions (#390)
Co-authored-by: jtgrasb <[email protected]>
* Revert to Python 3.12 (#394)
* Try specifying subversion
* Test new cache
* revert to 3.12
* Revert comment back to normal
* use dev for docs and restrict sphinx (#396)
* Remove Sphinx version requirement (#409)
* v3.0.3
* v3.1
* Trying to convert tutorial 1
* Convert to jax progress
* post-processing
* clear outputs
* wavebot tutorial running
* wavebot tutorial running
* Update to jax and numpy
* Revert wavebot execution count
* update pyproject.toml
* Specify jax version for mac
* try jaxlib
* no jaxlib
* add jax to environment manually
* add jaxlib to env
* ad jaxlib to pyproject
* install jax manually for macos
* conda init
* install jax and jaxlib on macos
* try arm64
* remove arm
* make core optimization jittable
* try pinning jax version
* revert previous
* install entirely w. pip
* Add verbose outputs to testing
* editable mode
* no mamba
* editable mode
* update random inputs
* remove cache environment
* use pytest-cov
* remove cache clear
* Fix push.yml
---------
Co-authored-by: Carlos A. Michelén Ströfer <[email protected]>
Co-authored-by: Ryan Coe <[email protected]>
Co-authored-by: Daniel Gaebele <[email protected]>
Co-authored-by: Michael Devin <[email protected]>
Co-authored-by: mcdevin <[email protected]>1 parent 34d2d88 commit ce7a0fc
File tree
13 files changed
+238
-256
lines changed- .github/workflows
- examples
- tests
- wecopttool
13 files changed
+238
-256
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 26 | + | |
33 | 27 | | |
34 | 28 | | |
35 | 29 | | |
36 | 30 | | |
37 | 31 | | |
38 | 32 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | 33 | | |
73 | 34 | | |
74 | 35 | | |
| |||
81 | 42 | | |
82 | 43 | | |
83 | 44 | | |
84 | | - | |
| 45 | + | |
85 | 46 | | |
86 | 47 | | |
87 | 48 | | |
88 | 49 | | |
89 | 50 | | |
90 | | - | |
| 51 | + | |
91 | 52 | | |
92 | 53 | | |
93 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 26 | | |
34 | 27 | | |
35 | 28 | | |
36 | 29 | | |
37 | 30 | | |
38 | 31 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | 32 | | |
73 | 33 | | |
74 | 34 | | |
| |||
81 | 41 | | |
82 | 42 | | |
83 | 43 | | |
84 | | - | |
| 44 | + | |
85 | 45 | | |
86 | 46 | | |
87 | 47 | | |
88 | 48 | | |
89 | 49 | | |
90 | | - | |
| 50 | + | |
91 | 51 | | |
92 | 52 | | |
93 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
372 | 373 | | |
373 | 374 | | |
374 | 375 | | |
375 | | - | |
| 376 | + | |
376 | 377 | | |
377 | 378 | | |
378 | 379 | | |
| |||
706 | 707 | | |
707 | 708 | | |
708 | 709 | | |
709 | | - | |
| 710 | + | |
710 | 711 | | |
711 | 712 | | |
712 | 713 | | |
| |||
989 | 990 | | |
990 | 991 | | |
991 | 992 | | |
992 | | - | |
| 993 | + | |
993 | 994 | | |
994 | 995 | | |
995 | 996 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
376 | 377 | | |
377 | 378 | | |
378 | 379 | | |
379 | | - | |
| 380 | + | |
380 | 381 | | |
381 | 382 | | |
382 | | - | |
| 383 | + | |
383 | 384 | | |
384 | 385 | | |
385 | 386 | | |
| |||
389 | 390 | | |
390 | 391 | | |
391 | 392 | | |
392 | | - | |
393 | | - | |
| 393 | + | |
| 394 | + | |
394 | 395 | | |
395 | 396 | | |
396 | 397 | | |
397 | | - | |
| 398 | + | |
398 | 399 | | |
399 | 400 | | |
400 | 401 | | |
401 | | - | |
| 402 | + | |
402 | 403 | | |
403 | | - | |
| 404 | + | |
404 | 405 | | |
405 | 406 | | |
406 | 407 | | |
| |||
452 | 453 | | |
453 | 454 | | |
454 | 455 | | |
455 | | - | |
| 456 | + | |
456 | 457 | | |
457 | 458 | | |
458 | 459 | | |
459 | | - | |
| 460 | + | |
460 | 461 | | |
461 | 462 | | |
462 | 463 | | |
463 | 464 | | |
464 | 465 | | |
465 | 466 | | |
466 | | - | |
| 467 | + | |
467 | 468 | | |
468 | 469 | | |
469 | 470 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
766 | 767 | | |
767 | 768 | | |
768 | 769 | | |
769 | | - | |
770 | | - | |
| 770 | + | |
| 771 | + | |
771 | 772 | | |
772 | 773 | | |
773 | 774 | | |
| |||
776 | 777 | | |
777 | 778 | | |
778 | 779 | | |
779 | | - | |
| 780 | + | |
780 | 781 | | |
781 | 782 | | |
782 | 783 | | |
783 | 784 | | |
784 | 785 | | |
785 | 786 | | |
786 | | - | |
| 787 | + | |
787 | 788 | | |
788 | 789 | | |
789 | 790 | | |
790 | 791 | | |
791 | 792 | | |
792 | | - | |
| 793 | + | |
793 | 794 | | |
794 | 795 | | |
795 | 796 | | |
| |||
1263 | 1264 | | |
1264 | 1265 | | |
1265 | 1266 | | |
1266 | | - | |
| 1267 | + | |
1267 | 1268 | | |
1268 | 1269 | | |
1269 | 1270 | | |
| |||
1272 | 1273 | | |
1273 | 1274 | | |
1274 | 1275 | | |
1275 | | - | |
| 1276 | + | |
1276 | 1277 | | |
1277 | 1278 | | |
1278 | 1279 | | |
1279 | 1280 | | |
1280 | 1281 | | |
1281 | 1282 | | |
1282 | | - | |
| 1283 | + | |
1283 | 1284 | | |
1284 | 1285 | | |
1285 | 1286 | | |
1286 | 1287 | | |
1287 | 1288 | | |
1288 | | - | |
| 1289 | + | |
1289 | 1290 | | |
1290 | 1291 | | |
1291 | 1292 | | |
| |||
0 commit comments