DarkBit.cpp
Go to the documentation of this file.
102 // TODO: Add option to choose options for calculation from MicrOmegas (right now all effects are turned on) 103 result = BEreq::calcSpectrum(byVal(3),byVal(SpA),byVal(SpE),byVal(SpP),byVal(SpNe),byVal(SpNm),byVal(SpNl) ,byVal(&err)); 107 DarkBit_error().raise(LOCAL_INFO, "MicrOmegas spectrum calculation returned error code = " + std::to_string(err)); 144 { return pow(2, (beta-gamma)/alpha)*rhos/pow(r/rs, gamma)/pow(1+pow(r/rs, alpha), (beta-gamma)/alpha); } 160 result.DensityProfile = daFunk::func(profile_gNFW, rhos, rs, alpha, beta, gamma, daFunk::var("r")); 302 daFunk::Funk dsigmavde = it->genRate->gsl_integration("E1", E1_low, E1_high)->set_epsrel(1e-3)->set("v", 0);
error & DarkBit_error() Definition: halo_types.hpp:33 template double gamma3bdy_limits< 0 >(double, double, double, double) double profile_Einasto(double rhos, double rs, double alpha, double r) Einasto dark matter halo profile function. Definition: DarkBit.cpp:147 void sigmav_late_universe(double &result) Retrieve the total thermally-averaged annihilation cross-section for indirect detection (cm^3 / s)... Definition: DarkBit.cpp:70 void GalacticHalo_gNFW(GalacticHaloProperties &result) Module function to generate GalacticHaloProperties for gNFW profile. Definition: DarkBit.cpp:151 Definition: log_tags.hpp:38 MATH_OPERATION(Dif,-) MATH_OPERATION(pow) MATH_OPERATION(fmin) MATH_OPERATION(fmax) class FunkInterp shared_ptr< FunkInterp > interp(T f, std::vector< double > x, std::vector< double > y) Definition: daFunk.hpp:1349 const TH_Channel * find(std::vector< str >) const Check for given channel. Return a pointer to it if found, NULL if not. Definition: ProcessCatalog.cpp:123 std::vector< double > logspace(double x0, double x1, unsigned int n) Definition: daFunk.hpp:186 const Logging::endofmessage EOM Explicit const instance of the end of message struct in Gambit namespace. Definition: logger.hpp:100 template double gamma3bdy_limits< 1 >(double, double, double, double) Header file that includes all GAMBIT headers required for a module source file. EXPORT_SYMBOLS Logging::LogMaster & logger() Function to retrieve a reference to the Gambit global log object. Definition: logger.cpp:95 double profile_gNFW(double rhos, double rs, double alpha, double beta, double gamma, double r) Generalized NFW dark matter halo profile function. Definition: DarkBit.cpp:143 void sigmav_late_universe_MicrOmegas(double &result) Definition: DarkBit.cpp:93 daFunk::Funk genRateMisc Additional decay rate or sigmav (in addition to above channels) Definition: ProcessCatalog.hpp:159 double gamma3bdy_limits(double Eg, double M_DM, double m1, double m2) Calculate kinematical limits for three-body final states. Definition: DarkBit_utils.cpp:41 void ExtractLocalMaxwellianHalo(LocalMaxwellianHalo &result) Module function providing local density and velocity dispersion parameters. Definition: DarkBit.cpp:177 daFunk::Funk DensityProfile Definition: halo_types.hpp:41 Rollcall header for module DarkBit. void mwimp_generic(double &result) Retrieve the DM mass in GeV for generic models (GeV) Definition: DarkBit.cpp:60 T byVal(T t) Redirection function to turn an lvalue into an rvalue, so that it is correctly passed by value when d... Definition: util_functions.hpp:49 void DM_process_from_ProcessCatalog(std::string &result) Information about the nature of the DM process in question (i.e. Definition: DarkBit.cpp:114 Definition: halo_types.hpp:39 void GalacticHalo_Einasto(GalacticHaloProperties &result) Module function to generate GalacticHaloProperties for Einasto profile. Definition: DarkBit.cpp:165 Utility functions for DarkBit. |