diff --git a/src/gravity_properties.c b/src/gravity_properties.c index fffbf22ec187f179f0e80b7121beaa3a96de0260..e548e3010f3b46065a2510723b5bde97121b4c02 100644 --- a/src/gravity_properties.c +++ b/src/gravity_properties.c @@ -170,20 +170,22 @@ void gravity_props_print_snapshot(hid_t h_grpgrav, io_write_attribute_s(h_grpgrav, "Softening style", kernel_gravity_softening_name); io_write_attribute_f( - h_grpgrav, "Comoving softening length", + h_grpgrav, "Comoving softening length [internal units]", p->epsilon_comoving * kernel_gravity_softening_plummer_equivalent); - io_write_attribute_f(h_grpgrav, - "Comoving Softening length (Plummer equivalent)", - p->epsilon_comoving); io_write_attribute_f( - h_grpgrav, "Maximal physical softening length", + h_grpgrav, + "Comoving Softening length (Plummer equivalent) [internal units]", + p->epsilon_comoving); + io_write_attribute_f( + h_grpgrav, "Maximal physical softening length [internal units]", p->epsilon_max_physical * kernel_gravity_softening_plummer_equivalent); io_write_attribute_f(h_grpgrav, - "Maximal physical softening length (Plummer equivalent)", + "Maximal physical softening length (Plummer equivalent) " + " [internal units]", p->epsilon_max_physical); io_write_attribute_f(h_grpgrav, "Opening angle", p->theta_crit); io_write_attribute_s(h_grpgrav, "Scheme", GRAVITY_IMPLEMENTATION); - io_write_attribute_d(h_grpgrav, "MM order", SELF_GRAVITY_MULTIPOLE_ORDER); + io_write_attribute_i(h_grpgrav, "MM order", SELF_GRAVITY_MULTIPOLE_ORDER); io_write_attribute_f(h_grpgrav, "Mesh a_smooth", p->a_smooth); io_write_attribute_f(h_grpgrav, "Mesh r_cut_max ratio", p->r_cut_max_ratio); io_write_attribute_f(h_grpgrav, "Mesh r_cut_min ratio", p->r_cut_min_ratio); diff --git a/src/hydro_properties.c b/src/hydro_properties.c index 85f88d418bd46354f7a1cd3dd89b0e77b556b7d9..d864eb00367a76c2287f53dbded0fb6feb60ef26 100644 --- a/src/hydro_properties.c +++ b/src/hydro_properties.c @@ -239,7 +239,8 @@ void hydro_props_print_snapshot(hid_t h_grpsph, const struct hydro_props *p) { io_write_attribute_f(h_grpsph, "Kernel delta N_ngb", p->delta_neighbours); io_write_attribute_f(h_grpsph, "Kernel eta", p->eta_neighbours); io_write_attribute_f(h_grpsph, "Smoothing length tolerance", p->h_tolerance); - io_write_attribute_f(h_grpsph, "Maximal smoothing length", p->h_max); + io_write_attribute_f(h_grpsph, "Maximal smoothing length [internal units]", + p->h_max); io_write_attribute_f(h_grpsph, "CFL parameter", p->CFL_condition); io_write_attribute_f(h_grpsph, "Volume log(max(delta h))", p->log_max_h_change); @@ -248,8 +249,12 @@ void hydro_props_print_snapshot(hid_t h_grpsph, const struct hydro_props *p) { io_write_attribute_i(h_grpsph, "Max ghost iterations", p->max_smoothing_iterations); io_write_attribute_f(h_grpsph, "Minimal temperature", p->minimal_temperature); + io_write_attribute_f(h_grpsph, + "Minimal energy per unit mass [internal units]", + p->minimal_internal_energy); io_write_attribute_f(h_grpsph, "Initial temperature", p->initial_temperature); - io_write_attribute_f(h_grpsph, "Initial energy per unit mass", + io_write_attribute_f(h_grpsph, + "Initial energy per unit mass [internal units]", p->initial_internal_energy); io_write_attribute_f(h_grpsph, "Hydrogen mass fraction", p->hydrogen_mass_fraction); @@ -260,7 +265,8 @@ void hydro_props_print_snapshot(hid_t h_grpsph, const struct hydro_props *p) { p->viscosity.alpha_max); io_write_attribute_f(h_grpsph, "Alpha viscosity (min)", p->viscosity.alpha_min); - io_write_attribute_f(h_grpsph, "Viscosity decay length", p->viscosity.length); + io_write_attribute_f(h_grpsph, "Viscosity decay length [internal units]", + p->viscosity.length); io_write_attribute_f(h_grpsph, "Beta viscosity", const_viscosity_beta); } #endif