# | Line 92 | Line 92 | bool AnalyticalModel::calcHydroProps(Ellipsoid* ellips | |
---|---|---|
92 | double S; | |
93 | if (p > 1.0) { //prolate | |
94 | S = 2.0/sqrt(a2 - b2) * log((a + sqrt(a2-b2))/b); | |
95 | < | } { //oblate |
95 | > | } else { //oblate |
96 | S = 2.0/sqrt(b2 - a2) * atan(sqrt(b2-a2)/a); | |
97 | } | |
98 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |