Commit d5132b7b authored by sergio's avatar sergio
Browse files

BUG: Correct calculation of e1

parent e39c1c1d
......@@ -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