aggregator_t Derived Type

type, public, abstract :: aggregator_t


Components

Type Visibility Attributes Name Initial
integer, public :: counter = 0
procedure(accumulate_data), public, pointer :: accumulate
procedure(reset_data), public, pointer :: reset

Type-Bound Procedures

procedure, public :: init => aggregator_init

  • private subroutine aggregator_init(this, method)

    Arguments

    Type IntentOptional Attributes Name
    class(aggregator_t), intent(inout) :: this
    character(len=*), intent(in) :: method

procedure, public :: set_method => aggregator_set_method

  • private subroutine aggregator_set_method(this, method)

    Arguments

    Type IntentOptional Attributes Name
    class(aggregator_t), intent(inout) :: this
    character(len=*), intent(in) :: method

procedure, public :: type => aggregator_type

  • private function aggregator_type(this)

    Arguments

    Type IntentOptional Attributes Name
    class(aggregator_t), intent(in) :: this

    Return Value character(len=16)

procedure, public :: rank => aggregator_rank

  • private function aggregator_rank(this)

    Arguments

    Type IntentOptional Attributes Name
    class(aggregator_t), intent(in) :: this

    Return Value integer

procedure, public :: shape => aggregator_shape

  • private function aggregator_shape(this) result(agg_shape)

    Arguments

    Type IntentOptional Attributes Name
    class(aggregator_t), intent(in) :: this

    Return Value integer, allocatable, (:)

procedure, public :: scale => aggregator_scale

  • private subroutine aggregator_scale(this, scale)

    Arguments

    Type IntentOptional Attributes Name
    class(aggregator_t), intent(inout) :: this
    real, intent(in) :: scale

procedure, public :: offset => aggregator_offset

  • private subroutine aggregator_offset(this, offset)

    Arguments

    Type IntentOptional Attributes Name
    class(aggregator_t), intent(inout) :: this
    real, intent(in) :: offset