Skip to content
Snippets Groups Projects
Commit 2ba3cc82 authored by Andrew Heather's avatar Andrew Heather
Browse files

STYLE: Updated FO output

parent 544b0aa6
Branches
Tags
No related merge requests found
......@@ -281,7 +281,7 @@ bool Foam::functionObjects::derivedFields::execute()
}
}
Log << nl;
Log << nl << endl;
return true;
}
......
......@@ -527,9 +527,9 @@ bool Foam::functionObjects::fieldValues::surfaceFieldValue::update()
totalArea_ = totalArea();
Log
<< " total faces = " << nFaces_ << nl
<< " total area = " << totalArea_ << nl;
Log << " total faces = " << nFaces_ << nl
<< " total area = " << totalArea_ << nl
<< endl;
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;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment