Skip to content
Snippets Groups Projects
Commit af43f9aa authored by Andrew Heather's avatar Andrew Heather
Browse files

ENH: caseInfo - use OF dictionary as default writeFormat

STYLE: checkMesh - removed writeChecks uppercase JSON option
parent 686f2a39
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,6 @@ const Enum<writeChecksFormatType> writeChecksFormatTypeNames
{ writeChecksFormatType::none, "none" },
{ writeChecksFormatType::dictionary, "dictionary" },
{ writeChecksFormatType::JSON, "json" },
{ writeChecksFormatType::JSON, "JSON" },
};
writeChecksFormatType writeChecksFormat(writeChecksFormatType::none);
......
......@@ -416,7 +416,7 @@ bool Foam::functionObjects::caseInfo::read(const dictionary& dict)
{
if (stateFunctionObject::read(dict) && writeFile::read(dict))
{
writeFormat_ = writeFormatNames_.get("writeFormat", dict);
writeFormatNames_.readIfPresent("writeFormat", dict, writeFormat_);
lookupModeNames_.readIfPresent("lookupMode", dict, lookupMode_);
dictionaries_ = dict.subOrEmptyDict("dictionaries");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment