Commit b020896d authored by Christoph Pflaum's avatar Christoph Pflaum
Browse files

icell var vielleicht print anders

parent e7a15489
...@@ -811,7 +811,7 @@ double Maximum_cell(const Expr<A>& ao) { ...@@ -811,7 +811,7 @@ double Maximum_cell(const Expr<A>& ao) {
double maximum; double maximum;
double maximum_total; double maximum_total;
maximum = std::numeric_limits<double>::min(); // früher: -1.0e50; maximum = -std::numeric_limits<double>::max(); // früher: -1.0e50;
const A& a ( ao ); const A& a ( ao );
...@@ -828,7 +828,7 @@ double Maximum_cell(const Expr<A>& ao) { ...@@ -828,7 +828,7 @@ double Maximum_cell(const Expr<A>& ao) {
Ny = a.Give_blockgrid()->Give_Ny_hexahedron(id); Ny = a.Give_blockgrid()->Give_Ny_hexahedron(id);
Nz = a.Give_blockgrid()->Give_Nz_hexahedron(id); Nz = a.Give_blockgrid()->Give_Nz_hexahedron(id);
double localMax = std::numeric_limits<double>::min(); double localMax = -std::numeric_limits<double>::max();
//#pragma omp parallel for reduction(max:localMax) num_threads(UGBlocks::numThreadsToTake) if(UGBlocks::useOpenMP) //#pragma omp parallel for reduction(max:localMax) num_threads(UGBlocks::numThreadsToTake) if(UGBlocks::useOpenMP)
for(int k=0;k<Nz;++k) { for(int k=0;k<Nz;++k) {
for(int j=0;j<Ny;++j) for(int j=0;j<Ny;++j)
......
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