This commit is contained in:
Kutalmis Bercin 2025-03-13 15:52:19 +00:00 committed by Kutalmış Berçin
parent 864c297104
commit 79ba2ccdd4

View File

@ -303,7 +303,7 @@ bool Foam::functionObjects::fieldStatistics::write()
{ {
const auto& results = results_(fieldName); const auto& results = results_(fieldName);
Info<< ' Field' << tab << fieldName << nl; Info<< nl << " Field " << fieldName << nl;
for (const auto& iter : results.csorted()) for (const auto& iter : results.csorted())
{ {
@ -319,20 +319,20 @@ bool Foam::functionObjects::fieldStatistics::write()
is_vectorspace_v<std::decay_t<decltype(v)>> is_vectorspace_v<std::decay_t<decltype(v)>>
) )
{ {
Info<< ' ' << name << tab; Info<< " " << name << " ";
for (const auto& val : v) Info<< val << tab; for (const auto& val : v) Info<< val << " ";
Info<< nl; Info<< nl;
} }
else else
{ {
Info<< tab << name << tab << v << nl; Info<< " " << name << " " << v << nl;
} }
}, },
value value
); );
} }
Info<< endl;
} }
Info<< endl;
} }
return true; return true;