SPH
Public Member Functions | List of all members
MpcorpInput Class Reference

Reads data from Minor Planet Center Orbit Database exports. More...

#include <Output.h>

Inheritance diagram for MpcorpInput:
IInput Polymorphic

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...
 
- Public Member Functions inherited from Polymorphic
virtual ~Polymorphic ()
 

Detailed Description

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.

Definition at line 477 of file Output.h.

Constructor & Destructor Documentation

◆ MpcorpInput()

MpcorpInput::MpcorpInput ( const Float  rho = 2700._f,
const Float  albedo = 0.2_f 
)
inlineexplicit

Definition at line 483 of file Output.h.

Member Function Documentation

◆ load()

Outcome MpcorpInput::load ( const Path path,
Storage storage,
Statistics stats 
)
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.


The documentation for this class was generated from the following files: