aggregator_init Subroutine

private subroutine aggregator_init(this, method)

Initialise the aggregator by allocating the aggregated data array and its aggregation method. The values in the aggregated data array are reset according to the specified aggregation method.

Type Bound

aggregator_t

Arguments

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

The aggregation method to use (e.g., "mean", "sum", "point", "min", "max").