![]() |
SMILE
v2.5
Schwarzschild Modelling Interactive expLoratory Environment
|
Runtime function recording binned angular momentum distribution. More...
#include <schwarzschild.h>


Public Member Functions | |
| COrbitRuntimeSchwAngMomDist (const COrbit *_orbit, const CSchwDataAngMomDist *_model) | |
| virtual FNCTYPE | FncType () const |
| derived classes return their type | |
| virtual STEPRESULT | Timestep (const double told, const double t, CPosVelPoint< double > *vars) |
| the following method is called after each timestep. More... | |
| virtual void | Finish () |
| called when integration is finished, performs cleanup/postprocessing but doesn't destroy collected data | |
| virtual CBasicInformation * | getData () const |
| serialize three arrays into one | |
Public Member Functions inherited from smile::CBasicOrbitRuntimeFnc | |
| CBasicOrbitRuntimeFnc (const COrbit *_orbit) | |
| constructs instance and initializes some internal data | |
| virtual | ~CBasicOrbitRuntimeFnc () |
| destroys all necessary internal data | |
Private Attributes | |
| const CSchwDataAngMomDist * | model |
| instance of the corresponding schw.data object | |
| const double | timeStep |
| frequency of angular momentum recording | |
| vectord | binTime |
| time spent in each angular momentum bin | |
| double | Einit |
| orbit energy (assuming that it doesn't change with time) | |
| double | Lcirc2 |
| angular momentum of a circular orbit with this energy | |
Additional Inherited Members | |
Public Types inherited from smile::CBasicOrbitRuntimeFnc | |
| enum | FNCTYPE { FT_TRAJ_ANALYSIS, FT_TRAJ_SAMPLE, FT_POINCARE, FT_PERICENTER, FT_SCHW, FT_VEL_PERTURBER } |
| lists all possible runtime functions More... | |
| enum | STEPRESULT { SR_CONTINUE, SR_TERMINATE, SR_REINIT } |
| result of processing of a timestep More... | |
Protected Attributes inherited from smile::CBasicOrbitRuntimeFnc | |
| const COrbit * | orbit |
| pointer to the orbit that is being integrated | |
Runtime function recording binned angular momentum distribution.
|
virtual |
the following method is called after each timestep.
| [in] | told | is the value of time at the beginning of the timestep |
| [in] | tcur | is the time at the end of timestep |
| [in,out] | vars | are the phase-space variables at the end of timestep; the function may change them and return SR_REINIT to indicate that the ODE integrator needs to be restarted. |
This procedure may call orbit->getPos() and orbit->getVel() to get interpolated coordinates on the interval [told, tcur].
Implements smile::CBasicOrbitRuntimeFnc.
1.8.8