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
@ -97,6 +97,10 @@ public class RailButtonCalc extends RocketComponentCalc {
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user