SMILE  v2.5
Schwarzschild Modelling Interactive expLoratory Environment
Public Member Functions | Private Attributes | List of all members
smile::COrbitLauncher Class Reference

An utility class that keeps all necessary data to start orbit integration. More...

#include <orbitlib.h>

Collaboration diagram for smile::COrbitLauncher:
Collaboration graph
[legend]

Public Member Functions

 COrbitLauncher (const CPotential *_potential, const CConfigOrbit &_configOrbit)
 
void addCreator (const CBasicOrbitRuntimeFncCreator *crt)
 
template<typename NumT >
COrbitcreateOrbit (const CPosVelPoint< NumT > &initCond, NumT intTime, NumT maxTime) const
 create orbit with given initial conditions and parameters stored in this class instance
 
const CPotentialgetPotential () const
 return pointer to the potential
 
const CConfigOrbitgetConfig () const
 return pointer to the config
 

Private Attributes

const CPotentialpotential
 
const CConfigOrbitconfigOrbit
 
vectorRuntimeFncCreators creators
 

Detailed Description

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


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