Skip to content

Commit

Permalink
add growth factor on DX1
Browse files Browse the repository at this point in the history
  • Loading branch information
Man-Yat Chu committed Sep 27, 2017
1 parent a3d09d6 commit e29bbe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastpm/multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def apply_density(k, v):
source1[...] += sp.Omega(a) * source
Omega_tot += sp.Omega(a)

DX1 = lpt1(source, Q)
DX1 = lpt1(source, Q)*pt.D1(a)
sp.S[...] = DX1

def apply_velocity(k, v):
Expand Down

1 comment on commit e29bbe4

@rainwoodman
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure source is z=0 before you do this.

Please sign in to comment.