UPP  11.0.0
 All Data Structures Files Functions Variables Pages
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. More...
 

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

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().