CheckMemoryPoolValidity Interface

public interface CheckMemoryPoolValidity

Contents


Module Procedures

private pure function CheckMemoryPoolValidity_lr(this, columns, rows) result(isvalid)

Checks if a given memory pool has been validly allocated to handle the given parameters.

Arguments

Type IntentOptional Attributes Name
type(MatrixMemoryPool_lr), intent(in) :: this

The memory pool to check.

integer, intent(in) :: columns

Number of columns in the matrix.

integer, intent(in) :: rows

Number of rows in the matrix.

Return Value logical

true if the memory pool is valid.

private pure function CheckMemoryPoolValidity_lc(this, columns, rows) result(isvalid)

Checks if a given memory pool has been validly allocated to handle Checks if a given memory pool has been validly allocated to handle the given parameters.

Arguments

Type IntentOptional Attributes Name
type(MatrixMemoryPool_lc), intent(in) :: this

The memory pool to check.

integer, intent(in) :: columns

Number of columns in the matrix.

integer, intent(in) :: rows

Number of rows in the matrix.

Return Value logical

true if the memory pool is valid.