Skip to content

Commit 02f400e

Browse files
committed
update rst
1 parent e615577 commit 02f400e

Some content is hidden

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

45 files changed

+224
-156
lines changed

docs/source/_rst/_code.rst

Lines changed: 60 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,14 @@ The pipeline to solve differential equations with PINA follows just five steps:
1818
5. Train the model with the PINA :doc:`Trainer <solvers/solver_interface>`, enhance the train with `Callback`_
1919

2020

21-
Training and Datamodules
22-
-------------------------
21+
Trainer, Dataset and Datamodule
22+
--------------------------------
2323
.. toctree::
2424
:titlesonly:
2525

2626
Trainer <trainer.rst>
27+
Dataset <data/dataset.rst>
28+
DataModule <data/data_module.rst>
2729

2830
Data Types
2931
------------
@@ -71,36 +73,45 @@ Models
7173
:titlesonly:
7274
:maxdepth: 5
7375

74-
Network <models/network.rst>
75-
KernelNeuralOperator <models/base_no.rst>
76-
FeedForward <models/fnn.rst>
77-
MultiFeedForward <models/multifeedforward.rst>
78-
ResidualFeedForward <models/fnn_residual.rst>
79-
Spline <models/spline.rst>
80-
DeepONet <models/deeponet.rst>
81-
MIONet <models/mionet.rst>
82-
FourierIntegralKernel <models/fourier_kernel.rst>
83-
FNO <models/fno.rst>
84-
AveragingNeuralOperator <models/avno.rst>
85-
LowRankNeuralOperator <models/lno.rst>
86-
87-
Layers
76+
FeedForward <model/feed_forward.rst>
77+
MultiFeedForward <model/multi_feed_forward.rst>
78+
ResidualFeedForward <model/residual_feed_forward.rst>
79+
Spline <model/spline.rst>
80+
DeepONet <model/deeponet.rst>
81+
MIONet <model/mionet.rst>
82+
KernelNeuralOperator <model/kernel_neural_operator.rst>
83+
FourierIntegralKernel <model/fourier_integral_kernel.rst>
84+
FNO <model/fourier_neural_operator.rst>
85+
AveragingNeuralOperator <model/average_neural_operator.rst>
86+
LowRankNeuralOperator <model/low_rank_neural_operator.rst>
87+
GraphNeuralOperator <model/>
88+
89+
Blocks
8890
-------------
8991

9092
.. toctree::
9193
:titlesonly:
9294

93-
Residual layer <layers/residual.rst>
94-
EnhancedLinear layer <layers/enhanced_linear.rst>
95-
Spectral convolution <layers/spectral.rst>
96-
Fourier layers <layers/fourier.rst>
97-
Averaging layer <layers/avno_layer.rst>
98-
Low Rank layer <layers/lowrank_layer.rst>
99-
Continuous convolution <layers/convolution.rst>
100-
Proper Orthogonal Decomposition <layers/pod.rst>
101-
Periodic Boundary Condition Embedding <layers/pbc_embedding.rst>
102-
Fourier Feature Embedding <layers/fourier_embedding.rst>
103-
Radial Basis Function Interpolation <layers/rbf_layer.rst>
95+
Residual Block <model/block/residual.rst>
96+
EnhancedLinear Block <model/block/enhanced_linear.rst>
97+
Spectral Convolution Block <model/block/spectral.rst>
98+
Fourier Block <model/block/fourier_block.rst>
99+
Averaging Block <model/block/average_neural_operator_block.rst>
100+
Low Rank Block <model/block/low_rank_block.rst>
101+
Continuous Convolution Block <model/block/convolution.rst>
102+
103+
104+
Reduction and Embeddings
105+
--------------------------
106+
107+
.. toctree::
108+
:titlesonly:
109+
110+
Proper Orthogonal Decomposition <model/block/pod_block.rst>
111+
Periodic Boundary Condition Embedding <model/block/pbc_embedding.rst>
112+
Fourier Feature Embedding <model/block/fourier_embedding.rst>
113+
Radial Basis Function Interpolation <model/block/rbf_block.rst>
114+
104115

105116
Adaptive Activation Functions
106117
-------------------------------
@@ -123,7 +134,19 @@ Adaptive Activation Functions
123134
Adaptive Exp <adaptive_function/AdaptiveExp.rst>
124135

125136

126-
Equations and Operators
137+
Equations
138+
-------------
139+
140+
.. toctree::
141+
:titlesonly:
142+
143+
EquationInterface <equation.equation_interface.rst>
144+
Equation <equation.equation.rst>
145+
SystemEquation <equation.system_equation.rst>
146+
Equation Factory <equation.equation_factory.rst>
147+
148+
149+
Differential Operators
127150
-------------------------
128151

129152
.. toctree::
@@ -133,7 +156,7 @@ Equations and Operators
133156
Differential Operators <operators.rst>
134157

135158

136-
Problem
159+
Problems
137160
--------------
138161

139162
.. toctree::
@@ -144,8 +167,8 @@ Problem
144167
TimeDependentProblem <problem/timedepproblem.rst>
145168
ParametricProblem <problem/parametricproblem.rst>
146169

147-
Domains
148-
-----------------
170+
Geometrical Domains
171+
---------------------
149172

150173
.. toctree::
151174
:titlesonly:
@@ -155,8 +178,8 @@ Domains
155178
EllipsoidDomain <domain/ellipsoid.rst>
156179
SimplexDomain <domain/simplex.rst>
157180

158-
domain set operations
159-
------------------------
181+
Domain Operations
182+
------------------
160183

161184
.. toctree::
162185
:titlesonly:
@@ -178,12 +201,14 @@ Callback
178201
Refinment callback <callback/adaptive_refinment_callback.rst>
179202
Weighting callback <callback/linear_weight_update_callback.rst>
180203

181-
Metrics and Losses
182-
--------------------
204+
Losses and Weightings
205+
---------------------
183206

184207
.. toctree::
185208
:titlesonly:
186209

187210
LossInterface <loss/loss_interface.rst>
188211
LpLoss <loss/lploss.rst>
189212
PowerLoss <loss/powerloss.rst>
213+
WeightingInterface <loss/weighting_interface.rst>
214+
ScalarWeighting <loss/scalar_weighting.rst>
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
1-
PinaDataModule
1+
DataModule
22
======================
33
.. currentmodule:: pina.data.data_module
44

5+
.. autoclass:: Collator
6+
:members:
7+
:show-inheritance:
8+
59
.. autoclass:: PinaDataModule
10+
:members:
11+
:show-inheritance:
12+
13+
.. autoclass:: PinaSampler
614
:members:
715
:show-inheritance:

docs/source/_rst/data/dataset.rst

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
1-
PinaDataset
1+
Dataset
22
======================
33
.. currentmodule:: pina.data.dataset
44

55
.. autoclass:: PinaDataset
6+
:members:
7+
:show-inheritance:
8+
9+
.. autoclass:: PinaDatasetFactory
10+
:members:
11+
:show-inheritance:
12+
13+
.. autoclass:: PinaGraphDataset
14+
:members:
15+
:show-inheritance:
16+
17+
.. autoclass:: PinaTensorDataset
618
:members:
719
:show-inheritance:
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Equation
2+
==========
3+
4+
.. currentmodule:: pina.equation.equation
5+
.. autoclass:: Equation
6+
:members:
7+
:show-inheritance:
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Equation Factory
2+
==================
3+
4+
.. currentmodule:: pina.equation.equation_factory
5+
.. autoclass:: FixedValue
6+
:members:
7+
:show-inheritance:
8+
9+
.. autoclass:: FixedGradient
10+
:members:
11+
:show-inheritance:
12+
13+
.. autoclass:: FixedFlux
14+
:members:
15+
:show-inheritance:
16+
17+
.. autoclass:: Laplace
18+
:members:
19+
:show-inheritance:
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Equation Interface
2+
====================
3+
4+
.. currentmodule:: pina.equation.equation_interface
5+
.. autoclass:: EquationInterface
6+
:members:
7+
:show-inheritance:
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
System Equation
2+
=================
3+
4+
.. currentmodule:: pina.equation.system_equation
5+
.. autoclass:: SystemEquation
6+
:members:
7+
:show-inheritance:

docs/source/_rst/equations.rst

Lines changed: 0 additions & 42 deletions
This file was deleted.

docs/source/_rst/layers/avno_layer.rst

Lines changed: 0 additions & 8 deletions
This file was deleted.

docs/source/_rst/layers/convolution.rst

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)