Fix PYFFTW usage. Use numexpr
This commit is contained in:
parent
815c0b616a
commit
de1bda366a
3 changed files with 15 additions and 12 deletions
|
@ -96,7 +96,7 @@ def run_generation(input_borg, a_borg, a_ic, cosmo, supersample=1, do_lpt2=True,
|
|||
print("velmul=%lg" % (cosmo['h']*velmul))
|
||||
|
||||
lpt.cube.dhat = lpt.dhat
|
||||
density = lpt.cube.irfft()
|
||||
density = lpt.cube.irfft()
|
||||
density *= (cgrowth.D(1)/cgrowth.D(a_borg))
|
||||
|
||||
return posx,vel,density,N*supersample,L,a_ic,cosmo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue