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

@ -50,7 +50,7 @@ Foam::waveModels::waveAbsorptionModel::waveAbsorptionModel
{
if (readFields)
{
read();
read(dict);
}
}
@ -63,9 +63,9 @@ Foam::waveModels::waveAbsorptionModel::~waveAbsorptionModel()
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
bool Foam::waveModels::waveAbsorptionModel::read()
bool Foam::waveModels::waveAbsorptionModel::read(const dictionary& overrideDict)
{
if (waveModel::read())
if (waveModel::read(overrideDict))
{
// Note: always set to true
activeAbsorption_ = true;

View File

@ -70,7 +70,7 @@ public:
// Public Member Functions
//- Read from dictionary
virtual bool read();
virtual bool read(const dictionary& overrideDict);
};