From f9787c568bbb8d869c8c07d8dc4d898d0946c2e8 Mon Sep 17 00:00:00 2001 From: Rainer Weinberger Date: Mon, 28 Sep 2020 11:50:54 -0400 Subject: [PATCH] Remove left-over obsolete code in src/mesh/voronoi/voronoi_gradients_lsf.c. --- src/mesh/voronoi/voronoi_gradients_lsf.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/mesh/voronoi/voronoi_gradients_lsf.c b/src/mesh/voronoi/voronoi_gradients_lsf.c index f85729d..4323ab0 100644 --- a/src/mesh/voronoi/voronoi_gradients_lsf.c +++ b/src/mesh/voronoi/voronoi_gradients_lsf.c @@ -469,10 +469,6 @@ void compute_divergences() MyFloat *BOther, B[3]; struct grad_data *GradOther; #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; while(q >= 0) @@ -538,9 +534,6 @@ void compute_divergences() GradOther = &SphP[particle].Grad; BOther = SphP[particle].B; #endif /* #ifdef MHD */ -#if defined(EVALPOTENTIAL) - PotenOther = P[particle].Potential; -#endif /* #if defined(EVALPOTENTIAL) */ } else { @@ -552,9 +545,6 @@ void compute_divergences() GradOther = &GradExch[particle]; BOther = PrimExch[particle].B; #endif /* #ifdef MHD */ -#if defined(EVALPOTENTIAL) - PotenOther = PrimExch[particle].Potential; -#endif /* #if defined(EVALPOTENTIAL) */ } #ifdef MHD -- GitLab