|
Last change
on this file since 359 was
57,
checked in by aslmd, 15 years ago
|
|
mineur LMD_MM_MARS: ajout du GCM ancienne physique, systeme maintenant complet sur SVN (ne manque que la base de donnees d'etats initiaux)
|
|
File size:
326 bytes
|
| Line | |
|---|
| 1 | SUBROUTINE minmax(imax, xi, zmin, zmax ) |
|---|
| 2 | c |
|---|
| 3 | c P. Le Van |
|---|
| 4 | |
|---|
| 5 | INTEGER imax |
|---|
| 6 | REAL xi(imax) |
|---|
| 7 | REAL zmin,zmax |
|---|
| 8 | INTEGER i |
|---|
| 9 | |
|---|
| 10 | zmin = xi(1) |
|---|
| 11 | zmax = xi(1) |
|---|
| 12 | |
|---|
| 13 | DO i = 2, imax |
|---|
| 14 | zmin = MIN( zmin,xi(i) ) |
|---|
| 15 | zmax = MAX( zmax,xi(i) ) |
|---|
| 16 | ENDDO |
|---|
| 17 | |
|---|
| 18 | RETURN |
|---|
| 19 | END |
|---|
| 20 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.