Changeset 1794 for LMDZ5/trunk
- Timestamp:
- Jul 18, 2013, 9:52:31 AM (11 years ago)
- Location:
- LMDZ5/trunk/libf
- Files:
-
- 6 deleted
- 3 edited
- 3 moved
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 -
LMDZ5/trunk/libf/phy1d/1DUTILS.h_with_writelim
r1763 r1794 710 710 RETURN 711 711 END 712 subroutine scopy(n,sx,incx,sy,incy)713 !714 IMPLICIT NONE715 !716 integer n,incx,incy,ix,iy,i717 real sx((n-1)*incx+1),sy((n-1)*incy+1)718 !719 iy=1720 ix=1721 do 10 i=1,n722 sy(iy)=sx(ix)723 ix=ix+incx724 iy=iy+incy725 10 continue726 !727 return728 end729 712 subroutine wrgradsfi(if,nl,field,name,titlevar) 730 713 implicit none … … 2669 2652 return 2670 2653 end 2671 !=============================================================== 2672 function ismin(n,sx,incx) 2673 2674 implicit none 2675 integer n,i,incx,ismin,ix 2676 real sx((n-1)*incx+1),sxmin 2677 2678 ix=1 2679 ismin=1 2680 sxmin=sx(1) 2681 do i=1,n-1 2682 ix=ix+incx 2683 if(sx(ix).lt.sxmin) then 2684 sxmin=sx(ix) 2685 ismin=i+1 2686 endif 2687 enddo 2688 2689 return 2690 end 2691 2692 !=============================================================== 2693 function ismax(n,sx,incx) 2694 2695 implicit none 2696 integer n,i,incx,ismax,ix 2697 real sx((n-1)*incx+1),sxmax 2698 2699 ix=1 2700 ismax=1 2701 sxmax=sx(1) 2702 do i=1,n-1 2703 ix=ix+incx 2704 if(sx(ix).gt.sxmax) then 2705 sxmax=sx(ix) 2706 ismax=i+1 2707 endif 2708 enddo 2709 2710 return 2711 end 2712 2654 -
LMDZ5/trunk/libf/phy1d/1DUTILS.h_with_writelim_old
r1763 r1794 710 710 RETURN 711 711 END 712 subroutine scopy(n,sx,incx,sy,incy)713 !714 IMPLICIT NONE715 !716 integer n,incx,incy,ix,iy,i717 real sx((n-1)*incx+1),sy((n-1)*incy+1)718 !719 iy=1720 ix=1721 do 10 i=1,n722 sy(iy)=sx(ix)723 ix=ix+incx724 iy=iy+incy725 10 continue726 !727 return728 end729 712 subroutine wrgradsfi(if,nl,field,name,titlevar) 730 713 implicit none … … 2611 2594 end 2612 2595 2613 !=============================================================== 2614 function ismin(n,sx,incx) 2615 2616 implicit none 2617 integer n,i,incx,ismin,ix 2618 real sx((n-1)*incx+1),sxmin 2619 2620 ix=1 2621 ismin=1 2622 sxmin=sx(1) 2623 do i=1,n-1 2624 ix=ix+incx 2625 if(sx(ix).lt.sxmin) then 2626 sxmin=sx(ix) 2627 ismin=i+1 2628 endif 2629 enddo 2630 2631 return 2632 end 2633 2634 !=============================================================== 2635 function ismax(n,sx,incx) 2636 2637 implicit none 2638 integer n,i,incx,ismax,ix 2639 real sx((n-1)*incx+1),sxmax 2640 2641 ix=1 2642 ismax=1 2643 sxmax=sx(1) 2644 do i=1,n-1 2645 ix=ix+incx 2646 if(sx(ix).gt.sxmax) then 2647 sxmax=sx(ix) 2648 ismax=i+1 2649 endif 2650 enddo 2651 2652 return 2653 end 2654 2596
Note: See TracChangeset
for help on using the changeset viewer.