mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-12 16:26:23 +00:00
bug fix for push_back
This commit is contained in:
@ -52,11 +52,13 @@ bool pFlow::domainDistribute::locateParticles(
|
||||
|
||||
range activeRange = mask.activeRange();
|
||||
|
||||
|
||||
for(int32 di=0; di<numDomains_; di++)
|
||||
{
|
||||
particlesInDomains_[di].clear();
|
||||
}
|
||||
|
||||
|
||||
for(int32 i=activeRange.first; i<activeRange.second; i++)
|
||||
{
|
||||
if(mask(i))
|
||||
@ -76,8 +78,6 @@ bool pFlow::domainDistribute::locateParticles(
|
||||
numParInDomain_[di] = particlesInDomains_[di].size();
|
||||
}
|
||||
|
||||
output<<" numParInDomain_ "<< numParInDomain_<<endl;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user