SMILE
v2.5
Schwarzschild Modelling Interactive expLoratory Environment
|
An utility class that keeps all necessary data to start orbit integration. More...
#include <orbitlib.h>
Public Member Functions | |
COrbitLauncher (const CPotential *_potential, const CConfigOrbit &_configOrbit) | |
void | addCreator (const CBasicOrbitRuntimeFncCreator *crt) |
template<typename NumT > | |
COrbit * | createOrbit (const CPosVelPoint< NumT > &initCond, NumT intTime, NumT maxTime) const |
create orbit with given initial conditions and parameters stored in this class instance | |
const CPotential * | getPotential () const |
return pointer to the potential | |
const CConfigOrbit * | getConfig () const |
return pointer to the config | |
Private Attributes | |
const CPotential * | potential |
const CConfigOrbit * | configOrbit |
vectorRuntimeFncCreators | creators |
An utility class that keeps all necessary data to start orbit integration.
These data are: potential, library of runtime function creators, and common parameters for integrator. ATTENTION: unlike (almost?) all other classes in SMILE, this class does not simply copy pointers to potential, creators and parameters, but takes over the ownership. This means that