31 return ivec3{rank % numberOfProcessors.
x,
32 (rank / numberOfProcessors.
x) % numberOfProcessors.
y,
33 rank / (numberOfProcessors.
x * numberOfProcessors.
y)};
T y
Definition: vec3.hpp:27
ivec3 getCoordinates(int rank, const ivec3 &numberOfProcessors)
Definition: rank_component.hpp:30
Various utility functions to implement the tecno flux.
Definition: types.hpp:30
T x
Definition: vec3.hpp:26