Changeset 1794 for LMDZ5/trunk/libf/phy1d/1DUTILS.h_no_writelim
- Timestamp:
- Jul 18, 2013, 9:52:31 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phy1d/1DUTILS.h_no_writelim
r1780 r1794 763 763 RETURN 764 764 END 765 subroutine scopy(n,sx,incx,sy,incy)766 !767 IMPLICIT NONE768 !769 integer n,incx,incy,ix,iy,i770 real sx((n-1)*incx+1),sy((n-1)*incy+1)771 !772 iy=1773 ix=1774 do 10 i=1,n775 sy(iy)=sx(ix)776 ix=ix+incx777 iy=iy+incy778 10 continue779 !780 return781 end782 765 subroutine wrgradsfi(if,nl,field,name,titlevar) 783 766 implicit none … … 3166 3149 return 3167 3150 end 3168 !===============================================================3169 function ismin(n,sx,incx)3170 3171 implicit none3172 integer n,i,incx,ismin,ix3173 real sx((n-1)*incx+1),sxmin3174 3175 ix=13176 ismin=13177 sxmin=sx(1)3178 do i=1,n-13179 ix=ix+incx3180 if(sx(ix).lt.sxmin) then3181 sxmin=sx(ix)3182 ismin=i+13183 endif3184 enddo3185 3186 return3187 end3188 3189 !===============================================================3190 function ismax(n,sx,incx)3191 3192 implicit none3193 integer n,i,incx,ismax,ix3194 real sx((n-1)*incx+1),sxmax3195 3196 ix=13197 ismax=13198 sxmax=sx(1)3199 do i=1,n-13200 ix=ix+incx3201 if(sx(ix).gt.sxmax) then3202 sxmax=sx(ix)3203 ismax=i+13204 endif3205 enddo3206 3207 return3208 end3209 3151 !===================================================================== 3210 3152 subroutine read_amma(fich_amma,nlevel,ntime
Note: See TracChangeset
for help on using the changeset viewer.