Skip to content

Commit 33abb66

Browse files
committed
updating rst
1 parent 4583443 commit 33abb66

File tree

87 files changed

+243
-4873
lines changed

Some content is hidden

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

87 files changed

+243
-4873
lines changed

docs/source/_rst/_code.rst

Lines changed: 57 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ The pipeline to solve differential equations with PINA follows just five steps:
1414
1. Define the `Problem`_ the user aim to solve
1515
2. Generate data using built in `Domains`_, or load high level simulation results as :doc:`LabelTensor <label_tensor>`
1616
3. Choose or build one or more `Models`_ to solve the problem
17-
4. Choose a solver across PINA available `Solvers`_, or build one using the :doc:`SolverInterface <solvers/solver_interface>`
18-
5. Train the model with the PINA :doc:`Trainer <solvers/solver_interface>`, enhance the train with `Callback`_
17+
4. Choose a solver across PINA available `Solvers`_, or build one using the :doc:`SolverInterface <solver/solver_interface>`
18+
5. Train the model with the PINA :doc:`Trainer <solver/solver_interface>`, enhance the train with `Callback`_
1919

2020

2121
Trainer, Dataset and Datamodule
@@ -33,6 +33,18 @@ Data Types
3333
:titlesonly:
3434

3535
LabelTensor <label_tensor.rst>
36+
Graph <graph/graph.rst>
37+
38+
39+
Graphs Structures
40+
------------------
41+
.. toctree::
42+
:titlesonly:
43+
44+
Graph <graph/graph.rst>
45+
GraphBuilder <graph/graph_builder.rst>
46+
RadiusGraph <graph/radius_graph.rst>
47+
KNNGraph <graph/knn_graph.rst>
3648

3749

3850
Conditions
@@ -53,17 +65,19 @@ Solvers
5365
.. toctree::
5466
:titlesonly:
5567

56-
SolverInterface <solvers/solver_interface.rst>
57-
PINNInterface <solvers/basepinn.rst>
58-
PINN <solvers/pinn.rst>
59-
GPINN <solvers/gpinn.rst>
60-
CausalPINN <solvers/causalpinn.rst>
61-
CompetitivePINN <solvers/competitivepinn.rst>
62-
SAPINN <solvers/sapinn.rst>
63-
RBAPINN <solvers/rba_pinn.rst>
64-
Supervised solver <solvers/supervised.rst>
65-
ReducedOrderModelSolver <solvers/rom.rst>
66-
GAROM <solvers/garom.rst>
68+
SolverInterface <solver/solver_interface.rst>
69+
SingleSolverInterface <solver/single_solver_interface.rst>
70+
MultiSolverInterface <solver/multi_solver_interface.rst>
71+
PINNInterface <solver/physic_informed_solver/pinn_interface.rst>
72+
PINN <solver/physic_informed_solver/pinn.rst>
73+
GradientPINN <solver/physic_informed_solver/gradient_pinn.rst>
74+
CausalPINN <solver/physic_informed_solver/causal_pinn.rst>
75+
CompetitivePINN <solver/physic_informed_solver/competitive_pinn.rst>
76+
SelfAdaptivePINN <solver/physic_informed_solver/self_adaptive_pinn.rst>
77+
RBAPINN <solver/physic_informed_solver/rba_pinn.rst>
78+
SupervisedSolver <solver/supervised.rst>
79+
ReducedOrderModelSolver <solver/reduced_order_model.rst>
80+
GAROM <solver/garom.rst>
6781

6882

6983
Models
@@ -112,6 +126,17 @@ Reduction and Embeddings
112126
Fourier Feature Embedding <model/block/fourier_embedding.rst>
113127
Radial Basis Function Interpolation <model/block/rbf_block.rst>
114128

129+
Optimizers and Schedulers
130+
--------------------------
131+
132+
.. toctree::
133+
:titlesonly:
134+
135+
Optimizer <optim/optimizer_interface.rst>
136+
Scheduler <optim/scheduler_interface.rst>
137+
TorchOptimizer <optim/torch_optimizer.rst>
138+
TorchScheduler <optim/torch_scheduler.rst>
139+
115140

