mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-22 16:28:30 +00:00
change for predictor-corrector and adams-moulton3
This commit is contained in:
@ -162,7 +162,9 @@ public:
|
||||
}
|
||||
else
|
||||
return false;
|
||||
|
||||
//output<<" ContactSearch::broadSearch::PP fater.\n";
|
||||
|
||||
//output<<" ContactSearch::broadSearch::PW before.\n";
|
||||
if(wallMapping_)
|
||||
{
|
||||
sphereWallTimer_.start();
|
||||
@ -171,6 +173,8 @@ public:
|
||||
}
|
||||
else
|
||||
return false;
|
||||
|
||||
//output<<" ContactSearch::broadSearch::PW after.\n";
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -302,11 +302,13 @@ public:
|
||||
performedSearch_ = false;
|
||||
|
||||
if( !performSearch() ) return true;
|
||||
|
||||
//Info<<"NBS::broadSearch(PairsContainer& pairs, range activeRange, bool force=false) before build"<<endInfo;
|
||||
build(activeRange);
|
||||
//Info<<"NBS::broadSearch(PairsContainer& pairs, range activeRange, bool force=false) after build"<<endInfo;
|
||||
|
||||
//Info<<"NBS::broadSearch(PairsContainer& pairs, range activeRange, bool force=false) before findPairs"<<endInfo;
|
||||
findPairs(pairs);
|
||||
|
||||
//Info<<"NBS::broadSearch(PairsContainer& pairs, range activeRange, bool force=false) after findPairs"<<endInfo;
|
||||
performedSearch_ = true;
|
||||
return true;
|
||||
}
|
||||
|
@ -42,6 +42,7 @@ while( m > -1 )
|
||||
{
|
||||
auto ln = n;
|
||||
auto lm = m;
|
||||
//output<<"lm "<< lm <<" ln "<< ln << " i j k "<< int32x3(i,j,k)<<endl;
|
||||
if(lm>ln) Swap(lm,ln);
|
||||
if( auto res = pairs.insert(lm,ln); res <0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user