Skip to content

Commit 11480c9

Browse files
committed
Merge branch 'error_est'
2 parents cb2d009 + 1527c54 commit 11480c9

Some content is hidden

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

56 files changed

+3358
-1100
lines changed

.travis.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,12 @@ before_install:
2323

2424
install:
2525
- conda install --yes -c conda-forge --file requirements.txt
26-
# - conda install --yes -c conda-forge mpich-mpicc petsc4py mpi4py fenics=2018.1.0 mpi4py-fft
27-
# - conda install --yes scipy matplotlib dill numba
28-
# - conda install --yes pip nose pep8 coverage sphinx=1.8.5
2926
- conda list
30-
- pip install travis-sphinx
27+
- pip install travis-sphinx nose-timer
3128

3229
script:
3330
- "./docs/update_apidocs.sh"
34-
- nosetests -v --with-coverage --cover-erase --cover-inclusive --cover-package=pySDC/core,pySDC/implementations,pySDC/helpers,pySDC/tutorial,pySDC/projects --cover-html --cover-html-dir=doc/build/test_coverage pySDC/tests
31+
- nosetests -v --with-timer --with-coverage --cover-erase --cover-inclusive --cover-package=pySDC/core,pySDC/implementations,pySDC/helpers,pySDC/tutorial,pySDC/projects --cover-html --cover-html-dir=doc/build/test_coverage pySDC/tests
3532
- travis-sphinx build
3633

3734
after_success:

CHANGELOG.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Changelog
22
---------
33

4+
- August 30, 2019: Version 3.1 adds many more examples like the nonlinear Schrödinger equation, more on Gray-Scott and in particular Allen-Cahn.
5+
Those are many implemented using the parallel FFT library `mpi4pi-fft <https://bitbucket.org/mpi4py/mpi4py-fft/src/master/>`_, which can now be used with pySDC.
6+
There are now 8 tutorials, where step 7 shows the usage of three external libraries with pySDC: mpi4py, FEniCS and petsc4py.
7+
The MPI controller has been improved after performaning a detailed performance analysis using `Score-P <https://www.vi-hps.org/projects/score-p/>`_ and `Extrae <https://www.vi-hps.org/Tools/Extrae.html>`_.
8+
Finally: first steps towards error/iteration estimators are taken, too.
9+
410
- February 14, 2019: Released version 3 of `pySDC`. This release is accompanied by the **ACM TOMS paper**
511
`"pySDC -- Prototyping spectral deferred corrections" <https://doi.org/10.1145/3310410>`_.
612
It release contains some breaking changes to the API. In detail:

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Features
1313
- 7 tutorials: from setting up a first collocation problem to SDC, PFASST and advanced topics
1414
- Projects: many documented projects with defined and tested outcomes
1515
- Many different examples, collocation types, data types already implemented
16-
- Works with `PETSc <http://www.mcs.anl.gov/petsc/>`_ through `petsc4py <https://bitbucket.org/petsc/petsc4py>`_ and `FEniCS <https://fenicsproject.org/>`_
16+
- Works with `PETSc <http://www.mcs.anl.gov/petsc/>`_ through `petsc4py <https://bitbucket.org/petsc/petsc4py>`_ , `FEniCS <https://fenicsproject.org/>`_ and `mpi4py-fft <https://mpi4py-fft.readthedocs.io/en/latest/>`_
1717
- Continuous integration via `Travis-CI <https://travis-ci.org/Parallel-in-Time/pySDC>`_
1818
- Fully compatible with 3.6 (or higher)
1919

docs/source/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Tutorial
1717
tutorial/step_5.rst
1818
tutorial/step_6.rst
1919
tutorial/step_7.rst
20+
tutorial/step_8.rst
2021

2122
Playgrounds
2223
-----------
Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
Full code: `pySDC/tutorial/step_7/A_visualize_residuals.py <https://github.com/Parallel-in-Time/pySDC/blob/master/pySDC/tutorial/step_7/A_visualize_residuals.py>`_
1+
Full code: `pySDC/tutorial/step_7/A_pySDC_with_FEniCS.py <https://github.com/Parallel-in-Time/pySDC/blob/master/pySDC/tutorial/step_7/A_pySDC_with_FEniCS.py>`_
22

3-
.. literalinclude:: ../../../pySDC/tutorial/step_7/A_visualize_residuals.py
3+
.. literalinclude:: ../../../pySDC/tutorial/step_7/A_pySDC_with_FEniCS.py
44

55
Results:
66

7-
.. literalinclude:: ../../../step_7_A_out.txt
8-
9-
.. image:: ../../../step_7_residuals.png
10-
:scale: 50 %
7+
.. literalinclude:: ../../../step_7_A_out.txt
Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
1-
Full code: `pySDC/tutorial/step_7/B_multistep_SDC.py <https://github.com/Parallel-in-Time/pySDC/blob/master/pySDC/tutorial/step_7/B_multistep_SDC.py>`_
1+
Full code: `pySDC/tutorial/step_7/B_pySDC_with_mpi4pyfft.py <https://github.com/Parallel-in-Time/pySDC/blob/master/pySDC/tutorial/step_7/B_pySDC_with_mpi4pyfft.py>`_
22

3-
.. literalinclude:: ../../../pySDC/tutorial/step_7/B_multistep_SDC.py
3+
.. literalinclude:: ../../../pySDC/tutorial/step_7/B_pySDC_with_mpi4pyfft.py
44

55
Results:
66

7-
.. literalinclude:: ../../../step_7_B_out.txt
8-
9-
.. image:: ../../../step_7_residuals_mssdc_jac.png
10-
:scale: 50 %
11-
12-
.. image:: ../../../step_7_residuals_mssdc_gs.png
13-
:scale: 50 %
7+
.. literalinclude:: ../../../step_7_B_out.txt
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Full code: `pySDC/tutorial/step_8/A_visualize_residuals.py <https://github.com/Parallel-in-Time/pySDC/blob/master/pySDC/tutorial/step_8/A_visualize_residuals.py>`_
2+
3+
.. literalinclude:: ../../../pySDC/tutorial/step_8/A_visualize_residuals.py
4+
5+
Results:
6+
7+
.. literalinclude:: ../../../step_8_A_out.txt
8+
9+
.. image:: ../../../step_8_residuals.png
10+
:scale: 50 %
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Full code: `pySDC/tutorial/step_8/B_multistep_SDC.py <https://github.com/Parallel-in-Time/pySDC/blob/master/pySDC/tutorial/step_8/B_multistep_SDC.py>`_
2+
3+
.. literalinclude:: ../../../pySDC/tutorial/step_8/B_multistep_SDC.py
4+
5+
Results:
6+
7+
.. literalinclude:: ../../../step_8_B_out.txt
8+
9+
.. image:: ../../../step_8_residuals_mssdc_jac.png
10+
:scale: 50 %
11+
12+
.. image:: ../../../step_8_residuals_mssdc_gs.png
13+
:scale: 50 %
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Full code: `pySDC/tutorial/step_8/C_iteration_estimator.py <https://github.com/Parallel-in-Time/pySDC/blob/master/pySDC/tutorial/step_8/C_iteration_estimator.py>`_
2+
3+
.. literalinclude:: ../../../pySDC/tutorial/step_8/C_iteration_estimator.py
4+
5+
Results:
6+
7+
.. literalinclude:: ../../../step_8_C_out.txt

docs/source/tutorial/step_8.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.. include:: /../../pySDC/tutorial/step_8/README.rst

0 commit comments

Comments
 (0)