Class managing a reduction of a sum of values.
More...
#include <arcane/core/parallel/IMultiReduce.h>
Class managing a reduction of a sum of values.
Instances of this class must be created via IMultiReduce::getSumOfReal(). The user must accumulate values via the call to add(). After execution of the reduction via IMultiReduce::execute(), it is possible to retrieve the reduced value via reducedValue().
- See also
- IMultiReduce
Definition at line 37 of file IMultiReduce.h.
◆ ReduceSumOfRealHelper()
| Arcane::ReduceSumOfRealHelper::ReduceSumOfRealHelper |
( |
bool | is_strict | ) |
|
|
inline |
◆ add()
| void Arcane::ReduceSumOfRealHelper::add |
( |
Real | v | ) |
|
|
inline |
◆ clear()
| void Arcane::ReduceSumOfRealHelper::clear |
( |
| ) |
|
|
inline |
◆ reducedValue()
| Real Arcane::ReduceSumOfRealHelper::reducedValue |
( |
| ) |
const |
|
inline |
◆ setReducedValue()
| void Arcane::ReduceSumOfRealHelper::setReducedValue |
( |
Real | v | ) |
|
|
inline |
◆ values()
◆ m_is_strict
| bool Arcane::ReduceSumOfRealHelper::m_is_strict |
|
private |
◆ m_reduced_value
| Real Arcane::ReduceSumOfRealHelper::m_reduced_value |
|
private |
◆ m_values
The documentation for this class was generated from the following file: