Simple test galaxy model with one flux, one color and no caching.
|
Public Member Functions |
|
| PopModelCache (int ndim, int mdim, SampleDistribution *dist) |
| | Constructor.
|
|
| ~PopModelCache () |
| | Destructor.
|
|
void | SetKnots (int num) |
| | Reset number of integration points.
|
|
void | ResetCache () |
| | Reset model cache.
|
|
virtual double | NormEval (double x, double y, SampleDistribution *d) |
| | Compute normalization of tiles.
|
|
virtual vector< double > | Evaluate (double x, double y, SampleDistribution *d) |
| | Main method returning source density.
|
|
string | ParameterDescription (int i) |
| | Label parameters.
|
|
int | DataDimension () |
| | Dimension of data attributes.
|
|
| void | Initialize (State &) |
| | Initialize state dependent part of calculation.
|
|
void | Initialize (vector< double > &w, vector< double > *&p) |
| | From component weights and parameter vectors.
|
Static Public Attributes |
|
static double | R0 |
| | Observers position (kpc) (default 8.0).
|
|
static double | A1 |
| | Extinction slab size (kpc) (default 15.0).
|
|
static double | Z1 |
| | Extinction slab height (pc) (default 150.0).
|
|
static double | Z0 |
| | Vertical position of sun (pc) (default 15.0).
|
|
static double | EFAC |
| | Multiplicative extinction factor (default 1.0).
|
|
static double | RMIN |
| | Minimum radius (kpc) (default: 0.01 [10 pc]).
|
|
static double | RMAX |
| | Maximum radius (kpc) (default: 20.0 [20 kpc]).
|
|
static bool | RLOG |
| | Use logarithmic scaling for line-of-sight integration (default: false).
|
|
static BirthRate | BRmodel |
| | Birth rate models.
|
|
static double | BURST |
| | Birth rate burst fraction.
|
|
static double | NU |
| | Birth rate power law index.
|
|
static string | DataDir |
| | File defining stellar classes.
|
|
|
static int | NUM |
| | Number of integration knots for Jacobi quadrature (default 200).
|
|
static double | METAL |
| | Metallicity (default: 0.019).
|
| static double | ALPHA |
| | Jacobi quadrature parameters (default: 0, 0).
|
|
static double | BETA |
| | Beta exponent.
|
|
| static bool | RING |
| | Molecular ring and central extinction (default false).
|
|
static double | RINGWIDTH |
| | Width of the ring.
|
|
static double | RINGAMP |
| | Strength of the ring in .
|
|
static double | RINGLOC |
| | Radius of the ring.
|
|
static double | CENTERWIDTH |
| | Width of the central extinction.
|
|
static double | CENTERAMP |
| | Amplitude of the central extinction.
|
|
static double | NEARBYWIDTH |
| | Width of nearby excess.
|
|
static double | NEARBYAMP |
| | Amplitude of nearby excess.
|
|
| static double | AMIN |
| | Limits for model parameters.
|
|
static double | AMAX |
| | Maximum scale length.
|
|
static double | HMIN |
| | Minimum scale height.
|
|
static double | HMAX |
| | Maximum scale height.
|
Protected Member Functions |
|
virtual void | generate (double L, double B) |
| | Compute model predictions.
|
|
virtual void | compute_bins (SampleDistribution *sd) |
| | Compute bins.
|
|
void | check_bounds () |
| | Check for good bounds.
|
Protected Attributes |
|
PopulationsApp * | pops |
| | Population model.
|
|
pid_t | pid |
| | Parent process id.
|
|
vector< double > | flux |
| | Point components.
|
|
int | Nflux |
| | Number of data dimensions.
|
| JacoQuad * | intgr |
| | Stellar components.
|
|
int | M |
| | Maximum number in mixture.
|
|
int | Mcur |
| | Current number in mixture.
|
|
int | Ndim |
| | Number of model dimensions.
|
|
vector< double > | work |
| | Work space.
|
|
bool | good_bounds |
| | Bounds flag.
|
|
EvalType | type |
| | Evaluation type.
|
|
| int | nbins |
| | Histogram components.
|
|
vector< dvector > | lowb |
| | Low values of bins.
|
|
vector< dvector > | highb |
| | High values of bins.
|
|
| vector< double > | wt |
| | State vector.
|
|
vector< vector< double > > | pt |
| | Parameters.
|
|
| vector< PopCache * > | cache |
| | Cache variables.
|
|
int | listCntr |
| | The current counter.
|
|
int | missed |
| | The number of cache misses.
|
|
int | nages |
| | Number of ages for each element.
|
|
vector< double > | ages |
| | The age values in the grid.
|
|
vector< double > | popweight |
| | The weights in the total population for each age.
|
Static Protected Attributes |
|
| static double | Log10 |
| | Constants.
|
|
static double | onedeg |
| | Radians per degree.
|
Friends |
|
class | boost::serialization::access |
Simple test galaxy model with one flux, one color and no caching.