report_matrix_size_error Subroutine

public subroutine report_matrix_size_error(err, fname, name, expect_rows, expect_cols, actual_rows, actual_cols)

Reports a matrix size error.

Arguments

Type IntentOptional Attributes Name
class(errors), intent(inout) :: err

The error handling object.

character(len=*), intent(in) :: fname

The name of the routine in which the error occurred.

character(len=*), intent(in) :: name

The name of the matrix.

integer(kind=int32), intent(in) :: expect_rows

The expected number of rows.

integer(kind=int32), intent(in) :: expect_cols

The expected number of columns.

integer(kind=int32), intent(in) :: actual_rows

The actual number of rows.

integer(kind=int32), intent(in) :: actual_cols

The actual number of columns.


Contents


Variables

Type Visibility Attributes Name Initial
character(len=MESSAGE_SIZE), public :: msg