Removed unused private data members

This commit is contained in:
Henry Weller
2019-08-16 17:56:59 +01:00
parent 888d362bfa
commit c8f4487a07
18 changed files with 8 additions and 54 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) 2013-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2013-2019 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -55,8 +55,6 @@ Foam::RASModels::phasePressureModel::phasePressureModel
propertiesName
),
phase_(phase),
alphaMax_(readScalar(coeffDict_.lookup("alphaMax"))),
preAlphaExp_(readScalar(coeffDict_.lookup("preAlphaExp"))),
expMax_(readScalar(coeffDict_.lookup("expMax"))),

View File

@ -77,11 +77,6 @@ class phasePressureModel
{
// Private Data
// Input Fields
const phaseModel& phase_;
// Kinetic Theory Model coefficients
//- Maximum packing phase-fraction

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2013-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2013-2019 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -58,8 +58,6 @@ Foam::RASModels::phasePressureModel::phasePressureModel
propertiesName
),
phase_(phase),
alphaMax_(readScalar(coeffDict_.lookup("alphaMax"))),
preAlphaExp_(readScalar(coeffDict_.lookup("preAlphaExp"))),
expMax_(readScalar(coeffDict_.lookup("expMax"))),

View File

@ -81,11 +81,6 @@ class phasePressureModel
{
// Private Data
// Input Fields
const phaseModel& phase_;
// Kinetic Theory Model coefficients
//- Maximum packing phase-fraction

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2013-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2013-2019 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -34,8 +34,6 @@ Foam::cv2DControls::cv2DControls
const boundBox& bb
)
:
dict_(controlDict),
motionControl_(controlDict.subDict("motionControl")),
conformationControl_(controlDict.subDict("surfaceConformation")),

View File

@ -60,9 +60,6 @@ class cv2DControls
{
// Private Data
//- Description of data_
const dictionary& dict_;
const dictionary& motionControl_;
const dictionary& conformationControl_;

View File

@ -779,7 +779,6 @@ Foam::backgroundMeshDecomposition::backgroundMeshDecomposition
:
runTime_(runTime),
geometryToConformTo_(geometryToConformTo),
rndGen_(rndGen),
mesh_
(
IOobject

View File

@ -103,9 +103,6 @@ class backgroundMeshDecomposition
//- Reference to surface
const conformationSurfaces& geometryToConformTo_;
//- Random number generator
Random& rndGen_;
//- Mesh stored on for this processor, specifying the domain that it
// is responsible for.
fvMesh mesh_;

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2012-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2012-2019 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -54,8 +54,6 @@ Foam::cellShapeControl::cellShapeControl
(
foamyHexMeshControls.foamyHexMeshDict().subDict("motionControl")
),
runTime_(runTime),
allGeometry_(allGeometry),
geometryToConformTo_(geometryToConformTo),
defaultCellSize_(foamyHexMeshControls.defaultCellSize()),
minimumCellSize_(foamyHexMeshControls.minimumCellSize()),

View File

@ -66,10 +66,6 @@ class cellShapeControl
{
// Private Data
const Time& runTime_;
const searchableSurfaces& allGeometry_;
const conformationSurfaces& geometryToConformTo_;
const scalar defaultCellSize_;

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2012-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2012-2019 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -364,8 +364,7 @@ Foam::cellShapeControlMesh::cellShapeControlMesh(const Time& runTime)
runTime,
meshSubDir
),
runTime_(runTime),
defaultCellSize_(0.0)
runTime_(runTime)
{
if (this->vertexCount())
{

View File

@ -78,8 +78,6 @@ private:
mutable Cell_handle oldCellHandle_;
const scalar defaultCellSize_;
public:

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2012-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2012-2019 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -269,7 +269,6 @@ Foam::conformationSurfaces::conformationSurfaces
)
:
runTime_(runTime),
rndGen_(rndGen),
allGeometry_(allGeometry),
features_(),
locationInMesh_(surfaceConformationDict.lookup("locationInMesh")),

View File

@ -59,8 +59,6 @@ class conformationSurfaces
const Time& runTime_;
Random& rndGen_;
//- Reference to the searchableSurfaces object holding all geometry data
const searchableSurfaces& allGeometry_;

View File

@ -151,7 +151,6 @@ Foam::shortEdgeFilter2D::shortEdgeFilter2D
const dictionary& dict
)
:
cv2Dmesh_(cv2Dmesh),
shortEdgeFilterFactor_(readScalar(dict.lookup("shortEdgeFilterFactor"))),
edgeAttachedToBoundaryFactor_
(

View File

@ -51,8 +51,6 @@ class shortEdgeFilter2D
{
// Private Data
const CV2D& cv2Dmesh_;
MeshedSurface<face> ms_;
const scalar shortEdgeFilterFactor_;

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -36,9 +36,7 @@ Foam::dimFieldDecomposer::dimFieldDecomposer
const labelList& cellAddressing
)
:
completeMesh_(completeMesh),
procMesh_(procMesh),
faceAddressing_(faceAddressing),
cellAddressing_(cellAddressing)
{}

View File

@ -54,15 +54,9 @@ class dimFieldDecomposer
{
// Private Data
//- Reference to complete mesh
const fvMesh& completeMesh_;
//- Reference to processor mesh
const fvMesh& procMesh_;
//- Reference to face addressing
const labelList& faceAddressing_;
//- Reference to cell addressing
const labelList& cellAddressing_;