Skip to content
Snippets Groups Projects
Commit 6e4e7d29 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Add more info to the output field file. Comping from downstream fork.

parent e97e0e4d
Branches
Tags
6 merge requests!1997Yet another master into zoom buffer branch merge (with formatting all done!),!1994Draft: Testing master -> zoom merge,!1987Update zoom_merge with master updates (after wrangling immense conflicts),!1982Update zoom merge branch with latest master developments,!1956Rename space_getsid to space_getsid_and_swap_cells() to try to prevent...,!1945Another master->zoom_merge update
...@@ -400,9 +400,9 @@ void io_write_output_field_parameter(const char* filename, int with_cosmology, ...@@ -400,9 +400,9 @@ void io_write_output_field_parameter(const char* filename, int with_cosmology,
strcpy(&comment_write_buffer[PARSER_MAX_LINE_SIZE / 2 - 4], "..."); strcpy(&comment_write_buffer[PARSER_MAX_LINE_SIZE / 2 - 4], "...");
} }
fprintf(file, " %s_%s: %s # (%dD - %zd bytes / dim) %s : %s\n", fprintf(file, " %s_%s: %s # (%dD - %zd bytes / dim) %s : %s\n", list[i].name,
list[i].name, part_type_names[ptype], "on", list[i].dimension, part_type_names[ptype], "on", list[i].dimension, io_sizeof_type(list[i].type),
io_sizeof_type(list[i].type), comment_write_buffer, unit_buffer); comment_write_buffer, unit_buffer);
} }
fprintf(file, "\n"); fprintf(file, "\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment