Commit cd9a003b authored by COULAUD Olivier's avatar COULAUD Olivier

Add needFinishedM2LEvent in order to remove synchronization in tranferPass step.

parent 11c9e0d1
......@@ -71,7 +71,16 @@ public:
const int size, const int inLevel) = 0;
/** This method can be optionnaly inherited
/** This method is used to bypass needFinishedM2LEvent method a each level
* during the transferPass. If you have to use the finishedLevelM2L then you
* have to inherit it and return true rather than false.
*
* @return false
*/
bool needFinishedM2LEvent(){
return false;
}
/** This method can be optionally inherited
* It is called at the end of each computation level during the M2L pass
* @param level the ending level
*/
......
......@@ -188,7 +188,10 @@ public:
}
}
}
/** the needFinishedM2LEvent method is needed */
bool needFinishedM2LEvent(){
return true ;
}
/** Do we have some computation to do in the buffers */
void finishedLevelM2L(const int inLevel){
for(int idxNeigh = 0 ; idxNeigh < 343 ; ++idxNeigh){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment