Ignore:
Timestamp:
08/27/18 18:35:24 (6 years ago)
Author:
dubos
Message:

devel : Gassmann (2018) modification of TRiSK Coriolis discretization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/devel/src/dynamics/caldyn_gcm.F90

    r733 r735  
    6161    CASE('energy') 
    6262       caldyn_conserv=conserv_energy 
     63    CASE('energy_gassmann') 
     64       caldyn_conserv=conserv_gassmann 
    6365    CASE('enstrophy') 
    6466       caldyn_conserv=conserv_enstrophy 
    6567    CASE DEFAULT 
    6668       IF (is_mpi_root) PRINT *,'Bad selector for variable caldyn_conserv : <', & 
    67             TRIM(def),'> options are <energy>, <enstrophy>' 
     69            TRIM(def),'> options are <energy>, <energy_gassmann>, <enstrophy>' 
    6870       STOP 
    6971    END SELECT 
     
    156158 
    157159  SUBROUTINE allocate_caldyn 
    158     CALL allocate_field(f_qu,field_u,type_real,llm)  
    159     CALL allocate_field(f_qv,field_z,type_real,llm)  
    160     CALL allocate_field(f_Kv,field_z,type_real,llm)  
     160    CALL allocate_field(f_qu,field_u,type_real,llm, name='qu') 
     161    CALL allocate_field(f_qv,field_z,type_real,llm, name='qv') 
     162    CALL allocate_field(f_Kv,field_z,type_real,llm, name='Kv') 
     163    CALL allocate_field(f_hv,field_z,type_real,llm, name='hv') 
    161164    CALL allocate_field(f_pk,    field_t,type_real,llm,  name='pk') 
    162     CALL allocate_field(f_wwuu,  field_u,type_real,llm+1,name='wwuu')     
     165    CALL allocate_field(f_wwuu,  field_u,type_real,llm+1,name='wwuu') 
    163166    CALL allocate_field(f_planetvel,  field_u,type_real, name='planetvel') ! planetary velocity at r=a 
    164167    IF(.NOT.hydrostatic) THEN 
Note: See TracChangeset for help on using the changeset viewer.