Documentation 6b54b78464
Loading...
Searching...
No Matches
Nd_MPI_Environment Struct Reference

Contains information for the collective communication of NdFlatteners. More...

#include <ndflattener.hpp>

Public Types

using MPI_Allgather_t = decltype(&(SU2_MPI::Allgather))
 
using MPI_Allgatherv_t = decltype(&(SU2_MPI::Allgatherv))
 
using MPI_Datatype_t = typename SU2_MPI::Datatype
 
using MPI_Communicator_t = typename SU2_MPI::Comm
 

Public Member Functions

 Nd_MPI_Environment (MPI_Datatype_t mpi_data=4, MPI_Datatype_t mpi_index=1, MPI_Communicator_t comm=SU2_MPI::GetComm(), MPI_Allgather_t MPI_Allgather_fun=&(SU2_MPI::Allgather), MPI_Allgatherv_t MPI_Allgatherv_fun=&(SU2_MPI_Allgatherv_safe))
 

Public Attributes

const MPI_Datatype_t mpi_data
 
const MPI_Datatype_t mpi_index
 
MPI_Communicator_t comm
 
MPI_Allgather_t MPI_Allgather_fun
 
MPI_Allgatherv_t MPI_Allgatherv_fun
 
const int rank
 
const int size
 

Detailed Description

Contains information for the collective communication of NdFlatteners.

The default arguments in the constructor are chosen in a sensible way:

Member Typedef Documentation

◆ MPI_Allgather_t

◆ MPI_Allgatherv_t

◆ MPI_Communicator_t

◆ MPI_Datatype_t

Constructor & Destructor Documentation

◆ Nd_MPI_Environment()

Nd_MPI_Environment::Nd_MPI_Environment ( MPI_Datatype_t  mpi_data = 4,
MPI_Datatype_t  mpi_index = 1,
MPI_Communicator_t  comm = SU2_MPI::GetComm(),
MPI_Allgather_t  MPI_Allgather_fun = &(SU2_MPI::Allgather),
MPI_Allgatherv_t  MPI_Allgatherv_fun = &(SU2_MPI_Allgatherv_safe) 
)
inline

Member Data Documentation

◆ comm

MPI_Communicator_t Nd_MPI_Environment::comm

◆ MPI_Allgather_fun

MPI_Allgather_t Nd_MPI_Environment::MPI_Allgather_fun

◆ MPI_Allgatherv_fun

MPI_Allgatherv_t Nd_MPI_Environment::MPI_Allgatherv_fun

◆ mpi_data

const MPI_Datatype_t Nd_MPI_Environment::mpi_data

◆ mpi_index

const MPI_Datatype_t Nd_MPI_Environment::mpi_index

◆ rank

const int Nd_MPI_Environment::rank

◆ size

const int Nd_MPI_Environment::size

The documentation for this struct was generated from the following file: