|
Nektar++
|
#include <vector>#include <LibUtilities/Communication/Comm.h>#include <LibUtilities/BasicUtils/SharedArray.hpp>#include <LibUtilities/Python/NekPyConfig.hpp>Go to the source code of this file.
Functions | |
| template<typename T > | |
| T | AllReduce (CommSharedPtr &comm, T toReduce, ReduceOperator oper) |
| void | export_Comm () |
| Export for Comm communicator. More... | |
| T AllReduce | ( | CommSharedPtr & | comm, |
| T | toReduce, | ||
| ReduceOperator | oper | ||
| ) |
Definition at line 44 of file Python/Communication/Comm.cpp.
Referenced by export_Comm().
| void export_Comm | ( | ) |
Export for Comm communicator.
Definition at line 53 of file Python/Communication/Comm.cpp.
References AllReduce(), Nektar::LibUtilities::Comm::GetRank(), Nektar::LibUtilities::Comm::GetSize(), Nektar::LibUtilities::Comm::GetType(), NEKPY_WRAP_ENUM, and Nektar::LibUtilities::ReduceOperatorMap.
Referenced by BOOST_PYTHON_MODULE().