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

View File

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