Added a get_delta_k function to get the element phase volume
This commit is contained in:
parent
523cc8e44e
commit
01f36b9be7
@ -113,6 +113,11 @@ namespace CosmoTool
|
|||||||
this->delta_k);
|
this->delta_k);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const std::vector<double>& get_delta_k() const
|
||||||
|
{
|
||||||
|
return this->delta_k;
|
||||||
|
}
|
||||||
|
|
||||||
template<typename Array, typename Array2>
|
template<typename Array, typename Array2>
|
||||||
void get_Kvec(const Array& ik, Array2& kvec)
|
void get_Kvec(const Array& ik, Array2& kvec)
|
||||||
{
|
{
|
||||||
|
@ -21,7 +21,7 @@ using namespace std;
|
|||||||
#define POWER_BDM 7
|
#define POWER_BDM 7
|
||||||
#define POWER_TEST 8
|
#define POWER_TEST 8
|
||||||
|
|
||||||
#define POWER_SPECTRUM HU_WIGGLES
|
#define POWER_SPECTRUM POWER_EFSTATHIOU
|
||||||
|
|
||||||
namespace Cosmology {
|
namespace Cosmology {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user