26 std::array<MPI_Offset, 3> converted;
28 converted[0] = MPI_Offset(integerVector.
x);
29 converted[1] = MPI_Offset(integerVector.
y);
30 converted[2] = MPI_Offset(integerVector.
z);
T z
Definition: vec3.hpp:28
Various utilities for mpi and cuda.
Definition: Factory.hpp:3
T y
Definition: vec3.hpp:27
T x
Definition: vec3.hpp:26
std::array< MPI_Offset, 3 > to_mpi_offset(const ivec3 &integerVector)
Convenience function to do the type cast from int to whatever MPI_Offset is (usually long long int) ...
Definition: to_mpi_offset.hpp:25