report_memory_error Subroutine

public subroutine report_memory_error(name, flag, err)

Reports a memory allocation error.

Arguments

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

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

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

The flag returned from the allocate statement.

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