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

Commit

Permalink
More updates to notebook. WHM seems to have a problem where relativit…
Browse files Browse the repository at this point in the history
…y isn't working. Will need to fix later
  • Loading branch information
daminton committed Dec 4, 2022
1 parent 000678c commit e2282da
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions examples/whm_gr_test/swiftest_relativity.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"metadata": {},
"outputs": [],
"source": [
"run_args = {\"tstop\":1000.0, \"dt\":0.005, \"tstep_out\":10.0,\"integrator\":\"whm\"}"
"run_args = {\"tstop\":1000.0, \"dt\":0.005, \"tstep_out\":10.0, \"dump_cadence\": 0,\"integrator\":\"whm\"}"
]
},
{
Expand Down Expand Up @@ -117,8 +117,8 @@
"metadata": {},
"outputs": [],
"source": [
"dvarpi_gr = np.diff(varpisim_gr) * 3600 * 100 / tstep_out\n",
"dvarpi_nogr = np.diff(varpisim_nogr) * 3600 * 100 / tstep_out\n",
"dvarpi_gr = np.diff(varpisim_gr) * 3600 * 100 / run_args['tstep_out']\n",
"dvarpi_nogr = np.diff(varpisim_nogr) * 3600 * 100 / run_args['tstep_out']\n",
"dvarpi_obs = np.diff(varpi_obs) / np.diff(t) * 3600 * 100"
]
},
Expand Down Expand Up @@ -150,7 +150,9 @@
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
"source": [
"sim_nogr.param"
]
},
{
"cell_type": "code",
Expand Down

0 comments on commit e2282da

Please sign in to comment.