Skip to content

NRPy+, BlackHoles@Home, SENRv2, and the NRPy+ Jupyter Tutorial: Python-Based Code Generation for Numerical Relativity... and Beyond!

License

Notifications You must be signed in to change notification settings

zachetienne/nrpytutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NRPy+, SENRv2, and the NRPy+ Jupyter Tutorial

CI: Ubuntu 20.04 CI: Ubuntu 22.04 CI: MacOS 12 CI: Windows 2022 Binder

This repository houses

To explore the NRPy+ tutorial without downloading, check out the NRPy+ tutorial mybinder.

If you would like to explore the NRPy+ tutorial on your local computer, you'll need to install Python, Jupyter, Sympy, and Matplotlib. Once they are installed, you may find this useful

In certain circumstances, developers may wish to execute one of these Jupyter notebooks from the command line. For example, when the notebook constructs an Einstein Toolkit thorn. In such a case, the following command should be useful:

jupyter nbconvert --to notebook --inplace --execute --ExecutePreprocessor.timeout=-1 [Jupyter notebook file]

Alternatively one can simply use the script:

./run_Jupyter_notebook.sh [Jupyter notebook file]