Skip to content
GitLab
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
e619a82a
Commit
e619a82a
authored
Nov 22, 2016
by
Mark Olesen
Browse files
COMP: minor adjustments for compiling with single-precision
parent
19bd06c8
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/conversion/ccm/Allwmake
View file @
e619a82a
...
...
@@ -15,8 +15,13 @@ if [ "$WM_LABEL_SIZE" = 64 ]
then
# The libccmio uses int32_t.
# The OpenFOAM adapter thus requires additional work for 64-bit labels.
echo
"Skipping optional component
libccm
"
echo
"Skipping optional
'libccm' adapter
component"
echo
" does not support 64-bit labels"
elif
[
"
$WM_PRECISION_OPTION
"
=
SP
]
then
# The OpenFOAM adapter was originally only designed for 'double'
echo
"Skipping optional 'libccm' adapter component"
echo
" was not originally designed for 'single precision' values"
elif
[
-e
$CCMIO_ARCH_PATH
/include/libccmio/ccmio.h
\
-a
-e
$CCMIO_ARCH_PATH
/lib/libccmio.a
]
then
...
...
src/fileFormats/starcd/STARCDCore.C
View file @
e619a82a
...
...
@@ -230,7 +230,7 @@ void Foam::fileFormats::STARCDCore::writePoints
(
Ostream
&
os
,
const
pointField
&
points
,
const
double
scaleFactor
const
scalar
scaleFactor
)
{
writeHeader
(
os
,
HEADER_VRT
);
...
...
src/finiteVolume/fields/fvPatchFields/derived/turbulentDFSEMInlet/turbulentDFSEMInletFvPatchVectorField.C
View file @
e619a82a
...
...
@@ -1104,9 +1104,9 @@ void Foam::turbulentDFSEMInletFvPatchVectorField::write(Ostream& os) const
fvPatchField
<
vector
>::
write
(
os
);
writeEntry
(
"value"
,
os
);
os
.
writeKeyword
(
"delta"
)
<<
delta_
<<
token
::
END_STATEMENT
<<
nl
;
writeEntryIfDifferent
(
os
,
"d"
,
1
.
0
,
d_
);
writeEntryIfDifferent
(
os
,
"kappa"
,
0
.
41
,
kappa_
);
writeEntryIfDifferent
(
os
,
"perturb"
,
1e-5
,
perturb_
);
writeEntryIfDifferent
<
scalar
>
(
os
,
"d"
,
1
.
0
,
d_
);
writeEntryIfDifferent
<
scalar
>
(
os
,
"kappa"
,
0
.
41
,
kappa_
);
writeEntryIfDifferent
<
scalar
>
(
os
,
"perturb"
,
1e-5
,
perturb_
);
writeEntryIfDifferent
<
label
>
(
os
,
"nCellPerEddy"
,
5
,
nCellPerEddy_
);
writeEntryIfDifferent
(
os
,
"writeEddies"
,
false
,
writeEddies_
);
...
...
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