UPP
001
Main Page
Related Pages
Data Types List
Files
File List
Globals
All
Data Structures
Files
Functions
Pages
BOUND.f
Go to the documentation of this file.
1
5
28
SUBROUTINE
bound(FLD,FMIN,FMAX)
29
30
!
31
use
ctlblk_mod
, only
: jsta, jend, spval, im, jm
32
!- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
33
implicit none
34
!
35
! DECLARE VARIABLES.
36
REAL
,
intent(in)
:: fmax, fmin
37
REAL
,
intent(inout)
:: fld(im,jm)
38
integer
i,j
39
!
40
!
41
!**********************************************************************
42
! START BOUND HERE.
43
!
44
! BOUND ARRAY.
45
!$omp parallel do private(i,j)
46
DO
j=jsta,jend
47
DO
i=1,im
48
if
(fld(i,j) /= spval)
then
49
fld(i,j) = min(fmax, max(fmin,fld(i,j)))
50
end if
51
ENDDO
52
ENDDO
53
!
54
! END OF ROUTINE.
55
!
56
RETURN
57
END
sorc
ncep_post.fd
BOUND.f
Generated by
1.8.6