Got rid of remaining manual allocations, moved some variable declarations to where they are needed

This commit is contained in:
Yohai Meiron 2020-10-28 19:18:37 -04:00
parent aef0f26878
commit d9ed8e5131
8 changed files with 67 additions and 90 deletions

View file

@ -59,7 +59,6 @@ void Logarithmic_halo::calc_gravity()
jerk = tmp * (rv_ij * x - r2_r2_halo * v);
}
void Dehnen::calc_gravity()
{