Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(column), | intent(inout) | :: | this | |||
integer, | intent(in) | :: | i | |||
real(kind=rk), | intent(in) | :: | val |
subroutine change_col_real(this, i, val) class(column), intent(inout) :: this integer, intent(in) :: i real(rk), intent(in) :: val if (this % dtype /= REAL_NUM) error stop 'column is not of type real' this % rcol(i) = val end subroutine change_col_real