X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=core%2Fsrc%2Fnet%2Fsf%2Fopenrocket%2Fmasscalc%2FMassCalculator.java;h=5e657f7ab6006909aa342aa0fd63981c08c1ef74;hb=d986f8cf502d63b32f57189b1c9e9825ef19dc86;hp=003650e11603ae6bbc5ae8b88ce82785dfa61557;hpb=6200d1028c54fc15a2e332e3ab6137cf6886ea3a;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.