Added gravitational acceleration and propellant mass datatypes.
[debian/openrocket] / core / src / net / sf / openrocket / masscalc / MassCalculator.java
index 003650e11603ae6bbc5ae8b88ce82785dfa61557..5e657f7ab6006909aa342aa0fd63981c08c1ef74 100644 (file)
@@ -70,6 +70,14 @@ public interface MassCalculator extends Monitorable {
         */
        public double getRotationalInertia(Configuration configuration, MotorInstanceConfiguration motors);
        
+       /**
+        * Return the total mass of the motors
+        * 
+        * @param motors                        the motor configuration
+        * @param configuration         the current motor instance configuration
+        * @return                                      the total mass of all motors
+        */
+       public double getPropellantMass(Configuration configuration, MotorInstanceConfiguration motors);        
        
        /**
         * Compute an analysis of the per-component CG's of the provided configuration.