Commit 9584239c authored by James Willis's avatar James Willis
Browse files

Updated dump_particle_fields to reflect part struct changes.

parent 36684fd1
...@@ -184,7 +184,7 @@ void dump_particle_fields(char *fileName, struct cell *main_cell, ...@@ -184,7 +184,7 @@ void dump_particle_fields(char *fileName, struct cell *main_cell,
main_cell->parts[pid].rho_dh, main_cell->parts[pid].density.wcount, main_cell->parts[pid].rho_dh, main_cell->parts[pid].density.wcount,
main_cell->parts[pid].density.wcount_dh, main_cell->parts[pid].density.wcount_dh,
#if defined(GADGET2_SPH) #if defined(GADGET2_SPH)
main_cell->parts[pid].div_v, main_cell->parts[pid].density.rot_v[0], main_cell->parts[pid].density.div_v, main_cell->parts[pid].density.rot_v[0],
main_cell->parts[pid].density.rot_v[1], main_cell->parts[pid].density.rot_v[1],
main_cell->parts[pid].density.rot_v[2] main_cell->parts[pid].density.rot_v[2]
#elif defined(DEFAULT_SPH) #elif defined(DEFAULT_SPH)
...@@ -219,7 +219,7 @@ void dump_particle_fields(char *fileName, struct cell *main_cell, ...@@ -219,7 +219,7 @@ void dump_particle_fields(char *fileName, struct cell *main_cell,
cj->parts[pjd].v[2], cj->parts[pjd].rho, cj->parts[pjd].rho_dh, cj->parts[pjd].v[2], cj->parts[pjd].rho, cj->parts[pjd].rho_dh,
cj->parts[pjd].density.wcount, cj->parts[pjd].density.wcount_dh, cj->parts[pjd].density.wcount, cj->parts[pjd].density.wcount_dh,
#if defined(GADGET2_SPH) #if defined(GADGET2_SPH)
cj->parts[pjd].div_v, cj->parts[pjd].density.rot_v[0], cj->parts[pjd].density.div_v, cj->parts[pjd].density.rot_v[0],
cj->parts[pjd].density.rot_v[1], cj->parts[pjd].density.rot_v[2] cj->parts[pjd].density.rot_v[1], cj->parts[pjd].density.rot_v[2]
#elif defined(DEFAULT_SPH) #elif defined(DEFAULT_SPH)
cj->parts[pjd].density.div_v, cj->parts[pjd].density.rot_v[0], cj->parts[pjd].density.div_v, cj->parts[pjd].density.rot_v[0],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment