pub fn eng_to_rse(file: &EngFile) -> Result<Converted<RseFile>, MotorError>Expand description
A .eng file as a .rse file, filled the way RockSim’s files are (see the module’s docs).
§Errors
What EngEntry::thrust_curve refuses: a curve with negative thrust, decreasing time or
no impulse, whose Itot and m can’t be worked out. MotorError::Domain for a mass that
has no value in grams, or one that makes a filled figure infinite, such as a propellant mass
so small that the specific impulse overflows.