get_accumulate_args Subroutine

private subroutine get_accumulate_args(scale, div, offset, scale_out, div_out, offset_out)

Helper subroutine to get initialise optional scale, div, and offset arguments for accumulate procedures.

Arguments

Type IntentOptional Attributes Name
real, intent(in), optional :: scale

An optional scaling factor to apply to the source data before accumulation. Defaults to 1.0 if not provided.

real, intent(in), optional :: div

An optional division factor to apply to the source data before accumulation. Defaults to 1.0 if not provided.

real, intent(in), optional :: offset

An optional offset to add to the source data before accumulation. Defaults to 0.0 if not provided.

real :: scale_out
real :: div_out
real :: offset_out

Called by

proc~~get_accumulate_args~~CalledByGraph proc~get_accumulate_args get_accumulate_args proc~max_accumulate max_accumulate proc~max_accumulate->proc~get_accumulate_args proc~mean_accumulate mean_accumulate proc~mean_accumulate->proc~get_accumulate_args proc~min_accumulate min_accumulate proc~min_accumulate->proc~get_accumulate_args proc~point_accumulate point_accumulate proc~point_accumulate->proc~get_accumulate_args proc~sum_accumulate sum_accumulate proc~sum_accumulate->proc~get_accumulate_args