new_mpi_datatypes.hpp
Go to the documentation of this file.
48 VBIDpair() = default; // Want the trivial default constructor to make this class "POD" so that calls to 'offsetof' are allowed. 117 return std::hash<unsigned long long int>()(key.pointID) ^ std::hash<unsigned int>()(key.rank) ^ std::hash<unsigned int>()(key.valid); } 133 static const std::size_t SIZE=10; // Number of points in this chunk. Kept small since people tend to use small buffers with large MPI sizes 137 int name_id[NBUFFERS]; // IDs for buffers. Types will be pre-associated with the name in a separate step 141 long long values_int[NBUFFERS][SIZE]; // Sometimes need to transmit ints. Could do separately, but try this for now. 167 // /// Declarations needed for specialisation of GMPI::get_mpi_data_type<T>::type() to VBIDpair and PPIDpair types 185 // /// Declare MPI datatype for structs VBIDpair and PPIDpair (which is what the above functions will 'get')
unsigned long long int pointID Definition: new_mpi_datatypes.hpp:92 bool operator!=(const VBIDpair &l, const VBIDpair &r) Definition: new_mpi_datatypes.cpp:43 bool operator==(const VBIDpair &l, const VBIDpair &r) Definition: new_mpi_datatypes.cpp:40 vertexID / sub-print index pair Identifies individual buffers (I call them VertexBuffer, but actually there can be more than one per vertex) Definition: new_mpi_datatypes.hpp:45 VBIDpair(const int v, const int i) Definition: new_mpi_datatypes.hpp:49 std::size_t used_size Definition: new_mpi_datatypes.hpp:135 size_t operator()(const PPIDpair &key) const Definition: new_mpi_datatypes.hpp:115 std::ostream & operator<<(std::ostream &stream, const PPIDpair &ppid) Stream operator overloads. Definition: new_mpi_datatypes.cpp:178 bool operator()(const PPIDpair &lhs, const PPIDpair &rhs) const Definition: new_mpi_datatypes.hpp:121 void define_mpiHDF5bufferchunk() VBIDpair()=default VBIDtrip(const VBIDpair p, const int t) Definition: new_mpi_datatypes.hpp:75 A simple C++ wrapper for the MPI C bindings. bool operator<(const VBIDpair &l, const VBIDpair &r) Definition: new_mpi_datatypes.cpp:37 std::size_t used_nbuffers Definition: new_mpi_datatypes.hpp:136 VBIDtrip(const int v, const int i, const int t) Definition: new_mpi_datatypes.hpp:70 EXPORT_SYMBOLS const PPIDpair nullpoint Define 'nullpoint' const. Definition: new_mpi_datatypes.cpp:185 Helper macro for controlling symbol visibility in shared libraries. PPIDpair(const unsigned long long int p, const int r) Definition: new_mpi_datatypes.hpp:100 pointID / process number pair Used to identify a single parameter space point Definition: new_mpi_datatypes.hpp:90 |