The constant version of sample
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(constant), | intent(in) | :: | this | |||
real(kind=wp), | intent(out) | :: | x |
Output value |
||
real(kind=wp), | intent(out) | :: | y |
Not used. Kept to keep interface the same for constant, piecewise1D and piecewise2D |
||
real(kind=wp), | intent(in), | optional | :: | value |
Not used. Kept to keep interface the same for constant, piecewise1D and piecewise2D |
subroutine getValue(this, x, y, value) !! The constant version of sample class(constant), intent(in) :: this !> Output value real(kind=wp), intent(out) :: x !> Not used. Kept to keep interface the same for constant, piecewise1D and piecewise2D real(kind=wp), intent(out) :: y !> Not used. Kept to keep interface the same for constant, piecewise1D and piecewise2D real(kind=wp), intent(in), optional :: value x = this%value y = -9999._wp end subroutine getValue