processMathedVertices refactoring

This commit is contained in:
StefanoPetrilli
2022-07-08 13:32:24 -05:00
parent 6dcae6d0c1
commit 9b13aef1ce
4 changed files with 425 additions and 309 deletions
@@ -9,14 +9,6 @@
#include "omp.h"
#include "queueTransfer.cpp"
/*
* PARALLEL_PROCESS_EXPOSED_VERTEX_B
* TODO: write comment
*
* TODO: Test when it's actually more efficient to execute this code
* in parallel.
*/
inline void PARALLEL_PROCESS_EXPOSED_VERTEX_B(MilanLongInt NLVer,
MilanLongInt *candidateMate,
MilanLongInt *verLocInd,
@@ -48,6 +40,7 @@ inline void PARALLEL_PROCESS_EXPOSED_VERTEX_B(MilanLongInt NLVer,
staticQueue &privateQOwner)
{
//TODO define all the constants in a single place!
const MilanLongInt REQUEST = 1;
const MilanLongInt SUCCESS = 2;
const MilanLongInt FAILURE = 3;