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

Another mass refinement function that aims to reduce the average mass of particles inside a given radius. More...

#include <orbitlib.h>

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

Public Member Functions

 CRadiusMassRefinementFnc (double _refinementRadius, double _massRatio)
 initialize bin boundaries by sorting the output of evalFnc for all orbits in the library
 
virtual double eval (const COrbitDesc *orbit) const
 return the mass multiplier for an orbit, based on the fraction of time it spends inside the given radius
 

Private Attributes

double refinementRadius
 increase the mass resolution within the given radius
 
double massRatio
 ratio between maximum and minumum allowed particle mass
 

Detailed Description

Another mass refinement function that aims to reduce the average mass of particles inside a given radius.


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