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

Runtime function corresponding to Schwatzschild density data object based on spherical-harmonic expansion of potential coefficients at radial grid points or for some radial basis functions (serves both variants) More...

#include <schwarzschild.h>

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

Public Member Functions

 COrbitRuntimeSchwDensSH (const COrbit *_orbit, const CSchwDataDensSH *_model)
 
virtual FNCTYPE FncType () const
 derived classes return their type
 
virtual STEPRESULT Timestep (const double told, const double t, CPosVelPoint< double > *vars)
 record trajectory
 
virtual void Finish ()
 the actual coefs computation is done here
 
virtual CBasicInformationgetData () 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 Attributes

const CSchwDataDensSHmodel
 pointer to one of the two spherical-harmonic based Schwarzschild data objects used to compute expansion coefficients for each orbit
 
CPointMassSet< double > traj
 keeps trajectory data to compute SH coefficients when finished
 
vectord SHcoefs
 coefficients of spherical-harmonic expansion
 
double timeStep
 defined maximum interval between stored trajectory points (need not be stored equidistantly in time)
 

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 COrbitorbit
 pointer to the orbit that is being integrated
 

Detailed Description

Runtime function corresponding to Schwatzschild density data object based on spherical-harmonic expansion of potential coefficients at radial grid points or for some radial basis functions (serves both variants)


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