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,20 +43,6 @@ defineTypeNameAndDebug(vibrationShellModel, 0);
defineRunTimeSelectionTable(vibrationShellModel, dictionary);
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
bool vibrationShellModel::read(const dictionary& dict)
{
if (regionFaModel::read(dict))
{
return true;
}
return false;
}
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
vibrationShellModel::vibrationShellModel
@ -110,36 +96,6 @@ void vibrationShellModel::preEvolveRegion()
{}
const Foam::volScalarField& vibrationShellModel::pa() const
{
return pa_;
}
const Foam::areaScalarField& vibrationShellModel::w() const
{
return w_;
}
const Foam::areaScalarField& vibrationShellModel::a() const
{
return a_;
}
Foam::fa::options& vibrationShellModel::faOptions()
{
return faOptions_;
}
const Foam::solidProperties& vibrationShellModel::solid() const
{
return solid_;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace regionModels