Check that the dense output can be used: the method has one, and it was enabled. If not, an error is raised.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(rk_class), | intent(inout) | :: | me |
logical function dense_check(me) class(rk_class),intent(inout) :: me dense_check = .false. if (.not. allocated(me%dense_b)) then call me%raise_exception(RKLIB_ERROR_NO_DENSE_OUTPUT) else if (.not. me%dense_enabled) then call me%raise_exception(RKLIB_ERROR_DENSE_NOT_ENABLED) else dense_check = .true. end if end function dense_check