Skip to content

Commit 5683539

Browse files
authored
Merge pull request #46 from TomF98/main
Update operator learning concepts
2 parents c41665d + 6d8af44 commit 5683539

File tree

91 files changed

+9384
-12480
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+9384
-12480
lines changed

.github/workflows/docs-gh-pages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ concurrency:
2222

2323
jobs:
2424
build-docs:
25+
if: github.repository == 'boschresearch/torchphysics'
2526
runs-on: [ubuntu-latest]
2627
container: python:3.10-bookworm
2728
steps:
@@ -41,6 +42,7 @@ jobs:
4142

4243
# Deployment job
4344
deploy-docs:
45+
if: github.repository == 'boschresearch/torchphysics'
4446
environment:
4547
name: github-pages
4648
url: ${{ steps.deployment.outputs.page_url }}

AUTHORS.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ Contributors
55
* Nick Heilenkötter, nheilenkoetter <nick7@uni-bremen.de>
66
* Tom Freudenberg, TomF98 <tomfre@uni-bremen.de>
77
* Daniel Kreuter, dkreuter <danielChristopher.Kreuter@de.bosch.com>
8+
* Janek Gödeke, kenaj123 <janek-goedeke@uni-bremen.de>

CHANGELOG.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,17 @@ Version 1.0.1
1717
Version 1.0.2
1818
=============
1919
- Test for python versions up to 3.10
20+
21+
22+
Version 1.1.0
23+
=============
24+
- Rework of operator learning functionalities:
25+
- Simplification of function spaces
26+
- Restructuring of function set class (distinguishing between continuous and discrete functions)
27+
- Addition of function samplers
28+
- Generalization of operator training conditions
29+
- Rework of DeepONet and FNO implementation, to make them compatible with the above changes
30+
- Added PCANN and corresponding data analysis tools (PCA)
31+
- Simplified saving and loading of neural networks
32+
- Added discrete differential operators
33+
- Updated operator learning examples

README.rst

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,16 @@ You can use TorchPhysics e.g. to
88
- solve ordinary and partial differential equations
99
- train a neural network to approximate solutions for different parameters
1010
- solve inverse problems and interpolate external data
11+
- learn function operators mapping functional parameters to solutions
1112

1213
The following approaches are implemented using high-level concepts to make their usage as easy
1314
as possible:
1415

15-
- physics-informed neural networks (PINN) [1]_
16-
- QRes [2]_
17-
- the Deep Ritz method [3]_
18-
- DeepONets [4]_ and Physics-Informed DeepONets [5]_
16+
- Physics-informed neural networks (PINN) [1]_
17+
- The Deep Ritz method [2]_
18+
- DeepONets [3]_ and physics-informed DeepONets [4]_
19+
- Fourier Neural Operators (FNO) [6]_ and physics-informed FNO
20+
- Model order reduction networks (PCANN) [7]_
1921

2022
We aim to also include further implementations in the future.
2123

@@ -50,7 +52,7 @@ Some built-in features are:
5052
- pre implemented fully connected neural network and easy implementation
5153
of additional model structures
5254
- sequentially or parallel evaluation/training of different neural networks
53-
- normalization layers and adaptive weights [6]_ to speed up the training process
55+
- normalization layers and adaptive weights [5]_ to speed up the training process
5456
- powerful and versatile training thanks to `PyTorch Lightning`_
5557

5658
- many options for optimizers and learning rate control
@@ -154,8 +156,9 @@ TorchPhysics uses an Apache License, see the LICENSE_ file.
154156
Bibliography
155157
============
156158
.. [1] Raissi, Perdikaris und Karniadakis, “Physics-informed neuralnetworks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations”, 2019.
157-
.. [2] Bu and Karpatne, “Quadratic Residual Networks: A New Class of Neural Networks for Solving Forward and Inverse Problems in Physics Involving PDEs”, 2021
158-
.. [3] E and Yu, "The Deep Ritz method: A deep learning-based numerical algorithm for solving variational problems", 2017
159-
.. [4] Lu, Jin and Karniadakis, “DeepONet: Learning nonlinear operators for identifying differential equations based on the universal approximation theorem of operators”, 2020
160-
.. [5] Wang, Wang and Perdikaris, “Learning the solution operator of parametric partial differential equations with physics-informed DeepOnets”, 2021
161-
.. [6] McClenny und Braga-Neto, “Self-Adaptive Physics-Informed NeuralNetworks using a Soft Attention Mechanism”, 2020
159+
.. [2] E and Yu, "The Deep Ritz method: A deep learning-based numerical algorithm for solving variational problems", 2017
160+
.. [3] Lu, Jin and Karniadakis, “DeepONet: Learning nonlinear operators for identifying differential equations based on the universal approximation theorem of operators”, 2020
161+
.. [4] Wang, Wang and Perdikaris, “Learning the solution operator of parametric partial differential equations with physics-informed DeepOnets”, 2021
162+
.. [5] McClenny und Braga-Neto, “Self-Adaptive Physics-Informed NeuralNetworks using a Soft Attention Mechanism”, 2020
163+
.. [6] Zong-Yi Li et al., "Fourier Neural Operator for Parametric Partial Differential Equations", 2020
164+
.. [7] Kaushik Bhattacharya et al., "Model Reduction And Neural Networks For Parametric PDEs", 2021

0 commit comments

Comments
 (0)