tdisable diagnostic output, decrease maxiter - sphere - GPU-based 3D discrete e… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit f1d944982c3295e7505fcc008917f6863aa11ffc | |
parent 7c249194410ea889121a5e9f156bd9c24b1859ee | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 20 Mar 2015 14:12:52 +0100 | |
disable diagnostic output, decrease maxiter | |
Diffstat: | |
M src/darcy.cuh | 5 ++--- | |
M tests/io_tests_fluid.py | 4 ++-- | |
2 files changed, 4 insertions(+), 5 deletions(-) | |
--- | |
diff --git a/src/darcy.cuh b/src/darcy.cuh | |
t@@ -869,11 +869,10 @@ __global__ void findDarcyPressureGradient( | |
__syncthreads(); | |
dev_darcy_grad_p[d_idx(x,y,z)] = grad_p; | |
- printf("%d,%d,%d findDarcyPressureGradient:\n" | |
+ /*printf("%d,%d,%d findDarcyPressureGradient:\n" | |
"\tgrad_p = %.2e, %.2e, %.2e\n", | |
x, y, z, | |
- grad_p.x, grad_p.y, grad_p.z); //*/ | |
- | |
+ grad_p.x, grad_p.y, grad_p.z); // */ | |
#ifdef CHECK_FLUID_FINITE | |
checkFiniteFloat3("grad_p", x, y, z, grad_p); | |
#endif | |
diff --git a/tests/io_tests_fluid.py b/tests/io_tests_fluid.py | |
t@@ -60,8 +60,8 @@ orig.defaultParams() | |
orig.initRandomGridPos() | |
orig.initFluid(cfd_solver = 1) | |
-#orig.setMaxIterations(10) | |
-orig.setMaxIterations(1000) | |
+orig.setMaxIterations(10) | |
+#orig.setMaxIterations(1000) | |
orig.initTemporal(current=0.0, total=0.0) | |
orig.time_total=2.0*orig.time_dt | |
orig.time_file_dt = orig.time_dt |