Some fixups
This commit is contained in:
parent
1bd685e9c5
commit
71691956cc
6 changed files with 24 additions and 10 deletions
|
@ -171,6 +171,7 @@ void CosmoTool_compute_bispectrum(
|
|||
size_t *Ntriangles,
|
||||
double* B, double delta_k, size_t Nk )
|
||||
{
|
||||
#if 0
|
||||
// First remap to multi_array for easy access
|
||||
size_t kNz = Nz/2+1;
|
||||
#ifdef _OPENMP
|
||||
|
@ -246,6 +247,7 @@ void CosmoTool_compute_bispectrum(
|
|||
#else
|
||||
#warning Serial version not implemented
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
@ -255,6 +257,7 @@ void CosmoTool_compute_powerspectrum(
|
|||
size_t *Ncounts,
|
||||
double* P, double delta_k, size_t Nk )
|
||||
{
|
||||
#if 0
|
||||
// First remap to multi_array for easy access
|
||||
size_t kNz = Nz/2+1;
|
||||
boost::multi_array_ref<std::complex<double>, 3> a_delta(reinterpret_cast<std::complex<double>*>(delta_hat), boost::extents[Nx][Ny][kNz]);
|
||||
|
@ -275,4 +278,5 @@ void CosmoTool_compute_powerspectrum(
|
|||
a_Nc[q1] ++;
|
||||
a_P[q1] += std::norm(v1);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue