Commit 0da6a5f7 authored by Henry Weller's avatar Henry Weller Committed by Andrew Heather
Browse files

surfaceTensionModels: Resolved warning from Clang concerning virtual function overload

parent abe8bb2b
......@@ -127,7 +127,7 @@ Foam::surfaceTensionModels::liquidProperties::sigma() const
}
bool Foam::surfaceTensionModels::liquidProperties::read
bool Foam::surfaceTensionModels::liquidProperties::readDict
(
const dictionary& dict
)
......
......@@ -104,7 +104,7 @@ public:
virtual tmp<volScalarField> sigma() const;
//- Update surface tension coefficient from given dictionary
virtual bool read(const dictionary& dict);
virtual bool readDict(const dictionary& dict);
//- Write in dictionary format
virtual bool writeData(Ostream& os) const;
......
......@@ -239,7 +239,7 @@ void Foam::interfaceProperties::correct()
bool Foam::interfaceProperties::read()
{
alpha1_.mesh().solverDict(alpha1_.name()).lookup("cAlpha") >> cAlpha_;
sigmaPtr_->read(transportPropertiesDict_);
sigmaPtr_->readDict(transportPropertiesDict_);
return true;
}
......
......@@ -83,7 +83,7 @@ Foam::surfaceTensionModels::constant::sigma() const
}
bool Foam::surfaceTensionModels::constant::read(const dictionary& dict)
bool Foam::surfaceTensionModels::constant::readDict(const dictionary& dict)
{
// Handle sub-dictionary format as a special case
if (dict.isDict("sigma"))
......
......@@ -98,7 +98,7 @@ public:
virtual tmp<volScalarField> sigma() const;
//- Update surface tension coefficient from given dictionary
virtual bool read(const dictionary& dict);
virtual bool readDict(const dictionary& dict);
//- Write in dictionary format
virtual bool writeData(Ostream& os) const;
......
......@@ -143,7 +143,7 @@ public:
virtual tmp<volScalarField> sigma() const = 0;
//- Update surface tension coefficient from given dictionary
virtual bool read(const dictionary& dict) = 0;
virtual bool readDict(const dictionary& dict) = 0;
//- Write in dictionary format
virtual bool writeData(Ostream& os) const = 0;
......
......@@ -104,7 +104,7 @@ Foam::surfaceTensionModels::temperatureDependent::sigma() const
}
bool Foam::surfaceTensionModels::temperatureDependent::read
bool Foam::surfaceTensionModels::temperatureDependent::readDict
(
const dictionary& dict
)
......
......@@ -113,7 +113,7 @@ public:
virtual tmp<volScalarField> sigma() const;
//- Update surface tension coefficient from given dictionary
virtual bool read(const dictionary& dict);
virtual bool readDict(const dictionary& dict);
//- Write in dictionary format
virtual bool writeData(Ostream& os) const;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment