UPP (develop)
Loading...
Searching...
No Matches
BOUND.f File Reference

bound() clips data in passed array. More...

Go to the source code of this file.

Functions/Subroutines

subroutine bound (fld, fmin, fmax)
 Clips data in passed array.
 

Detailed Description

bound() clips data in passed array.

Author
Russ Treadon W/NP2
Date
1993-01-18

This routine bounds data in the passed array FLD (im x jm elements long) and clips data values such that on exiting the routine

fmin <= fld(i,j) <= fmax

for all points.

Program History Log

Date Programmer Comments
1993-01-18 Russ Treadon Initial
1993-05-07 Russ Treadon Added DOCBLOC
1998-05-29 T Black Conversion from 1-D to 2-D
2000-01-04 Jim Tuccillo MPI Version
2002-04-24 Mike Baldwin WRF Version
2021-09002 Bo Cui Decompose UPP in X direction
Author
Russ Treadon W/NP2
Date
1993-01-18

Definition in file BOUND.f.

Function/Subroutine Documentation

◆ bound()

subroutine bound ( real, dimension(im,jm), intent(inout)  fld,
real, intent(in)  fmin,
real, intent(in)  fmax 
)

Clips data in passed array.

Parameters
[in]FMINLower (inclusive) bound for data.
[in]FMAXUpper (inclusive) bound for data.
[out]FLDArray whose elements are bounded by [FMIN,FMAX].

Definition at line 31 of file BOUND.f.

Referenced by cldrad(), mdl2p(), mdl2sigma(), mdlfld(), miscln(), and surfce().