Ignore:
Timestamp:
05/03/19 13:25:21 (5 years ago)
Author:
dubos
Message:

devel : Cp(T) thermodynamics (TBC)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/devel/src/unstructured/data_unstructured.F90

    r832 r836  
    11MODULE data_unstructured_mod 
    22  USE ISO_C_BINDING 
     3  USE earth_const, ONLY : thermo_theta 
    34  USE mpipara, ONLY : is_mpi_master 
    45  USE grid_param, ONLY : llm, nqdyn 
     
    1314 
    1415  INTEGER, PARAMETER :: eta_mass=1, eta_lag=2, & 
    15        thermo_theta=1, thermo_entropy=2, thermo_moist=3, thermo_boussinesq=4, & 
     16!       thermo_theta=1, thermo_entropy=2, thermo_moist=3, thermo_boussinesq=4, & 
    1617       caldyn_vert_cons=1, max_nb_stage=5 
    17   INDEX,  BIND(C) :: caldyn_thermo=thermo_theta, caldyn_eta=eta_lag, & 
     18  INDEX,  BIND(C) :: caldyn_eta=eta_lag, & 
    1819       caldyn_vert_variant=caldyn_vert_cons, nb_threads=0, nb_stage=0 
     20!  INDEX,  BIND(C) :: caldyn_thermo=thermo_theta, caldyn_eta=eta_lag, & 
     21!       caldyn_vert_variant=caldyn_vert_cons, nb_threads=0, nb_stage=0 
    1922  LOGICAL(C_BOOL), BIND(C) :: hydrostatic=.TRUE., debug_on=.FALSE. 
    2023  LOGICAL(C_BOOL), BIND(C, NAME='debug_hevi_solver') :: debug_hevi_solver_=.TRUE. 
     
    4043  TIME, PARAMETER :: print_trace_interval = 1. 
    4144  TIME, BIND(C) :: elapsed 
    42   NUM, BIND(C) :: g, ptop, cpp, cppv, Rd, Rv, preff, Treff, pbot, Phi_bot, rho_bot 
    43   NUM :: kappa 
     45  NUM, BIND(C) :: ptop, pbot, Phi_bot, rho_bot 
     46!  NUM, BIND(C) :: g, ptop, cpp, cppv, Rd, Rv, preff, Treff, pbot, Phi_bot, rho_bot 
     47!  NUM :: kappa 
    4448  NUM1(max_nb_stage), BIND(C)              :: tauj       ! diagonal of fast Butcher tableau 
    4549  NUM2(max_nb_stage,max_nb_stage), BIND(C) :: cslj, cflj ! slow and fast modified Butcher tableaus 
     
    252256  ! 
    253257  SUBROUTINE init_params() BINDC(init_params) 
     258    USE earth_const 
    254259    kappa = Rd/cpp 
    255260    IF(is_mpi_master) THEN 
Note: See TracChangeset for help on using the changeset viewer.