Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
1de2f305
Commit
1de2f305
authored
Jun 05, 2019
by
Mark OLESEN
Committed by
Andrew Heather
Jun 05, 2019
Browse files
COMP: fixes for label=64, scalar=32
parent
32fe9406
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/fileFormats/colours/colourTools.C
View file @
1de2f305
...
...
@@ -426,7 +426,7 @@ void Foam::colourTools::interpolateDiverging
// adjusting the scalar value.
scalar
Mmid
=
std
::
max
(
msh1
[
0
],
msh2
[
0
]);
Mmid
=
std
::
max
(
88
.
0
,
Mmid
);
Mmid
=
std
::
max
(
scalar
(
88
.
0
)
,
Mmid
);
if
(
s
<
0
.
5
)
{
msh2
[
0
]
=
Mmid
;
msh2
[
1
]
=
0
;
msh2
[
2
]
=
0
;
...
...
src/mesh/blockMesh/PDRblockMesh/PDRblock.C
View file @
1de2f305
...
...
@@ -289,7 +289,7 @@ void Foam::PDRblock::readGridControl
const
scalar
dist
=
(
subPoint
.
last
()
-
subPoint
.
first
());
if
(
equal
(
expRatio
,
1
.
0
))
if
(
equal
(
expRatio
,
1
))
{
for
(
label
i
=
1
;
i
<
nDiv
;
++
i
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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