Ignore:
Timestamp:
06/13/19 16:45:41 (5 years ago)
Author:
adurocher
Message:

trunk : Fixed GCC warnings

Fixed iso c bindings
fixed warnings with -Wall -Wno-aliasing -Wno-unused -Wno-unused-dummy-argument -Wno-maybe-uninitialized -Wno-tabs warnings
Removed all unused variables (-Wunused-variable)
vector%dot_product is now dot_product_3d to avoid compilation warning "dot_product shadows intrinsic" with GCC

Location:
codes/icosagcm/trunk/src/physics
Files:
2 edited

Legend:

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

    r871 r899  
    1111 
    1212  INTEGER :: phys_type 
    13   TYPE(t_field),POINTER,SAVE :: f_extra_physics_2D(:), f_extra_physics_3D(:) 
    1413  TYPE(t_field),POINTER,SAVE :: f_dulon(:), f_dulat(:) 
    1514  TYPE(t_field),POINTER,SAVE :: f_ulon(:), f_ulat(:) 
     
    162161    TYPE(t_field),POINTER :: f_wflux(:) 
    163162    TYPE(t_field),POINTER :: f_q(:) 
    164      
     163 
    165164    LOGICAL,SAVE :: first=.TRUE. 
    166 !$OMP THREADPRIVATE(first) 
    167      
    168     LOGICAL:: firstcall,lastcall 
    169     INTEGER :: ind 
    170     TYPE(t_physics_inout) :: args 
    171  
     165    !$OMP THREADPRIVATE(first) 
    172166    IF (first) THEN 
    173167      CALL init_message(f_theta_rhodz, req_i0, req_theta0) 
     
    176170      first=.FALSE. 
    177171    ENDIF 
    178  
    179  
     172     
    180173    IF (phys_external) THEN 
    181174     
  • codes/icosagcm/trunk/src/physics/physics_interface.f90

    r548 r899  
    195195    USE icosa 
    196196    IMPLICIT NONE 
    197     INTEGER :: ind, offset 
     197    INTEGER :: ind 
    198198    DO ind=1,ndomain 
    199199       IF (.NOT. assigned_domain(ind)) CYCLE 
Note: See TracChangeset for help on using the changeset viewer.