Class to read user's input. More...
#include <input.h>
Public Member Functions | |
| Input () | |
| Input (char **argv, int argc) | |
| Input (char *run, double &Ekfact_, int &Nr, int &Nz, double &D0_, double &zt_, double &zmax_, double &delta_, double &index_radial_, double &ab_C_, double &ab_N_, double &vA_, double &vC_, double &dvdz_conv_, double etaT_, char *profile) | |
| virtual | ~Input () |
Public Attributes | |
| double | Ekfact |
| int | numr |
| int | numz |
| double | D0 |
| double | zt |
| double | zmax |
| double | delta |
| double | index_radial |
| double | vAlfven |
| double | ab_C |
| double | ab_N |
| double | v0 |
| double | dvdz |
| double | etaT |
| DPerpType | set_profile |
| string | filename |
| double | mx |
| double | taudec |
| double | sigmav |
| int | dmmode |
| DMprofile | dmprof |
| DM spatial profile. Iso NFW Kra Moore Einasto Alpha 2 1 2 1.5 Beta 2 3 3 3.0 Gamma 0 1 0.4 1.5 Rs 3.5 20. 10. 28. DMprof_ 0 1 2 3 4. | |
Class to read user's input.
Definition at line 25 of file input.h.
| Input::Input | ( | char ** | argv, | |
| int | argc | |||
| ) | [inline] |
| Input::Input | ( | char * | run, | |
| double & | Ekfact_, | |||
| int & | Nr, | |||
| int & | Nz, | |||
| double & | D0_, | |||
| double & | zt_, | |||
| double & | zmax_, | |||
| double & | delta_, | |||
| double & | index_radial_, | |||
| double & | ab_C_, | |||
| double & | ab_N_, | |||
| double & | vA_, | |||
| double & | vC_, | |||
| double & | dvdz_conv_, | |||
| double | etaT_, | |||
| char * | profile | |||
| ) | [inline] |
| virtual Input::~Input | ( | ) | [inline, virtual] |
| double Input::ab_C |
| double Input::ab_N |
| double Input::D0 |
[1e28 cm^2/s] Normalization of diffusion coefficient.
Definition at line 113 of file input.h.
Referenced by Galaxy::Galaxy(), and DRAGON::Print().
| double Input::delta |
Power law index of energy dependence of diffusion coefficient.
Definition at line 116 of file input.h.
Referenced by Galaxy::Galaxy(), and DRAGON::Print().
| int Input::dmmode |
DM channel. Ch No Particles Old Ch No 5 h10 h30 7 6 h20 h30 11 8 z0 h10 8 9 z0 h20 9 11 w+ h- / w- h+ 10 12 z0 z0 6 13 w+ w- 5 17 mu+ mu- 13 19 tau+ tau- 4 22 cc-bar 1 24 tt-bar 3 25 bb-bar 2 26 gluon gluon 12 29 z gamma 14
Definition at line 129 of file input.h.
Referenced by DRAGON::Print(), and TParticle::TParticle().
DM spatial profile. Iso NFW Kra Moore Einasto Alpha 2 1 2 1.5 Beta 2 3 3 3.0 Gamma 0 1 0.4 1.5 Rs 3.5 20. 10. 28. DMprof_ 0 1 2 3 4.
Definition at line 147 of file input.h.
Referenced by Galaxy::Galaxy(), and DRAGON::Print().
| double Input::dvdz |
[km/s/kpc] Vertical derivative of convection velocity.
Definition at line 122 of file input.h.
Referenced by Galaxy::Galaxy(), and DRAGON::Print().
| double Input::Ekfact |
Delta E/E.
Definition at line 110 of file input.h.
Referenced by Galaxy::Galaxy(), and DRAGON::Print().
| double Input::etaT |
index of dependence of the diffusion coefficient with .
Definition at line 123 of file input.h.
Referenced by Galaxy::Galaxy().
| string Input::filename |
Run name.
Definition at line 125 of file input.h.
Referenced by DRAGON::DRAGON(), Input(), DRAGON::PrintChi2(), and DRAGON::PrintRatios().
| double Input::index_radial |
Power law index of the scaling of diffusion coefficient with sources in the radial direction.
Definition at line 117 of file input.h.
Referenced by Galaxy::Galaxy().
| double Input::mx |
DM mass.
Definition at line 126 of file input.h.
Referenced by Galaxy::Galaxy(), DRAGON::Print(), and TParticle::TParticle().
| int Input::numr |
Dimension of R grid.
Definition at line 111 of file input.h.
Referenced by Galaxy::Galaxy(), and DRAGON::Print().
| int Input::numz |
Dimension of Z grid
Definition at line 112 of file input.h.
Referenced by Galaxy::Galaxy(), and DRAGON::Print().
Type of diffusion.
Definition at line 124 of file input.h.
Referenced by Galaxy::Galaxy(), and Input().
| double Input::sigmav |
Thermally averaged DM annihilation cross section.
Definition at line 128 of file input.h.
Referenced by Galaxy::Galaxy(), DRAGON::Print(), and TParticle::TParticle().
| double Input::taudec |
Lifetime of DM particle.
Definition at line 127 of file input.h.
Referenced by Galaxy::Galaxy(), DRAGON::Print(), and TParticle::TParticle().
| double Input::v0 |
[km/s] Convection velocity on the galactic plane.
Definition at line 121 of file input.h.
Referenced by Galaxy::Galaxy(), and DRAGON::Print().
| double Input::vAlfven |
[km/s] Alfven velocity.
Definition at line 118 of file input.h.
Referenced by Galaxy::Galaxy(), and DRAGON::Print().
| double Input::zmax |
[kpc] Half height of the propagation box.
Definition at line 115 of file input.h.
Referenced by Galaxy::Galaxy(), and DRAGON::Print().
| double Input::zt |
[kpc] Vertical scale of diffusion coefficient.
Definition at line 114 of file input.h.
Referenced by Galaxy::Galaxy(), and DRAGON::Print().
1.6.3