SARAH & MicrOMEGAs 5.0

Questions concerning the interface to CalcHep/CompHep and MicrOmegas
samyahaghi
Posts: 21
Joined: 22. Jul 2017, 10:48

SARAH & MicrOMEGAs 5.0

Postby samyahaghi » 10. Feb 2018, 07:05

Hi Florian,

Is SARAH 4.12.3 compatible with MicrOMEGAs 5.0?


Regards,
Sam

FStaub
Site Admin
Posts: 765
Joined: 13. Apr 2016, 14:05

Re: SARAH & MicrOMEGAs 5.0

Postby FStaub » 11. Feb 2018, 16:13

Hi,

I haven't found time to check that. If you are going to try it, I would be grateful if you let me know your observations.

Best,
Florian

Socob
Posts: 29
Joined: 7. Dec 2017, 16:18

Re: SARAH & MicrOMEGAs 5.0

Postby Socob » 22. Feb 2018, 12:10

I have taken a cursory look and at least one thing that’s broken is the call to darkOmega() because the number of parameters for that function has changed between micrOMEGAs 4.x and micrOMEGAs 5.0.

micrOMEGAs 4.3.5, include/micromegas.h line 183:

Code: Select all

extern double darkOmega(double *Xf,int Fast, double Beps);


micrOMEGAs 5.0, include/micromegas.h line 197:

Code: Select all

extern double darkOmega(double *Xf,int Fast, double Beps,int *err);


So the main files (CalcOmega*.cpp) don’t compile with micrOMEGAs 5.0.

samyahaghi
Posts: 21
Joined: 22. Jul 2017, 10:48

Re: SARAH & MicrOMEGAs 5.0

Postby samyahaghi » 28. May 2018, 07:50

Hi,

I have checked SARAH 4.13.0 & Micromega 5.0.4.
SARAH is compatible with Micromega 5.0.4.

``Micromega 5'' can calculate dark matter properties in freeze-in formalism.
But SARAH only prepares the files for freeze-out.
If I want to work with freeze-in, what should I do?
Any hint would be appreciated.

Cheers,
Sam

FStaub
Site Admin
Posts: 765
Joined: 13. Apr 2016, 14:05

Re: SARAH & MicrOMEGAs 5.0

Postby FStaub » 29. May 2018, 13:08

Hi,

I have so far never used that function. However, looking at the examples included in micromegas 5.0, it seems to me that you don't need to change anything in the SARAH model files. Only the main file needs to modified, and you need to call for instance darkOmegaFiDecay instead of darkOmega. You can check the new main.c file which with MO to see all necessary changes.

Cheers,
Florian


Return to “CalcHep/CompHep, MicrOmegas”

Who is online

Users browsing this forum: No registered users and 1 guest