applyBoundaryLayer: Provide non-const access to nut, k and epsilon

This commit is contained in:
Henry Weller
2017-03-21 15:07:13 +00:00
parent ba7260c8b4
commit 160ad85b25
2 changed files with 5 additions and 12 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2013-2016 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2013-2017 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -102,13 +102,6 @@ public:
//- Re-read model coefficients if they have changed
virtual bool read() = 0;
//- Return non-const access to the turbulence viscosity
// to allow modification by means other than derivation
volScalarField& evNut()
{
return nut_;
}
//- Return the turbulence viscosity
virtual tmp<volScalarField> nut() const
{