MeDiPack  1.2.2
A Message Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
displacementTools.hpp File Reference
#include "macros.h"
Include dependency graph for displacementTools.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  medi::LinearDisplacements
 Helper structure for the easy creation of a linear displacement with a the same length. More...
 

Namespaces

namespace  medi
 Global namespace for MeDiPack - Message Differentiation Package.
 

Functions

int medi::computeDisplacementsTotalSize (const int *counts, int ranks)
 Compute the total size of a message that has a different size on each rank. More...
 
int * medi::createLinearDisplacements (const int *counts, int ranks)
 Creates the linearized displacements of a message with a different size on each rank. More...
 
void medi::createLinearDisplacementsAndCount (int *&countsOut, int *&displsOut, const int *counts, int ranks, int scale)
 Creates the linearized displacements of a message with a different size on each rank. More...
 
template<typename Datatype >
void medi::createLinearIndexCounts (int *&linearCounts, const int *counts, const int *displs, int ranks, Datatype *type)
 Creates the counts for a message with a different size on each rank. More...