Skip to content
Snippets Groups Projects
Commit 540480ac authored by mattijs's avatar mattijs Committed by Mark OLESEN
Browse files

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

parent 0fe82612
No related branches found
No related tags found
No related merge requests found
...@@ -66,7 +66,7 @@ void Foam::arraySet::calcSamples ...@@ -66,7 +66,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