Ignore:
Timestamp:
10/20/14 23:42:26 (10 years ago)
Author:
dubos
Message:

Partial etat0 cleanup (removed calls to xyz2lonlat)

File:
1 edited

Legend:

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

    r266 r286  
    256256          ij=(j-1)*iim+i 
    257257          IF (domain(ind)%own(i,j)) THEN 
    258 !            CALL xyz2lonlat(xyz_i(ij,:),lon,lat)  
    259 ! very bad inlining with intel compiler (>14 ?) 
    260              xyz(:)=xyz_i(ij,:) 
    261              xyz(:)=xyz(:)/sqrt(sum(xyz(:)**2)) 
    262              lat=asin(xyz(3)) 
    263              lon=atan2(xyz(2),xyz(1)) 
    264    
     258            lat=lat_i(ij)   
    265259            ang=ang+rad*cos(lat)*masse(ij,l)*(ulon(ij,l)+ radomeg*cos(lat)) 
    266260          END IF  
Note: See TracChangeset for help on using the changeset viewer.