|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
#include <CoreFitSC.h>

Public Member Functions | |
| virtual | ~Reducer ()=default |
| virtual void | sum (double *values, unsigned int count) const =0 |
| Sums over all ranks. | |
| virtual void | min (double *values, unsigned int count) const =0 |
| Minima over all ranks (maxima are the minima of the negated values) | |
Global reductions in place over all ranks. Every rank must make the same calls with the same counts and must get back the same values, as MPI_Allreduce returns them. The selection takes every decision from reduced values only, so the ranks stay in step.
Definition at line 93 of file CoreFitSC.h.
|
virtualdefault |
|
pure virtual |
Minima over all ranks (maxima are the minima of the negated values)
Implemented in CoreFitSC::SerialReducer, and CoreFitSC::IpplReducer.
Referenced by CoreFitSC::getMeshBox(), and CoreFitSC::selectCore().
|
pure virtual |
Sums over all ranks.
Implemented in CoreFitSC::SerialReducer, and CoreFitSC::IpplReducer.
Referenced by CoreFitSC::MomentSums::reduce(), and CoreFitSC::selectCore().