get_from_col_real Function

private pure function get_from_col_real(this) result(col)

Type Bound

column

Arguments

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

Return Value real(kind=rk), dimension(this % n)


Source Code

    pure function get_from_col_real(this) result(col)
        class(column), intent(in) :: this
        real(rk), dimension(this % n) :: col

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

        col = this % rcol

    end function get_from_col_real