BUG: radialActuactionDiskSource: corrected maxR calculation.

This commit is contained in:
mattijs
2011-09-16 14:44:38 +01:00
parent 67d17dcb12
commit 6ac8d99e92

View File

@ -59,7 +59,7 @@ addRadialActuationDiskAxialInertialResistance
const Field<scalar> zoneCellVolumes(mesh().cellVolumes(), cells);
const vector avgCentre = gSum(zoneCellVolumes*zoneCellCentres)/V();
const scalar maxR = mag(max(zoneCellCentres - avgCentre));
const scalar maxR = gMax(mag(zoneCellCentres - avgCentre));
scalar intCoeffs =
coeffs_[0]