-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
450 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#ifndef _BOLTZMANN_EQUATION_H_ | ||
#define _BOLTZMANN_EQUATION_H_ | ||
|
||
#include <string> | ||
#include <vector> | ||
|
||
#include "EvoEMD/Hubble.h" | ||
#include "EvoEMD/ParticleBase.h" | ||
#include "EvoEMD/RungeKutta.h" | ||
|
||
namespace EvoEMD { | ||
|
||
class BoltzmannEquation : public ODE_FUNCS { | ||
private: | ||
Parameter_Base *ptr_scale; | ||
REAL scale; | ||
std::vector<int> poi_pids; | ||
std::vector<std::string> poi_names; | ||
std::vector<Pseudo_Particle *> poi_ptrs; | ||
Particle_Factory &pf; | ||
Hubble_History &hh; | ||
void Setup_Scale(); | ||
|
||
public: | ||
BoltzmannEquation(Parameter_Base *scale = nullptr); | ||
~BoltzmannEquation(){}; | ||
|
||
virtual VD dYdX(REAL x, VD y) override; | ||
virtual VD Yeq(REAL x) override; | ||
}; | ||
|
||
} // namespace EvoEMD | ||
|
||
#endif //_BOLTZMANN_EQUATION_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,6 @@ | |
#define GeV 1 | ||
#define TeV 1000 | ||
#define eV 1e-9 | ||
#define BESSEL_Z_MAX 200 | ||
|
||
#endif //_CONSTANTS_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#ifndef _TOY_DM_PROCESSES_H | ||
#define _TOY_DM_PROCESSES_H | ||
|
||
#include "EvoEMD/CollisionRate.h" | ||
|
||
class XX_SS_Amp : public EvoEMD::Amplitude { | ||
public: | ||
XX_SS_Amp(); | ||
~XX_SS_Amp(){}; | ||
|
||
virtual void Update_Amp(REAL sqrt_shat) override; | ||
virtual REAL Get_Coeff(REAL T, int PID) override; | ||
}; | ||
|
||
#endif //_TOY_DM_PROCESSES_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#ifndef _TOY_DM_PARAMETERS_H_ | ||
#define _TOY_DM_PARAMETERS_H_ | ||
|
||
#include "EvoEMD/ParameterBase.h" | ||
using namespace EvoEMD; | ||
DECLARE_FREE_PARAMETER(Lam, 1e-2); | ||
DECLARE_FREE_PARAMETER(MX, 100); | ||
|
||
#endif //_TOY_DM_PARAMETERS_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#ifndef _TOY_DM_PARTICLES_H_ | ||
#define _TOY_DM_PARTICLES_H_ | ||
|
||
#include "EvoEMD/ParticleBase.h" | ||
#include "Parameters.h" | ||
using namespace EvoEMD; | ||
REGISTER_PARTICLE(Boson, X, 900001, 2, RETRIVE_PARAMETER(MX), nullptr, true); | ||
REGISTER_POI(900001, 1); | ||
|
||
REGISTER_PARTICLE(Boson, S, 900011, 1, nullptr, nullptr, true); | ||
|
||
#endif //_TOY_DM_PARTICLES_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#include "Amplitudes.h" | ||
#include "EvoEMD/ProcessBase.h" | ||
|
||
EvoEMD::Process *g_ss_xx = new EvoEMD::Process(new XX_SS_Amp); |
Oops, something went wrong.