mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: cellDecomposer: print operand fields in rows
This commit is contained in:
@ -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)
|
|
||||||
{
|
|
||||||
Info<< " none" << nl;
|
|
||||||
}
|
|
||||||
|
|
||||||
Info<< endl;
|
if (!ok)
|
||||||
|
{
|
||||||
|
Log << " none" << nl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Log << endl;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -397,16 +396,14 @@ 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)
|
|
||||||
{
|
|
||||||
Info<< " none" << nl;
|
|
||||||
}
|
|
||||||
|
|
||||||
Info<< endl;
|
if (!ok)
|
||||||
|
{
|
||||||
|
Log << " none" << nl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Log << endl;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user