Commit af92d4c3 authored by lhausamm's avatar lhausamm
Browse files

Code works and seems to give good results

parent 650104aa
......@@ -134,6 +134,8 @@ int wrap_get_cooling_time(double rho, double u, double Z, double a_now,
int wrap_do_cooling(double rho, double *u, double dt, double Z, double a_now) {
GRACKLE_ASSERT(FIELD_SIZE == 1);
gr_float den_factor = 1.0;
gr_float u_factor = 1.0;
......@@ -149,8 +151,6 @@ int wrap_do_cooling(double rho, double *u, double dt, double Z, double a_now) {
int grid_start[3] = {0, 0, 0};
int grid_end[3] = {0, 0, 0};
GRACKLE_ASSERT(FIELD_SIZE == 1);
if (solve_chemistry_table(&my_units, a_now, dt, grid_rank, grid_dimension,
grid_start, grid_end, density, energy, x_velocity,
y_velocity, z_velocity, metal_density) == 0) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment