Skip to content
Snippets Groups Projects
Commit bf49ae9b authored by mattijs's avatar mattijs
Browse files

ENH: readFields: suppress warning messages when reading surface fields. Fixes #654.

parent 7a41a9c9
Branches
Tags
No related merge requests found
......@@ -84,7 +84,7 @@ bool Foam::functionObjects::readFields::loadField(const word& fieldName)
mesh_.objectRegistry::store(sfPtr);
return true;
}
else if (fieldHeader.typeHeaderOk<SurfFieldType>(true))
else if (fieldHeader.typeHeaderOk<SurfFieldType>(true, true, false))
{
if (isA<surfMesh>(obr()))
{
......
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