67 |
ENDDO |
ENDDO |
68 |
|
|
69 |
theMin=-theMin |
theMin=-theMin |
70 |
_GLOBAL_MAX_R8(theMin,myThid) |
_GLOBAL_MAX_RL(theMin,myThid) |
71 |
theMin=-theMin |
theMin=-theMin |
72 |
_GLOBAL_MAX_R8(theMax,myThid) |
_GLOBAL_MAX_RL(theMax,myThid) |
73 |
_GLOBAL_SUM_R8(theMean,myThid) |
_GLOBAL_SUM_RL(theMean,myThid) |
74 |
_GLOBAL_SUM_R8(theVar,myThid) |
_GLOBAL_SUM_RL(theVar,myThid) |
75 |
tmpVal=FLOAT(numPnts) |
tmpVal=FLOAT(numPnts) |
76 |
_GLOBAL_SUM_R8(tmpVal,myThid) |
_GLOBAL_SUM_RL(tmpVal,myThid) |
77 |
numPnts=INT(tmpVal+0.5) |
numPnts=INT(tmpVal+0.5) |
78 |
|
|
79 |
IF (tmpVal.GT.0.) THEN |
IF (tmpVal.GT.0.) THEN |
96 |
ENDDO |
ENDDO |
97 |
ENDDO |
ENDDO |
98 |
|
|
99 |
_GLOBAL_SUM_R8(theSD,myThid) |
_GLOBAL_SUM_RL(theSD,myThid) |
100 |
|
|
101 |
theSD=sqrt(theSD*rNumPnts) |
theSD=sqrt(theSD*rNumPnts) |
102 |
c theSD=sqrt(theVar-theMean**2) |
c theSD=sqrt(theVar-theMean**2) |