Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
Teuchos_CommHelpers.hpp File Reference
#include "Teuchos_Comm.hpp"
#include "Teuchos_CommUtilities.hpp"
#include "Teuchos_SerializationTraitsHelpers.hpp"
#include "Teuchos_ReductionOpHelpers.hpp"
#include "Teuchos_SerializerHelpers.hpp"
#include "Teuchos_ScalarTraits.hpp"
#include "Teuchos_OrdinalTraits.hpp"
#include "Teuchos_Array.hpp"
#include "Teuchos_TypeNameTraits.hpp"
#include "Teuchos_Workspace.hpp"
#include "Teuchos_as.hpp"
#include "Teuchos_DefaultSerialComm.hpp"
#include "Teuchos_EReductionType.hpp"
Include dependency graph for Teuchos_CommHelpers.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Teuchos::SumValueReductionOp< Ordinal, Packet >
 Standard summation operator for types with value semantics. More...
 
class  Teuchos::MinValueReductionOp< Ordinal, Packet >
 Standard min operator for types with value semantics. More...
 
class  Teuchos::MaxValueReductionOp< Ordinal, Packet >
 Standard Max operator for types with value semantics. More...
 
class  Teuchos::ANDValueReductionOp< Ordinal, Packet >
 Standard logical AND operator for booleans. More...
 
class  Teuchos::MixMaxUtilities::Min< isComparable, Ordinal, Packet >
 
class  Teuchos::MixMaxUtilities::Min< true, Ordinal, Packet >
 
class  Teuchos::MixMaxUtilities::Min< false, Ordinal, Packet >
 
class  Teuchos::MixMaxUtilities::Max< isComparable, Ordinal, Packet >
 
class  Teuchos::MixMaxUtilities::Max< true, Ordinal, Packet >
 
class  Teuchos::MixMaxUtilities::Max< false, Ordinal, Packet >
 
class  Teuchos::MixMaxUtilities::AND< isComparable, Ordinal, Packet >
 
class  Teuchos::MixMaxUtilities::AND< true, Ordinal, Packet >
 
class  Teuchos::MixMaxUtilities::AND< false, Ordinal, Packet >
 

Namespaces

 Teuchos
 
 Teuchos::MixMaxUtilities
 

Functions

template<typename Ordinal , typename Packet >
TEUCHOS_DEPRECATED void Teuchos::reduceAll (const Comm< Ordinal > &comm, const EReductionType reductType, const Packet &send, Packet *globalReduct)
 Deprecated . More...
 
template<typename Ordinal , typename Packet >
TEUCHOS_DEPRECATED void Teuchos::scan (const Comm< Ordinal > &comm, const EReductionType reductType, const Packet &send, Packet *scanReduct)
 Deprecated. More...
 
template<typename Ordinal , typename Packet >
void Teuchos::send (const Packet sendBuffer[], const Ordinal count, const int destRank, const int tag, const Comm< Ordinal > &comm)
 Variant of send() that takes a tag (and restores the correct order of arguments). More...
 
template<typename Ordinal , typename Packet >
void Teuchos::ssend (const Packet sendBuffer[], const Ordinal count, const int destRank, const int tag, const Comm< Ordinal > &comm)
 Variant of ssend() that takes a tag (and restores the correct order of arguments). More...
 
template<typename Ordinal , typename Packet >
void Teuchos::readySend (const Packet sendBuffer[], const Ordinal count, const int destRank, const int tag, const Comm< Ordinal > &comm)
 Variant of readySend() that accepts a message tag. More...
 
template<typename Ordinal , typename Packet >
RCP< CommRequest< Ordinal > > Teuchos::isend (const ArrayRCP< const Packet > &sendBuffer, const int destRank, const int tag, const Comm< Ordinal > &comm)
 Variant of isend() that takes a tag (and restores the correct order of arguments). More...
 
template<typename Ordinal , typename Packet >
RCP< CommRequest< Ordinal > > Teuchos::ireceive (const ArrayRCP< Packet > &recvBuffer, const int sourceRank, const int tag, const Comm< Ordinal > &comm)
 Variant of ireceive that takes a tag argument (and restores the correct order of arguments). More...
 
