size_check Interface

public interface size_check

Module Procedures

private pure module subroutine size_check_1d(arr, larr, name)

Check that the size of the array arr is of length larr

Arguments

Type IntentOptional Attributes Name
class(*), intent(in) :: arr(:)
integer, intent(in) :: larr
character(len=*), intent(in) :: name

private pure module subroutine size_check_2d(arr, larr, name)

Check that the size of the array arr is of length larr

Arguments

Type IntentOptional Attributes Name
class(*), intent(in) :: arr(:,:)
integer, intent(in) :: larr(:)
character(len=*), intent(in) :: name