Commit Graph

111 Commits

Author SHA1 Message Date
Lorenzo Tomada
5966d038ff Add SINDy model (#660) 2025-10-08 17:04:58 +02:00
avisquid
2108c76d14 add egno (#602)
Co-authored-by: GiovanniCanali <giovanni.canali98@yahoo.it>
2025-10-03 20:37:56 +02:00
Filippo Olivo
4a6e73fa54 Fix basis device transfer in PODBlock (#650)
* fix gpu data moving
2025-09-19 13:42:32 +02:00
giovanni
684d691b78 remove back compatibility files for version 0.2 2025-09-08 14:57:29 +02:00
Giovanni Canali
caa67ace93 add pirate network 2025-07-28 11:28:50 +02:00
Dario Coscia
7bf7d34d0f Dev Update (#582)
* Fix adaptive refinement (#571)


---------

Co-authored-by: Dario Coscia <93731561+dario-coscia@users.noreply.github.com>

* Remove collector

* Fixes

* Fixes

* rm unnecessary comment

* fix advection (#581)

* Fix tutorial .html link (#580)

* fix problem data collection for v0.1 (#584)

* Message Passing Module (#516)

* add deep tensor network block

* add interaction network block

* add radial field network block

* add schnet block

* add equivariant network block

* fix + tests + doc files

* fix egnn + equivariance/invariance tests

Co-authored-by: Dario Coscia <dariocos99@gmail.com>

---------

Co-authored-by: giovanni <giovanni.canali98@yahoo.it>
Co-authored-by: AleDinve <giuseppealessio.d@student.unisi.it>

* add type checker (#527)

---------

Co-authored-by: Filippo Olivo <filippo@filippoolivo.com>
Co-authored-by: Giovanni Canali <115086358+GiovanniCanali@users.noreply.github.com>
Co-authored-by: giovanni <giovanni.canali98@yahoo.it>
Co-authored-by: AleDinve <giuseppealessio.d@student.unisi.it>
2025-06-13 17:34:37 +02:00
Dario Coscia
6b355b45de avoid codacy warning 2025-05-05 11:15:21 +02:00
Anna Ivagnes
aa2ba5fc7f format pod_block.py
delete one line
2025-05-05 11:15:21 +02:00
Anna Ivagnes
3c1fed9ae2 add singular values in PODBlock 2025-05-05 11:15:21 +02:00
Nicola Demo
9c77523fca Fix pod_block.py 2025-03-19 18:02:44 +01:00
Dario Coscia
3c301acf18 formatting 2025-03-19 17:48:29 +01:00
Dario Coscia
2526da36bf update doc 2025-03-19 17:48:29 +01:00
giovanni
aea24d0bee standardize module docstring 2025-03-19 17:48:27 +01:00
giovanni
f9881a79b5 fix doc model part 2 2025-03-19 17:48:27 +01:00
FilippoOlivo
001d1fc9cf Fix rendering and codacy 2025-03-19 17:48:27 +01:00
giovanni
8dc682c849 fix doc model part 1 2025-03-19 17:48:27 +01:00
Dario Coscia
ae9187ad75 rm unnecessary files 2025-03-19 17:48:24 +01:00
Matteo Bertocchi
8b797d589a Changes to Tensor labels handling 2025-03-19 17:48:22 +01:00
Filippo Olivo
4177bfbb50 Fix Codacy Warnings (#477)
---------

Co-authored-by: Dario Coscia <dariocos99@gmail.com>
2025-03-19 17:48:18 +01:00
MatteB03
1bb35f7951 Fix bug in handling labels with LabelTensor (#460)
---------

Co-authored-by: Filippo Olivo <filippo@filippoolivo.com>
2025-03-19 17:46:36 +01:00
Dario Coscia
42ab1a666b Formatting
* Adding black as dev dependency
* Formatting pina code
* Formatting tests
2025-03-19 17:46:36 +01:00
gc031298
ed0a8bd5e7 renaming 2025-03-19 17:46:36 +01:00
FilippoOlivo
ff43a7492b Rename files 2025-03-19 17:46:36 +01:00
Dario Coscia
886bd23fdb Back compatibility 0.1 2025-03-19 17:46:36 +01:00
Dario Coscia
df673cad4e Renaming
* solvers -> solver
* adaptive_functions -> adaptive_function
* callbacks -> callback
* operators -> operator
* pinns -> physics_informed_solver
* layers -> block
2025-03-19 17:46:36 +01:00
Dario Coscia
9cae9a438f Update solvers (#434)
* Enable DDP training with batch_size=None and add validity check for split sizes
* Refactoring SolverInterfaces (#435)
* Solver update + weighting
* Updating PINN for 0.2
* Modify GAROM + tests
* Adding more versatile loggers
* Disable compilation when running on Windows
* Fix tests

---------

Co-authored-by: giovanni <giovanni.canali98@yahoo.it>
Co-authored-by: FilippoOlivo <filippo@filippoolivo.com>
2025-03-19 17:46:35 +01:00
FilippoOlivo
6964f4e7d9 Rename classes and modules for GNO 2025-03-19 17:46:35 +01:00
FilippoOlivo
54a62dee26 Bug fix in GNO and implementation of tests 2025-03-19 17:46:35 +01:00
FilippoOlivo
86fe41261b Implement Graph Neural Operator #231 2025-03-19 17:46:34 +01:00
Filippo Olivo
a27bd35443 Implementation of DataLoader and DataModule (#383)
Refactoring for 0.2
* Data module, data loader and dataset
* Refactor LabelTensor
* Refactor solvers

Co-authored-by: dario-coscia <dariocos99@gmail.com>
2025-03-19 17:46:34 +01:00
Dario Coscia
1bd3f40f54 * Adding Collector for handling data sampling/collection before dataset/dataloader
* Modify domain by adding sample_mode, variables as property
* Small change concatenate -> cat in lno/avno
* Create different factory classes for conditions
2025-03-19 17:46:33 +01:00
FilippoOlivo
2be57944ba Fix SupervisedSolver GPU bug and implement GraphSolver (#346)
* Fix some bugs
* Solve bug with GPU and model_summary parameters in SupervisedSolver class
* Implement GraphSolver class
* Fix Tutorial 5
2025-03-19 17:46:33 +01:00
Nicola Demo
f0d68b34c7 refact 2025-03-19 17:46:33 +01:00
Nicola Demo
2b71e0148d in progress 2025-03-19 17:46:33 +01:00
github-actions[bot]
f0bff2438b 🎨 Format Python code with psf/black (#452) 2025-02-15 15:45:42 +01:00
Anna Ivagnes
c28a4bd2b9 Change SVD type in pod.py (#449)
* Change SVD type in pod.py
2025-02-14 19:13:09 +01:00
Anna Ivagnes
5d2ca62e65 add multiple outputs possibility in DeepONet 2024-10-10 18:36:47 +02:00
Dario Coscia
24317b6fa7 doc update 2024-10-10 18:25:18 +02:00
github-actions[bot]
f812d87727 🎨 Format Python code with psf/black (#348) 2024-09-27 10:35:37 +02:00
Nicola Demo
4c5cb8f681 add spline model (#321)
* add spline model
* add tests for splines
* rst files for splines

---------

Co-authored-by: AleDinve <giuseppealessio.d@student.unisi.it>
Co-authored-by: dario-coscia <dariocos99@gmail.com>
2024-09-27 10:05:18 +02:00
github-actions[bot]
1aca017e1d 🎨 Format Python code with psf/black (#333)
Co-authored-by: ndem0 <ndem0@users.noreply.github.com>
2024-09-03 16:53:39 +02:00
Dario Coscia
eea0cc0833 Backpropagation and fix test for OrthogonalBlock
Co-authored-by: Dario Coscia <dariocos99@gmail.com>
    Co-authored-by: Gabriele Codega <gcodega@pascal.maths.sissa.it>
2024-09-03 16:51:10 +02:00
ndem0
59fc19798f 🎨 Format Python code with psf/black 2024-08-27 14:36:24 +02:00
Nicola Demo
68f5521476 Update orthogonal.py 2024-08-26 14:14:09 +02:00
ndem0
a1e041c1f0 🎨 Format Python code with psf/black 2024-08-26 14:14:09 +02:00
Anna Ivagnes
62d50e2455 add OrthogonalBlock to make input orthonormal 2024-08-26 10:48:59 +02:00
github-actions[bot]
5445559cb2 Format Python code with psf/black push (#325)
* 🎨 Format Python code with psf/black
2024-08-12 18:30:46 +02:00
Anna Ivagnes
d4ced3a7d7 Add layer to perform RBF interpolation in reduced order modeling (#315)
* add RBF implementation in pytorch (in layers)
* add POD-RBF example (baseline for nonintrusive closure)
* Add POD only and POD+RBF implementation
* add POD-RBF in tutorial 8
2024-08-12 14:46:22 +02:00
Dario Coscia
f9316e359a gpu fourierembedding (#313)
Adding gpu to fourier embedding
2024-06-27 17:36:54 +02:00
ndem0
7634d22ca7 🎨 Format Python code with psf/black 2024-06-11 14:15:09 +01:00