CosmoBolognaLib
Free Software C++/Python libraries for cosmological calculations
ModelFunction_ThreePointCorrelation.h
Go to the documentation of this file.
1 /********************************************************************
2  * Copyright (C) 2017 by Federico Marulli *
3  * federico.marulli3@unibo.it *
4  * *
5  * This program is free software; you can redistribute it and/or *
6  * modify it under the terms of the GNU General Public License as *
7  * published by the Free Software Foundation; either version 2 of *
8  * the License, or (at your option) any later version. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the GNU General Public *
16  * License along with this program; if not, write to the Free *
17  * Software Foundation, Inc., *
18  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19  ********************************************************************/
20 
34 #ifndef __MODFUNCTHREEP__
35 #define __MODFUNCTHREEP__
36 
37 #include "Cosmology.h"
38 
39 
40 // ============================================================================
41 
42 
43 namespace cbl {
44 
45  namespace modelling {
46 
47  namespace threept {
48 
58 
60  std::vector<double> Q_DM;
61 
63  std::shared_ptr<cosmology::Cosmology> cosmology;
64 
66  double r1;
67 
69  double r2;
70 
72  std::vector<double> theta;
73 
75  std::string model;
76 
78  std::vector<double> kk;
79 
81  std::vector<double> Pk_matter;
82 
84  double redshift;
85 
87  std::string method_Pk;
88 
90  bool NL;
91 
93  double k_min;
94 
96  double k_max;
97 
99  int step_k;
100 
102  double r_min;
103 
105  double r_max;
106 
108  int step_r;
109 
111  std::vector<double> rr;
112 
114  std::string output_dir;
115 
118 
120  std::string output_root;
121 
123  int norm;
124 
126  double prec;
127 
130 
132  int max_ll;
133 
135  bool use_k;
136 
138  double sigma8_z;
139 
142 
147  };
148 
149  }
150  }
151 }
152 
153 #endif
The class Cosmology.
The global namespace of the CosmoBolognaLib
Definition: CAMB.h:38
std::string method_Pk
method to compute the dark matter power spectrum
std::string output_root
output root of the parameter file used to compute the dark matter power spectrum
double k_min
minimum wave vector module up to which the power spectrum is computed
bool store_output
true the output files created by the Boltmann solver are stored; false the output files are removed
std::vector< double > Pk_matter
Dark matter power spectrum.
int norm
0 → don't normalize the power spectrum; 1 → normalize the power spectrum
std::shared_ptr< cosmology::Cosmology > cosmology
cosmology
double linear_growth_rate_z
the linear growth rate at redshift z
bool force_realSpace
1 → do the computation in real; 0 → do the computation in redshift space
double r_min
minimum separation up to which the binned dark matter correlation function is computed
bool use_k
1 → use the in the model; 0 → don't use the in the model
double r_max
maximum separation up to which the binned dark matter correlation function is computed
std::string output_dir
the output_dir directory where the output of external codes are written
int step_k
number of steps used to compute the binned dark matter power spectrum
bool NL
false → linear power spectrum; true → non-linear power spectrum
double k_max
maximum wave vector module up to which the power spectrum is computed
int step_r
number of steps used to compute the binned dark matter correlation function
STR_data_model_threept()=default
default constructor