Ensure delete modifier is applied to disallowed constructors and assignment operators

This commit is contained in:
Will Bainbridge
2023-06-30 16:42:20 +01:00
parent a37b646e3d
commit faf0dd2e35
90 changed files with 165 additions and 163 deletions

View File

@ -110,7 +110,7 @@ public:
);
//- Disallow default bitwise copy construction
basicSubGrid(const basicSubGrid&);
basicSubGrid(const basicSubGrid&) = delete;
//- Destructor

View File

@ -98,7 +98,7 @@ public:
);
//- Disallow default bitwise copy construction
basicSubGrid(const basicSubGrid&);
basicSubGrid(const basicSubGrid&) = delete;
//- Destructor

View File

@ -113,7 +113,7 @@ public:
);
//- Disallow default bitwise copy construction
PDRDragModel(const PDRDragModel&);
PDRDragModel(const PDRDragModel&) = delete;
// Selectors

View File

@ -125,7 +125,7 @@ public:
);
//- Disallow default bitwise copy construction
basic(const basic&);
basic(const basic&) = delete;
//- Destructor

View File

@ -86,7 +86,7 @@ public:
);
//- Disallow default bitwise copy construction
Gulder(const Gulder&);
Gulder(const Gulder&) = delete;
//- Destructor

View File

@ -82,7 +82,7 @@ public:
);
//- Disallow default bitwise copy construction
SCOPEBlend(const SCOPEBlend&);
SCOPEBlend(const SCOPEBlend&) = delete;
//- Destructor

View File

@ -100,7 +100,7 @@ public:
);
//- Disallow default bitwise copy construction
SCOPEXiEq(const SCOPEXiEq&);
SCOPEXiEq(const SCOPEXiEq&) = delete;
//- Destructor

View File

@ -115,7 +115,7 @@ public:
);
//- Disallow default bitwise copy construction
XiEqModel(const XiEqModel&);
XiEqModel(const XiEqModel&) = delete;
// Selectors

View File

@ -81,7 +81,7 @@ public:
);
//- Disallow default bitwise copy construction
instability(const instability&);
instability(const instability&) = delete;
//- Destructor

View File

@ -76,7 +76,7 @@ public:
);
//- Disallow default bitwise copy construction
KTS(const KTS&);
KTS(const KTS&) = delete;
//- Destructor

View File

@ -106,7 +106,7 @@ public:
);
//- Disallow default bitwise copy construction
XiGModel(const XiGModel&);
XiGModel(const XiGModel&) = delete;
// Selectors

View File

@ -85,7 +85,7 @@ public:
);
//- Disallow default bitwise copy construction
instabilityG(const instabilityG&);
instabilityG(const instabilityG&) = delete;
//- Destructor

View File

@ -175,7 +175,7 @@ public:
);
//- Disallow default bitwise copy construction
XiModel(const XiModel&);
XiModel(const XiModel&) = delete;
// Selectors

View File

@ -86,7 +86,7 @@ public:
);
//- Disallow default bitwise copy construction
algebraic(const algebraic&);
algebraic(const algebraic&) = delete;
//- Destructor

View File

@ -74,7 +74,7 @@ public:
);
//- Disallow default bitwise copy construction
fixed(const fixed&);
fixed(const fixed&) = delete;
//- Destructor

View File

@ -86,7 +86,7 @@ public:
);
//- Disallow default bitwise copy construction
transport(const transport&);
transport(const transport&) = delete;
//- Destructor

View File

@ -102,7 +102,7 @@ public:
incompressibleInterPhaseTransportModel
(
const incompressibleInterPhaseTransportModel&
);
) = delete;
// Member Functions

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -205,10 +205,10 @@ protected:
private:
//- Disallow default bitwise copy construct
vtkPVFoamReader(const vtkPVFoamReader&);
vtkPVFoamReader(const vtkPVFoamReader&) = delete;
//- Disallow default bitwise assignment
void operator=(const vtkPVFoamReader&);
void operator=(const vtkPVFoamReader&) = delete;
//- Add/remove patch names to/from the view
void updatePatchNamesView(const bool show);

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-2020 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -144,10 +144,10 @@ protected:
private:
//- Disallow default bitwise copy construct
vtkPVblockMeshReader(const vtkPVblockMeshReader&);
vtkPVblockMeshReader(const vtkPVblockMeshReader&) = delete;
//- Disallow default bitwise assignment
void operator=(const vtkPVblockMeshReader&);
void operator=(const vtkPVblockMeshReader&) = delete;
//- Add/remove point numbers to/from the view
void updatePointNumbersView(const bool show);

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-2019 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -107,10 +107,10 @@ class IndirectList
// Private Member Functions
//- Disallow default bitwise assignment
void operator=(const IndirectList<T>&);
void operator=(const IndirectList<T>&) = delete;
//- Disallow assignment from UIndirectList
void operator=(const UIndirectList<T>&);
void operator=(const UIndirectList<T>&) = delete;
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) 2011-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -72,7 +72,7 @@ class dictionaryEntry
void readData(Istream&);
//- Disallow bitwise copy
dictionaryEntry(const dictionary&);
dictionaryEntry(const dictionary&) = delete;
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) 2016-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2016-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -70,7 +70,7 @@ class dictionaryListEntry
static label realSize(const dictionary&);
//- Disallow bitwise copy
dictionaryListEntry(const dictionary&);
dictionaryListEntry(const dictionary&) = delete;
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) 2011-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -78,7 +78,7 @@ class regIOobject
Istream& readStream(const bool read = true);
//- Disallow assignment
void operator=(const regIOobject&);
void operator=(const regIOobject&) = delete;
protected:

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -72,7 +72,7 @@ class procLduInterface
// Private Member Functions
//- Disallow construction as copy
procLduInterface(const procLduInterface&);
procLduInterface(const procLduInterface&) = delete;
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) 2011-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -74,7 +74,7 @@ class procLduMatrix
// Private Member Functions
//- Disallow construction as copy
procLduMatrix(const procLduMatrix&);
procLduMatrix(const procLduMatrix&) = delete;
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) 2013-2020 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2013-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -82,7 +82,7 @@ public:
eagerGAMGProcAgglomeration
(
const eagerGAMGProcAgglomeration&
);
) = delete;
//- Destructor

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-2020 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2013-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -106,7 +106,7 @@ public:
manualGAMGProcAgglomeration
(
const manualGAMGProcAgglomeration&
);
) = delete;
//- Destructor

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-2020 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2013-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -77,7 +77,7 @@ public:
masterCoarsestGAMGProcAgglomeration
(
const masterCoarsestGAMGProcAgglomeration&
);
) = delete;
//- Destructor
@ -86,14 +86,13 @@ public:
// Member Functions
//- Modify agglomeration. Return true if modified
//- Modify agglomeration. Return true if modified
virtual bool agglomerate();
//- Disallow default bitwise assignment
// Member Operators
//- Disallow default bitwise assignment
void operator=(const masterCoarsestGAMGProcAgglomeration&) = delete;
};

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-2020 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2013-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -73,7 +73,7 @@ public:
noneGAMGProcAgglomeration
(
const noneGAMGProcAgglomeration&
);
) = delete;
//- Destructor

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-2020 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2013-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -107,7 +107,7 @@ public:
procFacesGAMGProcAgglomeration
(
const procFacesGAMGProcAgglomeration&
);
) = delete;
//- Destructor

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-2020 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -56,7 +56,7 @@ class processorCyclicGAMGInterfaceField
processorCyclicGAMGInterfaceField
(
const processorCyclicGAMGInterfaceField&
);
) = delete;
//- Disallow default bitwise assignment
void operator=(const processorCyclicGAMGInterfaceField&) = delete;

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -57,10 +57,10 @@ class refCount
// Private Member Functions
//- Disallow copy
refCount(const refCount&);
refCount(const refCount&) = delete;
//- Disallow bitwise assignment
void operator=(const refCount&);
void operator=(const refCount&) = delete;
protected:

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -111,7 +111,7 @@ public:
pointPatchMapper
(
const pointPatchMapper&
);
) = delete;
//- Destructor

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -54,10 +54,10 @@ class coupledPointPatch
// Private Member Functions
//- Disallow default bitwise copy construction
coupledPointPatch(const coupledPointPatch&);
coupledPointPatch(const coupledPointPatch&) = delete;
//- Disallow default bitwise assignment
void operator=(const coupledPointPatch&);
void operator=(const coupledPointPatch&) = delete;
protected:

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -61,10 +61,10 @@ class cyclicPointPatch
// Private Member Functions
//- Disallow default bitwise copy construction
cyclicPointPatch(const cyclicPointPatch&);
cyclicPointPatch(const cyclicPointPatch&) = delete;
//- Disallow default bitwise assignment
void operator=(const cyclicPointPatch&);
void operator=(const cyclicPointPatch&) = delete;
// Demand driven private data

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -88,10 +88,10 @@ class processorPointPatch
//- Disallow default bitwise copy construction
processorPointPatch(const processorPointPatch&);
processorPointPatch(const processorPointPatch&) = delete;
//- Disallow default bitwise assignment
void operator=(const processorPointPatch&);
void operator=(const processorPointPatch&) = delete;
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) 2011-2020 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -64,10 +64,10 @@ class processorCyclicPointPatch
const processorCyclicPolyPatch& procCycPolyPatch_;
//- Disallow default bitwise copy construction
processorCyclicPointPatch(const processorCyclicPointPatch&);
processorCyclicPointPatch(const processorCyclicPointPatch&) = delete;
//- Disallow default bitwise assignment
void operator=(const processorCyclicPointPatch&);
void operator=(const processorCyclicPointPatch&) = delete;
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) 2011-2020 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -64,10 +64,10 @@ class coupledFacePointPatch
// Private Member Functions
//- Disallow default bitwise copy construction
coupledFacePointPatch(const coupledFacePointPatch&);
coupledFacePointPatch(const coupledFacePointPatch&) = delete;
//- Disallow default bitwise assignment
void operator=(const coupledFacePointPatch&);
void operator=(const coupledFacePointPatch&) = delete;
protected:

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -80,7 +80,7 @@ class MeshZones
bool read();
//- Disallow default bitwise assignment
void operator=(const MeshZones<ZoneType, MeshType>&);
void operator=(const MeshZones<ZoneType, MeshType>&) = delete;
//- Create zone map

View File

@ -138,7 +138,7 @@ public:
);
//- Disallow default bitwise copy construction
FSD(const FSD&);
FSD(const FSD&) = delete;
//- Destructor

View File

@ -83,7 +83,7 @@ public:
);
//- Disallow default bitwise copy construction
PaSR(const PaSR&);
PaSR(const PaSR&) = delete;
//- Destructor

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -78,7 +78,7 @@ public:
);
//- Disallow default bitwise copy construction
infinitelyFastChemistry(const infinitelyFastChemistry&);
infinitelyFastChemistry(const infinitelyFastChemistry&) = delete;
//- Destructor

View File

@ -96,7 +96,7 @@ public:
);
//- Disallow default bitwise copy construction
laminar(const laminar&);
laminar(const laminar&) = delete;
//- Destructor

View File

@ -70,7 +70,7 @@ public:
);
//- Disallow default bitwise copy construction
noCombustion(const noCombustion&);
noCombustion(const noCombustion&) = delete;
//- Destructor

View File

@ -92,7 +92,7 @@ public:
);
//- Disallow default bitwise copy construction
zoneCombustion(const zoneCombustion&);
zoneCombustion(const zoneCombustion&) = delete;
//- Destructor

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-2021 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -76,7 +76,7 @@ public:
);
//- Disallow default bitwise copy construction
ensightFile(const ensightFile&);
ensightFile(const ensightFile&) = delete;
//- Destructor

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-2021 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -59,7 +59,7 @@ public:
);
//- Disallow default bitwise copy construction
ensightGeoFile(const ensightGeoFile&);
ensightGeoFile(const ensightGeoFile&) = delete;

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2012-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -102,7 +102,7 @@ public:
componentDisplacementMotionSolver
(
const componentDisplacementMotionSolver&
);
) = delete;
//- Destructor

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2012-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -99,7 +99,7 @@ public:
componentVelocityMotionSolver
(
const componentVelocityMotionSolver&
);
) = delete;
//- Destructor

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -131,7 +131,7 @@ public:
displacementLayeredMotionMotionSolver
(
const displacementLayeredMotionMotionSolver&
);
) = delete;
//- Destructor

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2018-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2018-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -110,7 +110,7 @@ public:
displacementLinearMotionMotionSolver
(
const displacementLinearMotionMotionSolver&
);
) = delete;
//- Destructor

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2018-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2018-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -98,7 +98,7 @@ public:
interpolatingSolidBodyMotionSolver
(
const interpolatingSolidBodyMotionSolver&
);
) = delete;
//- Destructor

