[yt-svn] commit/yt: MatthewTurk: Fixing compilation
Bitbucket
commits-noreply at bitbucket.org
Wed Jul 11 15:12:30 PDT 2012
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/changeset/68b66ebf59ea/
changeset: 68b66ebf59ea
branch: yt
user: MatthewTurk
date: 2012-07-12 00:12:12
summary: Fixing compilation
affected #: 1 file
diff -r d7b6451bdf7bdf4d17e0408ef600dd9cd4203c9b -r 68b66ebf59ea6f2e62d0bad296a201368f7821aa yt/analysis_modules/halo_finding/rockstar/rockstar_interface.pyx
--- a/yt/analysis_modules/halo_finding/rockstar/rockstar_interface.pyx
+++ b/yt/analysis_modules/halo_finding/rockstar/rockstar_interface.pyx
@@ -247,6 +247,7 @@
# Now we want to grab data from only a subset of the grids.
n = rh.block_ratio
+ dd = rh.pf.h.all_data()
grids = np.array_split(dd._grids, NUM_BLOCKS)[block]
tnpart = 0
for g in grids:
@@ -297,8 +298,7 @@
int num_writers = 1,
int writing_port = -1, int block_ratio = 1,
int periodic = 1, int num_snaps = 1,
- int min_halo_size = 25,
- int periodic = 1,
+ int min_halo_size = 25, outbase = "None"):
global PARALLEL_IO, PARALLEL_IO_SERVER_ADDRESS, PARALLEL_IO_SERVER_PORT
global FILENAME, FILE_FORMAT, NUM_SNAPS, STARTING_SNAP, h0, Ol, Om
global BOX_SIZE, PERIODIC, PARTICLE_MASS, NUM_BLOCKS, NUM_READERS
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list