localIOdictionary: Added missing constructor for surfaceRedistributePar

This commit is contained in:
Henry Weller
2020-08-20 10:01:23 +01:00
parent 540e26f996
commit c5c0b900da
2 changed files with 21 additions and 0 deletions

View File

@ -41,6 +41,24 @@ Foam::localIOdictionary::localIOdictionary
}
Foam::localIOdictionary::localIOdictionary
(
const IOobject& io,
const dictionary& dict
)
:
IOdictionary(io, typeName)
{
if (!readHeaderOk(IOstream::ASCII, typeName))
{
dictionary::operator=(dict);
}
// For if MUST_READ_IF_MODIFIED
addWatch();
}
Foam::localIOdictionary::localIOdictionary
(
const IOobject& io,

View File

@ -61,6 +61,9 @@ public:
//- Construct given an IOobject and actual type name
localIOdictionary(const IOobject& io);
//- Construct given an IOobject and dictionary
localIOdictionary(const IOobject&, const dictionary&);
//- Construct given an IOobject and actual type name
localIOdictionary(const IOobject& io, const word& actualType);