circleSet: Corrected point ordering

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1932
This commit is contained in:
Henry Weller
2015-12-01 09:45:58 +00:00
parent fe3916e09a
commit 0a133a39f7

View File

@ -118,7 +118,10 @@ void Foam::circleSet::calcSamples
samplingCells.append(cellI);
samplingFaces.append(-1);
samplingSegments.append(nPoint);
samplingCurveDist.append(mag(pt - startPoint_));
samplingCurveDist.append
(
radius*constant::mathematical::pi/180.0*theta
);
nPoint++;
}