STYLE: cellDecomposer: print operand fields in rows

This commit is contained in:
Kutalmis Bercin
2025-01-13 11:29:41 +00:00
parent 2e1552dd30
commit 77cdf22eac
2 changed files with 13 additions and 16 deletions

View File

@ -372,15 +372,14 @@ bool Foam::functionObjects::cellDecomposer::execute()
ok = mapFieldType<symmTensor>() || ok;
ok = mapFieldType<tensor>() || ok;
if (log)
{
if (!ok)
{
Info<< " none" << nl;
}
Info<< endl;
if (!ok)
{
Log << " none" << nl;
}
Log << endl;
return true;
}
@ -397,16 +396,14 @@ bool Foam::functionObjects::cellDecomposer::write()
ok = writeFieldType<symmTensor>() || ok;
ok = writeFieldType<tensor>() || ok;
if (log)
{
if (!ok)
{
Info<< " none" << nl;
}
Info<< endl;
if (!ok)
{
Log << " none" << nl;
}
Log << endl;
return true;
}

View File

@ -323,7 +323,7 @@ bool Foam::functionObjects::cellDecomposer::mapFieldType() const
mapPtr_().faceMap(),
false //allowUnmapped
);
Log << " " << fieldName << ": interpolated";
Log << " " << fieldName << ": interpolated" << nl;
//evaluateConstraintTypes(mappedField);
}
@ -354,7 +354,7 @@ bool Foam::functionObjects::cellDecomposer::writeFieldType() const
mappedField.write();
Log << " " << fieldName << ": written";
Log << " " << fieldName << ": written" << nl;
}
return processed;