template<typename Ordinal , typename Packet >
ValueTypeReductionOp< Ordinal,
Packet > * 
Teuchos::createOp (const EReductionType reductType)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::reduceAll< int, double > (const Comm< int > &comm, const EReductionType reductType, const int count, const double sendBuffer[], double globalReducts[])
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT RCP
< CommRequest< int > > 
Teuchos::ireceive< int, double > (const Comm< int > &comm, const ArrayRCP< double > &recvBuffer, const int sourceRank)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT RCP
< CommRequest< int > > 
Teuchos::ireceive< int, double > (const ArrayRCP< double > &recvBuffer, const int sourceRank, const int tag, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::send< int, double > (const Comm< int > &comm, const int count, const double sendBuffer[], const int destRank)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::send< int, double > (const double sendBuffer[], const int count, const int destRank, const int tag, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT RCP
< CommRequest< int > > 
Teuchos::isend< int, double > (const ArrayRCP< const double > &sendBuffer, const int destRank, const int tag, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::reduceAll< int, float > (const Comm< int > &comm, const EReductionType reductType, const int count, const float sendBuffer[], float globalReducts[])
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT RCP
< CommRequest< int > > 
Teuchos::ireceive< int, float > (const Comm< int > &comm, const ArrayRCP< float > &recvBuffer, const int sourceRank)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT RCP
< CommRequest< int > > 
Teuchos::ireceive< int, float > (const ArrayRCP< float > &recvBuffer, const int sourceRank, const int tag, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::send< int, float > (const Comm< int > &comm, const int count, const float sendBuffer[], const int destRank)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::send< int, float > (const float sendBuffer[], const int count, const int destRank, const int tag, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT RCP
< CommRequest< int > > 
Teuchos::isend< int, float > (const ArrayRCP< const float > &sendBuffer, const int destRank, const int tag, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::gather< int, long long > (const long long sendBuf[], const int sendCount, long long recvBuf[], const int recvCount, const int root, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::gatherv< int, long long > (const long long sendBuf[], const int sendCount, long long recvBuf[], const int recvCounts[], const int displs[], const int root, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::reduceAll< int, long long > (const Comm< int > &comm, const EReductionType reductType, const int count, const long long sendBuffer[], long long globalReducts[])
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT RCP
< CommRequest< int > > 
Teuchos::ireceive< int, long long > (const Comm< int > &comm, const ArrayRCP< long long > &recvBuffer, const int sourceRank)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT RCP
< CommRequest< int > > 
Teuchos::ireceive< int, long long > (const ArrayRCP< long long > &recvBuffer, const int sourceRank, const int tag, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::send< int, long long > (const Comm< int > &comm, const int count, const long long sendBuffer[], const int destRank)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::send< int, long long > (const long long sendBuffer[], const int count, const int destRank, const int tag, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT RCP
< CommRequest< int > > 
Teuchos::isend< int, long long > (const ArrayRCP< const long long > &sendBuffer, const int destRank, const int tag, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::gather< int, unsigned long long > (const unsigned long long sendBuf[], const int sendCount, unsigned long long recvBuf[], const int recvCount, const int root, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::gatherv< int, unsigned long long > (const unsigned long long sendBuf[], const int sendCount, unsigned long long recvBuf[], const int recvCounts[], const int displs[], const int root, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::reduceAll< int, unsigned long long > (const Comm< int > &comm, const EReductionType reductType, const int count, const unsigned long long sendBuffer[], unsigned long long globalReducts[])
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT RCP
< CommRequest< int > > 
Teuchos::ireceive< int, unsigned long long > (const Comm< int > &comm, const ArrayRCP< unsigned long long > &recvBuffer, const int sourceRank)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT RCP
< CommRequest< int > > 
Teuchos::ireceive< int, unsigned long long > (const ArrayRCP< unsigned long long > &recvBuffer, const int sourceRank, const int tag, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::send< int, unsigned long long > (const Comm< int > &comm, const int count, const unsigned long long sendBuffer[], const int destRank)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::send< int, unsigned long long > (const unsigned long long sendBuffer[], const int count, const int destRank, const int tag, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT RCP
< CommRequest< int > > 
Teuchos::isend< int, unsigned long long > (const ArrayRCP< const unsigned long long > &sendBuffer, const int destRank, const int tag, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::gather< int, long > (const long sendBuf[], const int sendCount, long recvBuf[], const int recvCount, const int root, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::gatherv< int, long > (const long sendBuf[], const int sendCount, long recvBuf[], const int recvCounts[], const int displs[], const int root, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::reduceAll< int, long > (const Comm< int > &comm, const EReductionType reductType, const int count, const long sendBuffer[], long globalReducts[])
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT RCP
< CommRequest< int > > 
Teuchos::ireceive< int, long > (const Comm< int > &comm, const ArrayRCP< long > &recvBuffer, const int sourceRank)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT RCP
< CommRequest< int > > 
Teuchos::ireceive< int, long > (const ArrayRCP< long > &recvBuffer, const int sourceRank, const int tag, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::send< int, long > (const Comm< int > &comm, const int count, const long sendBuffer[], const int destRank)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::send< int, long > (const long sendBuffer[], const int count, const int destRank, const int tag, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT RCP
< CommRequest< int > > 
Teuchos::isend< int, long > (const ArrayRCP< const long > &sendBuffer, const int destRank, const int tag, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::gather< int, unsigned long > (const unsigned long sendBuf[], const int sendCount, unsigned long recvBuf[], const int recvCount, const int root, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::gatherv< int, unsigned long > (const unsigned long sendBuf[], const int sendCount, unsigned long recvBuf[], const int recvCounts[], const int displs[], const int root, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::reduceAll< int, unsigned long > (const Comm< int > &comm, const EReductionType reductType, const int count, const unsigned long sendBuffer[], unsigned long globalReducts[])
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT RCP
< CommRequest< int > > 
Teuchos::ireceive< int, unsigned long > (const Comm< int > &comm, const ArrayRCP< unsigned long > &recvBuffer, const int sourceRank)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT RCP
< CommRequest< int > > 
Teuchos::ireceive< int, unsigned long > (const ArrayRCP< unsigned long > &recvBuffer, const int sourceRank, const int tag, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::send< int, unsigned long > (const Comm< int > &comm, const int count, const unsigned long sendBuffer[], const int destRank)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::send< int, unsigned long > (const unsigned long sendBuffer[], const int count, const int destRank, const int tag, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT RCP
< CommRequest< int > > 
Teuchos::isend< int, unsigned long > (const ArrayRCP< const unsigned long > &sendBuffer, const int destRank, const int tag, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::gather< int, int > (const int sendBuf[], const int sendCount, int recvBuf[], const int recvCount, const int root, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::gatherv< int, int > (const int sendBuf[], const int sendCount, int recvBuf[], const int recvCounts[], const int displs[], const int root, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::scatter (const int sendBuf[], const int sendCount, int recvBuf[], const int recvCount, const int root, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::reduce< int, int > (const int sendBuf[], int recvBuf[], const int count, const EReductionType reductType, const int root, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::reduce< int, long > (const long sendBuf[], long recvBuf[], const int count, const EReductionType reductType, const int root, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::reduce< int, unsigned long > (const unsigned long sendBuf[], unsigned long recvBuf[], const int count, const EReductionType reductType, const int root, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::reduce< int, unsigned long long > (const unsigned long long sendBuf[], unsigned long long recvBuf[], const int count, const EReductionType reductType, const int root, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::reduce< int, double > (const double sendBuf[], double recvBuf[], const int count, const EReductionType reductType, const int root, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::reduceAll< int, int > (const Comm< int > &comm, const EReductionType reductType, const int count, const int sendBuffer[], int globalReducts[])
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT RCP
< CommRequest< int > > 
Teuchos::ireceive< int, int > (const Comm< int > &comm, const ArrayRCP< int > &recvBuffer, const int sourceRank)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT RCP
< CommRequest< int > > 
Teuchos::ireceive< int, int > (const ArrayRCP< int > &recvBuffer, const int sourceRank, const int tag, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::send< int, int > (const Comm< int > &comm, const int count, const int sendBuffer[], const int destRank)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::send< int, int > (const int sendBuffer[], const int count, const int destRank, const int tag, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT RCP
< CommRequest< int > > 
Teuchos::isend< int, int > (const ArrayRCP< const int > &sendBuffer, const int destRank, const int tag, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::gather< int, unsigned int > (const unsigned int sendBuf[], const int sendCount, unsigned int recvBuf[], const int recvCount, const int root, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::gatherv< int, unsigned int > (const unsigned int sendBuf[], const int sendCount, unsigned int recvBuf[], const int recvCounts[], const int displs[], const int root, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::reduceAll< int, unsigned int > (const Comm< int > &comm, const EReductionType reductType, const int count, const unsigned int sendBuffer[], unsigned int globalReducts[])
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT RCP
< CommRequest< int > > 
Teuchos::ireceive< int, unsigned int > (const Comm< int > &comm, const ArrayRCP< unsigned int > &recvBuffer, const int sourceRank)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT RCP
< CommRequest< int > > 
Teuchos::ireceive< int, unsigned int > (const ArrayRCP< unsigned int > &recvBuffer, const int sourceRank, const int tag, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::send< int, unsigned int > (const Comm< int > &comm, const int count, const unsigned int sendBuffer[], const int destRank)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::send< int, unsigned int > (const unsigned int sendBuffer[], const int count, const int destRank, const int tag, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT RCP
< CommRequest< int > > 
Teuchos::isend< int, unsigned int > (const ArrayRCP< const unsigned int > &sendBuffer, const int destRank, const int tag, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::gather< int, short > (const short sendBuf[], const int sendCount, short recvBuf[], const int recvCount, const int root, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::gatherv< int, short > (const short sendBuf[], const int sendCount, short recvBuf[], const int recvCounts[], const int displs[], const int root, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::reduceAll< int, short > (const Comm< int > &comm, const EReductionType reductType, const int count, const short sendBuffer[], short globalReducts[])
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT RCP
< CommRequest< int > > 
Teuchos::ireceive< int, short > (const Comm< int > &comm, const ArrayRCP< short > &recvBuffer, const int sourceRank)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT RCP
< CommRequest< int > > 
Teuchos::ireceive< int, short > (const ArrayRCP< short > &recvBuffer, const int sourceRank, const int tag, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::send< int, short > (const Comm< int > &comm, const int count, const short sendBuffer[], const int destRank)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT void Teuchos::send< int, short > (const short sendBuffer[], const int count, const int destRank, const int tag, const Comm< int > &comm)
 
template<>
TEUCHOSCOMM_LIB_DLL_EXPORT RCP
< CommRequest< int > > 
Teuchos::isend< int, short > (const ArrayRCP< const short > &sendBuffer, const int destRank, const int tag, const Comm< int > &comm)