1 package net.sf.openrocket.simulation;
3 import net.sf.openrocket.simulation.exception.SimulationException;
6 * A simulation engine that controls the flow of a simulation. This typically maintains
7 * flight events and related actions, while continuously calling a SimulationStepper to
8 * move the rocket forward step by step.
10 * @author Sampo Niskanen <sampo.niskanen@iki.fi>
12 public interface SimulationEngine {
15 * Simulate the flight of a rocket.
17 * @param simulation the simulation conditions which to simulate.
18 * @return a FlightData object containing the simulated data.
19 * @throws SimulationException if an error occurs during simulation
21 public FlightData simulate(SimulationConditions simulation)
22 throws SimulationException;