![]() |
SMILE
v2.5
Schwarzschild Modelling Interactive expLoratory Environment
|
Runtime function corresponding to classic 3d-grid Schwarzschild density data object. More...
#include <schwarzschild.h>


Public Member Functions | |
| COrbitRuntimeSchwDensGrid (const COrbit *_orbit, const CSchwDataDensGrid *_model) | |
| virtual FNCTYPE | FncType () const |
| derived classes return their type | |
| virtual STEPRESULT | Timestep (const double told, const double t, CPosVelPoint< double > *vars) |
| find the cell(s) which the orbit traversed during this timestep | |
| virtual void | Finish () |
| normalize the time spent in each cell by the total integration time | |
| virtual CBasicInformation * | getData () const |
| returns the collected data as an instance of an information object | |
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 Member Functions | |
| void | calcCellTime (double tlow, double tupp, size_t clow, size_t cupp) |
| record time-in-cell with fraction-of-period accuracy | |
Private Attributes | |
| const CSchwDataDensGrid * | model |
| pointer to the Schwarzschild data object which handles the partitioning of space into cells | |
| vectord | cellTime |
| time spent in each cell of Schwarzschild's model | |
| size_t | cellprev |
| cell index at previous timestep (for recording time-spent-in-cell) | |
| double | timeAccuracy |
| compute the time in each cell with this accuracy | |
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 corresponding to classic 3d-grid Schwarzschild density data object.
1.8.8