|
|
@ -59,7 +59,11 @@
|
|
|
|
#include <assert.h>
|
|
|
|
#include <assert.h>
|
|
|
|
#include <map>
|
|
|
|
#include <map>
|
|
|
|
#include <vector>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
#ifdef OMP
|
|
|
|
|
|
|
|
// OpenMP is included and used if and only if the OpenMP version of the matching
|
|
|
|
|
|
|
|
// is required
|
|
|
|
#include "omp.h"
|
|
|
|
#include "omp.h"
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#include "primitiveDataTypeDefinitions.h"
|
|
|
|
#include "primitiveDataTypeDefinitions.h"
|
|
|
|
#include "dataStrStaticQueue.h"
|
|
|
|
#include "dataStrStaticQueue.h"
|
|
|
|
|
|
|
|
|
|
|
@ -174,6 +178,10 @@ extern "C"
|
|
|
|
#define MilanRealMin MINUS_INFINITY
|
|
|
|
#define MilanRealMin MINUS_INFINITY
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef OMP
|
|
|
|
|
|
|
|
/* These functions are only used in the experimental OMP implementation, if that
|
|
|
|
|
|
|
|
is disabled there is no reason to actually compile or reference them. */
|
|
|
|
|
|
|
|
|
|
|
|
// Function of find the owner of a ghost vertex using binary search:
|
|
|
|
// Function of find the owner of a ghost vertex using binary search:
|
|
|
|
MilanInt findOwnerOfGhost(MilanLongInt vtxIndex, MilanLongInt *mVerDistance,
|
|
|
|
MilanInt findOwnerOfGhost(MilanLongInt vtxIndex, MilanLongInt *mVerDistance,
|
|
|
|
MilanInt myRank, MilanInt numProcs);
|
|
|
|
MilanInt myRank, MilanInt numProcs);
|
|
|
@ -420,6 +428,14 @@ extern "C"
|
|
|
|
MilanLongInt *msgIndSent, MilanLongInt *msgActualSent, MilanReal *msgPercent,
|
|
|
|
MilanLongInt *msgIndSent, MilanLongInt *msgActualSent, MilanReal *msgPercent,
|
|
|
|
MilanReal *ph0_time, MilanReal *ph1_time, MilanReal *ph2_time,
|
|
|
|
MilanReal *ph0_time, MilanReal *ph1_time, MilanReal *ph2_time,
|
|
|
|
MilanLongInt *ph1_card, MilanLongInt *ph2_card);
|
|
|
|
MilanLongInt *ph1_card, MilanLongInt *ph2_card);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef OMP
|
|
|
|
|
|
|
|
//Function of find the owner of a ghost vertex using binary search:
|
|
|
|
|
|
|
|
inline MilanInt findOwnerOfGhost(MilanLongInt vtxIndex, MilanLongInt *mVerDistance,
|
|
|
|
|
|
|
|
MilanInt myRank, MilanInt numProcs);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
void dalgoDistEdgeApproxDomEdgesLinearSearchMesgBndlSmallMateC(
|
|
|
|
void dalgoDistEdgeApproxDomEdgesLinearSearchMesgBndlSmallMateC(
|
|
|
|
MilanLongInt NLVer, MilanLongInt NLEdge,
|
|
|
|
MilanLongInt NLVer, MilanLongInt NLEdge,
|
|
|
|