예제 #1
0
파일: power.c 프로젝트: savila/HALOGEN
double PowerSpec_DM_2ndSpecies(double k)
{
  /* at the moment, we simply call the Eistenstein & Hu spectrum
   * for the second DM species, but this could be replaced with
   * something more physical, say for neutrinos
   */

  double power;

  power = Norm * k * pow(tk_eh(k), 2);

  return power;
}
예제 #2
0
 virtual double power(double k, int Type)
 {
       return k * pow(tk_eh(k), 2);
 }
예제 #3
0
파일: power.c 프로젝트: savila/HALOGEN
double PowerSpec_EH(double k)	/* Eisenstein & Hu */
{
  return Norm * k * pow(tk_eh(k), 2);
}