Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Teuchos_EReductionType.hpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Teuchos: Common Tools Package
4 //
5 // Copyright 2004 NTESS and the Teuchos contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef TEUCHOS_EREDUCTIONTYPE_HPP
11 #define TEUCHOS_EREDUCTIONTYPE_HPP
12 
15 
16 #include "Teuchos_config.h"
17 #include "Teuchos_DLLExportMacro.h"
18 #ifdef HAVE_TEUCHOS_MPI
19 # include <mpi.h> // need this for MPI_Op (see below)
20 #endif // HAVE_TEUCHOS_MPI
21 
22 namespace Teuchos {
23 
46 };
47 
50 const char* toString (const EReductionType reductType);
51 
52 #ifdef HAVE_TEUCHOS_MPI
53 namespace Details {
54 
60 TEUCHOSCOMM_LIB_DLL_EXPORT MPI_Op getMpiOpForEReductionType (const enum EReductionType reductionType);
61 
62 } // namespace Details
63 #endif // HAVE_TEUCHOS_MPI
64 
65 } // namespace Teuchos
66 
67 #endif // TEUCHOS_EREDUCTIONTYPE_HPP
EReductionType
Predefined reduction operations that Teuchos::Comm understands.
std::string toString(const HashSet< Key > &h)
#define TEUCHOSCOMM_LIB_DLL_EXPORT