get_levels Function

private pure function get_levels(this, index) result(levels)

Type Bound

Colormaps_info

Arguments

Type IntentOptional Attributes Name
class(Colormaps_info), intent(in) :: this
integer, intent(in) :: index

Return Value integer


Called by

proc~~get_levels~2~~CalledByGraph proc~get_levels~2 Colormaps_info%get_levels proc~check Colormap%check proc~check->proc~get_levels~2 proc~create Colormap%create proc~create->proc~check proc~create_bezier Colormap%create_bezier proc~create_bezier->proc~check proc~create_lagrange Colormap%create_lagrange proc~create_lagrange->proc~check proc~load Colormap%load proc~load->proc~check proc~set Colormap%set proc~set->proc~check proc~set->proc~create proc~extract Colormap%extract proc~extract->proc~create program~create create program~create->proc~create_bezier program~create->proc~create_lagrange program~demo demo program~demo->proc~create program~demo->proc~load program~demo->proc~set program~demo_reverse demo_reverse program~demo_reverse->proc~create program~demo_reverse->proc~load program~demo_reverse->proc~set program~example1 example1 program~example1->proc~load program~extract extract program~extract->proc~set program~extract->proc~extract program~modify modify program~modify->proc~set

Source Code

   pure function get_levels(this, index) result(levels)
      class(Colormaps_info), intent(in) :: this
      integer, intent(in) :: index
      integer :: levels
      levels = this%colormaps(index)%levels
   end function get_levels