source: codes/icosagcm/devel/src/dynamics/caldyn_vars.f90 @ 733

Last change on this file since 733 was 733, checked in by dubos, 6 years ago

devel : towards consistent discretization of kinetic energy

File size: 1.3 KB
Line 
1MODULE caldyn_vars_mod
2  USE icosa
3  USE transfert_mod
4  IMPLICIT NONE
5  PUBLIC
6  SAVE
7
8  INTEGER, PARAMETER :: conserv_energy=1, conserv_enstrophy=2, &
9       kinetic_trisk=1, kinetic_consistent=2, &
10       caldyn_vert_noncons=1, caldyn_vert_cons=2, &
11       thermo_none=-99, thermo_theta=1, thermo_entropy=2, &
12       thermo_moist=3, thermo_boussinesq=4, thermo_dry=10, thermo_fake_moist=11, thermo_moist_debug=100
13
14  INTEGER :: caldyn_conserv, caldyn_kinetic, caldyn_thermo, caldyn_vert_variant, physics_thermo
15  !$OMP THREADPRIVATE(caldyn_conserv, caldyn_kinetic, caldyn_thermo, caldyn_vert_variant, physics_thermo)
16
17  LOGICAL :: boussinesq, hydrostatic
18  !$OMP THREADPRIVATE(boussinesq, hydrostatic)
19
20  LOGICAL :: dysl, dysl_geopot, dysl_pvort_only, dysl_caldyn_fast, dysl_caldyn_coriolis, dysl_slow_hydro, dysl_caldyn_vert
21  !$OMP THREADPRIVATE(dysl, dysl_geopot, dysl_pvort_only, dysl_caldyn_fast, dysl_caldyn_coriolis, dysl_slow_hydro, dysl_caldyn_vert)
22
23  ! temporary shared variables for caldyn
24  TYPE(t_field),POINTER :: f_qu(:), f_qv(:), f_Kv(:), &
25                           f_pk(:),f_wwuu(:),f_planetvel(:), &
26                           f_Fel(:), f_gradPhi2(:), f_wil(:), f_Wetadot(:)
27
28  TYPE(t_message) :: req_ps, req_mass, req_theta_rhodz, req_u, req_qu, req_geopot, req_w
29
30END MODULE caldyn_vars_mod
Note: See TracBrowser for help on using the repository browser.