Commit a30a4325 authored by Christoph Schwarzmeier's avatar Christoph Schwarzmeier
Browse files

Merge branch 'Iterator_fix' into 'master'

Fix in SCIterator

See merge request walberla/walberla!123
parents 2ef0b090 5294a68d
......@@ -64,7 +64,7 @@ SCIterator::SCIterator(const AABB& domain, const Vector3<real_t>& pointOfReferen
auto min = domain.min() - pointOfReference_;
iReturn_ = int_c( ceil( min[0] / spacing[0] ) );
i_ = iReturn_;
jReturn_ = int_c(ceil( min[1] / spacing[1] ) + real_c(0.1));
jReturn_ = int_c(ceil( min[1] / spacing[1] ));
j_ = jReturn_;
k_ = int_c (ceil( min[2] / spacing[2] ));
......
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