Changeset 806 for codes/icosagcm/devel/Python/test/py
- Timestamp:
- 02/08/19 18:51:47 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/devel/Python/test/py/Baroclinic_3D_ullrich.py
r802 r806 38 38 from dynamico import xios 39 39 from dynamico import precision as prec 40 from dynamico.meshes import Cartesian_mesh as Mesh41 40 from dynamico.kernels import grad, curl, div, KE 42 41 from dynamico.LAM import Davies … … 158 157 for l in range(llm): 159 158 v[:,l]=(Phi[:,l+1]-Phi[:,l])/(g*m[:,l]) 160 w[:,l]=.5* params.g*(W[:,l+1]+W[:,l])/m[:,l]161 z[:,l]=.5*(Phi[:,l+1]+Phi[:,l])/ params.g159 w[:,l]=.5*g*(W[:,l+1]+W[:,l])/m[:,l] 160 z[:,l]=.5*(Phi[:,l+1]+Phi[:,l])/g 162 161 un[:,l]=u[:,l]/mesh.de 163 162 abs_vort_vk[:,l]=curl_vk[:,l] + mesh.fv … … 282 281 283 282 context.send_field_primal('uz', w) 283 context.send_field_primal('Phi', Phi) 284 284 context.send_field_primal('z', z) 285 285 context.send_field_primal('div_fast', div_fast)
Note: See TracChangeset
for help on using the changeset viewer.