OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
Public Member Functions | List of all members
CoreFitSC::SerialReducer Class Reference

All particles on one process: the reductions do nothing. More...

#include <CoreFitSC.h>

Inheritance diagram for CoreFitSC::SerialReducer:
Inheritance graph
[legend]
Collaboration diagram for CoreFitSC::SerialReducer:
Collaboration graph
[legend]

Public Member Functions

void sum (double *, unsigned int) const override
 Sums over all ranks.
 
void min (double *, unsigned int) const override
 Minima over all ranks (maxima are the minima of the negated values)
 
- Public Member Functions inherited from CoreFitSC::Reducer
virtual ~Reducer ()=default
 

Detailed Description

All particles on one process: the reductions do nothing.

Definition at line 103 of file CoreFitSC.h.

Member Function Documentation

◆ min()

void CoreFitSC::SerialReducer::min ( double *  values,
unsigned int  count 
) const
inlineoverridevirtual

Minima over all ranks (maxima are the minima of the negated values)

Implements CoreFitSC::Reducer.

Definition at line 106 of file CoreFitSC.h.

◆ sum()

void CoreFitSC::SerialReducer::sum ( double *  values,
unsigned int  count 
) const
inlineoverridevirtual

Sums over all ranks.

Implements CoreFitSC::Reducer.

Definition at line 105 of file CoreFitSC.h.


The documentation for this class was generated from the following file: