/[MITgcm]/MITgcm_contrib/heimbach/OpenAD/code_shallow_openad/maxMinDefs.f
ViewVC logotype

Annotation of /MITgcm_contrib/heimbach/OpenAD/code_shallow_openad/maxMinDefs.f

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Fri Jan 6 04:28:01 2006 UTC (20 years, 10 months ago) by utke
Branch: MAIN
Changes since 1.1: +4 -2 lines
temporarily let the real version use double precision since the
canonicalizer doesn't correctly deduce the precision based in the
arguments.

1 heimbach 1.1 subroutine ad_s_max_i(first,second,result)
2     integer first, second, result
3     if (first .lt. second) then
4     result=second
5     else
6     result=first
7     end if
8     end subroutine
9    
10     subroutine ad_s_max_r(first,second,result)
11 utke 1.2 c real first, second, result
12     double precision first, second, result
13 heimbach 1.1 if (first .lt. second) then
14     result=second
15     else
16     result=first
17     end if
18     end subroutine
19    
20     subroutine ad_s_max_d(first,second,result)
21     double precision first, second, result
22     if (first .lt. second) then
23     result=second
24     else
25     result=first
26     end if
27     end subroutine
28    
29     subroutine ad_s_min_i(first,second,result)
30     integer first, second, result
31     if (first .gt. second) then
32     result=second
33     else
34     result=first
35     end if
36     end subroutine
37    
38     subroutine ad_s_min_r(first,second,result)
39 utke 1.2 c real first, second, result
40     double precision first, second, result
41 heimbach 1.1 if (first .gt. second) then
42     result=second
43     else
44     result=first
45     end if
46     end subroutine
47    
48     subroutine ad_s_min_d(first,second,result)
49     double precision first, second, result
50     if (first .gt. second) then
51     result=second
52     else
53     result=first
54     end if
55     end subroutine

  ViewVC Help
Powered by ViewVC 1.1.22