Skip to content
Snippets Groups Projects
Commit deb28720 authored by Loic Hausammann's avatar Loic Hausammann
Browse files

Remove output_mode in grackle

parent 75c0c9a8
No related branches found
No related tags found
1 merge request!740Grackle cosmo
......@@ -61,8 +61,6 @@ __attribute__((always_inline)) INLINE static int cooling_write_particles(
int num = 0;
if (cooling->output_mode == 0) return num;
#if COOLING_GRACKLE_MODE >= 1
/* List what we want to write */
list[0] = io_make_output_field("HI", FLOAT, 1, UNIT_CONV_NO_UNITS, xparts,
......@@ -86,8 +84,6 @@ __attribute__((always_inline)) INLINE static int cooling_write_particles(
num += 6;
#endif
if (cooling->output_mode == 1) return num;
#if COOLING_GRACKLE_MODE >= 2
list += num;
......@@ -103,8 +99,6 @@ __attribute__((always_inline)) INLINE static int cooling_write_particles(
num += 3;
#endif
if (cooling->output_mode == 2) return num;
#if COOLING_GRACKLE_MODE >= 3
list += num;
......@@ -153,9 +147,6 @@ __attribute__((always_inline)) INLINE static void cooling_read_parameters(
cooling->self_shielding_method = parser_get_opt_param_int(
parameter_file, "GrackleCooling:SelfShieldingMethod", 0);
cooling->output_mode =
parser_get_opt_param_int(parameter_file, "GrackleCooling:OutputMode", 0);
cooling->max_step = parser_get_opt_param_int(
parameter_file, "GrackleCooling:MaxSteps", 10000);
......
......@@ -59,9 +59,6 @@ struct cooling_function_data {
/* Self shielding method (<= 3) means grackle modes */
int self_shielding_method;
/* Output mode (correspond to primordial chemistry mode */
int output_mode;
/* convergence limit for first init */
float convergence_limit;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment