CAMB Aug06: Scalar + Tensor?

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Christophe Ringeval
Posts: 17
Joined: November 07 2004
Affiliation: Theoretical and Mathematical Physics Group, CP3, Louvain University
Contact:

CAMB Aug06: Scalar + Tensor?

Post by Christophe Ringeval » September 13 2006

Hi,
I may be missing something, but with the last CAMB version, both the standalone and the one in cosmomc, I cannot get simultaneously scalar and tensor Cls output files.

For instance, if in params.ini I set:
get_scalar_cls = T
get_vector_cls = F
get_tensor_cls = T

I get only this output file: test_tensCls.dat.

No sure if this is the correct things to do, but in camb.f90, everything works fine again by uncommenting the following lines and moving them out of all the "if endif" scalar/tensor/vector constructs [in CAMB_GetResult()] and pasting them just before the end of the routine.

!Was there a good reason for doing this??
!CP%Transfer%high_precision = Params%Transfer%high_precision
!CP%WantTransfer = Params%WantTransfer
!CP%WantTensors = Params%WantTensors
!CP%WantVectors = Params%WantTensors
!Params = CP


Anthony, could you confirm that I am not screwing up something else by doing this?

Cheers,
Chris.

PS: these lines are uncommented in camb within cosmomc, but still inside some if endif construct. Therefore, the default Params values seem to not be restored before calling the output cls function in module.f90

Antony Lewis
Posts: 1941
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: CAMB Aug06: Scalar + Tensor?

Post by Antony Lewis » September 13 2006

Yes, sorry - this is hopefully fixed in Sept 06 version now uploaded to the web site.

Post Reply