cluster Derived Type

type, public :: cluster


Inherits

type~~cluster~~InheritsGraph type~cluster cluster type~linux_backlight linux_backlight type~cluster->type~linux_backlight backlight type~linux_nodes linux_nodes type~cluster->type~linux_nodes node type~linux_cpu linux_cpu type~linux_nodes->type~linux_cpu cpu

Contents

Source Code


Components

Type Visibility Attributes Name Initial
type(linux_nodes), public, dimension(:), allocatable :: node
integer, public :: nnodes
type(linux_backlight), public :: backlight

Type-Bound Procedures

procedure, public, :: select => select_linux

  • private impure elemental subroutine select_linux(this)

    Author
    Seyed Ali Ghasemi

    Arguments

    Type IntentOptional Attributes Name
    class(cluster), intent(inout) :: this

procedure, private :: find_number_of_nodes

  • private impure elemental subroutine find_number_of_nodes(this)

    Author
    Seyed Ali Ghasemi

    Arguments

    Type IntentOptional Attributes Name
    class(cluster), intent(inout) :: this

procedure, public, :: print_info => print_all_cluster_info

  • private impure elemental subroutine print_all_cluster_info(this)

    Author
    Seyed Ali Ghasemi

    Arguments

    Type IntentOptional Attributes Name
    class(cluster), intent(inout) :: this

procedure, public, :: deselect => deallocate_cluster

  • private pure elemental subroutine deallocate_cluster(this)

    Author
    Seyed Ali Ghasemi

    Arguments

    Type IntentOptional Attributes Name
    class(cluster), intent(inout) :: this

Source Code

   type :: cluster
      type(linux_nodes),  dimension(:), allocatable :: node
      integer                                       :: nnodes
      type(linux_backlight)                         :: backlight
   contains
      procedure          :: select => select_linux
      procedure, private :: find_number_of_nodes
      procedure          :: print_info            => print_all_cluster_info

      procedure          :: deselect              => deallocate_cluster
   end type cluster