ENH: e1 reCalculation

This commit is contained in:
sergio
2010-11-12 13:02:24 +00:00
parent 30cf0e4263
commit 8b31f15a3d

View File

@ -271,7 +271,7 @@ void timeVaryingMappedFixedValueFvPatchField<Type>::readSamplePoints()
maxDist = magE1;
}
}
e1 = samplePoints[i] - p0;
// Find point that is furthest away from line p0-p1
const point& p1 = samplePoints[index1];