sampledSets: Corrected curve distance list ordering in parallel

Resolves bug-report https://bugs.openfoam.org/view.php?id=2792
This commit is contained in:
Henry Weller
2017-12-18 16:15:19 +00:00
parent 73d878406f
commit 6c5c27c0b1

View File

@ -129,7 +129,7 @@ void Foam::sampledSets::combineSampledSets
samplePts.name(),
samplePts.axis(),
List<point>(UIndirectList<point>(allPts, indexSets[setI])),
allCurveDist
scalarList(UIndirectList<scalar>(allCurveDist, indexSets[setI]))
)
);
}