Commit Graph

78 Commits

Author SHA1 Message Date
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
Monthly Tag bot
e514969a43 * Adding title kwarg for plotter class
* Create tutorial for Fourier Feature Embedding
* Update doc for tutorials
2024-06-11 12:31:02 +01:00
Monthly Tag bot
4b64998f45 fix embedding by removing linear layer 2024-06-11 12:31:02 +01:00
Monthly Tag bot
5785b2732c * Fourier feature embedding added, and modify typos in doc Periodic Boundary Embedding.
* Fixing doc for Periodic Boundary Embedding.
* Creating doc for Fourier Feature Embedding.
2024-06-11 12:31:02 +01:00
Dario Coscia
89ee010a94 Update feed_forward.py (#305) 2024-06-07 18:07:24 +02:00
Dario Coscia
e0429bb445 PINN variants addition and Solvers Update (#263)
* gpinn/basepinn new classes, pinn restructure
* codacy fix gpinn/basepinn/pinn
* inverse problem fix
* Causal PINN (#267)
* fix GPU training in inverse problem (#283)
* Create a `compute_residual` attribute for `PINNInterface`
* Modify dataloading in solvers (#286)
* Modify PINNInterface by removing _loss_phys, _loss_data
* Adding in PINNInterface a variable to track the current condition during training
* Modify GPINN,PINN,CausalPINN to match changes in PINNInterface
* Competitive Pinn Addition (#288)
* fixing after rebase/ fix loss
* fixing final issues

---------

Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.local>

* Modify min max formulation to max min for paper consistency
* Adding SAPINN solver (#291)
* rom solver
* fix import

---------

Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.local>
Co-authored-by: Anna Ivagnes <75523024+annaivagnes@users.noreply.github.com>
Co-authored-by: valc89 <103250118+valc89@users.noreply.github.com>
Co-authored-by: Monthly Tag bot <mtbot@noreply.github.com>
Co-authored-by: Nicola Demo <demo.nicola@gmail.com>
2024-05-10 14:07:01 +02:00
ndem0
e2d000ab22 🎨 Format Python code with psf/black 2024-04-09 08:43:48 +01:00
Dario Coscia
4f5d9559b2 fixing adaptive functions 2024-04-08 16:17:57 +01:00
ndem0
14dfa62402 🎨 Format Python code with psf/black 2024-04-02 09:25:30 +01:00
Dario Coscia
766856494a Low Rank Neural Operator (#270)
* add the Low Rank Neural Operator as Model
* add the Low Rank Layer as Layer
* adding tests
* adding doc 

---------

Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.local>
Co-authored-by: Nicola Demo <demo.nicola@gmail.com>
2024-04-02 10:24:23 +02:00
github-actions[bot]
1d1d767317 Format Python code with psf/black push (#273)
* 🎨 Format Python code with psf/black

---------

Co-authored-by: ndem0 <ndem0@users.noreply.github.com>
Co-authored-by: Nicola Demo <demo.nicola@gmail.com>
2024-04-02 10:17:45 +02:00
Dario Coscia
cddb191fe4 Adaptive Functions (#272)
* adaptive function improvement

---------

Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.local>
2024-04-02 10:11:10 +02:00
ndem0
6bc8d81a5c 🎨 Format Python code with psf/black 2024-03-20 14:20:59 +01:00
Dario Coscia
98f7694d6f tut10 2024-03-20 14:18:50 +01:00
ndem0
3d72205380 🎨 Format Python code with psf/black 2024-03-05 16:02:07 +01:00
guglielmopadula
43f69242ab Add Averaging Neural Operator with tests and a tutorial (#230)
* add Averaging Neural Operator with tests
* add backward test
* minor changes
* doc addition

---------

Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.local>
2024-03-05 12:30:53 +01:00
ndem0
22ceee1755 🎨 Format Python code with psf/black 2024-03-01 18:17:34 +01:00
Dario Coscia
4cfd90b904 PBC Layer (#252)
* update docs/tests
* tutorial and device fix

---------

Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.local>
Co-authored-by: Dario Coscia <dariocoscia@dhcp-015.eduroam.sissa.it>
Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.lan>
Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.Home>
2024-03-01 18:15:45 +01:00
Dario Coscia
c92a2832d5 Change PODLayer name (#251)
* rename PODBlock
* add tutorial rst

---------

Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.local>
Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.lan>
2024-02-29 16:01:01 +01:00
ndem0
c2529d325a 🎨 Format Python code with psf/black 2024-02-22 17:06:25 +01:00
Dario Coscia
e516e779f9 Unifying integral kernel NO architectures (#239)
* Unify integral kernel NO architectures with NeuralKernelOperator
* Implement FNO based on NeuralKernelOperator
* modify doc for FNO and add for FourierIntegralKernel, NeuralKernelOperator
* adding tests

---------

Co-authored-by: Dario Coscia <dariocoscia@Dario-Coscia.local>
Co-authored-by: Dario Coscia <dariocoscia@dhcp-015.eduroam.sissa.it>
2024-02-21 11:15:40 +01:00
ndem0
cbb43a5392 🎨 Format Python code with psf/black 2024-02-09 15:11:51 +01:00
Nicola Demo
eed9d7ded3 Doc and tutorial for PODLayer 2023-12-27 16:14:11 +01:00
Nicola Demo
c656317055 pod layer 2023-12-27 16:14:11 +01:00
Dario Coscia
a9f14ac323 fix bug network 2023-11-17 09:51:29 +01:00
Dario Coscia
c90301c204 Network handles forward for all solvers 2023-11-17 09:51:29 +01:00
Dario Coscia
8b7b61b3bd Documentation for v0.1 version (#199)
* Adding Equations, solving typos
* improve _code.rst
* the team rst and restuctore index.rst
* fixing errors

---------

Co-authored-by: Dario Coscia <dariocoscia@dhcp-015.eduroam.sissa.it>
2023-11-17 09:51:29 +01:00
Dario Coscia
a9b1bd2826 Tutorials v0.1 (#178)
Tutorial update and small fixes

* Tutorials update + Tutorial FNO
* Create a metric tracker callback
* Update PINN for logging
* Update plotter for plotting
* Small fix LabelTensor
* Small fix FNO

---------

Co-authored-by: Dario Coscia <dariocoscia@cli-10-110-13-250.WIFIeduroamSTUD.units.it>
Co-authored-by: Dario Coscia <dariocoscia@dhcp-176.eduroam.sissa.it>
2023-11-17 09:51:29 +01:00
Dario Coscia
5a4c114d48 variable name fix FeedForward model 2023-11-17 09:51:29 +01:00
Dario Coscia
17464ceca9 New Residual Model and Fix relative import
* Adding Residual MLP
* Adding test Residual MLP
* Modified relative import Continuous Conv
2023-11-17 09:51:29 +01:00
Dario Coscia
ba7371f350 MIONet addition and DeepONet modification.
* Create MIONet base class
* DeepONet inherits from MIONet
2023-11-17 09:51:29 +01:00
Dario Coscia
603f56d264 Neural Operator fix and addition
* Building FNO for 1D/2D/3D data
* Fixing bug in trunk/branch net in DeepONEt
* Fixing type check bug in spectral conv
* Adding tests for FNO
* Fixing bug in Fourier Layer (conv1d/2d/3d)
2023-11-17 09:51:29 +01:00
Dario Coscia
83ecdb0eab Fourier Block and minor fixes
* Adding fourier block 1d/2d/3d
* Adding docs to SpectralConvBlock1D/2D/3D and to FourierBlock1D/2D/3D
* Adding tests for fourier block
2023-11-17 09:51:29 +01:00
Dario Coscia
b7f9694cb9 Spectral Convolution Addition
* Implementing 1D/2D/3D spectral conv
* Implementing tests for 1D/2D/3d spectral conv
2023-11-17 09:51:29 +01:00