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-plus
Commits
51910c6c
Commit
51910c6c
authored
Jun 19, 2019
by
Andrew Heather
Browse files
STYLE: Updated FO output
parent
b006d337
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/functionObjects/field/derivedFields/derivedFields.C
View file @
51910c6c
...
...
@@ -281,7 +281,7 @@ bool Foam::functionObjects::derivedFields::execute()
}
}
Log
<<
nl
;
Log
<<
nl
<<
endl
;
return
true
;
}
...
...
src/functionObjects/field/fieldValues/surfaceFieldValue/surfaceFieldValue.C
View file @
51910c6c
...
...
@@ -527,9 +527,9 @@ bool Foam::functionObjects::fieldValues::surfaceFieldValue::update()
totalArea_
=
totalArea
();
Log
<<
" total
faces
= "
<<
nFaces
_
<<
nl
<<
" total area = "
<<
totalArea_
<<
n
l
;
Log
<<
" total faces = "
<<
nFaces_
<<
nl
<<
" total
area
= "
<<
totalArea
_
<<
nl
<<
end
l
;
writeFileHeader
(
file
());
...
...
@@ -982,16 +982,16 @@ bool Foam::functionObjects::fieldValues::surfaceFieldValue::read
bool
Foam
::
functionObjects
::
fieldValues
::
surfaceFieldValue
::
write
()
{
if
(
needsUpdate_
||
operation_
!=
opNone
)
{
fieldValue
::
write
();
}
update
();
if
(
operation_
!=
opNone
)
{
fieldValue
::
write
();
if
(
Pstream
::
master
())
{
writeTime
(
file
());
}
writeTime
(
file
());
}
if
(
writeArea_
)
...
...
@@ -1080,12 +1080,12 @@ bool Foam::functionObjects::fieldValues::surfaceFieldValue::write()
writeAll
(
Sf
,
weightField
,
points
,
faces
);
}
if
(
operation_
!=
opNone
&&
Pstream
::
master
()
)
if
(
operation_
!=
opNone
)
{
file
()
<<
endl
;
Log
<<
endl
;
}
Log
<<
endl
;
return
true
;
}
...
...
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