Commit 1a012d68 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Removed debugging code from the interaction functions

parent 7006e143
......@@ -374,7 +374,6 @@ __attribute__((always_inline)) INLINE static void runner_iact_force(
float wi, wj, wi_dx, wj_dx, wi_dr, wj_dr, w, dvdr;
float mi, mj, POrho2i, POrho2j, rhoi, rhoj;
float v_sig, omega_ij, Pi_ij, alpha_ij, tc, v_sig_u;
// float dt_max;
float f;
int k;
......@@ -690,7 +689,6 @@ __attribute__((always_inline)) INLINE static void runner_iact_nonsym_force(
float wi, wj, wi_dx, wj_dx, wi_dr, wj_dr, w, dvdr;
float /*mi,*/ mj, POrho2i, POrho2j, rhoi, rhoj;
float v_sig, omega_ij, Pi_ij, alpha_ij, tc, v_sig_u;
// float dt_max;
float f;
int k;
......
......@@ -26,19 +26,6 @@
#include "part.h"
#include "vector.h"
/* #define PRINT_PARTS \ */
/* if (pi->id == 1000) { \ */
/* message( \ */
/* "pi->id=%lld pi->h=%f pi->N_ngb=%f pi->rho=%f pi->t_beg=%f pi->t_end=%f pos=[%f %f %f]", \ */
/* pi->id, pi->h, pi->density.wcount, pi->rho, pi->t_begin, pi->t_end, pi->x[0], pi->x[1], pi->x[2]); \ */
/* } \ */
/* if (pj->id == 1000) { \ */
/* message( \ */
/* "pj->id=%lld pj->h=%f pj->N_ngb=%f pj->rho=%f pj->t_beg=%f pj->t_end=%f pos=[%f %f %f]", \ */
/* pj->id, pj->h, pj->density.wcount, pj->rho, pj->t_begin, pj->t_end, pj->x[0], pj->x[1], pj->x[2]); \ */
/* }\ */
/* fflush(stdout); */
/**
* @file runner_iact_legacy.h
......@@ -71,8 +58,6 @@ __attribute__((always_inline)) INLINE static void runner_iact_density(
float dvdr;
float dv[3], curlvr[3];
int k;
//PRINT_PARTS;
/* Get the masses. */
mi = pi->mass;
......@@ -248,8 +233,6 @@ __attribute__((always_inline)) INLINE static void runner_iact_nonsym_density(
float dv[3], curlvr[3];
int k;
//PRINT_PARTS;
/* Get the masses. */
mj = pj->mass;
......@@ -392,7 +375,6 @@ __attribute__((always_inline)) INLINE static void runner_iact_force(
float wi, wj, wi_dx, wj_dx, wi_dr, wj_dr, w, dvdr;
float mi, mj, POrho2i, POrho2j, rhoi, rhoj;
float v_sig, omega_ij, Pi_ij;
// float dt_max;
float f;
int k;
......@@ -669,7 +651,6 @@ __attribute__((always_inline)) INLINE static void runner_iact_nonsym_force(
float wi, wj, wi_dx, wj_dx, wi_dr, wj_dr, w, dvdr;
float /*mi,*/ mj, POrho2i, POrho2j, rhoi, rhoj;
float v_sig, omega_ij, Pi_ij;
// float dt_max;
float f;
int k;
......
Supports Markdown
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