2#ifndef UTIL_STRUCT_BUILDER_H
3#define UTIL_STRUCT_BUILDER_H
56 class MpiStructBuilder
67 void setBase(
void* objectAddress);
83 void addMember(
void* memberAddress, MPI::Datatype type,
int count = 1);
93 void commit(MPI::Datatype& newType);
97 static const int MaxNBlock = 20;
100 MPI::Datatype types_[MaxNBlock];
101 MPI::Aint addresses_[MaxNBlock];
102 int counts_[MaxNBlock];
File containing preprocessor macros for error handling.
Utility classes for scientific computation.