Skip to content

Commit

Permalink
one more...
Browse files Browse the repository at this point in the history
  • Loading branch information
slayoo committed Nov 16, 2024
1 parent ff0d268 commit 42f043e
Showing 1 changed file with 28 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -31,7 +31,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -42,7 +42,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -61,13 +61,13 @@
" for i, _ in enumerate(out_steps):\n",
" dp_dr = psi_coord.dx_dr(result['grid']['r'])\n",
" analytic_rel_d = rel_disp(result['grid']['rh'], result['analytical'][i]/dp_dr, psi_coord)\n",
" print(analytic_rel_d)\n",
" print(f\"{analytic_rel_d:.3g}\")\n",
" return return_value"
]
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -78,9 +78,30 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 5,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"[Parallel(n_jobs=-2)]: Using backend ThreadingBackend with 11 concurrent workers.\n",
"[Parallel(n_jobs=-2)]: Done 1 tasks | elapsed: 16.0s\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"0.357 dimensionless\n",
"0.202 dimensionless\n",
"0.126 dimensionless\n",
"0.0967 dimensionless\n",
"0.08 dimensionless\n",
"0.069 dimensionless\n"
]
}
],
"source": [
"compute_table_data(**plot_setup_default, variants=('a',));"
]
Expand Down

0 comments on commit 42f043e

Please sign in to comment.