Commit d31d652d authored by mattijs's avatar mattijs
Browse files

Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev

parents 9fc20c4e d5132b7b
......@@ -271,7 +271,7 @@ void timeVaryingMappedFixedValueFvPatchField<Type>::readSamplePoints()
maxDist = magE1;
}
}
e1 = samplePoints[i] - p0;
e1 = samplePoints[index1] - p0;
// Find point that is furthest away from line p0-p1
const point& p1 = samplePoints[index1];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment