get_from_col_integer Function

private pure function get_from_col_integer(this) result(col)

Type Bound

column

Arguments

Type IntentOptional Attributes Name
class(column), intent(in) :: this

Return Value integer(kind=ik), dimension(this % n)


Source Code

    pure function get_from_col_integer(this) result(col)
        class(column), intent(in) :: this
        integer(ik), dimension(this % n) :: col

        if (this % dtype /= INTEGER_NUM) error stop 'column is not of type integer'

        col = this % icol

    end function get_from_col_integer