Added a get_delta_k function to get the element phase volume

This commit is contained in:
Guilhem Lavaux 2012-11-30 17:11:21 -05:00
parent 523cc8e44e
commit 01f36b9be7
2 changed files with 6 additions and 1 deletions

View File

@ -113,6 +113,11 @@ namespace CosmoTool
this->delta_k);
}
const std::vector<double>& get_delta_k() const
{
return this->delta_k;
}
template<typename Array, typename Array2>
void get_Kvec(const Array& ik, Array2& kvec)
{

View File

@ -21,7 +21,7 @@ using namespace std;
#define POWER_BDM 7
#define POWER_TEST 8
#define POWER_SPECTRUM HU_WIGGLES
#define POWER_SPECTRUM POWER_EFSTATHIOU
namespace Cosmology {