Skip to content

Tests

Scripts

demo_periodic.py

Example 2D grid with periodic edge (toroidal) topology. Run with:

    python tests/demo_periodic.py

demo_mixed.py

Example 2D grid with mixed edge (cylindrical) topology. Run with:

    python tests/demo_mixed.py

Notebooks

Demo.ipynb

2d grid demo. Run either in Jupyter or JupyterLab, or using IPython:

ipython tests/Demo.ipynb

but be aware that two output graph PNG files will be written to the current directory.