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

Removed the (commented-out) output of the SPH parameters

parent 51cb767b
No related branches found
No related tags found
1 merge request!173Parameter file in snapshot
...@@ -108,7 +108,6 @@ void writeXMFline(FILE* xmfFile, char* fileName, char* partTypeGroupName, ...@@ -108,7 +108,6 @@ void writeXMFline(FILE* xmfFile, char* fileName, char* partTypeGroupName,
char* name, size_t N, int dim, enum DATA_TYPE type); char* name, size_t N, int dim, enum DATA_TYPE type);
void writeCodeDescription(hid_t h_file); void writeCodeDescription(hid_t h_file);
void writeSPHflavour(hid_t h_file);
void writeUnitSystem(hid_t h_file, struct UnitSystem* us); void writeUnitSystem(hid_t h_file, struct UnitSystem* us);
#endif #endif
......
...@@ -104,10 +104,6 @@ void writeSPHflavour(hid_t h_grpsph) { ...@@ -104,10 +104,6 @@ void writeSPHflavour(hid_t h_grpsph) {
/* Kernel function description */ /* Kernel function description */
writeAttribute_s(h_grpsph, "Kernel", kernel_name); 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 */ /* Viscosity and thermal conduction */
writeAttribute_s(h_grpsph, "Thermal Conductivity Model", writeAttribute_s(h_grpsph, "Thermal Conductivity Model",
...@@ -123,11 +119,6 @@ void writeSPHflavour(hid_t h_grpsph) { ...@@ -123,11 +119,6 @@ void writeSPHflavour(hid_t h_grpsph) {
writeAttribute_f(h_grpsph, "Viscosity decay length", const_viscosity_length); writeAttribute_f(h_grpsph, "Viscosity decay length", const_viscosity_length);
/* Time integration properties */ /* 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", writeAttribute_f(h_grpsph, "Maximal Delta u change over dt",
const_max_u_change); const_max_u_change);
} }
...@@ -104,10 +104,6 @@ void writeSPHflavour(hid_t h_grpsph) { ...@@ -104,10 +104,6 @@ void writeSPHflavour(hid_t h_grpsph) {
/* Kernel function description */ /* Kernel function description */
writeAttribute_s(h_grpsph, "Kernel", kernel_name); 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 */ /* Viscosity and thermal conduction */
writeAttribute_s(h_grpsph, "Thermal Conductivity Model", writeAttribute_s(h_grpsph, "Thermal Conductivity Model",
...@@ -117,10 +113,4 @@ void writeSPHflavour(hid_t h_grpsph) { ...@@ -117,10 +113,4 @@ void writeSPHflavour(hid_t h_grpsph) {
writeAttribute_f(h_grpsph, "Viscosity alpha", const_viscosity_alpha); writeAttribute_f(h_grpsph, "Viscosity alpha", const_viscosity_alpha);
writeAttribute_f(h_grpsph, "Viscosity beta", 3.f); 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));
} }
...@@ -104,9 +104,6 @@ void writeSPHflavour(hid_t h_grpsph) { ...@@ -104,9 +104,6 @@ void writeSPHflavour(hid_t h_grpsph) {
/* Kernel function description */ /* Kernel function description */
writeAttribute_s(h_grpsph, "Kernel", kernel_name); 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); writeAttribute_f(h_grpsph, "Hydro gamma", const_hydro_gamma);
/* Viscosity and thermal conduction */ /* Viscosity and thermal conduction */
...@@ -115,11 +112,6 @@ void writeSPHflavour(hid_t h_grpsph) { ...@@ -115,11 +112,6 @@ void writeSPHflavour(hid_t h_grpsph) {
writeAttribute_s(h_grpsph, "Viscosity Model", "No model"); writeAttribute_s(h_grpsph, "Viscosity Model", "No model");
/* Time integration properties */ /* 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", writeAttribute_f(h_grpsph, "Maximal Delta u change over dt",
const_max_u_change); const_max_u_change);
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment