You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Reorganize the `examples` directory
- Add Jupyter notebooks to `examples/notebooks/` folder:
. Define an equation symbolically, discretize it, compute some error
norms, plot solution and error – Poisson 2D on a square with “Collela”
mapping
. FEEC API multipatch – Maxwell 2D time harmonic
. FEM example: L2 projection
. 3D example with VTK and Paraview
. Get eigenvalues (FEEC) with SciPy (serial)
. Get eigenvalues with PETSc + SLEPc (parallel)
. FEEC 3D vector potential
- Make the notebooks run by the documentation CI, so any errors lead to a
failing build of the documentation
Fixes#170.
---------
Co-authored-by: Martin Campos Pinto <martin.campos-pinto@ipp.mpg.de>
Co-authored-by: elmosa <Elena.Moral.Sanchez@ipp.mpg.de>
Co-authored-by: Yaman Güçlü <yaman.guclu@gmail.com>
Co-authored-by: jowezarek <julian.owezarek@tum.de>
Copy file name to clipboardExpand all lines: README.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
<h1align="center">
2
-
<imgsrc="https://raw.githubusercontent.com/pyccel/psydac/devel/docs/source/logo/psydac_banner.svg"width="600"alt="Shows the psydac logo.">
2
+
<imgsrc="https://raw.githubusercontent.com/pyccel/psydac/devel/docs/source/logo/psydac_banner.svg"width="600"alt="Shows the psydac logo."class="dark-light">
@@ -38,7 +38,7 @@ PSYDAC requires a certain number of components to be installed on the machine:
38
38
39
39
The installation instructions depend on the operating system and on the packaging manager used.
40
40
It is particularly important to determine the **HDF5 root folder**, as this will be needed to install the [`h5py`](https://docs.h5py.org/en/latest/build.html#source-installation) package in parallel mode.
41
-
Detailed instructions can be found in the [documentation](https://github.com/pyccel/psydac/blob/devel/docs/installation.md).
41
+
Detailed instructions can be found in the [documentation](https://pyccel.github.io/psydac/installation.html).
42
42
43
43
Once those components are installed, we recommend using [`venv`](https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/#creating-a-virtual-environment) to set up a fresh Python virtual environment at a location `<ENV-PATH>`:
Again, for more details we refer to our [documentation](https://github.com/pyccel/psydac/blob/devel/docs/installation.md).
68
+
Again, for more details we refer to our [documentation](https://pyccel.github.io/psydac/installation.html).
69
69
70
70
> [!TIP]
71
71
> PSYDAC provides the functionality to convert its MPI-parallel matrices and vectors to their [PETSc](https://petsc.org) equivalent, and back.
72
72
> This gives the user access to a wide variety of linear solvers and other algorithms.
73
-
> Instructions for installing [PETSc](https://petsc.org) and `petsc4py` can be found in our [documentation](https://github.com/pyccel/psydac/blob/devel/docs/installation.md#optional-petsc-installation).
73
+
> Instructions for installing [PETSc](https://petsc.org) and `petsc4py` can be found in our [documentation](https://pyccel.github.io/psydac/installation.html#id9).
74
74
75
75
## Running Tests
76
76
@@ -108,14 +108,15 @@ This command applies Pyccel to all the kernel files in the source directory. The
108
108
109
109
## Examples and Tutorials
110
110
111
-
A [tutorial](https://pyccel.github.io/IGA-Python/intro.html) on isogeometric analysis, with many example notebooks where various PDEs are solved with PSYDAC, is under construction in the [IGA-Python](https://github.com/pyccel/IGA-Python) repository.
111
+
Our [documentation](https://pyccel.github.io/psydac/examples.html) provides Jupyter notebooks that present many aspects of this library.
112
+
Additional [tutorials](https://pyccel.github.io/IGA-Python/intro.html) on isogeometric analysis, with many example notebooks where various PDEs are solved with PSYDAC, is under construction in the [IGA-Python](https://github.com/pyccel/IGA-Python) repository.
112
113
Some other examples can be found [here](https://github.com/pyccel/psydac/blob/devel/examples).
.. The notebooks get copied into the source directory by the continuous integration pipeline.
9
+
.. The notebooks should have all output cleared before being committed to the repository.
10
+
Notebooks
11
+
---------
12
+
For the documentation, we provide several Jupyter notebooks that illustrate how to use PSYDAC to solve different types of problems.
13
+
They can be found in the `notebooks directory <https://github.com/pyccel/psydac/tree/devel/examples/notebooks>`_,
14
+
but are also generated as part of the documentation and can be accessed here:
15
+
16
+
17
+
.. toctree::
18
+
:maxdepth:1
19
+
:caption:Notebooks:
20
+
21
+
examples/poisson_2d_square
22
+
examples/Poisson_non_periodic
23
+
examples/Helmholtz_non_periodic
24
+
examples/fem_L2_projection
25
+
examples/regularized_curlcurl_3D_VTK
26
+
examples/petsc_eigenvalues_regularized_curlcurl
27
+
examples/feec_curlcurl_eigenvalue
28
+
examples/feec_time_harmonic_Maxwell
29
+
examples/feec_vector_potential_torus
30
+
31
+
FEEC Examples
32
+
-------------
33
+
34
+
In the `FEEC examples directory <https://github.com/pyccel/psydac/tree/devel/examples/feec>`_,
35
+
you will find several examples of how to use PSYDAC to solve problems arising within the Finite Element Exterior Calculus (FEEC) framework.
36
+
These examples include:
37
+
38
+
39
+
* Poisson problems
40
+
* General curl-curl eigenvalue problems
41
+
* Time-harmonic Maxwell equations with source terms
42
+
* Time-dependent Maxwell equations
43
+
44
+
45
+
Performance
46
+
-----------
47
+
There are also some examples in the `performance directory <https://github.com/pyccel/psydac/tree/devel/examples/performance>`_ explaining the assembly algorithms used in PSYDAC.
0 commit comments