load Subroutine

private impure subroutine load(self, filename, zmin, zmax, reverse, sanitize)

Load a .txt colormap with RGB integers separated by spaces on each line. Remark: if no path is indicated in filename, the .txt must be present at the root of the fpm project of the user.

Type Bound

Colormap

Arguments

Type IntentOptional Attributes Name
class(Colormap), intent(inout) :: self
character(len=*), intent(in) :: filename
real(kind=wp), intent(in) :: zmin
real(kind=wp), intent(in) :: zmax
logical, intent(in), optional :: reverse
logical, intent(in), optional :: sanitize

Calls

proc~~load~~CallsGraph proc~load Colormap%load proc~check Colormap%check proc~load->proc~check proc~reverse Colormap%reverse proc~load->proc~reverse proc~find_index Colormaps_info%find_index proc~check->proc~find_index proc~get_levels~2 Colormaps_info%get_levels proc~check->proc~get_levels~2

Called by

proc~~load~~CalledByGraph proc~load Colormap%load proc~test_073 test_073 proc~test_073->proc~load program~demo demo program~demo->proc~load program~demo_reverse demo_reverse program~demo_reverse->proc~load program~example1 example1 program~example1->proc~load program~check check program~check->proc~test_073