ENH: vibrationShellModel and thermalShellModel: remove read()

STYLE: vibrationShellModel and thermalShellModel: regroup the access functions
This commit is contained in:
sergio
2021-07-12 17:30:04 +01:00
committed by Sergio Ferraris
parent a9aa6cb0db
commit d3807a6ee3
4 changed files with 50 additions and 122 deletions

View File

@ -5,7 +5,7 @@
\\ / A nd | www.openfoam.com
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2019-2020 OpenCFD Ltd.
Copyright (C) 2019-2021 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -43,19 +43,6 @@ defineTypeNameAndDebug(thermalShellModel, 0);
defineRunTimeSelectionTable(thermalShellModel, dictionary);
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
bool thermalShellModel::read(const dictionary& dict)
{
if (regionFaModel::read(dict))
{
return true;
}
return false;
}
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
thermalShellModel::thermalShellModel
@ -95,24 +82,6 @@ void thermalShellModel::preEvolveRegion()
{}
const Foam::volScalarField& thermalShellModel::Tp() const
{
return Tp_;
}
const Foam::areaScalarField& thermalShellModel::T() const
{
return T_;
}
Foam::fa::options& thermalShellModel::faOptions()
{
return faOptions_;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace regionModels