Skip to main content

keep_supersonic_tables

Function keep_supersonic_tables 

Source
pub fn keep_supersonic_tables()
Expand description

Has every model this process builds from now on take its supersonic table (AeroModel::supersonic_body) as a copy of one the process already built from an equal run on the same reference area, where there is one, keeping up to 64 tables, the first kept dropped first. The run and the reference area are the only inputs the table is built from: the run is compared as AeroModel::share_supersonic_table compares it, and the area by its bits, so a flight flies the same either way. Building a table takes up to about 125 runs of the shock-expansion method, a fifth of a second or more.

For a process that flies a few shapes many times through a path that builds a model each time, such as the command line run in-process: the motor catalog’s check flies 924 motors in 24 probe shapes (issue #1427; its timings are in docs/perf.md). Off by default, so that every model builds its own table unless it shares one by AeroModel::share_supersonic_table: a check that a shared table’s flight matches one flown alone needs the one alone built afresh. It stays on for the rest of the process.