SPH
|
Reads data from Minor Planet Center Orbit Database exports. More...
#include <Output.h>
Public Member Functions | |
MpcorpInput (const Float rho=2700._f, const Float albedo=0.2_f) | |
virtual Outcome | load (const Path &path, Storage &storage, Statistics &stats) override |
Loads data from the file into the storage. More... | |
![]() | |
virtual | ~Polymorphic () |
Reads data from Minor Planet Center Orbit Database exports.
Since the database does not include the densities of bodies, a stand-in density has to be specified to compute the masses. Similarly, an albedo has to be set for radius estimation.
|
overridevirtual |
Loads data from the file into the storage.
This will remove any data previously stored in storage. Function can also load additional run statistics, such as time of the snapshot, and save it to provided stats value.
Implements IInput.
Definition at line 1333 of file Output.cpp.