Changeset 806
- Timestamp:
- 02/08/19 18:51:47 (5 years ago)
- Location:
- codes/icosagcm/devel/Python/test
- Files:
-
- 3 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) -
codes/icosagcm/devel/Python/test/xml/field_def_simple.xml
r795 r806 22 22 <field id="Ai" /> 23 23 <field id="phis" /> 24 <field id="phi" />25 24 25 <field_group axis_ref="levp1"> 26 <field id="Phi" /> 27 </field_group> 28 26 29 <field_group axis_ref="lev"> 27 30 <field id="temp" /> -
codes/icosagcm/devel/Python/test/xml/filedef_simple.xml
r795 r806 19 19 <field field_ref="uz" /> 20 20 <field field_ref="z" /> 21 <field field_ref="Phi" /> 21 22 <field field_ref="theta" /> 22 23 <field field_ref="curl" />
Note: See TracChangeset
for help on using the changeset viewer.