Remove generation of dump of power spectrum
This commit is contained in:
parent
52f870e0c1
commit
e6950440a3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user