compute_RGB Subroutine

private pure subroutine compute_RGB(self, z, red, green, blue)

Most of the time you will just give z to obtain RGB values:

Type Bound

Colormap

Arguments

Type IntentOptional Attributes Name
class(Colormap), intent(inout) :: self
real(kind=wp), intent(in) :: z
integer, intent(out) :: red
integer, intent(out) :: green
integer, intent(out) :: blue

Calls

proc~~compute_rgb~~CallsGraph proc~compute_rgb Colormap%compute_RGB proc~get_rgb Colormap%get_RGB proc~compute_rgb->proc~get_rgb

Called by

proc~~compute_rgb~~CalledByGraph proc~compute_rgb Colormap%compute_RGB proc~write_ppm_colorbar Colormap%write_ppm_colorbar proc~write_ppm_colorbar->proc~compute_rgb program~create create program~create->proc~write_ppm_colorbar program~demo demo program~demo->proc~write_ppm_colorbar program~demo_reverse demo_reverse program~demo_reverse->proc~write_ppm_colorbar program~example1 example1 program~example1->proc~write_ppm_colorbar program~extract extract program~extract->proc~write_ppm_colorbar program~modify modify program~modify->proc~write_ppm_colorbar