Commit c9692302 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Small tweaks to the Doxygen documentation of the SF module.

parent 187fd16e
......@@ -1155,8 +1155,8 @@ void prepare_file(struct engine* e, const char* baseName, long long N_total[6],
}
num_fields += tracers_write_particles(parts, xparts, list + num_fields,
with_cosmology);
num_fields += star_formation_write_particles(
parts, xparts, list + num_fields);
num_fields +=
star_formation_write_particles(parts, xparts, list + num_fields);
if (with_stf) {
num_fields +=
velociraptor_write_parts(parts, xparts, list + num_fields);
......@@ -1478,8 +1478,8 @@ void write_output_parallel(struct engine* e, const char* baseName,
}
num_fields += tracers_write_particles(
parts, xparts, list + num_fields, with_cosmology);
num_fields += star_formation_write_particles(
parts, xparts, list + num_fields);
num_fields +=
star_formation_write_particles(parts, xparts, list + num_fields);
} else {
......@@ -1515,7 +1515,7 @@ void write_output_parallel(struct engine* e, const char* baseName,
num_fields += tracers_write_particles(
parts_written, xparts_written, list + num_fields, with_cosmology);
num_fields += star_formation_write_particles(
parts_written, xparts_written, list + num_fields);
parts_written, xparts_written, list + num_fields);
}
} break;
......
......@@ -1123,8 +1123,8 @@ void write_output_serial(struct engine* e, const char* baseName,
}
num_fields += tracers_write_particles(
parts, xparts, list + num_fields, with_cosmology);
num_fields += star_formation_write_particles(
parts, xparts, list + num_fields);
num_fields += star_formation_write_particles(parts, xparts,
list + num_fields);
} else {
......@@ -1161,8 +1161,7 @@ void write_output_serial(struct engine* e, const char* baseName,
tracers_write_particles(parts_written, xparts_written,
list + num_fields, with_cosmology);
num_fields += star_formation_write_particles(
parts_written, xparts_written, list + num_fields);
parts_written, xparts_written, list + num_fields);
}
} break;
......
......@@ -926,9 +926,8 @@ void write_output_single(struct engine* e, const char* baseName,
}
num_fields += tracers_write_particles(
parts, xparts, list + num_fields, with_cosmology);
num_fields += star_formation_write_particles(
parts, xparts, list + num_fields);
num_fields +=
star_formation_write_particles(parts, xparts, list + num_fields);
} else {
......@@ -964,7 +963,7 @@ void write_output_single(struct engine* e, const char* baseName,
num_fields += tracers_write_particles(
parts_written, xparts_written, list + num_fields, with_cosmology);
num_fields += star_formation_write_particles(
parts_written, xparts_written, list + num_fields);
parts_written, xparts_written, list + num_fields);
}
} break;
......
......@@ -35,7 +35,8 @@
* @return Returns the number of fields to write.
*/
__attribute__((always_inline)) INLINE static int star_formation_write_particles(
const struct part* parts, const struct xpart* xparts, struct io_props* list) {
const struct part* parts, const struct xpart* xparts,
struct io_props* list) {
list[0] =
io_make_output_field("SFR", FLOAT, 1, UNIT_CONV_SFR, xparts, sf_data.SFR);
......
......@@ -35,7 +35,8 @@
* @return Returns the number of fields to write.
*/
__attribute__((always_inline)) INLINE static int star_formation_write_particles(
const struct part* parts, const struct xpart* xparts, struct io_props* list) {
const struct part* parts, const struct xpart* xparts,
struct io_props* list) {
return 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