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

an example of evaluation function for multimass Nbody models, which sorts orbits in total energy More...

#include <orbitlib.h>

Inheritance diagram for smile::CEnergyOrbitFilteringFnc:
Inheritance graph
[legend]
Collaboration diagram for smile::CEnergyOrbitFilteringFnc:
Collaboration graph
[legend]

Public Member Functions

 CEnergyOrbitFilteringFnc (double _Omega=0)
 
virtual double eval (const COrbitDesc *orbit) const
 return total energy of an orbit for the initial conditions in the inertial frame
 

Private Attributes

const double Omega
 frequency of figure rotation of the potential (need to compensate the value of Jacobi constant read from the orbit desc)
 

Detailed Description

an example of evaluation function for multimass Nbody models, which sorts orbits in total energy


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