Skip to content

Commit

Permalink
New function for calculating observed bulk density. Tidied other things
Browse files Browse the repository at this point in the history
  • Loading branch information
nichollsh committed Jul 9, 2024
1 parent 29be510 commit 7e1c961
Show file tree
Hide file tree
Showing 6 changed files with 1,611 additions and 18 deletions.
14 changes: 7 additions & 7 deletions misc/selsis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -214,13 +214,13 @@
],
"source": [
"solver_success = nl.solve_energy!(atmos, \n",
" sol_type=3, # Conserve energy, but with fixed surface temperature\n",
" sens_heat=true, # Do not include sensible heat transport\n",
" latent=true, # Include condensation\n",
" method=1, # Use the Newton-Raphson method\n",
" dx_max=400.0, # Allow large step sizes because of the poor initial guess\n",
" linesearch=true , # Enable Linesearch\n",
" save_frames=false, modplot=1, # disable plotting \n",
" sol_type=3, \n",
" sens_heat=true, \n",
" latent=true, \n",
" method=1, \n",
" dx_max=400.0, \n",
" linesearch=true , \n",
" save_frames=false, modplot=1, \n",
" conv_atol=0.1\n",
" )\n",
"println(\"Solver success? $solver_success\")"
Expand Down
Loading

0 comments on commit 7e1c961

Please sign in to comment.