Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::StdMpiReduceOperator< RealType > Class Template Reference

Reduction operators for standard types. More...

#include </__w/arcaneframework.github.io/arcaneframework.github.io/framework/arccore/src/message_passing_mpi/arccore/message_passing_mpi/MpiDatatype.h>

Inheritance diagram for Arcane::StdMpiReduceOperator< RealType >:
Collaboration diagram for Arcane::StdMpiReduceOperator< RealType >:

Public Member Functions

 StdMpiReduceOperator (bool is_commutative)
void destroy ()
MPI_Op reduceOperator (eReduceType rt) override

Private Member Functions

void _create (bool is_commutative)

Static Private Member Functions

static void ARCCORE_MPIOP_CALL _MinOperator (void *a, void *b, int *len, MPI_Datatype *type)
static void ARCCORE_MPIOP_CALL _MaxOperator (void *a, void *b, int *len, MPI_Datatype *type)
static void ARCCORE_MPIOP_CALL _SumOperator (void *a, void *b, int *len, MPI_Datatype *type)

Private Attributes

MPI_Op m_min_operator
MPI_Op m_max_operator
MPI_Op m_sum_operator

Detailed Description

template<typename RealType>
class Arcane::StdMpiReduceOperator< RealType >

Reduction operators for standard types.

Definition at line 58 of file arccore/src/message_passing_mpi/arccore/message_passing_mpi/MpiDatatype.h.

Constructor & Destructor Documentation

◆ StdMpiReduceOperator()

template<typename RealType>
Arcane::MessagePassing::Mpi::StdMpiReduceOperator< RealType >::StdMpiReduceOperator ( bool is_commutative)
inline

Member Function Documentation

◆ _create()

template<typename RealType>
void Arcane::MessagePassing::Mpi::StdMpiReduceOperator< RealType >::_create ( bool is_commutative)
inlineprivate

◆ _MaxOperator()

template<typename RealType>
void ARCCORE_MPIOP_CALL Arcane::MessagePassing::Mpi::StdMpiReduceOperator< RealType >::_MaxOperator ( void * a,
void * b,
int * len,
MPI_Datatype * type )
inlinestaticprivate

◆ _MinOperator()

template<typename RealType>
void ARCCORE_MPIOP_CALL Arcane::MessagePassing::Mpi::StdMpiReduceOperator< RealType >::_MinOperator ( void * a,
void * b,
int * len,
MPI_Datatype * type )
inlinestaticprivate

◆ _SumOperator()

template<typename RealType>
void ARCCORE_MPIOP_CALL Arcane::MessagePassing::Mpi::StdMpiReduceOperator< RealType >::_SumOperator ( void * a,
void * b,
int * len,
MPI_Datatype * type )
inlinestaticprivate

◆ destroy()

template<typename RealType>
void Arcane::MessagePassing::Mpi::StdMpiReduceOperator< RealType >::destroy ( )
inline

◆ reduceOperator()

template<typename RealType>
MPI_Op Arcane::MessagePassing::Mpi::StdMpiReduceOperator< RealType >::reduceOperator ( eReduceType rt)
inlineoverridevirtual

Member Data Documentation

◆ m_max_operator

template<typename RealType>
MPI_Op Arcane::MessagePassing::Mpi::StdMpiReduceOperator< RealType >::m_max_operator
private

◆ m_min_operator

template<typename RealType>
MPI_Op Arcane::MessagePassing::Mpi::StdMpiReduceOperator< RealType >::m_min_operator
private

◆ m_sum_operator

template<typename RealType>
MPI_Op Arcane::MessagePassing::Mpi::StdMpiReduceOperator< RealType >::m_sum_operator
private

The documentation for this class was generated from the following files: