Skip to content
Snippets Groups Projects
Commit f9ec9681 authored by Sebastian Eibl's avatar Sebastian Eibl
Browse files

increased sync threshold to get consistent shadow copies

parent baf667d3
Branches
Tags
No related merge requests found
...@@ -160,11 +160,11 @@ int main( int argc, char ** argv ) ...@@ -160,11 +160,11 @@ int main( int argc, char ** argv )
std::function<void(void)> syncCallWithoutTT; std::function<void(void)> syncCallWithoutTT;
if (bNN) if (bNN)
{ {
syncCallWithoutTT = std::bind( pe::syncNextNeighbors<BodyTuple>, boost::ref(*forest), storageID, static_cast<WcTimingTree*>(NULL), real_c(0.0), false ); syncCallWithoutTT = std::bind( pe::syncNextNeighbors<BodyTuple>, boost::ref(*forest), storageID, static_cast<WcTimingTree*>(NULL), real_c(0.1), false );
WALBERLA_LOG_INFO_ON_ROOT("Using NextNeighbor sync!"); WALBERLA_LOG_INFO_ON_ROOT("Using NextNeighbor sync!");
} else if (bSO) } else if (bSO)
{ {
syncCallWithoutTT = std::bind( pe::syncShadowOwners<BodyTuple>, boost::ref(*forest), storageID, static_cast<WcTimingTree*>(NULL), real_c(0.0), false ); syncCallWithoutTT = std::bind( pe::syncShadowOwners<BodyTuple>, boost::ref(*forest), storageID, static_cast<WcTimingTree*>(NULL), real_c(0.1), false );
WALBERLA_LOG_INFO_ON_ROOT("Using ShadowOwner sync!"); WALBERLA_LOG_INFO_ON_ROOT("Using ShadowOwner sync!");
} else } else
{ {
......
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