Skip to content

Commit 9746f29

Browse files
committed
data move, README + docs
1 parent 4f7a3c8 commit 9746f29

28 files changed

+136
-60
lines changed

docs/source/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Projects
3838

3939
projects/parallelSDC.rst
4040
projects/node_failure.rst
41+
projects/fwsw.rst
4142

4243
Playgrounds
4344
-----------
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Results:
2+
3+
.. image:: ../../../data/convergence.png
4+
:width: 19%
5+
6+
.. image:: ../../../data/iteration.png
7+
:width: 19%
8+
9+
.. image:: ../../../data/multiscale-K2-M2.png
10+
:width: 19%
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Results (generated with `plotgmrescounter_boussinesq.py <https://github.com/Parallel-in-Time/pySDC/blob/pySDC_v2/projects/FastWaveSlowWave/plotgmrescounter_boussinesq.py>`_):
2+
3+
.. image:: ../../../data/boussinesq.png
4+
:width: 19%
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Results:
2+
3+
.. image:: ../../../data/stifflimit-specrad.png
4+
:width: 19%
5+
6+
.. image:: ../../../data/stifflimit-norm.png
7+
:width: 19%
8+
9+
.. image:: ../../../data/stability-K3-M3.png
10+
:width: 19%
11+
12+
.. image:: ../../../data/stab_vs_k_resolved.png
13+
:width: 19%
14+
15+
.. image:: ../../../data/stab_vs_k_unresolved.png
16+
:width: 19%
17+
18+
.. image:: ../../../data/phase-K3-M3.png
19+
:width: 19%
20+
21+
.. image:: ../../../data/ampfactor-K3-M3.png
22+
:width: 19%

docs/source/projects/fwsw.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.. include:: /../../projects/node_failure/README.rst
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.. include:: /../../projects/node_failure/README.rst
1+
.. include:: /../../projects/FastWaveSlowWave/README.rst
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
Fast-Wave-Slow-Wave SDC
2+
=======================
3+
4+
In this project, we explore semi-implicit spectral deferred corrections (SISDC) in which the stiff, fast dynamics correspond to fast propagating waves.
5+
We study the performance of the method compared to standard integrators like RK-IMEX or DIRK schemes and analyze the convergence properties for scalar test problems.
6+
This project contains the code for the publication `Spectral deferred corrections with fast-wave-slow-wave splitting <http://dx.doi.org/10.1137/16M1060078>`_ of pySDC v2,
7+
while the original code can be found under `The fast-wave-slow-wave release, v2 <https://doi.org/10.5281/zenodo.53849>`_.
8+
Note that due to the long runtime, not all results are generated via Travis.
9+
For the Boussinesq example and the convergence test of the acoustic-advection equation, only the visualization (and therefore the existence of the data files) is tested.
10+
We omit the codes in this documentation, since they are rather long and slightly complex.
11+
12+
Theoretical results
13+
-------------------
14+
15+
Here, we review FWSW-SDC from two different viewpoints: as a split method with a fixed order set by a fixed number of iterations K for a sufficiently large number of nodes M,
16+
or as an iterative solver for the collocation problem where iterations are performed until the norm of the residual reaches a prescribed tolerance.
17+
We investigate fwsw-SDC from both viewpoints for the scalar test problem and analyze:
18+
19+
- the `spectral radius <https://github.com/Parallel-in-Time/pySDC/blob/pySDC_v2/projects/FastWaveSlowWave/plot_stifflimit_specrad.py>`_ of the iteration matrix (Fig. 1 in the above mentioned publication)
20+
- the `stability domains <https://github.com/Parallel-in-Time/pySDC/blob/pySDC_v2/projects/FastWaveSlowWave/plot_stability.py>`_ of different configurations (Fig. 2)
21+
- `stability <https://github.com/Parallel-in-Time/pySDC/blob/pySDC_v2/projects/FastWaveSlowWave/plot_stab_vs_k.py>`_ with respect to the iteration number k (Fig. 3)
22+
- the `dispersion relation <https://github.com/Parallel-in-Time/pySDC/blob/pySDC_v2/projects/FastWaveSlowWave/plot_dispersion.py>`_ (Fig. 4)
23+
24+
.. include:: doc_fwsw_theory.rst
25+
26+
Acoustic-advection example
27+
--------------------------
28+
29+
In a first more complex example, we consider the 1D acoustic-advection example. We show:
30+
31+
- `convergence <https://github.com/Parallel-in-Time/pySDC/blob/pySDC_v2/projects/FastWaveSlowWave/runconvergence_acoustic.py>`_ of FWSW-SDC with orders 3, 4, and 5 versus number of time steps (Fig. 5, left)
32+
- `convergence rate <https://github.com/Parallel-in-Time/pySDC/blob/pySDC_v2/projects/FastWaveSlowWave/runitererror_acoustic.py>`_ of the FWSW-SDC iteration (Fig. 5, right)
33+
- the numerical solution of the acoustic-advection equation with `multiscale initial data <https://github.com/Parallel-in-Time/pySDC/blob/pySDC_v2/projects/FastWaveSlowWave/runmultiscale_acoustic.py>`_ (Fig. 6)
34+
35+
.. include:: doc_fwsw_acoustic.rst
36+
37+
Boussinesq example
38+
------------------
39+
40+
In a second, even more complex example, we test FWSW-SDC for the 2D Boussinesq equation.
41+
In particular, we are interested in the number of `GMRES iterations <https://github.com/Parallel-in-Time/pySDC/blob/pySDC_v2/projects/FastWaveSlowWave/rungmrescounter_boussinesq.py>`_ each time integrator needs to achieve a certain error.
42+
43+
.. include:: doc_fwsw_boussinesq.rst
44+
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)