Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Phillip Lino Rall
UGBlocks_V3
Commits
b020896d
Commit
b020896d
authored
Apr 15, 2021
by
Christoph Pflaum
Browse files
icell var vielleicht print anders
parent
e7a15489
Changes
1
Hide whitespace changes
Inline
Side-by-side
program/source/extemp/cellvar.h
View file @
b020896d
...
...
@@ -811,7 +811,7 @@ double Maximum_cell(const Expr<A>& ao) {
double
maximum
;
double
maximum_total
;
maximum
=
std
::
numeric_limits
<
double
>::
m
in
();
// früher: -1.0e50;
maximum
=
-
std
::
numeric_limits
<
double
>::
m
ax
();
// früher: -1.0e50;
const
A
&
a
(
ao
);
...
...
@@ -828,7 +828,7 @@ double Maximum_cell(const Expr<A>& ao) {
Ny
=
a
.
Give_blockgrid
()
->
Give_Ny_hexahedron
(
id
);
Nz
=
a
.
Give_blockgrid
()
->
Give_Nz_hexahedron
(
id
);
double
localMax
=
std
::
numeric_limits
<
double
>::
m
in
();
double
localMax
=
-
std
::
numeric_limits
<
double
>::
m
ax
();
//#pragma omp parallel for reduction(max:localMax) num_threads(UGBlocks::numThreadsToTake) if(UGBlocks::useOpenMP)
for
(
int
k
=
0
;
k
<
Nz
;
++
k
)
{
for
(
int
j
=
0
;
j
<
Ny
;
++
j
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment