BlendedInterfacialModel: Removed unused methods

This commit is contained in:
Will Bainbridge
2019-09-19 11:27:12 +01:00
parent a9de972d7a
commit 975784d062
2 changed files with 1 additions and 33 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2014-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2014-2019 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -290,29 +290,6 @@ Foam::BlendedInterfacialModel<ModelType>::~BlendedInterfacialModel()
// * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * * //
template<class ModelType>
bool Foam::BlendedInterfacialModel<ModelType>::hasModel
(
const class phaseModel& phase
) const
{
return
&phase == &(phase1_)
? model1In2_.valid()
: model2In1_.valid();
}
template<class ModelType>
const ModelType& Foam::BlendedInterfacialModel<ModelType>::model
(
const class phaseModel& phase
) const
{
return &phase == &(phase1_) ? model1In2_ : model2In1_;
}
template<class ModelType>
Foam::tmp<Foam::volScalarField>
Foam::BlendedInterfacialModel<ModelType>::K() const

View File

@ -162,15 +162,6 @@ public:
// Member Functions
//- Return true if a model is specified for the supplied phase
bool hasModel(const phaseModel& phase) const;
//- Return the model for the supplied phase
const ModelType& model(const phaseModel& phase) const;
//- Return the sign of the explicit value for the supplied phase
scalar sign(const phaseModel& phase) const;
//- Return the blended force coefficient
tmp<volScalarField> K() const;