CosmoBolognaLib
Free Software C++/Python libraries for cosmological calculations
CAMB.h File Reference

class CAMB that wrap CAMB routines More...

#include "Kernel.h"
Include dependency graph for CAMB.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 cbl
 The global namespace of the CosmoBolognaLib
 
 cbl::wrapper
 The namespace of the wrappers
 
 cbl::wrapper::camb
 The namespace of the CAMB wrappers
 

Functions

void * cbl::wrapper::camb::GetCAMBparams ()
 wrapper of the function GetCAMBparams in CAMB/CAMBinterface.f90, creating an instance of the CAMBparams type contained in External/CAMB/fortran/model.f90 More...
 
void * cbl::wrapper::camb::GetCAMBdata ()
 
void cbl::wrapper::camb::SetCAMBparams (void *params, const double ombh2, const double omch2, const double omnuh2, const double massless_nu, const int massive_nu, const int neutrino_hierarchy, const double omk, const double H0, const int dark_energy_model, const double w, const double wa, const double tau, const double cs2_lam, const double T_cmb, const double helium_fraction)
 wrapper of the subroutine SetCAMBparams in CAMB/CAMBinterface.f90, setting CAMBparams parameters More...
 
void cbl::wrapper::camb::SetCAMBPk (void *params, const double redshift, const double ns, const double As, const double pivot_scalar, const bool accurate_massive_nu, const double kmax, const bool nonlinear)
 wrapper of the subroutine SetCAMBPk in CAMB/CAMBinterface.f90, setting the power spectrum parameters More...
 
void cbl::wrapper::camb::GetCAMBresults (void *params, void *data)
 wrapper of the subroutine GetCAMBresults in CAMB/CAMBinterface.f90, calling the subroutine CAMB_GetResults contained in External/CAMB/fortran/camb.f90 More...
 
void cbl::wrapper::camb::GetCAMBPk (void *data, double *Pk, const double mink, const double dlnkh, const int npoints)
 wrapper of the subroutine GetCAMBPk in CAMB/CAMBinterface.f90, calling the subroutine Transfer_GetMatterPowerD contained in External/CAMB/fortran/results.f90 More...
 
void * cbl::wrapper::camb::ReleaseCAMBparams (void *params)
 wrapper of the subroutine ReleaseCAMBparams in CAMB/CAMBinterface.f90, deallocating CAMBparams instance More...
 
void * cbl::wrapper::camb::ReleaseCAMBdata (void *data)
 wrapper of the subroutine ReleaseCAMBdata in CAMB/CAMBinterface.f90, deallocating CAMBdata instance More...
 
std::vector< double > cbl::wrapper::camb::Pk_CAMB (const bool nonlinear, const double redshift, const double kmin, const double kmax, const int npoints, const double ombh2, const double omch2, const double omnuh2, const double massless_nu, const int massive_nu, const double omk, const double H0, const double ns, const double As, const double pivot_scalar=0.05, const double w=-1., const double wa=0., const double tau=2.1e-9, const bool accurate_massive_nu=false, const int neutrino_hierarchy=3, const int dark_energy_model=1, const double cs2_lam=1., const double T_cmb=2.7255, const double helium_fraction=0.24)
 Get the matter power spectrum from CAMB. More...
 

Detailed Description

class CAMB that wrap CAMB routines

This file contains the wrappers of CAMB routines

Author
Giorgio Lesci
giorg.nosp@m.io.l.nosp@m.esci2.nosp@m.@uni.nosp@m.bo.it

Definition in file CAMB.h.