mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Removed unused code
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -47,8 +47,7 @@ Foam::distributionModels::uniform::uniform
|
|||||||
:
|
:
|
||||||
distributionModel(typeName, dict, rndGen),
|
distributionModel(typeName, dict, rndGen),
|
||||||
minValue_(readScalar(distributionModelDict_.lookup("minValue"))),
|
minValue_(readScalar(distributionModelDict_.lookup("minValue"))),
|
||||||
maxValue_(readScalar(distributionModelDict_.lookup("maxValue"))),
|
maxValue_(readScalar(distributionModelDict_.lookup("maxValue")))
|
||||||
range_(maxValue_ - minValue_)
|
|
||||||
{
|
{
|
||||||
check();
|
check();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -60,9 +60,6 @@ class uniform
|
|||||||
//- Distribution maximum
|
//- Distribution maximum
|
||||||
scalar maxValue_;
|
scalar maxValue_;
|
||||||
|
|
||||||
//- Distribution range
|
|
||||||
scalar range_;
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user