Commit 537db832 authored by James Willis's avatar James Willis
Browse files

Corrected for new DEFAULT_SPH struct update.

parent 1753c832
......@@ -87,8 +87,8 @@ void dump_indv_particle_fields(char *fileName, struct part *p) {
p->div_v, p->density.rot_v[0],
p->density.rot_v[1], p->density.rot_v[2]
#elif defined(DEFAULT_SPH)
p->density.div_v, p->density.curl_v[0],
p->density.curl_v[1], p->density.curl_v[2]
p->density.div_v, p->density.rot_v[0],
p->density.rot_v[1], p->density.rot_v[2]
#else
0., 0., 0., 0.
#endif
......
......@@ -84,8 +84,8 @@ void dump_indv_particle_fields(char *fileName, struct part *p) {
p->div_v, p->density.rot_v[0],
p->density.rot_v[1], p->density.rot_v[2]
#elif defined(DEFAULT_SPH)
p->density.div_v, p->density.curl_v[0],
p->density.curl_v[1], p->density.curl_v[2]
p->density.div_v, p->density.rot_v[0],
p->density.rot_v[1], p->density.rot_v[2]
#else
0., 0., 0., 0.
#endif
......
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