Skip to content
Snippets Groups Projects
Commit bbfab348 authored by mattijs's avatar mattijs
Browse files

BUG: arrarySet: incorrect index->location. Fixes #1506

parent 0d553c3d
Branches
Tags
No related merge requests found
...@@ -69,7 +69,7 @@ void Foam::arraySet::calcSamples ...@@ -69,7 +69,7 @@ void Foam::arraySet::calcSamples
for (label i=1; i<=pointsDensity_.x(); ++i) for (label i=1; i<=pointsDensity_.x(); ++i)
{ {
// Local Cartesian // Local Cartesian
point pt(i*dx*i , j*dy, k*dz); point pt(i*dx, j*dy, k*dz);
// Global Cartesian // Global Cartesian
pt = csys_.globalPosition(pt); pt = csys_.globalPosition(pt);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment