CLASS MANUAL
User Manual:
Open the PDF directly: View PDF
Page Count: 257 [warning: Documents this large are best viewed by clicking the View PDF Link!]
- 1 CLASS: Cosmic Linear Anisotropy Solving System
- 2 Where to find information and documentation on CLASS?
- 3 CLASS overview (architecture, input/output, general principles)
- 4 Data Structure Documentation
- 4.1 nonlinear Struct Reference
- 4.1.1 Detailed Description
- 4.1.2 Field Documentation
- 4.1.2.1 method
- 4.1.2.2 pk_size
- 4.1.2.3 k_size
- 4.1.2.4 k
- 4.1.2.5 tau_size
- 4.1.2.6 tau
- 4.1.2.7 nl_corr_density [1/2]
- 4.1.2.8 k_nl [1/2]
- 4.1.2.9 index_tau_min_nl
- 4.1.2.10 has_pk_eq
- 4.1.2.11 index_pk_eq_w
- 4.1.2.12 index_pk_eq_Omega_m
- 4.1.2.13 pk_eq_size
- 4.1.2.14 pk_eq_tau_size
- 4.1.2.15 pk_eq_tau
- 4.1.2.16 pk_eq_w_and_Omega
- 4.1.2.17 pk_eq_ddw_and_ddOmega
- 4.1.2.18 nonlinear_verbose
- 4.1.2.19 error_message
- 4.1.2.20 nl_corr_density [2/2]
- 4.1.2.21 k_nl [2/2]
- 4.1 nonlinear Struct Reference
- 5 File Documentation
- 5.1 background.c File Reference
- 5.1.1 Detailed Description
- 5.1.2 Function Documentation
- 5.1.2.1 background_at_tau()
- 5.1.2.2 background_tau_of_z()
- 5.1.2.3 background_functions()
- 5.1.2.4 background_w_fld()
- 5.1.2.5 background_init()
- 5.1.2.6 background_free()
- 5.1.2.7 background_free_noinput()
- 5.1.2.8 background_free_input()
- 5.1.2.9 background_indices()
- 5.1.2.10 background_ncdm_distribution()
- 5.1.2.11 background_ncdm_test_function()
- 5.1.2.12 background_ncdm_init()
- 5.1.2.13 background_ncdm_momenta()
- 5.1.2.14 background_ncdm_M_from_Omega()
- 5.1.2.15 background_solve()
- 5.1.2.16 background_initial_conditions()
- 5.1.2.17 background_find_equality()
- 5.1.2.18 background_output_titles()
- 5.1.2.19 background_output_data()
- 5.1.2.20 background_derivs()
- 5.1.2.21 V_e_scf()
- 5.1.2.22 V_p_scf()
- 5.1.2.23 V_scf()
- 5.2 background.h File Reference
- 5.3 class.c File Reference
- 5.4 common.h File Reference
- 5.5 input.c File Reference
- 5.5.1 Detailed Description
- 5.5.2 Function Documentation
- 5.5.2.1 input_init_from_arguments()
- 5.5.2.2 input_init()
- 5.5.2.3 input_read_parameters()
- 5.5.2.4 input_default_params()
- 5.5.2.5 input_default_precision()
- 5.5.2.6 get_machine_precision()
- 5.5.2.7 class_fzero_ridder()
- 5.5.2.8 input_try_unknown_parameters()
- 5.5.2.9 input_get_guess()
- 5.5.2.10 input_find_root()
- 5.5.2.11 input_prepare_pk_eq()
- 5.6 input.h File Reference
- 5.7 lensing.c File Reference
- 5.7.1 Detailed Description
- 5.7.2 Function Documentation
- 5.7.2.1 lensing_cl_at_l()
- 5.7.2.2 lensing_init()
- 5.7.2.3 lensing_free()
- 5.7.2.4 lensing_indices()
- 5.7.2.5 lensing_lensed_cl_tt()
- 5.7.2.6 lensing_addback_cl_tt()
- 5.7.2.7 lensing_lensed_cl_te()
- 5.7.2.8 lensing_addback_cl_te()
- 5.7.2.9 lensing_lensed_cl_ee_bb()
- 5.7.2.10 lensing_addback_cl_ee_bb()
- 5.7.2.11 lensing_d00()
- 5.7.2.12 lensing_d11()
- 5.7.2.13 lensing_d1m1()
- 5.7.2.14 lensing_d2m2()
- 5.7.2.15 lensing_d22()
- 5.7.2.16 lensing_d20()
- 5.7.2.17 lensing_d31()
- 5.7.2.18 lensing_d3m1()
- 5.7.2.19 lensing_d3m3()
- 5.7.2.20 lensing_d40()
- 5.7.2.21 lensing_d4m2()
- 5.7.2.22 lensing_d4m4()
- 5.8 lensing.h File Reference
- 5.9 nonlinear.c File Reference
- 5.10 nonlinear.h File Reference
- 5.11 output.c File Reference
- 5.12 output.h File Reference
- 5.13 perturbations.c File Reference
- 5.13.1 Detailed Description
- 5.13.2 Function Documentation
- 5.13.2.1 perturb_sources_at_tau()
- 5.13.2.2 perturb_init()
- 5.13.2.3 perturb_free()
- 5.13.2.4 perturb_indices_of_perturbs()
- 5.13.2.5 perturb_timesampling_for_sources()
- 5.13.2.6 perturb_get_k_list()
- 5.13.2.7 perturb_workspace_init()
- 5.13.2.8 perturb_workspace_free()
- 5.13.2.9 perturb_solve()
- 5.13.2.10 perturb_prepare_output()
- 5.13.2.11 perturb_find_approximation_number()
- 5.13.2.12 perturb_find_approximation_switches()
- 5.13.2.13 perturb_vector_init()
- 5.13.2.14 perturb_vector_free()
- 5.13.2.15 perturb_initial_conditions()
- 5.13.2.16 perturb_approximations()
- 5.13.2.17 perturb_timescale()
- 5.13.2.18 perturb_einstein()
- 5.13.2.19 perturb_total_stress_energy()
- 5.13.2.20 perturb_sources()
- 5.13.2.21 perturb_print_variables()
- 5.13.2.22 perturb_derivs()
- 5.13.2.23 perturb_tca_slip_and_shear()
- 5.14 perturbations.h File Reference
- 5.15 primordial.c File Reference
- 5.15.1 Detailed Description
- 5.15.2 Function Documentation
- 5.15.2.1 primordial_spectrum_at_k()
- 5.15.2.2 primordial_init()
- 5.15.2.3 primordial_free()
- 5.15.2.4 primordial_indices()
- 5.15.2.5 primordial_get_lnk_list()
- 5.15.2.6 primordial_analytic_spectrum_init()
- 5.15.2.7 primordial_analytic_spectrum()
- 5.15.2.8 primordial_inflation_potential()
- 5.15.2.9 primordial_inflation_hubble()
- 5.15.2.10 primordial_inflation_indices()
- 5.15.2.11 primordial_inflation_solve_inflation()
- 5.15.2.12 primordial_inflation_analytic_spectra()
- 5.15.2.13 primordial_inflation_spectra()
- 5.15.2.14 primordial_inflation_one_wavenumber()
- 5.15.2.15 primordial_inflation_one_k()
- 5.15.2.16 primordial_inflation_find_attractor()
- 5.15.2.17 primordial_inflation_evolve_background()
- 5.15.2.18 primordial_inflation_check_potential()
- 5.15.2.19 primordial_inflation_check_hubble()
- 5.15.2.20 primordial_inflation_get_epsilon()
- 5.15.2.21 primordial_inflation_find_phi_pivot()
- 5.15.2.22 primordial_inflation_derivs()
- 5.15.2.23 primordial_external_spectrum_init()
- 5.16 primordial.h File Reference
- 5.17 spectra.c File Reference
- 5.17.1 Detailed Description
- 5.17.2 Function Documentation
- 5.17.2.1 spectra_cl_at_l()
- 5.17.2.2 spectra_pk_at_z()
- 5.17.2.3 spectra_pk_at_k_and_z()
- 5.17.2.4 spectra_pk_nl_at_z()
- 5.17.2.5 spectra_pk_nl_at_k_and_z()
- 5.17.2.6 spectra_tk_at_z()
- 5.17.2.7 spectra_tk_at_k_and_z()
- 5.17.2.8 spectra_init()
- 5.17.2.9 spectra_free()
- 5.17.2.10 spectra_indices()
- 5.17.2.11 spectra_cls()
- 5.17.2.12 spectra_compute_cl()
- 5.17.2.13 spectra_k_and_tau()
- 5.17.2.14 spectra_pk()
- 5.17.2.15 spectra_sigma()
- 5.17.2.16 spectra_matter_transfers()
- 5.17.2.17 spectra_output_tk_data()
- 5.17.2.18 spectra_fast_pk_at_kvec_and_zvec()
- 5.18 spectra.h File Reference
- 5.19 thermodynamics.c File Reference
- 5.19.1 Detailed Description
- 5.19.2 Function Documentation
- 5.19.2.1 thermodynamics_at_z()
- 5.19.2.2 thermodynamics_init()
- 5.19.2.3 thermodynamics_free()
- 5.19.2.4 thermodynamics_indices()
- 5.19.2.5 thermodynamics_helium_from_bbn()
- 5.19.2.6 thermodynamics_onthespot_energy_injection()
- 5.19.2.7 thermodynamics_energy_injection()
- 5.19.2.8 thermodynamics_reionization_function()
- 5.19.2.9 thermodynamics_get_xe_before_reionization()
- 5.19.2.10 thermodynamics_reionization()
- 5.19.2.11 thermodynamics_reionization_sample()
- 5.19.2.12 thermodynamics_recombination()
- 5.19.2.13 thermodynamics_recombination_with_hyrec()
- 5.19.2.14 thermodynamics_recombination_with_recfast()
- 5.19.2.15 thermodynamics_derivs_with_recfast()
- 5.19.2.16 thermodynamics_merge_reco_and_reio()
- 5.19.2.17 thermodynamics_output_titles()
- 5.20 thermodynamics.h File Reference
- 5.21 transfer.c File Reference
- 5.21.1 Detailed Description
- 5.21.2 Function Documentation
- 5.21.2.1 transfer_functions_at_q()
- 5.21.2.2 transfer_init()
- 5.21.2.3 transfer_free()
- 5.21.2.4 transfer_indices_of_transfers()
- 5.21.2.5 transfer_get_l_list()
- 5.21.2.6 transfer_get_q_list()
- 5.21.2.7 transfer_get_k_list()
- 5.21.2.8 transfer_get_source_correspondence()
- 5.21.2.9 transfer_source_tau_size()
- 5.21.2.10 transfer_compute_for_each_q()
- 5.21.2.11 transfer_interpolate_sources()
- 5.21.2.12 transfer_sources()
- 5.21.2.13 transfer_selection_function()
- 5.21.2.14 transfer_dNdz_analytic()
- 5.21.2.15 transfer_selection_sampling()
- 5.21.2.16 transfer_lensing_sampling()
- 5.21.2.17 transfer_source_resample()
- 5.21.2.18 transfer_selection_times()
- 5.21.2.19 transfer_selection_compute()
- 5.21.2.20 transfer_compute_for_each_l()
- 5.21.2.21 transfer_integrate()
- 5.21.2.22 transfer_limber()
- 5.21.2.23 transfer_limber_interpolate()
- 5.21.2.24 transfer_limber2()
- 5.22 transfer.h File Reference
- 5.1 background.c File Reference
- 6 The `external_Pk` mode
- 7 Updating the manual
- Index