mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: consistency updates
This commit is contained in:
@ -50,14 +50,14 @@ namespace functionObjects
|
||||
|
||||
bool Foam::functionObjects::writeDictionary::tryDirectory
|
||||
(
|
||||
const label dictI,
|
||||
const label dicti,
|
||||
const word& location,
|
||||
bool& firstDict
|
||||
)
|
||||
{
|
||||
IOobject dictIO
|
||||
(
|
||||
dictNames_[dictI],
|
||||
dictNames_[dicti],
|
||||
location,
|
||||
obr_,
|
||||
IOobject::MUST_READ,
|
||||
@ -69,7 +69,7 @@ bool Foam::functionObjects::writeDictionary::tryDirectory
|
||||
{
|
||||
IOdictionary dict(dictIO);
|
||||
|
||||
if (dict.digest() != digests_[dictI])
|
||||
if (dict.digest() != digests_[dicti])
|
||||
{
|
||||
if (firstDict)
|
||||
{
|
||||
@ -84,7 +84,7 @@ bool Foam::functionObjects::writeDictionary::tryDirectory
|
||||
|
||||
IOobject::writeDivider(Info);
|
||||
|
||||
digests_[dictI] = dict.digest();
|
||||
digests_[dicti] = dict.digest();
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
@ -75,7 +75,7 @@ class writeDictionary
|
||||
//- Helper function to write the dictionary if found at location
|
||||
bool tryDirectory
|
||||
(
|
||||
const label dictI,
|
||||
const label dicti,
|
||||
const word& location,
|
||||
bool& firstDict
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user