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
75bb4275
Commit
75bb4275
authored
Nov 24, 2009
by
Andrew Heather
Browse files
minor coding tweaks
parent
428327f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/postProcessing/functionObjects/utilities/timeActivatedFileUpdate/timeActivatedFileUpdate.C
View file @
75bb4275
...
...
@@ -53,9 +53,8 @@ void Foam::timeActivatedFileUpdate::updateFile()
if
(
i
>
lastIndex_
)
{
Info
<<
"
\n
timeActivatedFileUpdate: copying file"
<<
nl
<<
timeVsFile_
[
i
].
second
()
<<
nl
<<
"to:"
<<
nl
<<
fileToUpdate_
<<
nl
<<
endl
;
Info
<<
nl
<<
type
()
<<
": copying file"
<<
nl
<<
timeVsFile_
[
i
].
second
()
<<
nl
<<
"to:"
<<
nl
<<
fileToUpdate_
<<
nl
<<
endl
;
cp
(
timeVsFile_
[
i
].
second
(),
fileToUpdate_
);
lastIndex_
=
i
;
...
...
@@ -102,7 +101,7 @@ void Foam::timeActivatedFileUpdate::read(const dictionary& dict)
lastIndex_
=
-
1
;
fileToUpdate_
.
expand
();
Info
<<
"timeActivatedFileUpdate
: time vs file list:"
<<
nl
;
Info
<<
type
()
<<
"
: time vs file list:"
<<
nl
;
forAll
(
timeVsFile_
,
i
)
{
timeVsFile_
[
i
].
second
()
=
timeVsFile_
[
i
].
second
().
expand
();
...
...
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