BUG: Correct calculation of e1

This commit is contained in:
sergio
2010-11-12 15:11:06 +00:00
parent e39c1c1d7f
commit d5132b7ba8

View File

@ -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];