Commit f9787c56 authored by Rainer Weinberger's avatar Rainer Weinberger

Remove left-over obsolete code in src/mesh/voronoi/voronoi_gradients_lsf.c.

parent 9a141d6f
...@@ -469,10 +469,6 @@ void compute_divergences() ...@@ -469,10 +469,6 @@ void compute_divergences()
MyFloat *BOther, B[3]; MyFloat *BOther, B[3];
struct grad_data *GradOther; struct grad_data *GradOther;
#endif /* #ifdef MHD */ #endif /* #ifdef MHD */
#if defined(EVALPOTENTIAL)
SphP[i].PotentialPeak = 1; /* starts off true */
double PotenOther;
#endif /* #if defined(EVALPOTENTIAL) */
int q = SphP[i].first_connection; int q = SphP[i].first_connection;
while(q >= 0) while(q >= 0)
...@@ -538,9 +534,6 @@ void compute_divergences() ...@@ -538,9 +534,6 @@ void compute_divergences()
GradOther = &SphP[particle].Grad; GradOther = &SphP[particle].Grad;
BOther = SphP[particle].B; BOther = SphP[particle].B;
#endif /* #ifdef MHD */ #endif /* #ifdef MHD */
#if defined(EVALPOTENTIAL)
PotenOther = P[particle].Potential;
#endif /* #if defined(EVALPOTENTIAL) */
} }
else else
{ {
...@@ -552,9 +545,6 @@ void compute_divergences() ...@@ -552,9 +545,6 @@ void compute_divergences()
GradOther = &GradExch[particle]; GradOther = &GradExch[particle];
BOther = PrimExch[particle].B; BOther = PrimExch[particle].B;
#endif /* #ifdef MHD */ #endif /* #ifdef MHD */
#if defined(EVALPOTENTIAL)
PotenOther = PrimExch[particle].Potential;
#endif /* #if defined(EVALPOTENTIAL) */
} }
#ifdef MHD #ifdef MHD
......
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