Ignore:
Timestamp:
09/25/17 14:20:00 (7 years ago)
Author:
dubos
Message:

trunk : backported commits 555-557 from devel

File:
1 moved

Legend:

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

    r560 r561  
    2121    INTEGER            :: ind 
    2222    REAL(rstd),POINTER :: planetvel(:) 
     23 
     24#ifdef CPP_DYSL 
     25       IF(is_master) PRINT *,'CPP_DYSL : Using macro-generated compute kernels' 
     26#endif 
    2327 
    2428    hydrostatic=.TRUE. 
     
    118122    CALL allocate_field(f_qv,field_z,type_real,llm)  
    119123    CALL allocate_field(f_pk,    field_t,type_real,llm,  name='pk') 
    120     CALL allocate_field(f_wwuu,  field_u,type_real,llm+1,name='wwuu') 
     124    CALL allocate_field(f_wwuu,  field_u,type_real,llm+1,name='wwuu')     
    121125    CALL allocate_field(f_planetvel,  field_u,type_real, name='planetvel') ! planetary velocity at r=a 
    122  
     126    IF(.NOT.hydrostatic) THEN 
     127       CALL allocate_field(f_Fel,      field_u,type_real,llm+1,name='F_el') 
     128       CALL allocate_field(f_gradPhi2, field_t,type_real,llm+1,name='gradPhi2') 
     129       CALL allocate_field(f_wil,      field_t,type_real,llm+1,name='w_il') 
     130       CALL allocate_field(f_Wetadot,  field_t,type_real,llm,name='W_etadot') 
     131    END IF 
    123132  END SUBROUTINE allocate_caldyn 
    124133 
Note: See TracChangeset for help on using the changeset viewer.