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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/trunk/src/dynamics/caldyn_kernels.f90

    r548 r899  
    1515    REAL(rstd) :: ulon(iim*3*jjm) 
    1616    REAL(rstd) :: ulat(iim*3*jjm) 
    17     REAL(rstd) :: lon,lat 
    1817    INTEGER :: ij 
    1918    DO ij=ij_begin_ext,ij_end_ext 
     
    4443    REAL(rstd),INTENT(OUT) :: qv(iim*2*jjm,llm) 
    4544 
    46     INTEGER :: i,j,ij,l 
     45    INTEGER :: ij,l 
    4746    REAL(rstd) :: etav,hv, m 
    4847    CALL trace_start("compute_pvort")   
     
    130129    REAL(rstd),INTENT(OUT) :: du(iim*3*jjm,llm) 
    131130 
    132     REAL(rstd) :: cor_NT(iim*jjm,llm)  ! NT coriolis force u.(du/dPhi) 
    133     REAL(rstd) :: urel(3*iim*jjm,llm)  ! relative velocity 
     131    !REAL(rstd) :: cor_NT(iim*jjm,llm)  ! NT coriolis force u.(du/dPhi) 
     132    !REAL(rstd) :: urel(3*iim*jjm,llm)  ! relative velocity 
    134133    REAL(rstd) :: Ftheta(3*iim*jjm,llm) ! theta flux 
    135134    REAL(rstd) :: berni(iim*jjm,llm)  ! Bernoulli function 
    136135    REAL(rstd) :: uu_right, uu_lup, uu_ldown 
    137136 
    138     INTEGER :: i,j,ij,l 
    139     REAL(rstd) :: ww,uu 
     137    INTEGER :: ij,l 
     138    REAL(rstd) :: uu 
    140139 
    141140    CALL trace_start("compute_caldyn_horiz") 
Note: See TracChangeset for help on using the changeset viewer.