View File

@ -110,7 +110,7 @@ public:
);
//- Disallow default bitwise copy construction
SDA(const SDA&);
SDA(const SDA&) = delete;
//- Construct and return a clone

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-2020 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2012-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -80,7 +80,7 @@ public:
);
//- Disallow default bitwise copy construction
axisRotationMotion(const axisRotationMotion&);
axisRotationMotion(const axisRotationMotion&) = delete;
//- Construct and return a clone
virtual autoPtr<solidBodyMotionFunction> clone() const

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-2020 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -76,7 +76,7 @@ public:
);
//- Disallow default bitwise copy construction
linearMotion(const linearMotion&);
linearMotion(const linearMotion&) = delete;
//- Construct and return a clone

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-2020 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -76,7 +76,7 @@ public:
);
//- Disallow default bitwise copy construction
multiMotion(const multiMotion&);
multiMotion(const multiMotion&) = delete;
//- Construct and return a clone
virtual autoPtr<solidBodyMotionFunction> clone() const

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-2020 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -79,7 +79,7 @@ public:
);
//- Disallow default bitwise copy construction
oscillatingLinearMotion(const oscillatingLinearMotion&);
oscillatingLinearMotion(const oscillatingLinearMotion&) = delete;
//- Construct and return a clone
virtual autoPtr<solidBodyMotionFunction> clone() const

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-2020 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -82,7 +82,7 @@ public:
);
//- Disallow default bitwise copy construction
oscillatingRotatingMotion(const oscillatingRotatingMotion&);
oscillatingRotatingMotion(const oscillatingRotatingMotion&) = delete;
//- Construct and return a clone
virtual autoPtr<solidBodyMotionFunction> clone() const

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -85,7 +85,7 @@ public:
);
//- Disallow default bitwise copy construction
rotatingMotion(const rotatingMotion&);
rotatingMotion(const rotatingMotion&) = delete;
//- Construct and return a clone

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-2020 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -92,7 +92,7 @@ public:
);
//- Disallow default bitwise copy construction
sixDoFMotion(const sixDoFMotion&);
sixDoFMotion(const sixDoFMotion&) = delete;
//- Construct and return a clone

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2012-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -85,7 +85,7 @@ public:
velocityMotionSolver
(
const velocityMotionSolver&
);
) = delete;
//- Destructor

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2012-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -228,7 +228,7 @@ private:
void read(ISstream& inFile);
//- Disallow assignment
void operator=(const vtkUnstructuredReader&);
void operator=(const vtkUnstructuredReader&) = delete;
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) 2011-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -107,7 +107,7 @@ public:
{}
//- Disallow default bitwise copy construction
d2dt2Scheme(const d2dt2Scheme&);
d2dt2Scheme(const d2dt2Scheme&) = delete;
// Selectors

View File

@ -107,7 +107,7 @@ public:
{}
//- Disallow default bitwise copy construction
ddtScheme(const ddtScheme&);
ddtScheme(const ddtScheme&) = delete;
// Selectors

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-2020 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -66,7 +66,7 @@ public:
// Member Operators
//- Disallow default bitwise assignment
void operator=(const fvSolution&);
void operator=(const fvSolution&) = delete;
};

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -70,7 +70,7 @@ class gradScheme
// Private Member Functions
//- Disallow default bitwise copy construction
gradScheme(const gradScheme&);
gradScheme(const gradScheme&) = delete;
//- Disallow default bitwise assignment
void operator=(const gradScheme&) = delete;

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -82,7 +82,7 @@ private:
// Private Member Functions
//- Disallow default bitwise copy construction
laplacianScheme(const laplacianScheme&);
laplacianScheme(const laplacianScheme&) = delete;
//- Disallow default bitwise assignment
void operator=(const laplacianScheme&) = delete;

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -95,7 +95,7 @@ public:
{}
//- Disallow default bitwise copy construction
snGradScheme(const snGradScheme&);
snGradScheme(const snGradScheme&) = delete;
// Selectors

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2013-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -72,7 +72,7 @@ public:
extendedCentredCellToCellStencil
(
const extendedCentredCellToCellStencil&
);
) = delete;
// Member Functions

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -71,7 +71,7 @@ public:
extendedCentredCellToFaceStencil
(
const extendedCentredCellToFaceStencil&
);
) = delete;
// Member Functions

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -71,7 +71,7 @@ public:
extendedCentredFaceToCellStencil
(
const extendedCentredFaceToCellStencil&
);
) = delete;
// Member Functions

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -138,7 +138,7 @@ public:
// Member Operators
//- Disallow default bitwise assignment
void operator=(const fvBoundaryMesh&);
void operator=(const fvBoundaryMesh&) = delete;
};

