diff --git a/src/common_io.h b/src/common_io.h index 70ed25993cb110a1faf42a41c08d316c81b54271..334349ccccb85344cc250b24c2a68dc4a455b77d 100644 --- a/src/common_io.h +++ b/src/common_io.h @@ -108,7 +108,6 @@ void writeXMFline(FILE* xmfFile, char* fileName, char* partTypeGroupName, char* name, size_t N, int dim, enum DATA_TYPE type); void writeCodeDescription(hid_t h_file); -void writeSPHflavour(hid_t h_file); void writeUnitSystem(hid_t h_file, struct UnitSystem* us); #endif diff --git a/src/hydro/Default/hydro_io.h b/src/hydro/Default/hydro_io.h index 09a7f4c7caa6a2a9fcf77c8d83b0ffcab2ef8b54..de71963b05149fa0b2df6222424478a6ad9b1f44 100644 --- a/src/hydro/Default/hydro_io.h +++ b/src/hydro/Default/hydro_io.h @@ -104,10 +104,6 @@ void writeSPHflavour(hid_t h_grpsph) { /* Kernel function description */ writeAttribute_s(h_grpsph, "Kernel", kernel_name); - // writeAttribute_f(h_grpsph, "Kernel eta", const_eta_kernel); - // writeAttribute_f(h_grpsph, "Weighted N_ngb", kernel_nwneigh); - // writeAttribute_f(h_grpsph, "Delta N_ngb", const_delta_nwneigh); - // writeAttribute_f(h_grpsph, "Hydro gamma", const_hydro_gamma); /* Viscosity and thermal conduction */ writeAttribute_s(h_grpsph, "Thermal Conductivity Model", @@ -123,11 +119,6 @@ void writeSPHflavour(hid_t h_grpsph) { writeAttribute_f(h_grpsph, "Viscosity decay length", const_viscosity_length); /* Time integration properties */ - // writeAttribute_f(h_grpsph, "CFL parameter", const_cfl); - // writeAttribute_f(h_grpsph, "Maximal ln(Delta h) change over dt", - // const_ln_max_h_change); - // writeAttribute_f(h_grpsph, "Maximal Delta h change over dt", - // exp(const_ln_max_h_change)); writeAttribute_f(h_grpsph, "Maximal Delta u change over dt", const_max_u_change); } diff --git a/src/hydro/Gadget2/hydro_io.h b/src/hydro/Gadget2/hydro_io.h index 41f3348db10172c1d0d5813debb50365252a413b..d85409bc19be02369cee3a6a1cbe150ab171364b 100644 --- a/src/hydro/Gadget2/hydro_io.h +++ b/src/hydro/Gadget2/hydro_io.h @@ -104,10 +104,6 @@ void writeSPHflavour(hid_t h_grpsph) { /* Kernel function description */ writeAttribute_s(h_grpsph, "Kernel", kernel_name); - // writeAttribute_f(h_grpsph, "Kernel eta", const_eta_kernel); - // writeAttribute_f(h_grpsph, "Weighted N_ngb", kernel_nwneigh); - // writeAttribute_f(h_grpsph, "Delta N_ngb", const_delta_nwneigh); - // writeAttribute_f(h_grpsph, "Hydro gamma", const_hydro_gamma); /* Viscosity and thermal conduction */ writeAttribute_s(h_grpsph, "Thermal Conductivity Model", @@ -117,10 +113,4 @@ void writeSPHflavour(hid_t h_grpsph) { writeAttribute_f(h_grpsph, "Viscosity alpha", const_viscosity_alpha); writeAttribute_f(h_grpsph, "Viscosity beta", 3.f); - /* Time integration properties */ - // writeAttribute_f(h_grpsph, "CFL parameter", const_cfl); - // writeAttribute_f(h_grpsph, "Maximal ln(Delta h) change over dt", - // const_ln_max_h_change); - // writeAttribute_f(h_grpsph, "Maximal Delta h change over dt", - // exp(const_ln_max_h_change)); } diff --git a/src/hydro/Minimal/hydro_io.h b/src/hydro/Minimal/hydro_io.h index 43926d526b47fa8f1b92bb862edabefb7417de3c..1bbfe1065358017e0b27e2131ff717848221fe9c 100644 --- a/src/hydro/Minimal/hydro_io.h +++ b/src/hydro/Minimal/hydro_io.h @@ -104,9 +104,6 @@ void writeSPHflavour(hid_t h_grpsph) { /* Kernel function description */ writeAttribute_s(h_grpsph, "Kernel", kernel_name); - // writeAttribute_f(h_grpsph, "Kernel eta", const_eta_kernel); - // writeAttribute_f(h_grpsph, "Weighted N_ngb", kernel_nwneigh); - // writeAttribute_f(h_grpsph, "Delta N_ngb", const_delta_nwneigh); writeAttribute_f(h_grpsph, "Hydro gamma", const_hydro_gamma); /* Viscosity and thermal conduction */ @@ -115,11 +112,6 @@ void writeSPHflavour(hid_t h_grpsph) { writeAttribute_s(h_grpsph, "Viscosity Model", "No model"); /* Time integration properties */ - // writeAttribute_f(h_grpsph, "CFL parameter", const_cfl); - // writeAttribute_f(h_grpsph, "Maximal ln(Delta h) change over dt", - // const_ln_max_h_change); - // writeAttribute_f(h_grpsph, "Maximal Delta h change over dt", - // exp(const_ln_max_h_change)); writeAttribute_f(h_grpsph, "Maximal Delta u change over dt", const_max_u_change); }