Ignore:
Timestamp:
06/10/16 17:49:07 (8 years ago)
Author:
dubos
Message:

Improved output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/trunk/src/caldyn_gcm.f90

    r406 r413  
    3535    IF (is_master) PRINT *, 'caldyn_conserv=',def 
    3636 
     37    nqdyn=1 ! default value 
     38 
    3739    def='theta' 
    38     CALL getin('caldyn_thermo',def) 
     40    CALL getin('thermo',def) 
    3941    SELECT CASE(TRIM(def)) 
    4042    CASE('theta') 
     
    5153       physics_thermo=thermo_fake_moist 
    5254    CASE('moist') 
    53        caldyn_thermo=thermo_moist 
     55       caldyn_thermo=thermo_moist_debug 
    5456       physics_thermo=thermo_moist 
     57       nqdyn = 2 
    5558    CASE DEFAULT 
    5659       IF (is_mpi_root) PRINT *,'Bad selector for variable caldyn_thermo : <', & 
     
    5861       STOP 
    5962    END SELECT 
    60      
     63 
     64    IF(is_master) THEN 
     65       SELECT CASE(caldyn_thermo) 
     66       CASE(thermo_theta) 
     67          PRINT *, 'caldyn_thermo = thermo_theta' 
     68       CASE(thermo_entropy) 
     69          PRINT *, 'caldyn_thermo = thermo_entropy' 
     70       CASE(thermo_moist_debug) 
     71          PRINT *, 'caldyn_thermo = thermo_moist_debug' 
     72       CASE DEFAULT 
     73          STOP 
     74       END SELECT 
     75 
     76       SELECT CASE(physics_thermo) 
     77       CASE(thermo_dry) 
     78          PRINT *, 'physics_thermo = thermo_dry' 
     79       CASE(thermo_fake_moist) 
     80          PRINT *, 'physics_thermo = thermo_fake_moist' 
     81       CASE(thermo_moist) 
     82          PRINT *, 'physics_thermo = thermo_moist' 
     83       END SELECT 
     84 
     85       PRINT *, 'nqdyn =', nqdyn 
     86    END IF 
     87 
    6188    CALL allocate_caldyn 
    6289 
Note: See TracChangeset for help on using the changeset viewer.