X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=core%2Fsrc%2Fnet%2Fsf%2Fopenrocket%2Fmasscalc%2FMassCalculator.java;h=5e657f7ab6006909aa342aa0fd63981c08c1ef74;hb=9349577cdfdff682b2aabd6daa24fdc3a7449b58;hp=003650e11603ae6bbc5ae8b88ce82785dfa61557;hpb=da1c2a7f13fc0e3e84f36981a3bb996f2254f766;p=debian%2Fopenrocket diff --git a/core/src/net/sf/openrocket/masscalc/MassCalculator.java b/core/src/net/sf/openrocket/masscalc/MassCalculator.java index 003650e1..5e657f7a 100644 --- a/core/src/net/sf/openrocket/masscalc/MassCalculator.java +++ b/core/src/net/sf/openrocket/masscalc/MassCalculator.java @@ -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.