Page 1 of 1

Is there any way to change the accuracy of just one new equation in CAMB?

Posted: May 30 2022
by Jiwon Park
Dear all,

I'm trying to implement a new field equation in CAMB. But due to the extraordinary feature of the field, it shows an unnecessary small oscillation as it evolves.
However, what I need is just the overall amplitude of the field and not the tiny fluctuation, which only results in a significantly slower code. So I want to set a different precision for the equation solver only for my specific field. So, Is there any way to do this?
As far as I understand the code, it seems that the solver allocates the same accuracy parameter for all species simultaneously.
If you could help with this issue, I would appreciate it.

Jiwon Park

Re: Is there any way to change the accuracy of just one new equation in CAMB?

Posted: May 31 2022
by Antony Lewis
No, the solver is adaptive. Probably best to derive an analytic approximation equation for the amplitude if that's what you want.