116141
Adaptive Activation Functions
117142
-------------------------------
@@ -134,8 +159,8 @@ Adaptive Activation Functions
134159
Adaptive Exp <adaptive_function/AdaptiveExp.rst>
135160

136161

137-
Equations
138-
-------------
162+
Equations and Differential Operators
163+
---------------------------------------
139164

140165
.. toctree::
141166
:titlesonly:
@@ -144,28 +169,35 @@ Equations
144169
Equation <equation.equation.rst>
145170
SystemEquation <equation.system_equation.rst>
146171
Equation Factory <equation.equation_factory.rst>
172+
Differential Operators <operator.rst>
147173

148174

149-
Differential Operators
150-
-------------------------
175+
Problems
176+
--------------
151177

152178
.. toctree::
153179
:titlesonly:
154180

155-
Equations <equations.rst>
156-
Differential Operators <operators.rst>
157-
181+
AbstractProblem <problem/abstract_problem.rst>
182+
InverseProblem <problem/inverse_problem.rst>
183+
ParametricProblem <problem/parametric_problem.rst>
184+
SpatialProblem <problem/spatial_problem.rst>
185+
TimeDependentProblem <problem/time_dependent_problem.rst>
158186

159-
Problems
187+
Problems Zoo
160188
--------------
161189

162190
.. toctree::
163191
:titlesonly:
164192

165-
AbstractProblem <problem/abstractproblem.rst>
166-
SpatialProblem <problem/spatialproblem.rst>
167-
TimeDependentProblem <problem/timedepproblem.rst>
168-
ParametricProblem <problem/parametricproblem.rst>
193+
AdvectionProblem <problem/zoo/advection.rst>
194+
AllenCahnProblem <problem/zoo/allen_cahn.rst>
195+
DiffusionReactionProblem <problem/zoo/diffusion_reaction.rst>
196+
HelmholtzProblem <problem/zoo/helmholtz.rst>
197+
InversePoisson2DSquareProblem <problem/zoo/inverse_poisson_2d_square.rst>
198+
Poisson2DSquareProblem <problem/zoo/poisson_2d_square.rst>
199+
SupervisedProblem <problem/zoo/supervised_problem.rst>
200+
169201

170202
Geometrical Domains
171203
---------------------

docs/source/_rst/graph/graph.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Graph
2+
===========
3+
.. currentmodule:: pina.graph
4+
5+
6+
.. autoclass:: Graph
7+
:members:
8+
:private-members:
9+
:show-inheritance:
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
GraphBuilder
2+
==============
3+
.. currentmodule:: pina.graph
4+
5+
6+
.. autoclass:: GraphBuilder
7+
:members:
8+
:private-members:
9+
:show-inheritance:
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
KNNGraph
2+
===========
3+
.. currentmodule:: pina.graph
4+
5+
6+
.. autoclass:: KNNGraph
7+
:members:
8+
:private-members:
9+
:show-inheritance:
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
RadiusGraph
2+
=============
3+
.. currentmodule:: pina.graph
4+
5+
6+
.. autoclass:: RadiusGraph
7+
:members:
8+
:private-members:
9+
:show-inheritance:

docs/source/_rst/operator.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Operators
2+
===========
3+
4+
.. currentmodule:: pina.operator
5+
6+
.. automodule:: pina.operator
7+
:members:
8+
:show-inheritance:

docs/source/_rst/operators.rst

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Optimizer
2+
============
3+
.. currentmodule:: pina.optim.optimizer_interface
4+
5+
.. autoclass:: Optimizer
6+
:members:
7+
:show-inheritance:
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Scheduler
2+
=============
3+
.. currentmodule:: pina.optim.scheduler_interface
4+
5+
.. autoclass:: Scheduler
6+
:members:
7+
:show-inheritance:
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
TorchOptimizer
2+
===============
3+
.. currentmodule:: pina.optim.torch_optimizer
4+
5+
.. autoclass:: TorchOptimizer
6+
:members:
7+
:show-inheritance:

0 commit comments

Comments
 (0)