ENH: waveModel - updated restart method

This commit is contained in:
Andrew Heather
2016-11-23 15:48:56 +00:00
parent c7b51f98e7
commit bc05a40b56
22 changed files with 66 additions and 86 deletions

View File

@ -148,7 +148,7 @@ Foam::waveModels::StokesII::StokesII
{
if (readFields)
{
read();
read(dict);
}
}
@ -161,9 +161,9 @@ Foam::waveModels::StokesII::~StokesII()
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
bool Foam::waveModels::StokesII::read()
bool Foam::waveModels::StokesII::read(const dictionary& overrideDict)
{
if (StokesI::read())
if (StokesI::read(overrideDict))
{
return true;
}

View File

@ -110,7 +110,7 @@ public:
// Public Member Functions
//- Read from dictionary
virtual bool read();
virtual bool read(const dictionary& overrideDict);
//- Info
virtual void info(Ostream& os) const;