Simple 1D scalar field for image-writing smoke tests: z(x)=x.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | x |
pure function zfun_1d(x) result(z) use forcolormap, only: wp real(wp), intent(in) :: x real(wp) :: z z = x end function zfun_1d