Skip to content
NRPy+, BlackHoles@Home, SENRv2, and the NRPy+ Jupyter Tutorial: Python-Based Code Generation for Numerical Relativity... and Beyond!
Jupyter Notebook Python C Objective-C TeX Shell
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
BSSN
BaikalETK
CurviBoundaryConditions
FishboneMoncriefID
GRFFE
GRHD
GRMHD
IllinoisGRMHD
Maxwell
MaxwellEvol/example_parfiles
MoLtimestepping
SEOBNR
SIMD
ScalarWave
ScalarWaveCurvilinear
SpinWeight_minus2_SphHarmonics
TOV
UnitTesting
WaveToyNRPy/example_parfiles
WeylScal4NRPy
in_progress
sbPoynETNRPy/example_parfiles
tests
u0_smallb_Poynting__Cartesian
.coveragerc
.gitignore
.travis.yml
LICENSE
Min_Max_and_Piecewise_Expressions.py
NRPyPlus_Tutorial.ipynb
NRPy_logo.py
NRPy_param_funcs.py
README.md
SIMD.py
SIMDExprTree.py
Tutorial-ADMBSSN_tofrom_4metric.ipynb
Tutorial-ADM_Initial_Data-Brill-Lindquist.ipynb
Tutorial-ADM_Initial_Data-Converting_Exact_ADM_Spherical_or_Cartesian_to_BSSNCurvilinear.ipynb
Tutorial-ADM_Initial_Data-Converting_Numerical_ADM_Spherical_or_Cartesian_to_BSSNCurvilinear.ipynb
Tutorial-ADM_Initial_Data-ShiftedKerrSchild.ipynb
Tutorial-ADM_Initial_Data-StaticTrumpet.ipynb
Tutorial-ADM_Initial_Data-TOV.ipynb
Tutorial-ADM_Initial_Data-UIUC_BlackHole.ipynb
Tutorial-ADM_in_terms_of_BSSN.ipynb
Tutorial-BSSN-Enforcing_Determinant_gammabar_equals_gammahat_Constraint.ipynb
Tutorial-BSSN_constraints.ipynb
Tutorial-BSSN_formulation.ipynb
Tutorial-BSSN_in_terms_of_ADM.ipynb
Tutorial-BSSN_quantities.ipynb
Tutorial-BSSN_stress_energy_source_terms.ipynb
Tutorial-BSSN_time_evolution-BSSN_RHSs.ipynb
Tutorial-BSSN_time_evolution-BSSN_gauge_RHSs.ipynb
Tutorial-BaikalETK.ipynb
Tutorial-Coutput__Parameter_Interface.ipynb
Tutorial-ETK_thorn-FishboneMoncriefID.ipynb
Tutorial-ETK_thorn-IDMaxwellNRPy.ipynb
Tutorial-ETK_thorn-IDScalarWaveNRPy.ipynb
Tutorial-ETK_thorn-Interpolation_to_Arbitrary_Grids_multi_order.ipynb
Tutorial-ETK_thorn-Interpolation_to_Spherical_Grids.ipynb
Tutorial-ETK_thorn-Interpolation_to_Spherical_Grids_multi_order.ipynb
Tutorial-ETK_thorn-MaxwellEvol.ipynb
Tutorial-ETK_thorn-NRPyPlusTOVID.ipynb
Tutorial-ETK_thorn-WaveToyNRPy.ipynb
Tutorial-ETK_thorn-Weyl_Scalars_and_Spacetime_Invariants.ipynb
Tutorial-ETK_thorn-u0_smallb_Poynting.ipynb
Tutorial-Finite_Difference_Derivatives-FDtable_soln.ipynb
Tutorial-Finite_Difference_Derivatives.ipynb
Tutorial-FishboneMoncriefID.ipynb
Tutorial-GRFFE_Equations-Cartesian.ipynb
Tutorial-GRHD_Equations-Cartesian-c-code.ipynb
Tutorial-GRHD_Equations-Cartesian.ipynb
Tutorial-GRHD_UnitConversion.ipynb
Tutorial-GRMHD_Equations-Cartesian.ipynb
Tutorial-How_NRPy_Computes_Finite_Difference_Coeffs.ipynb
Tutorial-Indexed_Expressions-soln.ipynb
Tutorial-Indexed_Expressions.ipynb
Tutorial-MaxwellCartesian.ipynb
Tutorial-MaxwellCurvilinear.ipynb
Tutorial-Method_of_Lines-C_Code_Generation.ipynb
Tutorial-Min_Max_and_Piecewise_Expressions.ipynb
Tutorial-NS_radial_oscillations.ipynb
Tutorial-Numerical_Grids.ipynb
Tutorial-Psi4.ipynb
Tutorial-Psi4_tetrads.ipynb
Tutorial-RK_Butcher_Table_Dictionary.ipynb
Tutorial-RK_Butcher_Table_Validation.ipynb
Tutorial-Reference_Metric.ipynb
Tutorial-SEOBNR_Documentation.ipynb
Tutorial-ScalarWave.ipynb
Tutorial-ScalarWaveCurvilinear.ipynb
Tutorial-SpinWeighted_Spherical_Harmonics.ipynb
Tutorial-Start_to_Finish-BSSNCurvilinear-Neutron_Star-Hydro_without_Hydro.ipynb
Tutorial-Start_to_Finish-BSSNCurvilinear-Setting_up_Exact_Initial_Data.ipynb
Tutorial-Start_to_Finish-BSSNCurvilinear-Setting_up_TOV_initial_data.ipynb
Tutorial-Start_to_Finish-BSSNCurvilinear-Two_BHs_Collide-Psi4.ipynb
Tutorial-Start_to_Finish-BSSNCurvilinear-Two_BHs_Collide.ipynb
Tutorial-Start_to_Finish-Curvilinear_BCs.ipynb
Tutorial-Start_to_Finish-Finite_Difference_Playground.ipynb
Tutorial-Start_to_Finish-FishboneMoncriefID_standalone.ipynb
Tutorial-Start_to_Finish-ScalarWave.ipynb
Tutorial-Start_to_Finish-ScalarWaveCurvilinear.ipynb
Tutorial-TOV-Piecewise_Polytrope_EOSs.ipynb
Tutorial-Template_Style_Guide.ipynb
Tutorial-UnitTesting.ipynb
Tutorial-WeylScalarsInvariants-Cartesian.ipynb
Tutorial-cmdline_helper.ipynb
Tutorial-u0_smallb_Poynting-Cartesian.ipynb
__init__.py
_config.yml
cmdline_helper.py
finite_difference.py
grid.py
indexedexp.py
latex_nrpy_style.tplx
loop.py
nrpy.py
outputC.py
param.txt
reference_metric.py
requirements.txt
run_Jupyter_notebook.sh

README.md

NRPy+, SENRv2, and the NRPy+ Jupyter Tutorial

Build Status 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]

You can’t perform that action at this time.