Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Updated whm_gr_test notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Dec 4, 2022
1 parent 0d00f4b commit 000678c
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions examples/whm_gr_test/swiftest_relativity.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@
"metadata": {},
"outputs": [],
"source": [
"%%capture\n",
"tstep_out = 10.0\n",
"sim_gr.run(tstop=1000.0, dt=0.005, tstep_out=tstep_out, integrator=\"whm\",general_relativity=True)"
"run_args = {\"tstop\":1000.0, \"dt\":0.005, \"tstep_out\":10.0,\"integrator\":\"whm\"}"
]
},
{
Expand All @@ -51,8 +49,16 @@
"metadata": {},
"outputs": [],
"source": [
"%%capture\n",
"sim_nogr.run(tstop=1000.0, dt=0.005, tstep_out=tstep_out, integrator=\"whm\",general_relativity=False)"
"sim_gr.run(**run_args,general_relativity=True)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"sim_nogr.run(**run_args,general_relativity=False)"
]
},
{
Expand Down

0 comments on commit 000678c

Please sign in to comment.