Made corrections to some formatting issues.
This commit is contained in:
@@ -77,7 +77,6 @@
|
|||||||
FUNC(AC_sink_pos_y),\
|
FUNC(AC_sink_pos_y),\
|
||||||
FUNC(AC_sink_pos_z),\
|
FUNC(AC_sink_pos_z),\
|
||||||
FUNC(AC_M_sink),\
|
FUNC(AC_M_sink),\
|
||||||
//The above is function for sink particle, not sure if it's supposed to be here but just a try
|
|
||||||
/* Run params */\
|
/* Run params */\
|
||||||
FUNC(AC_cdt), \
|
FUNC(AC_cdt), \
|
||||||
FUNC(AC_cdtv), \
|
FUNC(AC_cdtv), \
|
||||||
|
@@ -91,10 +91,10 @@ write_mesh_info(const AcMeshInfo* config)
|
|||||||
//Here I'm still trying to copy the structure of the code above, and see if this will work for sink particle.
|
//Here I'm still trying to copy the structure of the code above, and see if this will work for sink particle.
|
||||||
//I haven't fully undertand what these lines do but I'll read up on them soon. This is still yet experimental.
|
//I haven't fully undertand what these lines do but I'll read up on them soon. This is still yet experimental.
|
||||||
// Sink particle
|
// Sink particle
|
||||||
fprintf(infotext, "real AC_sink_pos_x %i \n", config->real_params[AC_sink_pos_x]);
|
fprintf(infotxt, "real AC_sink_pos_x %e \n", (double)config->real_params[AC_sink_pos_x]);
|
||||||
fprintf(infotext, "real AC_sink_pos_y %i \n", config->real_params[AC_sink_pos_y]);
|
fprintf(infotxt, "real AC_sink_pos_y %e \n", (double)config->real_params[AC_sink_pos_y]);
|
||||||
fprintf(infotext, "real AC_sink_pos_z %i \n", config->real_params[AC_sink_pos_z]);
|
fprintf(infotxt, "real AC_sink_pos_z %e \n", (double)config->real_params[AC_sink_pos_z]);
|
||||||
fprintf(infotext, "real AC_M_sink %e \n", (double)config->real_params[AC_M_sink]);
|
fprintf(infotxt, "real AC_M_sink %e \n", (double)config->real_params[AC_M_sink]);
|
||||||
|
|
||||||
fclose(infotxt);
|
fclose(infotxt);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user