|
|
@ -194,7 +194,7 @@ void processMessages(
|
|
|
|
fflush(stdout);
|
|
|
|
fflush(stdout);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
PROCESS_CROSS_EDGE(Counter, Ghost2LocalMap[u], S);
|
|
|
|
PROCESS_CROSS_EDGE(&Counter[Ghost2LocalMap[u]], S);
|
|
|
|
} // End of if ( candidateMate[v-StartIndex] == u )e
|
|
|
|
} // End of if ( candidateMate[v-StartIndex] == u )e
|
|
|
|
} // End of if ( Mate[v] == -1 )
|
|
|
|
} // End of if ( Mate[v] == -1 )
|
|
|
|
} // End of REQUEST
|
|
|
|
} // End of REQUEST
|
|
|
@ -207,7 +207,7 @@ void processMessages(
|
|
|
|
fflush(stdout);
|
|
|
|
fflush(stdout);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
GMate[Ghost2LocalMap[u]] = EndIndex + 1; // Set a Dummy Mate to make sure that we do not (u is a ghost) process it again
|
|
|
|
GMate[Ghost2LocalMap[u]] = EndIndex + 1; // Set a Dummy Mate to make sure that we do not (u is a ghost) process it again
|
|
|
|
PROCESS_CROSS_EDGE(Counter, Ghost2LocalMap[u], S);
|
|
|
|
PROCESS_CROSS_EDGE(&Counter[Ghost2LocalMap[u]], S);
|
|
|
|
#ifdef DEBUG_GHOST_
|
|
|
|
#ifdef DEBUG_GHOST_
|
|
|
|
if ((v < 0) || (v < StartIndex) || ((v - StartIndex) > NLVer))
|
|
|
|
if ((v < 0) || (v < StartIndex) || ((v - StartIndex) > NLVer))
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -260,7 +260,7 @@ void processMessages(
|
|
|
|
fflush(stdout);
|
|
|
|
fflush(stdout);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
PROCESS_CROSS_EDGE(Counter, Ghost2LocalMap[w], S);
|
|
|
|
PROCESS_CROSS_EDGE(&Counter[Ghost2LocalMap[w]], S);
|
|
|
|
} // End of if CandidateMate[w] = v
|
|
|
|
} // End of if CandidateMate[w] = v
|
|
|
|
} // End of if a Ghost Vertex
|
|
|
|
} // End of if a Ghost Vertex
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -319,7 +319,7 @@ void processMessages(
|
|
|
|
fflush(stdout);
|
|
|
|
fflush(stdout);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
GMate[Ghost2LocalMap[u]] = EndIndex + 1; // Set a Dummy Mate to make sure that we do not (u is a ghost) process this anymore
|
|
|
|
GMate[Ghost2LocalMap[u]] = EndIndex + 1; // Set a Dummy Mate to make sure that we do not (u is a ghost) process this anymore
|
|
|
|
PROCESS_CROSS_EDGE(Counter, Ghost2LocalMap[u], S); // Decrease the counter
|
|
|
|
PROCESS_CROSS_EDGE(&Counter[Ghost2LocalMap[u]], S); // Decrease the counter
|
|
|
|
} // End of else: CASE III
|
|
|
|
} // End of else: CASE III
|
|
|
|
} // End of else: CASE I
|
|
|
|
} // End of else: CASE I
|
|
|
|
}
|
|
|
|
}
|
|
|
|