Page 1 of 1
SARAH & MicrOMEGAs 5.0
Posted: 10. Feb 2018, 07:05
by samyahaghi
Hi Florian,
Is SARAH 4.12.3 compatible with MicrOMEGAs 5.0?
Regards,
Sam
Re: SARAH & MicrOMEGAs 5.0
Posted: 11. Feb 2018, 16:13
by FStaub
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
Re: SARAH & MicrOMEGAs 5.0
Posted: 22. Feb 2018, 12:10
by Socob
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.
Re: SARAH & MicrOMEGAs 5.0
Posted: 28. May 2018, 07:50
by samyahaghi
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
Re: SARAH & MicrOMEGAs 5.0
Posted: 29. May 2018, 13:08
by FStaub
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