View File

@ -640,7 +640,7 @@ public:
// Member Operators
//- Disallow default bitwise assignment
void operator=(const fvMesh&);
void operator=(const fvMesh&) = delete;
bool operator!=(const fvMesh&) const;
bool operator==(const fvMesh&) const;

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -109,7 +109,7 @@ public:
fvPatchMapper
(
const fvPatchMapper&
);
) = delete;
//- Destructor

View File

@ -115,7 +115,7 @@ public:
fvPatch(const polyPatch&, const fvBoundaryMesh&);
//- Disallow default bitwise copy construction
fvPatch(const fvPatch&);
fvPatch(const fvPatch&) = delete;
// Selectors
@ -268,7 +268,7 @@ public:
// Member Operators
//- Disallow default bitwise assignment
void operator=(const fvPatch&);
void operator=(const fvPatch&) = delete;
};

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -129,7 +129,7 @@ public:
limitedSurfaceInterpolationScheme
(
const limitedSurfaceInterpolationScheme&
);
) = delete;
// Selectors

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -121,7 +121,7 @@ public:
multivariateSurfaceInterpolationScheme
(
const multivariateSurfaceInterpolationScheme&
);
) = delete;
// Selectors

View File

@ -106,7 +106,7 @@ public:
{}
//- Disallow default bitwise copy construction
surfaceInterpolationScheme(const surfaceInterpolationScheme&);
surfaceInterpolationScheme(const surfaceInterpolationScheme&) = delete;

View File

@ -195,7 +195,7 @@ public:
effectivenessHeatExchangerSource
(
const effectivenessHeatExchangerSource&
);
) = delete;
//- Destructor

View File

@ -122,7 +122,7 @@ public:
interRegionExplicitPorositySource
(
const interRegionExplicitPorositySource&
);
) = delete;
//- Destructor

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -85,7 +85,7 @@ public:
displacementSBRStressFvMotionSolver
(
const displacementSBRStressFvMotionSolver&
);
) = delete;
//- Destructor

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -93,7 +93,7 @@ public:
displacementLaplacianFvMotionSolver
(
const displacementLaplacianFvMotionSolver&
);
) = delete;
//- Destructor

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -85,7 +85,7 @@ public:
velocityLaplacianFvMotionSolver
(
const velocityLaplacianFvMotionSolver&
);
) = delete;
//- Destructor

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-2019 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -108,7 +108,7 @@ public:
);
//- Disallow default bitwise copy construction
energyScalingFunction(const energyScalingFunction&);
energyScalingFunction(const energyScalingFunction&) = delete;
//- Destructor

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-2019 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -125,7 +125,7 @@ public:
);
//- Disallow default bitwise copy construction
pairPotential(const pairPotential&);
pairPotential(const pairPotential&) = delete;
//- Destructor

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-2020 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -92,7 +92,7 @@ public:
);
//- Disallow default bitwise copy construction
tetherPotential(const tetherPotential&);
tetherPotential(const tetherPotential&) = delete;
// Selectors

View File

@ -104,7 +104,7 @@ public:
externalDisplacementMeshMover
(
const externalDisplacementMeshMover&
);
) = delete;
// Selectors

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2016-2021 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2016-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -122,7 +122,7 @@ public:
);
//- Disallow default bitwise copy construction
rigidBodyMotion(const rigidBodyMotion&);
rigidBodyMotion(const rigidBodyMotion&) = delete;
//- Destructor

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-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -161,7 +161,7 @@ public:
);
//- Disallow default bitwise copy construction
surfMesh(const surfMesh&);
surfMesh(const surfMesh&) = delete;
//- Destructor

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-2020 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -104,7 +104,10 @@ public:
);
//- Disallow default bitwise copy construction
barotropicCompressibilityModel(const barotropicCompressibilityModel&);
barotropicCompressibilityModel
(
const barotropicCompressibilityModel&
) = delete;
// Selectors