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

sclfld() scale array element by constant. More...

Go to the source code of this file.

Functions/Subroutines

subroutine sclfld (fld, scale, imo, jmo)
 sclfld() scale array element by constant.
 

Detailed Description

sclfld() scale array element by constant.

Author
Russ Treadon W/NP2
Date
1992-09-13 This routine multiples (scales) the first IMO*JMO elements of array fld by the real scalar scale. Array elements which equal a special value will not be scaled by scale. They will be left as is. The special value, spval, is passed through common block options. It is set in include file options.
Parameters
[in,out]FLDArray whose elements are to be scaled.
Note
sclfld() scales FLD array elements by scale before FLD is used as output.
Parameters
[in]SCALEConstant by which to scale elements of fld.
[in]IMO,JMODimension of array fld.

Program History Log

Date Programmer Comments
1992-09-13 Russ Treadon Initial
2000-01-04 Jim Tuccillo MPI Version
2021-09-29 JESSE MENG 2D DECOMPOSITION
Author
Russ Treadon W/NP2
Date
1992-09-13

Definition in file SCLFLD.f.

Function/Subroutine Documentation

◆ sclfld()

subroutine sclfld ( real, dimension(ista:iend,jsta:jend), intent(inout)  fld,
real, intent(in)  scale,
integer, intent(in)  imo,
integer, intent(in)  jmo 
)

sclfld() scale array element by constant.

Parameters
[in,out]FLDArray whose elements are to be scaled.
Note
sclfld() scales FLD array elements by scale before FLD is used as output.
Parameters
[in]SCALEConstant by which to scale elements of fld.
[in]IMO,JMODimension of array fld.

Definition at line 33 of file SCLFLD.f.

Referenced by fixed(), and miscln().