Skip to content
Snippets Groups Projects

Format

Merged Loic Hausammann requested to merge format into master
37 files
+ 521
554
Compare changes
  • Side-by-side
  • Inline
Files
37
@@ -24,18 +24,16 @@
@@ -24,18 +24,16 @@
#include "csds_tools.h"
#include "csds_tools.h"
/* Hydro part */
/* Hydro part */
const int chemistry_csds_field_size_part[chemistry_csds_field_part_count] =
const int chemistry_csds_field_size_part[chemistry_csds_field_part_count] = {
{
member_size(struct part, chemistry_data.smoothed_metal_mass_fraction) +
member_size(struct part, chemistry_data.smoothed_metal_mass_fraction) +
member_size(struct part, chemistry_data.metal_mass),
member_size(struct part, chemistry_data.metal_mass),
};
};
int chemistry_csds_local_to_global_part[chemistry_csds_field_part_count];
int chemistry_csds_local_to_global_part[chemistry_csds_field_part_count];
/* Stellar part */
/* Stellar part */
const int
const int chemistry_csds_field_size_spart[chemistry_csds_field_spart_count] = {
chemistry_csds_field_size_spart[chemistry_csds_field_spart_count] = {
member_size(struct spart, chemistry_data.metal_mass_fraction),
member_size(struct spart, chemistry_data.metal_mass_fraction),
};
};
int chemistry_csds_local_to_global_spart[chemistry_csds_field_spart_count];
int chemistry_csds_local_to_global_spart[chemistry_csds_field_spart_count];
Loading