Skip to content
Snippets Groups Projects
Commit 4b45d8bb authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

hide debug messages again

parent 0e8b820a
No related branches found
No related tags found
No related merge requests found
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
**********************************************************************/ **********************************************************************/
// code is generally compiled via setuptools, therefore NDEBUG is present // code is generally compiled via setuptools, therefore NDEBUG is present
#ifdef NDEBUG //#ifdef NDEBUG
#undef NDEBUG //#undef NDEBUG
#endif//NDEBUG //#endif//NDEBUG
#include <cassert> #include <cassert>
#include <cmath> #include <cmath>
...@@ -55,7 +55,7 @@ double fluid_solver_base<rnumber>::autocorrel(cnumber *a) ...@@ -55,7 +55,7 @@ double fluid_solver_base<rnumber>::autocorrel(cnumber *a)
double sum_local; double sum_local;
this->cospectrum(a, a, spec); this->cospectrum(a, a, spec);
sum_local = 0.0; sum_local = 0.0;
for (int n = 0; n < this->nshells - 2; n++) for (int n = 0; n < this->nshells; n++)
{ {
sum_local += spec[n*9] + spec[n*9 + 4] + spec[n*9 + 8]; sum_local += spec[n*9] + spec[n*9 + 4] + spec[n*9 + 8];
} }
......
...@@ -93,7 +93,6 @@ class fluid_resize(bfps.fluid_base.fluid_particle_base): ...@@ -93,7 +93,6 @@ class fluid_resize(bfps.fluid_base.fluid_particle_base):
a = 0.5*fs1->autocorrel(fs1->cvelocity); a = 0.5*fs1->autocorrel(fs1->cvelocity);
b = 0.5*fs1->autocorrel(fs1->cvorticity); b = 0.5*fs1->autocorrel(fs1->cvorticity);
DEBUG_MSG("new field %d %g %g\\n", fs1->iteration, a, b); DEBUG_MSG("new field %d %g %g\\n", fs1->iteration, a, b);
niter_todo = 0;
//endcpp //endcpp
""".format(C_dtype) """.format(C_dtype)
self.fluid_end += """ self.fluid_end += """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment