renamed private method
authorplaa <plaa@180e2498-e6e9-4542-8430-84ac67f01cd8>
Sun, 4 Sep 2011 17:54:10 +0000 (17:54 +0000)
committerplaa <plaa@180e2498-e6e9-4542-8430-84ac67f01cd8>
Sun, 4 Sep 2011 17:54:10 +0000 (17:54 +0000)
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@169 180e2498-e6e9-4542-8430-84ac67f01cd8

src/net/sf/openrocket/aerodynamics/BarrowmanCalculator.java

index dac1c83d99401e6d05ccbd52bf0cf4c4a60f9bfd..be139e147c4a049f877396e7794ff1d345ef85b3 100644 (file)
@@ -58,7 +58,7 @@ public class BarrowmanCalculator extends AbstractAerodynamicCalculator {
        public Coordinate getCP(Configuration configuration, FlightConditions conditions,
                        WarningSet warnings) {
                checkCache(configuration);
-               AerodynamicForces forces = getNonAxial(configuration, conditions, null, warnings);
+               AerodynamicForces forces = calculateNonAxialForces(configuration, conditions, null, warnings);
                return forces.getCP();
        }
        
@@ -83,7 +83,7 @@ public class BarrowmanCalculator extends AbstractAerodynamicCalculator {
                
 
                // Calculate non-axial force data
-               AerodynamicForces total = getNonAxial(configuration, conditions, map, warnings);
+               AerodynamicForces total = calculateNonAxialForces(configuration, conditions, map, warnings);
                
 
                // Calculate friction data
@@ -124,7 +124,7 @@ public class BarrowmanCalculator extends AbstractAerodynamicCalculator {
                        warnings = ignoreWarningSet;
                
                // Calculate non-axial force data
-               AerodynamicForces total = getNonAxial(configuration, conditions, null, warnings);
+               AerodynamicForces total = calculateNonAxialForces(configuration, conditions, null, warnings);
                
                // Calculate friction data
                total.setFrictionCD(calculateFrictionDrag(configuration, conditions, null, warnings));
@@ -150,7 +150,7 @@ public class BarrowmanCalculator extends AbstractAerodynamicCalculator {
        /*
         * Perform the actual CP calculation.
         */
-       private AerodynamicForces getNonAxial(Configuration configuration, FlightConditions conditions,
+       private AerodynamicForces calculateNonAxialForces(Configuration configuration, FlightConditions conditions,
                        Map<RocketComponent, AerodynamicForces> map, WarningSet warnings) {
                
                checkCache(configuration);