Fixed interface get_Kvec_p

This commit is contained in:
Guilhem Lavaux 2014-02-27 15:59:25 +01:00
parent fc2a0c9ddd
commit aed2920be7
2 changed files with 3 additions and 2 deletions

View File

@ -89,5 +89,6 @@ int main(int argc, char **argv)
test_2d<float>(128,128);
test_2d<float>(128,131);
test_2d<float>(128,130);
test_2d<float>(131,128);
return 0;
}

View File

@ -172,7 +172,7 @@ namespace CosmoTool
}
template<typename Array2>
void get_Kvec(long p, Array2& kvec) const
void get_Kvec_p(long p, Array2& kvec) const
{
const DimArray& dims = this->getDims();
DimArray d(delta_k.size());
@ -212,7 +212,7 @@ namespace CosmoTool
return std::sqrt(k2);
}
double get_K(long p) const
double get_K_p(long p) const
{
const DimArray& dims = this->getDims();
DimArray d(delta_k.size());