BlendedInterfacialModel: Removed unused methods
This commit is contained in:
@ -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
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user