report_nonsquare_matrix_error Subroutine

public subroutine report_nonsquare_matrix_error(name, var, m, n, err)

Reports an error relating to a non-square matrix.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: name

The name of the routine in which the error was found.

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

The name of the offending variable.

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

The number of rows found in the matrix.

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

The number of columns found in the matrix.

class(errors), intent(inout) :: err

An errors-based object that if provided can be used to retrieve information relating to any errors encountered during execution.


Contents


Variables

Type Visibility Attributes Name Initial
character(len=256), public :: errmsg