![]() |
KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
#include <reduction_utilities.h>
Public Types | |
| using | value_type = typename MapType::value_type |
| using | return_type = MapType |
Public Member Functions | |
| return_type | GetValue () const |
| access to reduced value More... | |
| void | LocalReduce (const value_type rValue) |
| NON-THREADSAFE (fast) value of reduction, to be used within a single thread. More... | |
| void | ThreadSafeReduce (MapReduction< MapType > &rOther) |
| THREADSAFE (needs some sort of lock guard) reduction, to be used to sync threads. More... | |
Public Attributes | |
| return_type | mValue |
| using Kratos::MapReduction< MapType >::return_type = MapType |
| using Kratos::MapReduction< MapType >::value_type = typename MapType::value_type |
|
inline |
access to reduced value
|
inline |
NON-THREADSAFE (fast) value of reduction, to be used within a single thread.
|
inline |
THREADSAFE (needs some sort of lock guard) reduction, to be used to sync threads.
| return_type Kratos::MapReduction< MapType >::mValue |