From e6950440a32293f0191903356fb00f5a5d0de53e Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Mon, 8 Feb 2021 18:36:56 +0100 Subject: [PATCH] Remove generation of dump of power spectrum --- src/cosmopower.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cosmopower.cpp b/src/cosmopower.cpp index 3278876..5e58c2c 100644 --- a/src/cosmopower.cpp +++ b/src/cosmopower.cpp @@ -342,12 +342,14 @@ void CosmoPower::normalize(double k_min, double k_max) normPower = 1; +#if 0 ofstream ff("PP_k.txt"); for (int i = 0; i < 100; i++) { double k = pow(10.0, 8.0*i/100.-4); ff << k << " " << power(k) << endl; } +#endif // gsl_integration_qagiu(&f, 0, 0, TOLERANCE, NUM_ITERATION, w, &normVal, &abserr); gsl_integration_qag(&f, x_min, x_max, 0, TOLERANCE, NUM_ITERATION, GSL_INTEG_GAUSS61, w, &normVal, &abserr);