Divide rail button CD by instance count, since it gets multiplied by instance count up in BarrowmanCalculator.
This commit is contained in:
parent
14db274d42
commit
e9b7ff8249
@ -96,6 +96,10 @@ public class RailButtonCalc extends RocketComponentCalc {
|
|||||||
// add to CDmul
|
// add to CDmul
|
||||||
CDmul += cd;
|
CDmul += cd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// since we'll be multiplying by the instance count up in BarrowmanCalculator,
|
||||||
|
// we want to return the mean CD instead of the total
|
||||||
|
CDmul /= button.getInstanceCount();
|
||||||
|
|
||||||
return CDmul * stagnationCD * refArea / conditions.getRefArea();
|
return CDmul * stagnationCD * refArea / conditions.getRefArea();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user