From 975784d0623cdf17e2d55da41ea8f0a6616e01dc Mon Sep 17 00:00:00 2001 From: Will Bainbridge Date: Thu, 19 Sep 2019 11:27:12 +0100 Subject: [PATCH] BlendedInterfacialModel: Removed unused methods --- .../BlendedInterfacialModel.C | 25 +------------------ .../BlendedInterfacialModel.H | 9 ------- 2 files changed, 1 insertion(+), 33 deletions(-) diff --git a/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/BlendedInterfacialModel/BlendedInterfacialModel.C b/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/BlendedInterfacialModel/BlendedInterfacialModel.C index 83f446f886..a7757e07c6 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/BlendedInterfacialModel/BlendedInterfacialModel.C +++ b/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/BlendedInterfacialModel/BlendedInterfacialModel.C @@ -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::~BlendedInterfacialModel() // * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * * // -template -bool Foam::BlendedInterfacialModel::hasModel -( - const class phaseModel& phase -) const -{ - return - &phase == &(phase1_) - ? model1In2_.valid() - : model2In1_.valid(); -} - - -template -const ModelType& Foam::BlendedInterfacialModel::model -( - const class phaseModel& phase -) const -{ - return &phase == &(phase1_) ? model1In2_ : model2In1_; -} - - template Foam::tmp Foam::BlendedInterfacialModel::K() const diff --git a/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/BlendedInterfacialModel/BlendedInterfacialModel.H b/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/BlendedInterfacialModel/BlendedInterfacialModel.H index ab112495ed..2da0a96a42 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/BlendedInterfacialModel/BlendedInterfacialModel.H +++ b/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/BlendedInterfacialModel/BlendedInterfacialModel.H @@ -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 K() const;