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
036a1cd5
Commit
036a1cd5
authored
Jan 09, 2009
by
Mark Olesen
Browse files
output FOAMbuild info in argList, but only emit FOAMversion in writeBanner
parent
e6bfb268
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/db/IOobject/IOobjectI.H
View file @
036a1cd5
...
...
@@ -38,7 +38,7 @@ inline void Foam::IOobject::writeBanner(Stream& os, bool noHint)
{
memset
(
spaces
,
' '
,
40
);
size_t
len
=
strlen
(
Foam
::
FOAM
build
);
size_t
len
=
strlen
(
Foam
::
FOAM
version
);
if
(
len
<
38
)
{
spaces
[
38
-
len
]
=
'\0'
;
...
...
@@ -64,7 +64,7 @@ inline void Foam::IOobject::writeBanner(Stream& os, bool noHint)
os
<<
"| ========= | |
\n
"
"|
\\\\
/ F ield | OpenFOAM: The Open Source CFD Toolbox |
\n
"
"|
\\\\
/ O peration | Version: "
<<
FOAM
build
<<
spaces
<<
"|
\n
"
"|
\\\\
/ O peration | Version: "
<<
FOAM
version
<<
spaces
<<
"|
\n
"
"|
\\\\
/ A nd | Web: www.OpenFOAM.org |
\n
"
"|
\\\\
/ M anipulation | |
\n
"
"
\\
*---------------------------------------------------------------------------*/
\n
"
;
...
...
src/OpenFOAM/global/argList/argList.C
View file @
036a1cd5
...
...
@@ -286,7 +286,8 @@ Foam::argList::argList
if
(
Pstream
::
master
()
&&
bannerEnabled
)
{
IOobject
::
writeBanner
(
Info
,
true
);
Info
<<
"Exec : "
<<
argListString
.
c_str
()
<<
nl
Info
<<
"Build : "
<<
Foam
::
FOAMbuild
<<
nl
<<
"Exec : "
<<
argListString
.
c_str
()
<<
nl
<<
"Date : "
<<
dateString
.
c_str
()
<<
nl
<<
"Time : "
<<
timeString
.
c_str
()
<<
nl
<<
"Host : "
<<
hostName
()
<<
nl
...
...
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