[fix][doc] fixes comments in BarrowmanCalculator.java
This commit is contained in:
parent
bbef167bbc
commit
5bea957e50
@ -629,9 +629,9 @@ public class BarrowmanCalculator extends AbstractAerodynamicCalculator {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// if I'm the last componenet, set my base CD
|
// if I'm the last component, set my base CD
|
||||||
// note I can't depend on the iterator serving up components in order,
|
// note: the iterator *should* serve up the next component.... buuuut ....
|
||||||
// so I can't just do this after the last iteration.
|
// this code has is tested, and there's no compelling reason to change.
|
||||||
if (s.getNextSymmetricComponent() == null) {
|
if (s.getNextSymmetricComponent() == null) {
|
||||||
double area = Math.PI * pow2(s.getAftRadius());
|
double area = Math.PI * pow2(s.getAftRadius());
|
||||||
double cd = base * area / conditions.getRefArea();
|
double cd = base * area / conditions.getRefArea();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user