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

class for recording pericenter passages and analyzing their distribution to figure out if the orbit is centrophilic or not More...

#include <orbitan.h>

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

Public Member Functions

 COrbitRuntimePericenter (const COrbit *_orbit)
 create the runtime function for an orbit to be integrated later
 
template<typename NumT >
 COrbitRuntimePericenter (const COrbit *_orbit, const std::vector< CPosVelPoint< NumT > > &_traj, double _timeStep)
 create the runtime function for an orbit with already existing trajectory
 
virtual FNCTYPE FncType () const
 derived classes return their type
 
virtual STEPRESULT Timestep (const double told, const double t, CPosVelPoint< double > *vars)
 records pericenter passages
 
virtual void Finish ()
 fit pericenter distribution and compute fitting coefficients
 
virtual CBasicInformationgetData () const
 returns the collected data as an instance of an information object
 
size_t size () const
 
double gett (size_t index) const
 
double getr (size_t index) const
 
double getl2 (size_t index) const
 
- 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
 

Protected Attributes

int drdtsign
 whether approaching or receding from center on the previous timestep
 
vectord pericentert
 
vectord pericenterr
 times and radii of consequent pericenter passages
 
vectord pericenterl2
 L^2 - squared magnitude of angular momentum.
 
double pericenterrmin
 minimum pericenter radius reached so far
 
double fitIntercept
 
double fitSlope
 fitting coefficients for L2 distribution
 
double fitScatter
 scatter in linear fit (less=better, >0.5-poor fit)
 
double fitSignificance
 significance of non-zero value of intercept (in sigmas)
 
double Lcirc2
 approximate squared angular momentum of a circular orbit with this energy
 
double Lavg [N_DIM]
 
double L2avg [N_DIM]
 accumulator for average value of i-th component of angular momentum and its square (to determine if there is a conserved component)
 
- Protected Attributes inherited from smile::CBasicOrbitRuntimeFnc
const COrbitorbit
 pointer to the orbit that is being integrated
 

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...
 

Detailed Description

class for recording pericenter passages and analyzing their distribution to figure out if the orbit is centrophilic or not


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