FLASH-X
Doxygen Generated Documentation From Interface Source Code
Functions/Subroutines
ut_printMatrix.F90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine ut_printMatrix (fileUnit, title, rowMinMatrix, rowMaxMatrix, colMinMatrix, colMaxMatrix, rowMinPrint, rowMaxPrint, colMinPrint, colMaxPrint, matrix)
 

Function/Subroutine Documentation

◆ ut_printMatrix()

subroutine ut_printMatrix ( integer  fileUnit,
character (len=*), intent(in)  title,
integer  rowMinMatrix,
integer  rowMaxMatrix,
integer  colMinMatrix,
integer  colMaxMatrix,
integer  rowMinPrint,
integer  rowMaxPrint,
integer  colMinPrint,
integer  colMaxPrint,
real, dimension (rowMinMatrix : rowMaxMatrix , colMinMatrix : colMaxMatrix), intent(in)  matrix 
)

General matrix printing routine. The matrix is printed, together with the descriptive title, to the file associated with the unit number 'fileUnit'. The dimensions of the matrix need not to be equal to the actual matrix section printed, however the size of the matrix will be checked against the requested index printing range.

fileUnit : the unit number for the printout file title : the printout title rowMinMatrix : the minimum row index of the matrix rowMaxMatrix : the maximum row index of the matrix colMinMatrix : the minimum column index of the matrix colMaxMatrix : the maximum column index of the matrix rowMinMatrix : the minimum row index of the matrix section to be printed rowMaxPrint : the maximum row index of the matrix section to be printed colMinPrint : the minimum column index of the matrix section to be printed colMaxPrint : the maximum column index of the matrix section to be printed matrixPrint : the matrix to be printed

NOTES

The columns of the matrix are printed such that only 10 columns are printed simultaneously on each line.

Definition at line 42 of file ut_printMatrix.F90.