diff --git a/applications/solvers/combustion/PDRFoam/PDRModels/XiEqModels/basicXiSubXiEq/basicXiSubXiEq.H b/applications/solvers/combustion/PDRFoam/PDRModels/XiEqModels/basicXiSubXiEq/basicXiSubXiEq.H index ccec0b0e84a4c8e1ab21e7ab7d368c8be2731091..12cfaf2664b8aef470facf1a73794509072359e3 100644 --- a/applications/solvers/combustion/PDRFoam/PDRModels/XiEqModels/basicXiSubXiEq/basicXiSubXiEq.H +++ b/applications/solvers/combustion/PDRFoam/PDRModels/XiEqModels/basicXiSubXiEq/basicXiSubXiEq.H @@ -94,11 +94,11 @@ class basicSubGrid // Private Member Functions - //- Disallow copy construct - basicSubGrid(const basicSubGrid&); + //- No copy construct + basicSubGrid(const basicSubGrid&) = delete; - //- Disallow default bitwise assignment - void operator=(const basicSubGrid&); + //- No copy assignment + void operator=(const basicSubGrid&) = delete; public: diff --git a/applications/solvers/combustion/PDRFoam/PDRModels/XiGModels/basicXiSubG/basicXiSubG.H b/applications/solvers/combustion/PDRFoam/PDRModels/XiGModels/basicXiSubG/basicXiSubG.H index cb9ee61b09ccf25d7ebb2263a50d868342f7d600..fabbd53eb530e14a2940b4061ec22000f248ff17 100644 --- a/applications/solvers/combustion/PDRFoam/PDRModels/XiGModels/basicXiSubG/basicXiSubG.H +++ b/applications/solvers/combustion/PDRFoam/PDRModels/XiGModels/basicXiSubG/basicXiSubG.H @@ -82,11 +82,11 @@ class basicSubGrid // Private Member Functions - //- Disallow copy construct - basicSubGrid(const basicSubGrid&); + //- No copy construct + basicSubGrid(const basicSubGrid&) = delete; - //- Disallow default bitwise assignment - void operator=(const basicSubGrid&); + //- No copy assignment + void operator=(const basicSubGrid&) = delete; public: diff --git a/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/PDRDragModel/PDRDragModel.H b/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/PDRDragModel/PDRDragModel.H index 7c06ab6e79d66a4b2d68494f01ffce9af77cbcaa..66c1abb44a7680250e8068118cc88375247521ce 100644 --- a/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/PDRDragModel/PDRDragModel.H +++ b/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/PDRDragModel/PDRDragModel.H @@ -74,11 +74,11 @@ private: // Private Member Functions - //- Disallow copy construct - PDRDragModel(const PDRDragModel&); + //- No copy construct + PDRDragModel(const PDRDragModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const PDRDragModel&); + //- No copy assignment + void operator=(const PDRDragModel&) = delete; public: diff --git a/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/basic/basic.H b/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/basic/basic.H index b9596072bc138b99ff81eebe1df3739e0300f3c4..316c55a2733b2ad6b0550ad3f3f095b905ff5f79 100644 --- a/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/basic/basic.H +++ b/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/basic/basic.H @@ -108,11 +108,11 @@ class basic // Private Member Functions - //- Disallow copy construct - basic(const basic&); + //- No copy construct + basic(const basic&) = delete; - //- Disallow default bitwise assignment - void operator=(const basic&); + //- No copy assignment + void operator=(const basic&) = delete; public: diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/Gulder/Gulder.H b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/Gulder/Gulder.H index 72fd9bb8aee3155b4bf4340c7c257032370e6a51..2b4368f635a7414a873a774f565ebd20b617d251 100644 --- a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/Gulder/Gulder.H +++ b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/Gulder/Gulder.H @@ -70,11 +70,11 @@ class Gulder // Private Member Functions - //- Disallow copy construct - Gulder(const Gulder&); + //- No copy construct + Gulder(const Gulder&) = delete; - //- Disallow default bitwise assignment - void operator=(const Gulder&); + //- No copy assignment + void operator=(const Gulder&) = delete; public: diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEBlendXiEq/SCOPEBlendXiEq.H b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEBlendXiEq/SCOPEBlendXiEq.H index 79e68edb20679bab664fabc498bfbad84ae1e130..49444c2ca0e564626063c39e7d97388427f817e4 100644 --- a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEBlendXiEq/SCOPEBlendXiEq.H +++ b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEBlendXiEq/SCOPEBlendXiEq.H @@ -66,11 +66,11 @@ class SCOPEBlend // Private Member Functions - //- Disallow copy construct - SCOPEBlend(const SCOPEBlend&); + //- No copy construct + SCOPEBlend(const SCOPEBlend&) = delete; - //- Disallow default bitwise assignment - void operator=(const SCOPEBlend&); + //- No copy assignment + void operator=(const SCOPEBlend&) = delete; public: diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEXiEq/SCOPEXiEq.H b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEXiEq/SCOPEXiEq.H index 6679553a4de0d08c53868729526dd94b44eac05f..3d2efc313deaae9e9612cf6553a81c3c9fae7cba 100644 --- a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEXiEq/SCOPEXiEq.H +++ b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEXiEq/SCOPEXiEq.H @@ -84,11 +84,11 @@ class SCOPEXiEq // Private Member Functions - //- Disallow copy construct - SCOPEXiEq(const SCOPEXiEq&); + //- No copy construct + SCOPEXiEq(const SCOPEXiEq&) = delete; - //- Disallow default bitwise assignment - void operator=(const SCOPEXiEq&); + //- No copy assignment + void operator=(const SCOPEXiEq&) = delete; public: diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/XiEqModel.H b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/XiEqModel.H index 55dbd0fa2bbaed0b7e1d3c600eb5dca78ee393dd..fa11f2ccbda58b386c5ef3972401205e07e606c0 100644 --- a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/XiEqModel.H +++ b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/XiEqModel.H @@ -79,11 +79,11 @@ private: // Private Member Functions - //- Disallow copy construct - XiEqModel(const XiEqModel&); + //- No copy construct + XiEqModel(const XiEqModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const XiEqModel&); + //- No copy assignment + void operator=(const XiEqModel&) = delete; public: diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/instabilityXiEq/instabilityXiEq.H b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/instabilityXiEq/instabilityXiEq.H index 1a287c7ce367386eaaed6635b1d9c1187551e5cd..a5b50670744b80b79bebabf70c28670635f1cf60 100644 --- a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/instabilityXiEq/instabilityXiEq.H +++ b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/instabilityXiEq/instabilityXiEq.H @@ -65,11 +65,11 @@ class instability // Private Member Functions - //- Disallow copy construct - instability(const instability&); + //- No copy construct + instability(const instability&) = delete; - //- Disallow default bitwise assignment - void operator=(const instability&); + //- No copy assignment + void operator=(const instability&) = delete; public: diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/KTS/KTS.H b/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/KTS/KTS.H index 88b6e81d1a6db5f76800443096aab163b63abcd4..c23dd73caa6d009eee98c3b3ba138e03e47d3a2d 100644 --- a/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/KTS/KTS.H +++ b/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/KTS/KTS.H @@ -60,11 +60,11 @@ class KTS // Private Member Functions - //- Disallow copy construct - KTS(const KTS&); + //- No copy construct + KTS(const KTS&) = delete; - //- Disallow default bitwise assignment - void operator=(const KTS&); + //- No copy assignment + void operator=(const KTS&) = delete; public: diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/XiGModel/XiGModel.H b/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/XiGModel/XiGModel.H index 49bc8aa196146a94f60fe1a2df7b0d8eaf8cc80e..c9eef267ef5f4dd1c2060bd1c7fc58c51c11d633 100644 --- a/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/XiGModel/XiGModel.H +++ b/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/XiGModel/XiGModel.H @@ -70,11 +70,11 @@ private: // Private Member Functions - //- Disallow copy construct - XiGModel(const XiGModel&); + //- No copy construct + XiGModel(const XiGModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const XiGModel&); + //- No copy assignment + void operator=(const XiGModel&) = delete; public: diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/instabilityG/instabilityG.H b/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/instabilityG/instabilityG.H index bffe08d60ef257681ff3389080063b5f41dbf865..8246bb0db6e90da2244fc2b320d152f6e9f07017 100644 --- a/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/instabilityG/instabilityG.H +++ b/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/instabilityG/instabilityG.H @@ -69,11 +69,11 @@ class instabilityG // Private Member Functions - //- Disallow copy construct - instabilityG(const instabilityG&); + //- No copy construct + instabilityG(const instabilityG&) = delete; - //- Disallow default bitwise assignment - void operator=(const instabilityG&); + //- No copy assignment + void operator=(const instabilityG&) = delete; public: diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiModel/XiModel.H b/applications/solvers/combustion/PDRFoam/XiModels/XiModel/XiModel.H index ce468553841095ae8d42f698626b32168ead47c7..aef02f427ab18f3e9c70b9a6ec54a473cf5b1ff4 100644 --- a/applications/solvers/combustion/PDRFoam/XiModels/XiModel/XiModel.H +++ b/applications/solvers/combustion/PDRFoam/XiModels/XiModel/XiModel.H @@ -130,11 +130,11 @@ private: // Private Member Functions - //- Disallow copy construct - XiModel(const XiModel&); + //- No copy construct + XiModel(const XiModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const XiModel&); + //- No copy assignment + void operator=(const XiModel&) = delete; public: diff --git a/applications/solvers/combustion/PDRFoam/XiModels/algebraic/algebraic.H b/applications/solvers/combustion/PDRFoam/XiModels/algebraic/algebraic.H index ea954677f3c5db6382e9d76794c143c4b1bd4cc4..9c3e243992a5f2ed05cde215117dce1c79c19366 100644 --- a/applications/solvers/combustion/PDRFoam/XiModels/algebraic/algebraic.H +++ b/applications/solvers/combustion/PDRFoam/XiModels/algebraic/algebraic.H @@ -67,11 +67,11 @@ class algebraic // Private Member Functions - //- Disallow copy construct - algebraic(const algebraic&); + //- No copy construct + algebraic(const algebraic&) = delete; - //- Disallow default bitwise assignment - void operator=(const algebraic&); + //- No copy assignment + void operator=(const algebraic&) = delete; public: diff --git a/applications/solvers/combustion/PDRFoam/XiModels/fixed/fixed.H b/applications/solvers/combustion/PDRFoam/XiModels/fixed/fixed.H index d2bca735c05796d19615e2c7383e3d54d9dc3765..42b26a3558ec19a937941a80e3d9c74b35782f80 100644 --- a/applications/solvers/combustion/PDRFoam/XiModels/fixed/fixed.H +++ b/applications/solvers/combustion/PDRFoam/XiModels/fixed/fixed.H @@ -55,11 +55,11 @@ class fixed { // Private Member Functions - //- Disallow copy construct - fixed(const fixed&); + //- No copy construct + fixed(const fixed&) = delete; - //- Disallow default bitwise assignment - void operator=(const fixed&); + //- No copy assignment + void operator=(const fixed&) = delete; public: diff --git a/applications/solvers/combustion/PDRFoam/XiModels/transport/transport.H b/applications/solvers/combustion/PDRFoam/XiModels/transport/transport.H index 698b1714627c3556366abfcf36ef49023145b0be..29cb41487f410746bbb98b5c8fa3ddb89cc60a85 100644 --- a/applications/solvers/combustion/PDRFoam/XiModels/transport/transport.H +++ b/applications/solvers/combustion/PDRFoam/XiModels/transport/transport.H @@ -67,11 +67,11 @@ class transport // Private Member Functions - //- Disallow copy construct - transport(const transport&); + //- No copy construct + transport(const transport&) = delete; - //- Disallow default bitwise assignment - void operator=(const transport&); + //- No copy assignment + void operator=(const transport&) = delete; public: diff --git a/applications/solvers/multiphase/compressibleInterFoam/compressibleInterFilmFoam/VoFPatchTransfer/VoFPatchTransfer.H b/applications/solvers/multiphase/compressibleInterFoam/compressibleInterFilmFoam/VoFPatchTransfer/VoFPatchTransfer.H index f521672bb724f095f4446d99ffa1c8b0f5d83915..cf69c5f91ba260778098b9f3526b96821e86f503 100644 --- a/applications/solvers/multiphase/compressibleInterFoam/compressibleInterFilmFoam/VoFPatchTransfer/VoFPatchTransfer.H +++ b/applications/solvers/multiphase/compressibleInterFoam/compressibleInterFilmFoam/VoFPatchTransfer/VoFPatchTransfer.H @@ -56,11 +56,11 @@ class VoFPatchTransfer { // Private member functions - //- Disallow default bitwise copy construct - VoFPatchTransfer(const VoFPatchTransfer&); + //- No copy construct + VoFPatchTransfer(const VoFPatchTransfer&) = delete; - //- Disallow default bitwise assignment - void operator=(const VoFPatchTransfer&); + //- No copy assignment + void operator=(const VoFPatchTransfer&) = delete; protected: diff --git a/applications/solvers/multiphase/compressibleInterFoam/compressibleInterFilmFoam/VoFSolidificationMeltingSource/VoFSolidificationMeltingSource.H b/applications/solvers/multiphase/compressibleInterFoam/compressibleInterFilmFoam/VoFSolidificationMeltingSource/VoFSolidificationMeltingSource.H index 2749528e59bc61369ba35c0f8d97dabb98b53492..9b2064203850d7f71696ef9dfb7903456bd3f352 100644 --- a/applications/solvers/multiphase/compressibleInterFoam/compressibleInterFilmFoam/VoFSolidificationMeltingSource/VoFSolidificationMeltingSource.H +++ b/applications/solvers/multiphase/compressibleInterFoam/compressibleInterFilmFoam/VoFSolidificationMeltingSource/VoFSolidificationMeltingSource.H @@ -135,11 +135,14 @@ class VoFSolidificationMeltingSource template<class RhoFieldType> void apply(const RhoFieldType& rho, fvMatrix<scalar>& eqn); - //- Disallow default bitwise copy construct - VoFSolidificationMeltingSource(const VoFSolidificationMeltingSource&); + //- No copy construct + VoFSolidificationMeltingSource + ( + const VoFSolidificationMeltingSource& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const VoFSolidificationMeltingSource&); + //- No copy assignment + void operator=(const VoFSolidificationMeltingSource&) = delete; public: diff --git a/applications/solvers/multiphase/driftFluxFoam/mixtureViscosityModels/mixtureViscosityModel/mixtureViscosityModel.H b/applications/solvers/multiphase/driftFluxFoam/mixtureViscosityModels/mixtureViscosityModel/mixtureViscosityModel.H index a3de318510bffe3f1abb4c32b2f0a927a6261692..208088c86eebdfed5d75f920fe6aae9595808ae7 100644 --- a/applications/solvers/multiphase/driftFluxFoam/mixtureViscosityModels/mixtureViscosityModel/mixtureViscosityModel.H +++ b/applications/solvers/multiphase/driftFluxFoam/mixtureViscosityModels/mixtureViscosityModel/mixtureViscosityModel.H @@ -73,11 +73,11 @@ protected: // Private Member Functions - //- Disallow copy construct - mixtureViscosityModel(const mixtureViscosityModel&); + //- No copy construct + mixtureViscosityModel(const mixtureViscosityModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const mixtureViscosityModel&); + //- No copy assignment + void operator=(const mixtureViscosityModel&) = delete; public: diff --git a/applications/solvers/multiphase/driftFluxFoam/relativeVelocityModels/relativeVelocityModel/relativeVelocityModel.H b/applications/solvers/multiphase/driftFluxFoam/relativeVelocityModels/relativeVelocityModel/relativeVelocityModel.H index 420a7c3e8ae5e85e095fd6e8f2d031bfe2d0dd4f..cf726165020c560c00c382ae2b63a43a9e9593f4 100644 --- a/applications/solvers/multiphase/driftFluxFoam/relativeVelocityModels/relativeVelocityModel/relativeVelocityModel.H +++ b/applications/solvers/multiphase/driftFluxFoam/relativeVelocityModels/relativeVelocityModel/relativeVelocityModel.H @@ -55,11 +55,11 @@ class relativeVelocityModel //- Return the list of patchFieldTypes for Udm derived from U wordList UdmPatchFieldTypes() const; - //- Disallow default bitwise copy construct - relativeVelocityModel(const relativeVelocityModel&); + //- No copy construct + relativeVelocityModel(const relativeVelocityModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const relativeVelocityModel&); + //- No copy assignment + void operator=(const relativeVelocityModel&) = delete; protected: diff --git a/applications/solvers/multiphase/interCondensatingEvaporatingFoam/temperaturePhaseChangeTwoPhaseMixtures/temperaturePhaseChangeTwoPhaseMixtures/temperaturePhaseChangeTwoPhaseMixture.H b/applications/solvers/multiphase/interCondensatingEvaporatingFoam/temperaturePhaseChangeTwoPhaseMixtures/temperaturePhaseChangeTwoPhaseMixtures/temperaturePhaseChangeTwoPhaseMixture.H index 9d748fd7374273bcd899bb1d4668594903c09168..719497c6a1300600d175243fb7e3deb24c5925a9 100644 --- a/applications/solvers/multiphase/interCondensatingEvaporatingFoam/temperaturePhaseChangeTwoPhaseMixtures/temperaturePhaseChangeTwoPhaseMixtures/temperaturePhaseChangeTwoPhaseMixture.H +++ b/applications/solvers/multiphase/interCondensatingEvaporatingFoam/temperaturePhaseChangeTwoPhaseMixtures/temperaturePhaseChangeTwoPhaseMixtures/temperaturePhaseChangeTwoPhaseMixture.H @@ -68,14 +68,14 @@ protected: // Private Member Functions - //- Disallow copy construct + //- No copy construct temperaturePhaseChangeTwoPhaseMixture ( const temperaturePhaseChangeTwoPhaseMixture& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const temperaturePhaseChangeTwoPhaseMixture&); + //- No copy assignment + void operator=(const temperaturePhaseChangeTwoPhaseMixture&) = delete; public: diff --git a/applications/solvers/multiphase/interFoam/interMixingFoam/threePhaseInterfaceProperties/threePhaseInterfaceProperties.H b/applications/solvers/multiphase/interFoam/interMixingFoam/threePhaseInterfaceProperties/threePhaseInterfaceProperties.H index 482a8a1a8ea0e4dc0c626439087c8ec90c947b05..52735dfacc0717008f86f8babf3be156aa4b7946 100644 --- a/applications/solvers/multiphase/interFoam/interMixingFoam/threePhaseInterfaceProperties/threePhaseInterfaceProperties.H +++ b/applications/solvers/multiphase/interFoam/interMixingFoam/threePhaseInterfaceProperties/threePhaseInterfaceProperties.H @@ -73,9 +73,15 @@ class threePhaseInterfaceProperties // Private Member Functions - //- Disallow default bitwise copy construct and assignment - threePhaseInterfaceProperties(const threePhaseInterfaceProperties&); - void operator=(const threePhaseInterfaceProperties&); + //- No copy construct + threePhaseInterfaceProperties + ( + const threePhaseInterfaceProperties& + ) = delete; + + //- No copy assignment + void operator=(const threePhaseInterfaceProperties&) = delete; + //- Correction for the boundary condition on the unit normal nHat on // walls to produce the correct contact dynamic angle. diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/phaseChangeTwoPhaseMixture.H b/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/phaseChangeTwoPhaseMixture.H index dedc97a9e9c3a3041de7398b3335b3e5bd65ccc2..010d2abc7b7fa01335efe9d3c11360952cd20d39 100644 --- a/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/phaseChangeTwoPhaseMixture.H +++ b/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/phaseChangeTwoPhaseMixture.H @@ -69,11 +69,11 @@ protected: // Private Member Functions - //- Disallow copy construct - phaseChangeTwoPhaseMixture(const phaseChangeTwoPhaseMixture&); + //- No copy construct + phaseChangeTwoPhaseMixture(const phaseChangeTwoPhaseMixture&) = delete; - //- Disallow default bitwise assignment - void operator=(const phaseChangeTwoPhaseMixture&); + //- No copy assignment + void operator=(const phaseChangeTwoPhaseMixture&) = delete; public: diff --git a/applications/solvers/multiphase/reactingEulerFoam/interfacialCompositionModels/saturationModels/saturationModel/saturationModel.H b/applications/solvers/multiphase/reactingEulerFoam/interfacialCompositionModels/saturationModels/saturationModel/saturationModel.H index 8b76f13c560eb5c7c690f472716bec4810569bad..b6accd4197df703cb70fd00d2bc3d94ae8e053d8 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/interfacialCompositionModels/saturationModels/saturationModel/saturationModel.H +++ b/applications/solvers/multiphase/reactingEulerFoam/interfacialCompositionModels/saturationModels/saturationModel/saturationModel.H @@ -52,11 +52,11 @@ class saturationModel { // Private Member Functions - //- Disallow default bitwise copy construct - saturationModel(const saturationModel&); + //- No copy construct + saturationModel(const saturationModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const saturationModel&); + //- No copy assignment + void operator=(const saturationModel&) = delete; public: diff --git a/applications/solvers/multiphase/reactingEulerFoam/interfacialModels/wallDependentModel/wallDependentModel.H b/applications/solvers/multiphase/reactingEulerFoam/interfacialModels/wallDependentModel/wallDependentModel.H index 8f23f6881e1791a4ee99c895b14ed92bd4b2395a..9378d96512a1b41c8a2d58720d88b17dce9b5901 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/interfacialModels/wallDependentModel/wallDependentModel.H +++ b/applications/solvers/multiphase/reactingEulerFoam/interfacialModels/wallDependentModel/wallDependentModel.H @@ -58,11 +58,11 @@ class wallDependentModel // Private Member Functions - //- Disallow default bitwise copy construct - wallDependentModel(const wallDependentModel&); + //- No copy construct + wallDependentModel(const wallDependentModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const wallDependentModel&); + //- No copy assignment + void operator=(const wallDependentModel&) = delete; public: diff --git a/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/BlendedInterfacialModel/BlendedInterfacialModel.H b/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/BlendedInterfacialModel/BlendedInterfacialModel.H index c51599d58ccd29c285fb5798ab726479194fe0bd..6e403330062de92dfa0d3600f2002417c202c328 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/BlendedInterfacialModel/BlendedInterfacialModel.H +++ b/applications/solvers/multiphase/reactingEulerFoam/phaseSystems/BlendedInterfacialModel/BlendedInterfacialModel.H @@ -78,11 +78,14 @@ class BlendedInterfacialModel // Private Member Functions - //- Disallow default bitwise copy construct - BlendedInterfacialModel(const BlendedInterfacialModel<ModelType>&); + //- No copy construct + BlendedInterfacialModel + ( + const BlendedInterfacialModel& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const BlendedInterfacialModel<ModelType>&); + //- No copy assignment + void operator=(const BlendedInterfacialModel<ModelType>&) = delete; //- Correct coeff/value on fixed flux boundary conditions template<class GeometricField> diff --git a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/derivedFvPatchFields/wallBoilingSubModels/departureDiameterModels/departureDiameterModel/departureDiameterModel.H b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/derivedFvPatchFields/wallBoilingSubModels/departureDiameterModels/departureDiameterModel/departureDiameterModel.H index 5a7375e061606f67a3d900961f9be8324aa59a1d..f4e6f1bf9b8a30624d56ef1fcac9df9bb6400edc 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/derivedFvPatchFields/wallBoilingSubModels/departureDiameterModels/departureDiameterModel/departureDiameterModel.H +++ b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/derivedFvPatchFields/wallBoilingSubModels/departureDiameterModels/departureDiameterModel/departureDiameterModel.H @@ -57,11 +57,11 @@ class departureDiameterModel { // Private Member Functions - //- Disallow default bitwise copy construct - departureDiameterModel(const departureDiameterModel&); + //- No copy construct + departureDiameterModel(const departureDiameterModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const departureDiameterModel&); + //- No copy assignment + void operator=(const departureDiameterModel&) = delete; public: diff --git a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/derivedFvPatchFields/wallBoilingSubModels/departureFrequencyModels/departureFrequencyModel/departureFrequencyModel.H b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/derivedFvPatchFields/wallBoilingSubModels/departureFrequencyModels/departureFrequencyModel/departureFrequencyModel.H index 282df0b123152dfabad54f6423957c9d474da8f6..8ea72dc63aeb3ca346a45e0f8a410a840c0a5149 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/derivedFvPatchFields/wallBoilingSubModels/departureFrequencyModels/departureFrequencyModel/departureFrequencyModel.H +++ b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/derivedFvPatchFields/wallBoilingSubModels/departureFrequencyModels/departureFrequencyModel/departureFrequencyModel.H @@ -57,11 +57,11 @@ class departureFrequencyModel { // Private Member Functions - //- Disallow default bitwise copy construct - departureFrequencyModel(const departureFrequencyModel&); + //- No copy construct + departureFrequencyModel(const departureFrequencyModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const departureFrequencyModel&); + //- No copy assignment + void operator=(const departureFrequencyModel&) = delete; public: diff --git a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/derivedFvPatchFields/wallBoilingSubModels/nucleationSiteModels/nucleationSiteModel/nucleationSiteModel.H b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/derivedFvPatchFields/wallBoilingSubModels/nucleationSiteModels/nucleationSiteModel/nucleationSiteModel.H index fc26b7f9ecf864c6ae5e7f6ab6a662cdfbcd5339..b68e500728719c8b7e4af76e1bbdd2369a668e74 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/derivedFvPatchFields/wallBoilingSubModels/nucleationSiteModels/nucleationSiteModel/nucleationSiteModel.H +++ b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/derivedFvPatchFields/wallBoilingSubModels/nucleationSiteModels/nucleationSiteModel/nucleationSiteModel.H @@ -57,11 +57,11 @@ class nucleationSiteModel { // Private Member Functions - //- Disallow default bitwise copy construct - nucleationSiteModel(const nucleationSiteModel&); + //- No copy construct + nucleationSiteModel(const nucleationSiteModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const nucleationSiteModel&); + //- No copy assignment + void operator=(const nucleationSiteModel&) = delete; public: diff --git a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/derivedFvPatchFields/wallBoilingSubModels/partitioningModels/partitioningModel/partitioningModel.H b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/derivedFvPatchFields/wallBoilingSubModels/partitioningModels/partitioningModel/partitioningModel.H index c9f635624fcd74a5e9ac655a778f6e2161dd9109..428b2183bdefd7c5668a18bb21be2e35fde56b7f 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/derivedFvPatchFields/wallBoilingSubModels/partitioningModels/partitioningModel/partitioningModel.H +++ b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/derivedFvPatchFields/wallBoilingSubModels/partitioningModels/partitioningModel/partitioningModel.H @@ -55,11 +55,11 @@ class partitioningModel { // Private Member Functions - //- Disallow default bitwise copy construct - partitioningModel(const partitioningModel&); + //- No copy construct + partitioningModel(const partitioningModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const partitioningModel&); + //- No copy assignment + void operator=(const partitioningModel&) = delete; public: diff --git a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/conductivityModel/conductivityModel/conductivityModel.H b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/conductivityModel/conductivityModel/conductivityModel.H index 6e44f6457a0ac9280d06333b7ecc1dc67ed1a16f..76c5b5c1a11ca4e846387d7a9f945e3a7db3eb6b 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/conductivityModel/conductivityModel/conductivityModel.H +++ b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/conductivityModel/conductivityModel/conductivityModel.H @@ -52,11 +52,11 @@ class conductivityModel { // Private member functions - //- Disallow default bitwise copy construct - conductivityModel(const conductivityModel&); + //- No copy construct + conductivityModel(const conductivityModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const conductivityModel&); + //- No copy assignment + void operator=(const conductivityModel&) = delete; protected: diff --git a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/frictionalStressModel/frictionalStressModel/frictionalStressModel.H b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/frictionalStressModel/frictionalStressModel/frictionalStressModel.H index 20feced23449f4517bdd0794889fba6077773166..bb554aa5df551774056c5dc5d302c0c8f066a7ca 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/frictionalStressModel/frictionalStressModel/frictionalStressModel.H +++ b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/frictionalStressModel/frictionalStressModel/frictionalStressModel.H @@ -53,11 +53,11 @@ class frictionalStressModel { // Private member functions - //- Disallow default bitwise copy construct - frictionalStressModel(const frictionalStressModel&); + //- No copy construct + frictionalStressModel(const frictionalStressModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const frictionalStressModel&); + //- No copy assignment + void operator=(const frictionalStressModel&) = delete; protected: diff --git a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/granularPressureModel/granularPressureModel/granularPressureModel.H b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/granularPressureModel/granularPressureModel/granularPressureModel.H index 06160f6c0ac834330d49642d07e247b178ffcca1..bf4acfd01eb3277c56687c73bbaea3f4c31897cc 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/granularPressureModel/granularPressureModel/granularPressureModel.H +++ b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/granularPressureModel/granularPressureModel/granularPressureModel.H @@ -52,11 +52,11 @@ class granularPressureModel { // Private member functions - //- Disallow default bitwise copy construct - granularPressureModel(const granularPressureModel&); + //- No copy construct + granularPressureModel(const granularPressureModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const granularPressureModel&); + //- No copy assignment + void operator=(const granularPressureModel&) = delete; protected: diff --git a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/kineticTheoryModel/kineticTheoryModel.H b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/kineticTheoryModel/kineticTheoryModel.H index 03f323e519e6adbdd56657e03ef554ee7034f1f1..f382ac2d914985d263045422633535f4d2c7275c 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/kineticTheoryModel/kineticTheoryModel.H +++ b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/kineticTheoryModel/kineticTheoryModel.H @@ -147,11 +147,11 @@ class kineticTheoryModel void correctNut() {} - //- Disallow default bitwise copy construct - kineticTheoryModel(const kineticTheoryModel&); + //- No copy construct + kineticTheoryModel(const kineticTheoryModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const kineticTheoryModel&); + //- No copy assignment + void operator=(const kineticTheoryModel&) = delete; public: diff --git a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/radialModel/radialModel/radialModel.H b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/radialModel/radialModel/radialModel.H index de73a227474e37d1a414459b0c74ed1b7eaf823d..12f4d919a2fa1eed0048e5d4da8224fe1fbe4251 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/radialModel/radialModel/radialModel.H +++ b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/radialModel/radialModel/radialModel.H @@ -52,11 +52,11 @@ class radialModel { // Private member functions - //- Disallow default bitwise copy construct - radialModel(const radialModel&); + //- No copy construct + radialModel(const radialModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const radialModel&); + //- No copy assignment + void operator=(const radialModel&) = delete; protected: diff --git a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/viscosityModel/viscosityModel/viscosityModel.H b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/viscosityModel/viscosityModel/viscosityModel.H index e0bc93cc79617a8cdf01a12b4de3ba7c57d222e9..0f3404ea3849bdfccee92ada2fc89f737bf731ec 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/viscosityModel/viscosityModel/viscosityModel.H +++ b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/viscosityModel/viscosityModel/viscosityModel.H @@ -54,11 +54,11 @@ class viscosityModel { // Private member functions - //- Disallow default bitwise copy construct - viscosityModel(const viscosityModel&); + //- No copy construct + viscosityModel(const viscosityModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const viscosityModel&); + //- No copy assignment + void operator=(const viscosityModel&) = delete; protected: diff --git a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/phasePressureModel/phasePressureModel.H b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/phasePressureModel/phasePressureModel.H index ab5e38effee2310749b1a57b23d27ae8458a89cd..48957ebeb82225c8d4806538c7ef7660bde23a07 100644 --- a/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/phasePressureModel/phasePressureModel.H +++ b/applications/solvers/multiphase/reactingEulerFoam/reactingTwoPhaseEulerFoam/twoPhaseCompressibleTurbulenceModels/phasePressureModel/phasePressureModel.H @@ -102,11 +102,11 @@ class phasePressureModel void correctNut() {} - //- Disallow default bitwise copy construct - phasePressureModel(const phasePressureModel&); + //- No copy construct + phasePressureModel(const phasePressureModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const phasePressureModel&); + //- No copy assignment + void operator=(const phasePressureModel&) = delete; public: diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/wallDependentModel/wallDependentModel.H b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/wallDependentModel/wallDependentModel.H index 44ff9015310fbd0b7a501504a6f80a8fb5c5e6d6..c33dac56822c9ef805d97b324593a756b7864f0a 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/wallDependentModel/wallDependentModel.H +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/wallDependentModel/wallDependentModel.H @@ -58,11 +58,11 @@ class wallDependentModel // Private Member Functions - //- Disallow default bitwise copy construct - wallDependentModel(const wallDependentModel&); + //- No copy construct + wallDependentModel(const wallDependentModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const wallDependentModel&); + //- No copy assignment + void operator=(const wallDependentModel&) = delete; public: diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels/kineticTheoryModels/conductivityModel/conductivityModel/conductivityModel.H b/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels/kineticTheoryModels/conductivityModel/conductivityModel/conductivityModel.H index 6e44f6457a0ac9280d06333b7ecc1dc67ed1a16f..76c5b5c1a11ca4e846387d7a9f945e3a7db3eb6b 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels/kineticTheoryModels/conductivityModel/conductivityModel/conductivityModel.H +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels/kineticTheoryModels/conductivityModel/conductivityModel/conductivityModel.H @@ -52,11 +52,11 @@ class conductivityModel { // Private member functions - //- Disallow default bitwise copy construct - conductivityModel(const conductivityModel&); + //- No copy construct + conductivityModel(const conductivityModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const conductivityModel&); + //- No copy assignment + void operator=(const conductivityModel&) = delete; protected: diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels/kineticTheoryModels/frictionalStressModel/frictionalStressModel/frictionalStressModel.H b/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels/kineticTheoryModels/frictionalStressModel/frictionalStressModel/frictionalStressModel.H index 20feced23449f4517bdd0794889fba6077773166..bb554aa5df551774056c5dc5d302c0c8f066a7ca 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels/kineticTheoryModels/frictionalStressModel/frictionalStressModel/frictionalStressModel.H +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels/kineticTheoryModels/frictionalStressModel/frictionalStressModel/frictionalStressModel.H @@ -53,11 +53,11 @@ class frictionalStressModel { // Private member functions - //- Disallow default bitwise copy construct - frictionalStressModel(const frictionalStressModel&); + //- No copy construct + frictionalStressModel(const frictionalStressModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const frictionalStressModel&); + //- No copy assignment + void operator=(const frictionalStressModel&) = delete; protected: diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels/kineticTheoryModels/granularPressureModel/granularPressureModel/granularPressureModel.H b/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels/kineticTheoryModels/granularPressureModel/granularPressureModel/granularPressureModel.H index 06160f6c0ac834330d49642d07e247b178ffcca1..bf4acfd01eb3277c56687c73bbaea3f4c31897cc 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels/kineticTheoryModels/granularPressureModel/granularPressureModel/granularPressureModel.H +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels/kineticTheoryModels/granularPressureModel/granularPressureModel/granularPressureModel.H @@ -52,11 +52,11 @@ class granularPressureModel { // Private member functions - //- Disallow default bitwise copy construct - granularPressureModel(const granularPressureModel&); + //- No copy construct + granularPressureModel(const granularPressureModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const granularPressureModel&); + //- No copy assignment + void operator=(const granularPressureModel&) = delete; protected: diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels/kineticTheoryModels/kineticTheoryModel/kineticTheoryModel.H b/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels/kineticTheoryModels/kineticTheoryModel/kineticTheoryModel.H index 03f323e519e6adbdd56657e03ef554ee7034f1f1..f382ac2d914985d263045422633535f4d2c7275c 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels/kineticTheoryModels/kineticTheoryModel/kineticTheoryModel.H +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels/kineticTheoryModels/kineticTheoryModel/kineticTheoryModel.H @@ -147,11 +147,11 @@ class kineticTheoryModel void correctNut() {} - //- Disallow default bitwise copy construct - kineticTheoryModel(const kineticTheoryModel&); + //- No copy construct + kineticTheoryModel(const kineticTheoryModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const kineticTheoryModel&); + //- No copy assignment + void operator=(const kineticTheoryModel&) = delete; public: diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels/kineticTheoryModels/radialModel/radialModel/radialModel.H b/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels/kineticTheoryModels/radialModel/radialModel/radialModel.H index de73a227474e37d1a414459b0c74ed1b7eaf823d..12f4d919a2fa1eed0048e5d4da8224fe1fbe4251 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels/kineticTheoryModels/radialModel/radialModel/radialModel.H +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels/kineticTheoryModels/radialModel/radialModel/radialModel.H @@ -52,11 +52,11 @@ class radialModel { // Private member functions - //- Disallow default bitwise copy construct - radialModel(const radialModel&); + //- No copy construct + radialModel(const radialModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const radialModel&); + //- No copy assignment + void operator=(const radialModel&) = delete; protected: diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels/kineticTheoryModels/viscosityModel/viscosityModel/viscosityModel.H b/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels/kineticTheoryModels/viscosityModel/viscosityModel/viscosityModel.H index e0bc93cc79617a8cdf01a12b4de3ba7c57d222e9..0f3404ea3849bdfccee92ada2fc89f737bf731ec 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels/kineticTheoryModels/viscosityModel/viscosityModel/viscosityModel.H +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels/kineticTheoryModels/viscosityModel/viscosityModel/viscosityModel.H @@ -54,11 +54,11 @@ class viscosityModel { // Private member functions - //- Disallow default bitwise copy construct - viscosityModel(const viscosityModel&); + //- No copy construct + viscosityModel(const viscosityModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const viscosityModel&); + //- No copy assignment + void operator=(const viscosityModel&) = delete; protected: diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels/phasePressureModel/phasePressureModel.H b/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels/phasePressureModel/phasePressureModel.H index c148e3c40a640da761c6a937bb542b4c03d4ddf1..f927e6194a8ae58d192f64f5d6dcb4df3b7975d0 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels/phasePressureModel/phasePressureModel.H +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels/phasePressureModel/phasePressureModel.H @@ -106,11 +106,11 @@ class phasePressureModel void correctNut() {} - //- Disallow default bitwise copy construct - phasePressureModel(const phasePressureModel&); + //- No copy construct + phasePressureModel(const phasePressureModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const phasePressureModel&); + //- No copy assignment + void operator=(const phasePressureModel&) = delete; public: diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/twoPhaseSystem/BlendedInterfacialModel/BlendedInterfacialModel.H b/applications/solvers/multiphase/twoPhaseEulerFoam/twoPhaseSystem/BlendedInterfacialModel/BlendedInterfacialModel.H index c53894f45cca8621d8ea1a3839c56982175708a3..c997d063873cfd2b108b4112a580f02b3a5299ba 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/twoPhaseSystem/BlendedInterfacialModel/BlendedInterfacialModel.H +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/twoPhaseSystem/BlendedInterfacialModel/BlendedInterfacialModel.H @@ -81,11 +81,14 @@ class BlendedInterfacialModel // Private Member Functions - //- Disallow default bitwise copy construct - BlendedInterfacialModel(const BlendedInterfacialModel<modelType>&); + //- No copy construct + BlendedInterfacialModel + ( + const BlendedInterfacialModel& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const BlendedInterfacialModel<modelType>&); + //- No copy assignment + void operator=(const BlendedInterfacialModel<modelType>&) = delete; //- Correct coeff/value on fixed flux boundary conditions template<class GeometricField> diff --git a/applications/test/dictionaryTokens/dictionaryTokens.H b/applications/test/dictionaryTokens/dictionaryTokens.H index f6866335679d3719233116a93d7ec62a7eb8e8ec..0fe43a515f686113d4ffb48e290e39f98bc54628 100644 --- a/applications/test/dictionaryTokens/dictionaryTokens.H +++ b/applications/test/dictionaryTokens/dictionaryTokens.H @@ -113,8 +113,10 @@ private: // Private Member Functions - //- Disallow bitwise copy/assignment + //- No copy construct dictionaryTokens(const dictionaryTokens&) = delete; + + //- No copy assignment void operator=(const dictionaryTokens&) = delete; @@ -181,8 +183,10 @@ class dictionaryTokens::primitive_iterator // Private Member Functions - //- Disallow bitwise copy/assignment + //- No copy construct primitive_iterator(const primitive_iterator&) = delete; + + //- No copy assignment void operator=(const primitive_iterator&) = delete; public: @@ -251,8 +255,10 @@ class dictionaryTokens::dictionary_iterator // Private Member Functions - //- Disallow bitwise copy/assignment + //- No copy construct dictionary_iterator(const dictionary_iterator&) = delete; + + //- No copy assignment void operator=(const dictionary_iterator&) = delete; diff --git a/applications/test/router/router.H b/applications/test/router/router.H index cbddd9a35bcd5c011a472f7e9ad908ab1ed1848f..46a1bd111f9fda92f885f4977c38505e9b8b52b1 100644 --- a/applications/test/router/router.H +++ b/applications/test/router/router.H @@ -159,11 +159,11 @@ class router DynamicList<label>& route ) const; - //- Disallow default bitwise copy construct - router(const router&); + //- No copy construct + router(const router&) = delete; - //- Disallow default bitwise assignment - void operator=(const router&); + //- No copy assignment + void operator=(const router&) = delete; public: diff --git a/applications/utilities/mesh/advanced/modifyMesh/cellSplitter.H b/applications/utilities/mesh/advanced/modifyMesh/cellSplitter.H index cf7df6963b0e76c61da291fe0349ed76e57c33c0..29527a486fe252d9312aa813067ae29a21eba114 100644 --- a/applications/utilities/mesh/advanced/modifyMesh/cellSplitter.H +++ b/applications/utilities/mesh/advanced/modifyMesh/cellSplitter.H @@ -91,11 +91,11 @@ class cellSplitter const Map<labelList>& cellToCells ) const; - //- Disallow default bitwise copy construct - cellSplitter(const cellSplitter&); + //- No copy construct + cellSplitter(const cellSplitter&) = delete; - //- Disallow default bitwise assignment - void operator=(const cellSplitter&); + //- No copy assignment + void operator=(const cellSplitter&) = delete; public: diff --git a/applications/utilities/mesh/advanced/selectCells/edgeStats.H b/applications/utilities/mesh/advanced/selectCells/edgeStats.H index 00d20f1e63431bd94026b7d3ad4ee05c403d3f22..fc0d001da862d585efb474dfa58a741fc35cc764 100644 --- a/applications/utilities/mesh/advanced/selectCells/edgeStats.H +++ b/applications/utilities/mesh/advanced/selectCells/edgeStats.H @@ -68,11 +68,11 @@ class edgeStats direction getNormalDir(const twoDPointCorrector*) const; - //- Disallow default bitwise copy construct - edgeStats(const edgeStats&); + //- No copy construct + edgeStats(const edgeStats&) = delete; - //- Disallow default bitwise assignment - void operator=(const edgeStats&); + //- No copy assignment + void operator=(const edgeStats&) = delete; public: diff --git a/applications/utilities/mesh/conversion/cfx4ToFoam/hexBlock.H b/applications/utilities/mesh/conversion/cfx4ToFoam/hexBlock.H index adec113adfe0f4834f6330d06168bf8f167fabdb..ddb9a8b0ba3388f8231c99789aabc0895dbcc74c 100644 --- a/applications/utilities/mesh/conversion/cfx4ToFoam/hexBlock.H +++ b/applications/utilities/mesh/conversion/cfx4ToFoam/hexBlock.H @@ -74,11 +74,11 @@ class hexBlock // Private Member Functions - //- Disallow default bitwise copy construct - hexBlock(const hexBlock&); + //- No copy construct + hexBlock(const hexBlock&) = delete; - //- Disallow default bitwise assignment - void operator=(const hexBlock&); + //- No copy assignment + void operator=(const hexBlock&) = delete; //- Vertex addressing inside the block inline label vtxLabel(label i, label j, label k) const; diff --git a/applications/utilities/mesh/conversion/plot3dToFoam/hexBlock.H b/applications/utilities/mesh/conversion/plot3dToFoam/hexBlock.H index f7a1f82ee79cc3933be3d617cf953f4fdbf2a50d..71f1ba0067d589ad94f4306a8baca0679aa34a9a 100644 --- a/applications/utilities/mesh/conversion/plot3dToFoam/hexBlock.H +++ b/applications/utilities/mesh/conversion/plot3dToFoam/hexBlock.H @@ -67,11 +67,11 @@ class hexBlock // Private Member Functions - //- Disallow default bitwise copy construct - hexBlock(const hexBlock&); + //- No copy construct + hexBlock(const hexBlock&) = delete; - //- Disallow default bitwise assignment - void operator=(const hexBlock&); + //- No copy assignment + void operator=(const hexBlock&) = delete; //- Vertex addressing inside the block inline label vtxLabel(label i, label j, label k) const; diff --git a/applications/utilities/mesh/generation/extrude/extrudeMesh/extrudedMesh/extrudedMesh.H b/applications/utilities/mesh/generation/extrude/extrudeMesh/extrudedMesh/extrudedMesh.H index 39f2d42cb993ffd8b835a5d8da027d5f904d02d0..5f27cea07ffbb11a27b2639d2314de7781c9cc16 100644 --- a/applications/utilities/mesh/generation/extrude/extrudeMesh/extrudedMesh/extrudedMesh.H +++ b/applications/utilities/mesh/generation/extrude/extrudeMesh/extrudedMesh/extrudedMesh.H @@ -86,10 +86,10 @@ class extrudedMesh ); - //- Disallow default bitwise copy construct + //- No copy construct extrudedMesh(const extrudedMesh&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const extrudedMesh&) = delete; diff --git a/applications/utilities/mesh/generation/extrude2DMesh/extrude2DMesh/extrude2DMesh/extrude2DMesh.H b/applications/utilities/mesh/generation/extrude2DMesh/extrude2DMesh/extrude2DMesh/extrude2DMesh.H index 99d69412c963752725d2d60972ac7f8930fd5b6f..7036549c26976f6d344c9911f505a7b6d64e0b05 100644 --- a/applications/utilities/mesh/generation/extrude2DMesh/extrude2DMesh/extrude2DMesh/extrude2DMesh.H +++ b/applications/utilities/mesh/generation/extrude2DMesh/extrude2DMesh/extrude2DMesh/extrude2DMesh.H @@ -87,11 +87,11 @@ class extrude2DMesh //- Find extrusion direction //void findExtrudeDirection(); - //- Disallow default bitwise copy construct - extrude2DMesh(const extrude2DMesh&); + //- No copy construct + extrude2DMesh(const extrude2DMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const extrude2DMesh&); + //- No copy assignment + void operator=(const extrude2DMesh&) = delete; public: diff --git a/applications/utilities/mesh/generation/extrude2DMesh/extrude2DMesh/patchToPoly2DMesh/patchToPoly2DMesh.H b/applications/utilities/mesh/generation/extrude2DMesh/extrude2DMesh/patchToPoly2DMesh/patchToPoly2DMesh.H index 05ee88739702a8a6b16383485a3e2434efb82cbb..1c94cf1b0ac1807ddfad40a11c3fe870520fcf85 100644 --- a/applications/utilities/mesh/generation/extrude2DMesh/extrude2DMesh/patchToPoly2DMesh/patchToPoly2DMesh.H +++ b/applications/utilities/mesh/generation/extrude2DMesh/extrude2DMesh/patchToPoly2DMesh/patchToPoly2DMesh.H @@ -85,11 +85,11 @@ class patchToPoly2DMesh void createPolyMeshComponents(); - //- Disallow default bitwise copy construct - patchToPoly2DMesh(const patchToPoly2DMesh&); + //- No copy construct + patchToPoly2DMesh(const patchToPoly2DMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const patchToPoly2DMesh&); + //- No copy assignment + void operator=(const patchToPoly2DMesh&) = delete; public: diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoi2DMesh/cv2DControls/cv2DControls.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoi2DMesh/cv2DControls/cv2DControls.H index 24de053055e23c8ce49b07e0143ed0c432b1f6fd..db77984acfe55863ecd1ac61e8214b3088959dbb 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoi2DMesh/cv2DControls/cv2DControls.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoi2DMesh/cv2DControls/cv2DControls.H @@ -70,11 +70,11 @@ class cv2DControls // Private Member Functions - //- Disallow default bitwise copy construct - cv2DControls(const cv2DControls&); + //- No copy construct + cv2DControls(const cv2DControls&) = delete; - //- Disallow default bitwise assignment - void operator=(const cv2DControls&); + //- No copy assignment + void operator=(const cv2DControls&) = delete; public: diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/DelaunayMesh/DelaunayMesh.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/DelaunayMesh/DelaunayMesh.H index 7c92f8acff04e6a823e0bb74dc069a2885a1f0f2..3eae6061028ac46e73afd31a9a00ff6868ae98bc 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/DelaunayMesh/DelaunayMesh.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/DelaunayMesh/DelaunayMesh.H @@ -142,11 +142,11 @@ private: const List<DynamicList<label>>& patchOwners ) const; - //- Disallow default bitwise copy construct - DelaunayMesh(const DelaunayMesh<Triangulation>&); + //- No copy construct + DelaunayMesh(const DelaunayMesh<Triangulation>&) = delete; - //- Disallow default bitwise assignment - void operator=(const DelaunayMesh<Triangulation>&); + //- No copy assignment + void operator=(const DelaunayMesh<Triangulation>&) = delete; public: diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/DelaunayMesh/DistributedDelaunayMesh.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/DelaunayMesh/DistributedDelaunayMesh.H index 07954827b8901e1b5fd3491bf5a0b05c537a7e86..605e403ac0810a2c07db14ac1439c12e3f69b2f0 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/DelaunayMesh/DistributedDelaunayMesh.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/DelaunayMesh/DistributedDelaunayMesh.H @@ -119,11 +119,14 @@ private: labelPairHashSet& receivedVertices ); - //- Disallow default bitwise copy construct - DistributedDelaunayMesh(const DistributedDelaunayMesh<Triangulation>&); + //- No copy construct + DistributedDelaunayMesh + ( + const DistributedDelaunayMesh& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const DistributedDelaunayMesh<Triangulation>&); + //- No copy assignment + void operator=(const DistributedDelaunayMesh<Triangulation>&) = delete; public: diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/PrintTable/PrintTable.C b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/PrintTable/PrintTable.C index 7be15695bc1869305124b911b71fa387658d7d01..11bcd4d3520e6047953f5eda23cea948fd58ac54 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/PrintTable/PrintTable.C +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/PrintTable/PrintTable.C @@ -193,22 +193,4 @@ void Foam::PrintTable<KeyType, DataType>::print } -// * * * * * * * * * * * * * * Member Operators * * * * * * * * * * * * * * // - -template<class KeyType, class DataType> -void Foam::PrintTable<KeyType, DataType>::operator= -( - const PrintTable<KeyType, DataType>& rhs -) -{ - // Check for assignment to self - if (this == &rhs) - { - FatalErrorInFunction - << "Attempted assignment to self" - << abort(FatalError); - } -} - - // ************************************************************************* // diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/PrintTable/PrintTable.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/PrintTable/PrintTable.H index 175d2908d54a84d5d7f92f57bb4e22b04df3b769..ce51a650ff61bdf15379beeabd7ffff17c4980bd 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/PrintTable/PrintTable.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/PrintTable/PrintTable.H @@ -82,8 +82,8 @@ class PrintTable // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const PrintTable<KeyType, DataType>&); + //- No copy assignment + void operator=(const PrintTable<KeyType, DataType>&) = delete; public: @@ -107,7 +107,7 @@ public: // Member Functions //- Add an entry (D) to the given key(K) - void add(const KeyType& K, const DataType& D); + inline void add(const KeyType& K, const DataType& D); //- Print the table void print diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/PrintTable/PrintTableI.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/PrintTable/PrintTableI.H index 77f40bc2470817b7b4e22448146e6d49c688b6a4..62bb0f1166fff9858e7e9d905b5a0e8d8a946f61 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/PrintTable/PrintTableI.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/PrintTable/PrintTableI.H @@ -26,7 +26,7 @@ License // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // template<class KeyType, class DataType> -void Foam::PrintTable<KeyType, DataType>::add +inline void Foam::PrintTable<KeyType, DataType>::add ( const KeyType& K, const DataType& D @@ -35,8 +35,4 @@ void Foam::PrintTable<KeyType, DataType>::add table_.set(K, D); } - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - - // ************************************************************************* // diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/backgroundMeshDecomposition/backgroundMeshDecomposition.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/backgroundMeshDecomposition/backgroundMeshDecomposition.H index 864822e088a913aec056166d668ef93304220864..d518bdf4c690464cc24c98a8c47f4479742dbed1 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/backgroundMeshDecomposition/backgroundMeshDecomposition.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/backgroundMeshDecomposition/backgroundMeshDecomposition.H @@ -177,11 +177,14 @@ class backgroundMeshDecomposition //- Build the surface patch and search tree void buildPatchAndTree(); - //- Disallow default bitwise copy construct - backgroundMeshDecomposition(const backgroundMeshDecomposition&); + //- No copy construct + backgroundMeshDecomposition + ( + const backgroundMeshDecomposition& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const backgroundMeshDecomposition&); + //- No copy assignment + void operator=(const backgroundMeshDecomposition&) = delete; public: diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellAspectRatioControl/cellAspectRatioControl.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellAspectRatioControl/cellAspectRatioControl.H index 0d1c318004d6fadbe923f9e8476508e7f4a8017c..80d5bd98f0a99d3516ba37a17b9a014df2a70063 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellAspectRatioControl/cellAspectRatioControl.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellAspectRatioControl/cellAspectRatioControl.H @@ -61,11 +61,11 @@ class cellAspectRatioControl // Private Member Functions - //- Disallow default bitwise copy construct - cellAspectRatioControl(const cellAspectRatioControl&); + //- No copy construct + cellAspectRatioControl(const cellAspectRatioControl&) = delete; - //- Disallow default bitwise assignment - void operator=(const cellAspectRatioControl&); + //- No copy assignment + void operator=(const cellAspectRatioControl&) = delete; public: diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellShapeControl/cellShapeControl.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellShapeControl/cellShapeControl.H index 44a6557d52080929558f01d2d98241a48fa68ac5..78888d92f3fb419f3be7848ddd3215afe6423fbf 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellShapeControl/cellShapeControl.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellShapeControl/cellShapeControl.H @@ -85,11 +85,11 @@ class cellShapeControl // Private Member Functions - //- Disallow default bitwise copy construct - cellShapeControl(const cellShapeControl&); + //- No copy construct + cellShapeControl(const cellShapeControl&) = delete; - //- Disallow default bitwise assignment - void operator=(const cellShapeControl&); + //- No copy assignment + void operator=(const cellShapeControl&) = delete; public: diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellShapeControlMesh/cellShapeControlMesh.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellShapeControlMesh/cellShapeControlMesh.H index 507809ce760309ec1bd8e285e03a8d23916abb84..adcc0333f1ee47704c5febae8650e227c9e7ab20 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellShapeControlMesh/cellShapeControlMesh.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellShapeControlMesh/cellShapeControlMesh.H @@ -83,11 +83,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - cellShapeControlMesh(const cellShapeControlMesh&); + //- No copy construct + cellShapeControlMesh(const cellShapeControlMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const cellShapeControlMesh&); + //- No copy assignment + void operator=(const cellShapeControlMesh&) = delete; public: diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellSizeAndAlignmentControl/cellSizeAndAlignmentControl/cellSizeAndAlignmentControl.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellSizeAndAlignmentControl/cellSizeAndAlignmentControl/cellSizeAndAlignmentControl.H index adda0867a159c24ef3be32a69248b5927d783f2a..6d04854921531636a6aa65bc8965de752ae1de55 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellSizeAndAlignmentControl/cellSizeAndAlignmentControl/cellSizeAndAlignmentControl.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellSizeAndAlignmentControl/cellSizeAndAlignmentControl/cellSizeAndAlignmentControl.H @@ -71,11 +71,14 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - cellSizeAndAlignmentControl(const cellSizeAndAlignmentControl&); + //- No copy construct + cellSizeAndAlignmentControl + ( + const cellSizeAndAlignmentControl& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const cellSizeAndAlignmentControl&); + //- No copy assignment + void operator=(const cellSizeAndAlignmentControl&) = delete; public: diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellSizeAndAlignmentControl/cellSizeAndAlignmentControls.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellSizeAndAlignmentControl/cellSizeAndAlignmentControls.H index 14221dc70ab2b49848f521aea4b835e81295c1a8..e01d10e2d85a30422c4da422b8bb009b90a7f5fb 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellSizeAndAlignmentControl/cellSizeAndAlignmentControls.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellSizeAndAlignmentControl/cellSizeAndAlignmentControls.H @@ -68,11 +68,14 @@ class cellSizeAndAlignmentControls label& maxPriority ) const; - //- Disallow default bitwise copy construct - cellSizeAndAlignmentControls(const cellSizeAndAlignmentControls&); + //- No copy construct + cellSizeAndAlignmentControls + ( + const cellSizeAndAlignmentControls& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const cellSizeAndAlignmentControls&); + //- No copy assignment + void operator=(const cellSizeAndAlignmentControls&) = delete; public: diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellSizeAndAlignmentControl/fileControl/fileControl.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellSizeAndAlignmentControl/fileControl/fileControl.H index 4fab414db61a332bd64099a4e0c6cf5a50effa50..6bf8de4fa7763e046ea4a2d297147d460af2fb64 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellSizeAndAlignmentControl/fileControl/fileControl.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellSizeAndAlignmentControl/fileControl/fileControl.H @@ -63,11 +63,11 @@ class fileControl // Private Member Functions - //- Disallow default bitwise copy construct - fileControl(const fileControl&); + //- No copy construct + fileControl(const fileControl&) = delete; - //- Disallow default bitwise assignment - void operator=(const fileControl&); + //- No copy assignment + void operator=(const fileControl&) = delete; public: diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellSizeAndAlignmentControl/searchableSurfaceControl/searchableSurfaceControl.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellSizeAndAlignmentControl/searchableSurfaceControl/searchableSurfaceControl.H index 27aecc90f0af8ac564733c9078be160303494bc4..9933057a81b3b2704e57d399d320cd65e8fecac3 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellSizeAndAlignmentControl/searchableSurfaceControl/searchableSurfaceControl.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellSizeAndAlignmentControl/searchableSurfaceControl/searchableSurfaceControl.H @@ -88,11 +88,11 @@ class searchableSurfaceControl // const vectorField& ptNormals // ) const; - //- Disallow default bitwise copy construct - searchableSurfaceControl(const searchableSurfaceControl&); + //- No copy construct + searchableSurfaceControl(const searchableSurfaceControl&) = delete; - //- Disallow default bitwise assignment - void operator=(const searchableSurfaceControl&); + //- No copy assignment + void operator=(const searchableSurfaceControl&) = delete; public: diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/controlMeshRefinement/controlMeshRefinement.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/controlMeshRefinement/controlMeshRefinement.H index 5f34fd5637f3293bf072fcec79001e43cd816a5d..2b0d5f268f284541853267facc591ea39ad375b2 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/controlMeshRefinement/controlMeshRefinement.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/controlMeshRefinement/controlMeshRefinement.H @@ -99,11 +99,11 @@ class controlMeshRefinement pointHit findDiscontinuities(const linePointRef& l) const; - //- Disallow default bitwise copy construct - controlMeshRefinement(const controlMeshRefinement&); + //- No copy construct + controlMeshRefinement(const controlMeshRefinement&) = delete; - //- Disallow default bitwise assignment - void operator=(const controlMeshRefinement&); + //- No copy assignment + void operator=(const controlMeshRefinement&) = delete; public: diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/smoothAlignmentSolver/smoothAlignmentSolver.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/smoothAlignmentSolver/smoothAlignmentSolver.H index 19cc6ea665c6282ee8754d1ad6b3959a32567499..1d8fe85403e6cfd86311f5a7e85a6d30ad14a9ee 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/smoothAlignmentSolver/smoothAlignmentSolver.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/smoothAlignmentSolver/smoothAlignmentSolver.H @@ -91,11 +91,11 @@ class smoothAlignmentSolver triad& t ) const; - //- Disallow default bitwise copy construct - smoothAlignmentSolver(const smoothAlignmentSolver&); + //- No copy construct + smoothAlignmentSolver(const smoothAlignmentSolver&) = delete; - //- Disallow default bitwise assignment - void operator=(const smoothAlignmentSolver&); + //- No copy assignment + void operator=(const smoothAlignmentSolver&) = delete; public: diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellSizeControlSurfaces/cellSizeFunction/cellSizeFunction/cellSizeFunction.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellSizeControlSurfaces/cellSizeFunction/cellSizeFunction/cellSizeFunction.H index a6d802523bb920a75914bad6522062456297fa7f..095021d0a07bc379b6307089124fcc161a20428e 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellSizeControlSurfaces/cellSizeFunction/cellSizeFunction/cellSizeFunction.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellSizeControlSurfaces/cellSizeFunction/cellSizeFunction/cellSizeFunction.H @@ -110,11 +110,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - cellSizeFunction(const cellSizeFunction&); + //- No copy construct + cellSizeFunction(const cellSizeFunction&) = delete; - //- Disallow default bitwise assignment - void operator=(const cellSizeFunction&); + //- No copy assignment + void operator=(const cellSizeFunction&) = delete; public: diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellSizeControlSurfaces/surfaceCellSizeFunction/cellSizeCalculationType/cellSizeCalculationType/cellSizeCalculationType.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellSizeControlSurfaces/surfaceCellSizeFunction/cellSizeCalculationType/cellSizeCalculationType/cellSizeCalculationType.H index 2db1163d9f3927142b0ea87c727f5bc598735553..f645e8a78615b2ea7b29142e355656d70f04169b 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellSizeControlSurfaces/surfaceCellSizeFunction/cellSizeCalculationType/cellSizeCalculationType/cellSizeCalculationType.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellSizeControlSurfaces/surfaceCellSizeFunction/cellSizeCalculationType/cellSizeCalculationType/cellSizeCalculationType.H @@ -67,11 +67,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - cellSizeCalculationType(const cellSizeCalculationType&); + //- No copy construct + cellSizeCalculationType(const cellSizeCalculationType&) = delete; - //- Disallow default bitwise assignment - void operator=(const cellSizeCalculationType&); + //- No copy assignment + void operator=(const cellSizeCalculationType&) = delete; public: diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellSizeControlSurfaces/surfaceCellSizeFunction/surfaceCellSizeFunction/surfaceCellSizeFunction.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellSizeControlSurfaces/surfaceCellSizeFunction/surfaceCellSizeFunction/surfaceCellSizeFunction.H index 2f51cecb8867aba6e4ef6dc7ea94c4e654d36217..27f88db21c49c7eb18e1be1a9e10d22f972ab6cd 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellSizeControlSurfaces/surfaceCellSizeFunction/surfaceCellSizeFunction/surfaceCellSizeFunction.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellSizeControlSurfaces/surfaceCellSizeFunction/surfaceCellSizeFunction/surfaceCellSizeFunction.H @@ -75,11 +75,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - surfaceCellSizeFunction(const surfaceCellSizeFunction&); + //- No copy construct + surfaceCellSizeFunction(const surfaceCellSizeFunction&) = delete; - //- Disallow default bitwise assignment - void operator=(const surfaceCellSizeFunction&); + //- No copy assignment + void operator=(const surfaceCellSizeFunction&) = delete; public: diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.H index 497d64796bf3f229dd8e88c3fbd2ecbf81f252e3..25c32eafe172c8a3a2665dc4fd9e83f0387b541a 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMesh.H @@ -850,11 +850,11 @@ private: void writePointPairs(const fileName& fName) const; - //- Disallow default bitwise copy construct - conformalVoronoiMesh(const conformalVoronoiMesh&); + //- No copy construct + conformalVoronoiMesh(const conformalVoronoiMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const conformalVoronoiMesh&); + //- No copy assignment + void operator=(const conformalVoronoiMesh&) = delete; public: diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/featurePointConformer/featurePointConformer.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/featurePointConformer/featurePointConformer.H index 249c8d8cbadf42137f9ca611042af7644d3503f7..78edf6ee38f18f99961f7f24735b1f51f8e07d46 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/featurePointConformer/featurePointConformer.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/featurePointConformer/featurePointConformer.H @@ -133,11 +133,11 @@ class featurePointConformer //- Create the points that will conform to the feature void createFeaturePoints(DynamicList<Vb>& pts); - //- Disallow default bitwise copy construct - featurePointConformer(const featurePointConformer&); + //- No copy construct + featurePointConformer(const featurePointConformer&) = delete; - //- Disallow default bitwise assignment - void operator=(const featurePointConformer&); + //- No copy assignment + void operator=(const featurePointConformer&) = delete; public: diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformationSurfaces/conformationSurfaces.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformationSurfaces/conformationSurfaces.H index 09c351bd0aef1d89fa4e010c39070b3f7e5b4503..f2bf237fb9c8acf14d6676bed197d6427d601e30 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformationSurfaces/conformationSurfaces.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformationSurfaces/conformationSurfaces.H @@ -125,11 +125,11 @@ class conformationSurfaces label& featureIndex ); - //- Disallow default bitwise copy construct - conformationSurfaces(const conformationSurfaces&); + //- No copy construct + conformationSurfaces(const conformationSurfaces&) = delete; - //- Disallow default bitwise assignment - void operator=(const conformationSurfaces&); + //- No copy assignment + void operator=(const conformationSurfaces&) = delete; public: diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cvControls/cvControls.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cvControls/cvControls.H index 8d86f756801887ee2f775fec3e0c1848cd70a3d5..97a87a3c5f48bce42f77182a331faaeb8c1fb8e0 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cvControls/cvControls.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cvControls/cvControls.H @@ -209,11 +209,11 @@ class cvControls // Private Member Functions - //- Disallow default bitwise copy construct - cvControls(const cvControls&); + //- No copy construct + cvControls(const cvControls&) = delete; - //- Disallow default bitwise assignment - void operator=(const cvControls&); + //- No copy assignment + void operator=(const cvControls&) = delete; public: diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/faceAreaWeightModel/faceAreaWeightModel/faceAreaWeightModel.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/faceAreaWeightModel/faceAreaWeightModel/faceAreaWeightModel.H index acf3b95dcf70eb383ce842f8acdcf26aebc79b0d..ab98f27599c78c3f09638ba2ba58a9745884cc31 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/faceAreaWeightModel/faceAreaWeightModel/faceAreaWeightModel.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/faceAreaWeightModel/faceAreaWeightModel/faceAreaWeightModel.H @@ -68,11 +68,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - faceAreaWeightModel(const faceAreaWeightModel&); + //- No copy construct + faceAreaWeightModel(const faceAreaWeightModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const faceAreaWeightModel&); + //- No copy assignment + void operator=(const faceAreaWeightModel&) = delete; public: diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/initialPointsMethod/initialPointsMethod/initialPointsMethod.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/initialPointsMethod/initialPointsMethod/initialPointsMethod.H index 5c7a940996a567a048be5c1cd717612f99ae5954..a7c40743729925deae0f4b0e887bc9358ef03cd6 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/initialPointsMethod/initialPointsMethod/initialPointsMethod.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/initialPointsMethod/initialPointsMethod/initialPointsMethod.H @@ -87,11 +87,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - initialPointsMethod(const initialPointsMethod&); + //- No copy construct + initialPointsMethod(const initialPointsMethod&) = delete; - //- Disallow default bitwise assignment - void operator=(const initialPointsMethod&); + //- No copy assignment + void operator=(const initialPointsMethod&) = delete; public: diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/relaxationModel/relaxationModel/relaxationModel.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/relaxationModel/relaxationModel/relaxationModel.H index f083bab0b8858a71c2d7c69ecfc8c0f6e29ab305..364427a0e945434c8d17c2cff2be7898122f847a 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/relaxationModel/relaxationModel/relaxationModel.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/relaxationModel/relaxationModel/relaxationModel.H @@ -70,11 +70,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - relaxationModel(const relaxationModel&); + //- No copy construct + relaxationModel(const relaxationModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const relaxationModel&); + //- No copy assignment + void operator=(const relaxationModel&) = delete; public: diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/searchableSurfaceFeatures/searchableBoxFeatures.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/searchableSurfaceFeatures/searchableBoxFeatures.H index fde23719f7d529534bd3195a870b3f8b59db635d..f4accf0302db1a146bdd4c9ac06c8783badeb912 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/searchableSurfaceFeatures/searchableBoxFeatures.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/searchableSurfaceFeatures/searchableBoxFeatures.H @@ -59,11 +59,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - searchableBoxFeatures(const searchableBoxFeatures&); + //- No copy construct + searchableBoxFeatures(const searchableBoxFeatures&) = delete; - //- Disallow default bitwise assignment - void operator=(const searchableBoxFeatures&); + //- No copy assignment + void operator=(const searchableBoxFeatures&) = delete; public: diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/searchableSurfaceFeatures/searchablePlateFeatures.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/searchableSurfaceFeatures/searchablePlateFeatures.H index 46c33e4c4e09393156d4b9c4a81d5fad342c4a65..d89199ebfd563da9419256cc85b7a0243d35368d 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/searchableSurfaceFeatures/searchablePlateFeatures.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/searchableSurfaceFeatures/searchablePlateFeatures.H @@ -63,11 +63,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - searchablePlateFeatures(const searchablePlateFeatures&); + //- No copy construct + searchablePlateFeatures(const searchablePlateFeatures&) = delete; - //- Disallow default bitwise assignment - void operator=(const searchablePlateFeatures&); + //- No copy assignment + void operator=(const searchablePlateFeatures&) = delete; public: diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/searchableSurfaceFeatures/searchableSurfaceFeatures.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/searchableSurfaceFeatures/searchableSurfaceFeatures.H index f42e974f0a09140f0f56f6f1e302757413428b9d..8627f8c489f553d684ba930b7eae085f10466e07 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/searchableSurfaceFeatures/searchableSurfaceFeatures.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/searchableSurfaceFeatures/searchableSurfaceFeatures.H @@ -60,11 +60,11 @@ class searchableSurfaceFeatures // Private Member Functions - //- Disallow default bitwise copy construct - searchableSurfaceFeatures(const searchableSurfaceFeatures&); + //- No copy construct + searchableSurfaceFeatures(const searchableSurfaceFeatures&) = delete; - //- Disallow default bitwise assignment - void operator=(const searchableSurfaceFeatures&); + //- No copy assignment + void operator=(const searchableSurfaceFeatures&) = delete; public: diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/searchableSurfaceFeatures/triSurfaceMeshFeatures.H b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/searchableSurfaceFeatures/triSurfaceMeshFeatures.H index 3a743e3be1e60cbf226831149894b8b5b612ae69..f728d973a42232064208dd34239f2bb64bf62701 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/searchableSurfaceFeatures/triSurfaceMeshFeatures.H +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/searchableSurfaceFeatures/triSurfaceMeshFeatures.H @@ -61,11 +61,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - triSurfaceMeshFeatures(const triSurfaceMeshFeatures&); + //- No copy construct + triSurfaceMeshFeatures(const triSurfaceMeshFeatures&) = delete; - //- Disallow default bitwise assignment - void operator=(const triSurfaceMeshFeatures&); + //- No copy assignment + void operator=(const triSurfaceMeshFeatures&) = delete; public: diff --git a/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/CV2D.H b/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/CV2D.H index 88569485c901c846a4f9d26fac8b1e3a8da738a2..c0e0e48987e7b1ababfa047e09d49e63454f67c6 100644 --- a/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/CV2D.H +++ b/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/CV2D.H @@ -199,11 +199,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - CV2D(const CV2D&); + //- No copy construct + CV2D(const CV2D&) = delete; - //- Disallow default bitwise assignment - void operator=(const CV2D&); + //- No copy assignment + void operator=(const CV2D&) = delete; //- Insert point and return it's index diff --git a/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/shortEdgeFilter2D.H b/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/shortEdgeFilter2D.H index 66f055a377ea8fb6672b22c8e546235558a2fd0b..ccea783ccfaddc616f1daa059cbebebaabc0e0ff 100644 --- a/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/shortEdgeFilter2D.H +++ b/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/shortEdgeFilter2D.H @@ -90,11 +90,11 @@ class shortEdgeFilter2D labelList& patchSizes ) const; - //- Disallow default bitwise copy construct - shortEdgeFilter2D(const shortEdgeFilter2D&); + //- No copy construct + shortEdgeFilter2D(const shortEdgeFilter2D&) = delete; - //- Disallow default bitwise assignment - void operator=(const shortEdgeFilter2D&); + //- No copy assignment + void operator=(const shortEdgeFilter2D&) = delete; public: diff --git a/applications/utilities/mesh/manipulation/mergeMeshes/mergePolyMesh.H b/applications/utilities/mesh/manipulation/mergeMeshes/mergePolyMesh.H index 94a934b22bcc3e045b4cbaa78623507e944eec01..b0696f80aa9039b716f319357d62c4d58183d309 100644 --- a/applications/utilities/mesh/manipulation/mergeMeshes/mergePolyMesh.H +++ b/applications/utilities/mesh/manipulation/mergeMeshes/mergePolyMesh.H @@ -76,10 +76,10 @@ class mergePolyMesh // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct mergePolyMesh(const mergePolyMesh&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const mergePolyMesh&) = delete; diff --git a/applications/utilities/mesh/manipulation/mirrorMesh/mirrorFvMesh.H b/applications/utilities/mesh/manipulation/mirrorMesh/mirrorFvMesh.H index 99794622adf5137ecafb8c8aa417082ca1b2ce64..10ab1d9389193a8e361b432b349f436e8a191fc6 100644 --- a/applications/utilities/mesh/manipulation/mirrorMesh/mirrorFvMesh.H +++ b/applications/utilities/mesh/manipulation/mirrorMesh/mirrorFvMesh.H @@ -60,10 +60,10 @@ class mirrorFvMesh // Private Member Functions - //- Disallow copy construct + //- No copy construct mirrorFvMesh(const mirrorFvMesh&) = delete; - //- Disallow copy assignment + //- No copy assignment void operator=(const mirrorFvMesh&) = delete; diff --git a/applications/utilities/mesh/manipulation/polyDualMesh/meshDualiser.H b/applications/utilities/mesh/manipulation/polyDualMesh/meshDualiser.H index ce631f4ad033b05bcfc4fcc58da322c2fd9a7357..6534a834c99fbcf08648e8c125675815c134fff0 100644 --- a/applications/utilities/mesh/manipulation/polyDualMesh/meshDualiser.H +++ b/applications/utilities/mesh/manipulation/polyDualMesh/meshDualiser.H @@ -168,11 +168,11 @@ class meshDualiser boolList& donePFaces // pFaces visited ) const; - //- Disallow default bitwise copy construct - meshDualiser(const meshDualiser&); + //- No copy construct + meshDualiser(const meshDualiser&) = delete; - //- Disallow default bitwise assignment - void operator=(const meshDualiser&); + //- No copy assignment + void operator=(const meshDualiser&) = delete; public: diff --git a/applications/utilities/parallelProcessing/decomposePar/dimFieldDecomposer.H b/applications/utilities/parallelProcessing/decomposePar/dimFieldDecomposer.H index ee4fc1d77714b3243cf88888a5793d61194f8d91..a7d8858f17c592ec0d6bfff49ec82fca381d804a 100644 --- a/applications/utilities/parallelProcessing/decomposePar/dimFieldDecomposer.H +++ b/applications/utilities/parallelProcessing/decomposePar/dimFieldDecomposer.H @@ -71,11 +71,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - dimFieldDecomposer(const dimFieldDecomposer&); + //- No copy construct + dimFieldDecomposer(const dimFieldDecomposer&) = delete; - //- Disallow default bitwise assignment - void operator=(const dimFieldDecomposer&); + //- No copy assignment + void operator=(const dimFieldDecomposer&) = delete; public: diff --git a/applications/utilities/parallelProcessing/decomposePar/faFieldDecomposer.H b/applications/utilities/parallelProcessing/decomposePar/faFieldDecomposer.H index 08f9b4a3855a344c8c8522d2b8652a169bc10f67..c426be343e932811b6456756ec75041f36851f6a 100644 --- a/applications/utilities/parallelProcessing/decomposePar/faFieldDecomposer.H +++ b/applications/utilities/parallelProcessing/decomposePar/faFieldDecomposer.H @@ -252,11 +252,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - faFieldDecomposer(const faFieldDecomposer&); + //- No copy construct + faFieldDecomposer(const faFieldDecomposer&) = delete; - //- Disallow default bitwise assignment - void operator=(const faFieldDecomposer&); + //- No copy assignment + void operator=(const faFieldDecomposer&) = delete; public: diff --git a/applications/utilities/parallelProcessing/decomposePar/lagrangianFieldDecomposer.H b/applications/utilities/parallelProcessing/decomposePar/lagrangianFieldDecomposer.H index aca0672296a052e4f4b58559b0c326bd075dae94..5506e51cc2474cffa01083de313777b09d65c418 100644 --- a/applications/utilities/parallelProcessing/decomposePar/lagrangianFieldDecomposer.H +++ b/applications/utilities/parallelProcessing/decomposePar/lagrangianFieldDecomposer.H @@ -68,11 +68,11 @@ class lagrangianFieldDecomposer // Private Member Functions - //- Disallow default bitwise copy construct - lagrangianFieldDecomposer(const lagrangianFieldDecomposer&); + //- No copy construct + lagrangianFieldDecomposer(const lagrangianFieldDecomposer&) = delete; - //- Disallow default bitwise assignment - void operator=(const lagrangianFieldDecomposer&); + //- No copy assignment + void operator=(const lagrangianFieldDecomposer&) = delete; public: diff --git a/applications/utilities/parallelProcessing/decomposePar/pointFieldDecomposer.H b/applications/utilities/parallelProcessing/decomposePar/pointFieldDecomposer.H index d912ca8d9fe65a456f4b89b104053a9d464f581c..a5ddfdb583d88a7d4c96d8f5e5761d2d51729fe0 100644 --- a/applications/utilities/parallelProcessing/decomposePar/pointFieldDecomposer.H +++ b/applications/utilities/parallelProcessing/decomposePar/pointFieldDecomposer.H @@ -125,11 +125,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - pointFieldDecomposer(const pointFieldDecomposer&); + //- No copy construct + pointFieldDecomposer(const pointFieldDecomposer&) = delete; - //- Disallow default bitwise assignment - void operator=(const pointFieldDecomposer&); + //- No copy assignment + void operator=(const pointFieldDecomposer&) = delete; public: diff --git a/applications/utilities/parallelProcessing/reconstructPar/faFieldReconstructor.H b/applications/utilities/parallelProcessing/reconstructPar/faFieldReconstructor.H index 3b15fc31e91c4402485a4fe5535f06a7a6b9e45a..d7a4c42e789359bae3bdad82a5a4f25f402cf93e 100644 --- a/applications/utilities/parallelProcessing/reconstructPar/faFieldReconstructor.H +++ b/applications/utilities/parallelProcessing/reconstructPar/faFieldReconstructor.H @@ -80,11 +80,11 @@ class faFieldReconstructor // Private Member Functions - //- Disallow default bitwise copy construct - faFieldReconstructor(const faFieldReconstructor&); + //- No copy construct + faFieldReconstructor(const faFieldReconstructor&) = delete; - //- Disallow default bitwise assignment - void operator=(const faFieldReconstructor&); + //- No copy assignment + void operator=(const faFieldReconstructor&) = delete; public: diff --git a/applications/utilities/parallelProcessing/reconstructPar/processorFaMeshes.H b/applications/utilities/parallelProcessing/reconstructPar/processorFaMeshes.H index dd179adaa2d446e28ee29494148d10e0ac786d1b..8d82d3505babe9bf67e4d7f79550d27ca42ec794 100644 --- a/applications/utilities/parallelProcessing/reconstructPar/processorFaMeshes.H +++ b/applications/utilities/parallelProcessing/reconstructPar/processorFaMeshes.H @@ -84,11 +84,11 @@ class processorFaMeshes //- Read all meshes void read(); - //- Disallow default bitwise copy construct - processorFaMeshes(const processorFaMeshes&); + //- No copy construct + processorFaMeshes(const processorFaMeshes&) = delete; - //- Disallow default bitwise assignment - void operator=(const processorFaMeshes&); + //- No copy assignment + void operator=(const processorFaMeshes&) = delete; public: diff --git a/applications/utilities/parallelProcessing/redistributePar/parFvFieldReconstructor.H b/applications/utilities/parallelProcessing/redistributePar/parFvFieldReconstructor.H index 9c0d0617b9a4eb6abbcab4c284b7cc1dc9b51764..88d84d41e7df92d92ea9c7677869f76eaed5ff7c 100644 --- a/applications/utilities/parallelProcessing/redistributePar/parFvFieldReconstructor.H +++ b/applications/utilities/parallelProcessing/redistributePar/parFvFieldReconstructor.H @@ -80,11 +80,11 @@ class parFvFieldReconstructor //- Construct per-patch addressing void createPatchFaceMaps(); - //- Disallow default bitwise copy construct - parFvFieldReconstructor(const parFvFieldReconstructor&); + //- No copy construct + parFvFieldReconstructor(const parFvFieldReconstructor&) = delete; - //- Disallow default bitwise assignment - void operator=(const parFvFieldReconstructor&); + //- No copy assignment + void operator=(const parFvFieldReconstructor&) = delete; public: diff --git a/applications/utilities/parallelProcessing/redistributePar/parLagrangianRedistributor.H b/applications/utilities/parallelProcessing/redistributePar/parLagrangianRedistributor.H index 3dc1e85ce0819cac8904248af160d98c8cf7b0ec..b8e05c1b12828dcb927e589d81ea12d233b2a761 100644 --- a/applications/utilities/parallelProcessing/redistributePar/parLagrangianRedistributor.H +++ b/applications/utilities/parallelProcessing/redistributePar/parLagrangianRedistributor.H @@ -77,11 +77,11 @@ class parLagrangianRedistributor // Private Member Functions - //- Disallow default bitwise copy construct - parLagrangianRedistributor(const parLagrangianRedistributor&); + //- No copy construct + parLagrangianRedistributor(const parLagrangianRedistributor&) = delete; - //- Disallow default bitwise assignment - void operator=(const parLagrangianRedistributor&); + //- No copy assignment + void operator=(const parLagrangianRedistributor&) = delete; public: diff --git a/applications/utilities/parallelProcessing/redistributePar/passivePositionParticleCloud.H b/applications/utilities/parallelProcessing/redistributePar/passivePositionParticleCloud.H index f9a91d0f4265bd0f5b1d79200228ed3d1caf235d..388e6b19ddc924e6cccb6953afcabde3af464e0d 100644 --- a/applications/utilities/parallelProcessing/redistributePar/passivePositionParticleCloud.H +++ b/applications/utilities/parallelProcessing/redistributePar/passivePositionParticleCloud.H @@ -53,11 +53,14 @@ class passivePositionParticleCloud { // Private Member Functions - //- Disallow default bitwise copy construct - passivePositionParticleCloud(const passivePositionParticleCloud&); + //- No copy construct + passivePositionParticleCloud + ( + const passivePositionParticleCloud& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const passivePositionParticleCloud&); + //- No copy assignment + void operator=(const passivePositionParticleCloud&) = delete; public: diff --git a/applications/utilities/postProcessing/dataConversion/foamToVTK/foamVtkLagrangianWriter.H b/applications/utilities/postProcessing/dataConversion/foamToVTK/foamVtkLagrangianWriter.H index bbfbb6e4db17bf0a316ea1801b1a8c690591722b..05a9aeb8f7716ce1d0d837f5b7eecfdc18fbb5ac 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToVTK/foamVtkLagrangianWriter.H +++ b/applications/utilities/postProcessing/dataConversion/foamToVTK/foamVtkLagrangianWriter.H @@ -92,10 +92,10 @@ class lagrangianWriter void writeVerts(); - //- Disallow default bitwise copy construct + //- No copy construct lagrangianWriter(const lagrangianWriter&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const lagrangianWriter&) = delete; diff --git a/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/pqFoamReaderControls.h b/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/pqFoamReaderControls.h index ba0a7a9f6718be5eb153aa826333a0d93a983682..1aa1cce617a97db16a32866b5e9827eaa1dc2658 100644 --- a/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/pqFoamReaderControls.h +++ b/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/pqFoamReaderControls.h @@ -82,10 +82,10 @@ class pqFoamReaderControls void fireCommand(vtkSMIntVectorProperty* prop, int val); - //- Disallow default bitwise copy construct + //- No copy construct pqFoamReaderControls(const pqFoamReaderControls&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const pqFoamReaderControls&) = delete; diff --git a/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/vtkPVFoamReader.h b/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/vtkPVFoamReader.h index 1b1f4f3962a5ff0c1d09b59b5993b31153786779..948532bc3a303c5eb1f87575a8b7414fa9ad232c 100644 --- a/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/vtkPVFoamReader.h +++ b/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/vtkPVFoamReader.h @@ -222,10 +222,10 @@ protected: private: - //- Disallow default bitwise copy construct + //- No copy construct vtkPVFoamReader(const vtkPVFoamReader&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const vtkPVFoamReader&) = delete; //- Add/remove patch names to/from the view diff --git a/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/pqFoamBlockMeshControls.h b/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/pqFoamBlockMeshControls.h index 89d7e945db90579a201d85334cbc7e6df028ebba..edb94585c303a3cc4c53700ef8cee65163a7419f 100644 --- a/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/pqFoamBlockMeshControls.h +++ b/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/pqFoamBlockMeshControls.h @@ -78,10 +78,10 @@ class pqFoamBlockMeshControls void updateParts(); - //- Disallow default bitwise copy construct + //- No copy construct pqFoamBlockMeshControls(const pqFoamBlockMeshControls&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const pqFoamBlockMeshControls&) = delete; diff --git a/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/vtkPVblockMeshReader.h b/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/vtkPVblockMeshReader.h index f881d3c4ed7f8d49833408a7f45d82b59c5bb4e8..c3d4534ede4dc3fc982caca8035648c91ed3b99b 100644 --- a/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/vtkPVblockMeshReader.h +++ b/applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/vtkPVblockMeshReader.h @@ -148,10 +148,10 @@ protected: private: - //- Disallow default bitwise copy construct + //- No copy construct vtkPVblockMeshReader(const vtkPVblockMeshReader&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const vtkPVblockMeshReader&) = delete; //- Add/remove patch names to/from the view diff --git a/applications/utilities/postProcessing/graphics/PVReaders/vtkPVblockMesh/vtkPVblockMesh.H b/applications/utilities/postProcessing/graphics/PVReaders/vtkPVblockMesh/vtkPVblockMesh.H index 1a85c655298d1756ee480940e0116ee484bdbd24..146370ae0389b33e7a7fc8c09fecebcd02fbcb71 100644 --- a/applications/utilities/postProcessing/graphics/PVReaders/vtkPVblockMesh/vtkPVblockMesh.H +++ b/applications/utilities/postProcessing/graphics/PVReaders/vtkPVblockMesh/vtkPVblockMesh.H @@ -141,10 +141,10 @@ class vtkPVblockMesh void convertMeshCorners(vtkMultiBlockDataSet*, int& blockNo); - //- Disallow default bitwise copy construct + //- No copy construct vtkPVblockMesh(const vtkPVblockMesh&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const vtkPVblockMesh&) = delete; diff --git a/applications/utilities/postProcessing/miscellaneous/postChannel/channelIndex.H b/applications/utilities/postProcessing/miscellaneous/postChannel/channelIndex.H index 36e7764c4d32e661af0936887a5ac4b2a6404b6a..1c8aafe4ab900f6deddb2ee4fc526faeffb1861f 100644 --- a/applications/utilities/postProcessing/miscellaneous/postChannel/channelIndex.H +++ b/applications/utilities/postProcessing/miscellaneous/postChannel/channelIndex.H @@ -93,9 +93,11 @@ class channelIndex const labelList& startFaces ); - //- Disallow default bitwise copy construct and assignment - channelIndex(const channelIndex&); - void operator=(const channelIndex&); + //- No copy construct + channelIndex(const channelIndex&) = delete; + + //- No copy assignment + void operator=(const channelIndex&) = delete; public: diff --git a/applications/utilities/surface/surfaceBooleanFeatures/PolyhedronReader/PolyhedronReader.H b/applications/utilities/surface/surfaceBooleanFeatures/PolyhedronReader/PolyhedronReader.H index bf1abc1e2aa4932797d2a58c4a3e68a500cd8b64..feb30b0d0ca5ec639f26a9050580255a89cdf0b0 100644 --- a/applications/utilities/surface/surfaceBooleanFeatures/PolyhedronReader/PolyhedronReader.H +++ b/applications/utilities/surface/surfaceBooleanFeatures/PolyhedronReader/PolyhedronReader.H @@ -67,11 +67,11 @@ class PolyhedronReader // Private Member Functions - //- Disallow default bitwise copy construct - PolyhedronReader(const PolyhedronReader&); + //- No copy construct + PolyhedronReader(const PolyhedronReader&) = delete; - //- Disallow default bitwise assignment - void operator=(const PolyhedronReader&); + //- No copy assignment + void operator=(const PolyhedronReader&) = delete; public: diff --git a/src/ODE/ODESolvers/ODESolver/ODESolver.H b/src/ODE/ODESolvers/ODESolver/ODESolver.H index d016c26cd11f9ae3047abb1354db5226ebbf635a..42ce0d9f5aa0f79e9279481d0ce1a3ecfe557c25 100644 --- a/src/ODE/ODESolvers/ODESolver/ODESolver.H +++ b/src/ODE/ODESolvers/ODESolver/ODESolver.H @@ -87,11 +87,11 @@ protected: const scalarField& err ) const; - //- Disallow default bitwise copy construct - ODESolver(const ODESolver&); + //- No copy construct + ODESolver(const ODESolver&) = delete; - //- Disallow default bitwise assignment - void operator=(const ODESolver&); + //- No copy assignment + void operator=(const ODESolver&) = delete; public: diff --git a/src/OSspecific/POSIX/cpuInfo/cpuInfo.H b/src/OSspecific/POSIX/cpuInfo/cpuInfo.H index 27d7364f909b7539e38718dc59283c45a00306cf..444ce72ffd4805b0f6de340ed5efd260ad13b10a 100644 --- a/src/OSspecific/POSIX/cpuInfo/cpuInfo.H +++ b/src/OSspecific/POSIX/cpuInfo/cpuInfo.H @@ -75,12 +75,12 @@ class cpuInfo //- Parse /proc/cpuinfo void parse(); - //- Disallow default bitwise assignment - void operator=(const cpuInfo&) = delete; - - //- Disallow default copy constructor + //- No copy construct cpuInfo(const cpuInfo&) = delete; + //- No copy assignment + void operator=(const cpuInfo&) = delete; + public: // Constructors diff --git a/src/OSspecific/POSIX/endian.H b/src/OSspecific/POSIX/endian.H index 6edff65e88e2983a7a02c1714437086c14d2b627..cce070c19788b5d11c1731668cddb9d2116c7d6a 100644 --- a/src/OSspecific/POSIX/endian.H +++ b/src/OSspecific/POSIX/endian.H @@ -97,10 +97,10 @@ class endian { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct endian(const endian&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const endian&) = delete; public: diff --git a/src/OSspecific/POSIX/fileMonitor.H b/src/OSspecific/POSIX/fileMonitor.H index 6a9cc1245e638bcc8ba1869ec5a602d132ed9048..fc7c51586d4b3c05283e8c5fb6028a03ac456354 100644 --- a/src/OSspecific/POSIX/fileMonitor.H +++ b/src/OSspecific/POSIX/fileMonitor.H @@ -103,11 +103,11 @@ private: //- Update localState_ from any events. void checkFiles() const; - //- Disallow default bitwise copy construct - fileMonitor(const fileMonitor&); + //- No copy construct + fileMonitor(const fileMonitor&) = delete; - //- Disallow default bitwise assignment - void operator=(const fileMonitor&); + //- No copy assignment + void operator=(const fileMonitor&) = delete; public: diff --git a/src/OpenFOAM/algorithms/subCycle/subCycle.H b/src/OpenFOAM/algorithms/subCycle/subCycle.H index 692146f8c08db74424ed162c3bc3831d33f588ee..fed81fe9afa1bff435c650274e3255f34f8e5b1b 100644 --- a/src/OpenFOAM/algorithms/subCycle/subCycle.H +++ b/src/OpenFOAM/algorithms/subCycle/subCycle.H @@ -111,10 +111,10 @@ class subCycle { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct subCycle(const subCycle<GeometricField>&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const subCycle<GeometricField>&) = delete; diff --git a/src/OpenFOAM/containers/LinkedLists/linkTypes/DLListBase/DLListBase.H b/src/OpenFOAM/containers/LinkedLists/linkTypes/DLListBase/DLListBase.H index fcac9d9cf6f9baeb03584989ea6e34f679febca7..c538e147e211aad97d6b65045955a59b7119c30f 100644 --- a/src/OpenFOAM/containers/LinkedLists/linkTypes/DLListBase/DLListBase.H +++ b/src/OpenFOAM/containers/LinkedLists/linkTypes/DLListBase/DLListBase.H @@ -96,10 +96,10 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct DLListBase(const DLListBase&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const DLListBase&) = delete; diff --git a/src/OpenFOAM/containers/LinkedLists/linkTypes/SLListBase/SLListBase.H b/src/OpenFOAM/containers/LinkedLists/linkTypes/SLListBase/SLListBase.H index f74e29c504ad141288dd9f70e9412989d2bb9f44..7b364137ba7fd6f6f86462bd703cbab4cbc444f3 100644 --- a/src/OpenFOAM/containers/LinkedLists/linkTypes/SLListBase/SLListBase.H +++ b/src/OpenFOAM/containers/LinkedLists/linkTypes/SLListBase/SLListBase.H @@ -85,10 +85,10 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct SLListBase(const SLListBase&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const SLListBase&) = delete; diff --git a/src/OpenFOAM/containers/Lists/Histogram/Histogram.H b/src/OpenFOAM/containers/Lists/Histogram/Histogram.H index 5b4b5a9b222343b5404c89ee8f339bd22b4ac2d5..737e1b2cb0dd5573b4f400d155993b6aeb7cc194 100644 --- a/src/OpenFOAM/containers/Lists/Histogram/Histogram.H +++ b/src/OpenFOAM/containers/Lists/Histogram/Histogram.H @@ -66,11 +66,11 @@ class Histogram void count(const List& bins, const List& l); - //- Disallow default bitwise copy construct - Histogram(const Histogram&); + //- No copy construct + Histogram(const Histogram&) = delete; - //- Disallow default bitwise assignment - void operator=(const Histogram&); + //- No copy assignment + void operator=(const Histogram&) = delete; public: diff --git a/src/OpenFOAM/containers/Lists/IndirectList/IndirectList.H b/src/OpenFOAM/containers/Lists/IndirectList/IndirectList.H index 042c2044d961ebb301dc2266443dae5f4606d9e4..6cb2dc576e24dadf3bbedf07ad6e5cc894883718 100644 --- a/src/OpenFOAM/containers/Lists/IndirectList/IndirectList.H +++ b/src/OpenFOAM/containers/Lists/IndirectList/IndirectList.H @@ -61,10 +61,10 @@ class IndirectListAddressing // Private Member Functions - //- Disallow copy construct + //- No copy construct IndirectListAddressing(const IndirectListAddressing&) = delete; - //- Disallow copy assignment + //- No copy assignment void operator=(const IndirectListAddressing&) = delete; @@ -105,10 +105,10 @@ class IndirectList { // Private Member Functions - //- Disallow copy construct + //- No copy assignment void operator=(const IndirectList<T>&) = delete; - //- Disallow copy assignment + //- No copy assignment from UIndirectList void operator=(const UIndirectList<T>&) = delete; diff --git a/src/OpenFOAM/containers/Lists/List/List.H b/src/OpenFOAM/containers/Lists/List/List.H index fba0a559e5361f2ca7a05c4f56ebe69c47224a2d..c7830f50ebec4cdeb6974e2ecc609aabed0029ef 100644 --- a/src/OpenFOAM/containers/Lists/List/List.H +++ b/src/OpenFOAM/containers/Lists/List/List.H @@ -251,11 +251,7 @@ public: inline T& newElmt(const label i); - //- Disallow implicit shallowCopy - void shallowCopy(const UList<T>&) = delete; - - - // Member operators + // Member Operators //- Assignment to UList operator. Takes linear time void operator=(const UList<T>& a); @@ -295,7 +291,7 @@ public: void operator=(SLList<T>&& lst); - // Istream operator + // Istream Operator //- Read List from Istream, discarding contents of existing List friend Istream& operator>> <T> @@ -304,6 +300,11 @@ public: List<T>& L ); + + // Housekeeping + + //- No shallowCopy permitted + void shallowCopy(const UList<T>&) = delete; }; diff --git a/src/OpenFOAM/containers/Lists/UList/UList.H b/src/OpenFOAM/containers/Lists/UList/UList.H index 1189d6725a356e0220062ac74e6fde2bda3e3862..7bba6587a4f55554c0476534bd5dd4a002685209 100644 --- a/src/OpenFOAM/containers/Lists/UList/UList.H +++ b/src/OpenFOAM/containers/Lists/UList/UList.H @@ -89,7 +89,7 @@ class UList // Private Member Functions - //- Disallow default shallow-copy assignment + //- No copy assignment (shallow copy) // // Assignment of UList<T> may need to be either shallow (copy pointer) // or deep (copy elements) depending on context or the particular type diff --git a/src/OpenFOAM/db/Callback/Callback.H b/src/OpenFOAM/db/Callback/Callback.H index b68e13e1e6cbfd220640085cb7338d87463e7636..bddb4ba96544bdffe1e587f21ad8e7255b1dd91f 100644 --- a/src/OpenFOAM/db/Callback/Callback.H +++ b/src/OpenFOAM/db/Callback/Callback.H @@ -61,8 +61,8 @@ class Callback // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const Callback<CallbackType>&); + //- No copy assignment + void operator=(const Callback<CallbackType>&) = delete; public: diff --git a/src/OpenFOAM/db/CallbackRegistry/CallbackRegistry.H b/src/OpenFOAM/db/CallbackRegistry/CallbackRegistry.H index e2481e64732529e0510326ac8baf817619f3e4db..b5786d3ff7337346b7f13cc8586d0a426ed15d5e 100644 --- a/src/OpenFOAM/db/CallbackRegistry/CallbackRegistry.H +++ b/src/OpenFOAM/db/CallbackRegistry/CallbackRegistry.H @@ -71,11 +71,11 @@ class CallbackRegistry { // Private Member Functions - //- Disallow default bitwise copy construct - CallbackRegistry(const CallbackRegistry&); + //- No copy construct + CallbackRegistry(const CallbackRegistry&) = delete; - //- Disallow default bitwise assignment - void operator=(const CallbackRegistry&); + //- No copy assignment + void operator=(const CallbackRegistry&) = delete; public: diff --git a/src/OpenFOAM/db/IOstreams/Pstreams/UPstream.H b/src/OpenFOAM/db/IOstreams/Pstreams/UPstream.H index ea72f84912cf0affdc75a2e3d6b4fea07556e982..fed6fca24f2cca26409966e171185207db954786 100644 --- a/src/OpenFOAM/db/IOstreams/Pstreams/UPstream.H +++ b/src/OpenFOAM/db/IOstreams/Pstreams/UPstream.H @@ -323,9 +323,11 @@ public: { label comm_; - //- Disallow copy and assignment - communicator(const communicator&); - void operator=(const communicator&); + //- No copy construct + communicator(const communicator&) = delete; + + //- No copy assignment + void operator=(const communicator&) = delete; public: diff --git a/src/OpenFOAM/db/IOstreams/hashes/base64Layer.H b/src/OpenFOAM/db/IOstreams/hashes/base64Layer.H index 4eaaf87e83e7848975d6e870b99fc539a96a4336..3456aa2e13faabe37b312d5f49a1c18ec3905f66 100644 --- a/src/OpenFOAM/db/IOstreams/hashes/base64Layer.H +++ b/src/OpenFOAM/db/IOstreams/hashes/base64Layer.H @@ -75,10 +75,10 @@ class base64Layer inline unsigned char encode2() const; inline unsigned char encode3() const; - //- Disallow default bitwise copy construct + //- No copy construct base64Layer(const base64Layer&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const base64Layer&) = delete; diff --git a/src/OpenFOAM/db/IOstreams/token/token.H b/src/OpenFOAM/db/IOstreams/token/token.H index 1cf8143719f5e435575aa34531ebbdda10c8d676..48d5cde872721f0a562c7630af04a758465d0111 100644 --- a/src/OpenFOAM/db/IOstreams/token/token.H +++ b/src/OpenFOAM/db/IOstreams/token/token.H @@ -145,10 +145,10 @@ public: { bool empty_; - //- No default copy construct + //- No copy construct compound(const compound&) = delete; - //- No default assign operator + //- No copy assignment compound& operator=(const compound&) = delete; public: diff --git a/src/OpenFOAM/db/Time/subLoopTime.H b/src/OpenFOAM/db/Time/subLoopTime.H index c8deb680e88cd5946c1de158a5aaeddb30df9738..ce56da154467782f71143bc16cdfca7b16921963 100644 --- a/src/OpenFOAM/db/Time/subLoopTime.H +++ b/src/OpenFOAM/db/Time/subLoopTime.H @@ -53,10 +53,10 @@ class subLoopTime { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct subLoopTime(const subLoopTime&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const subLoopTime&) = delete; diff --git a/src/OpenFOAM/db/dictionary/dictionaryEntry/dictionaryEntry.H b/src/OpenFOAM/db/dictionary/dictionaryEntry/dictionaryEntry.H index 06976c789b0f114c5e6c9dc018987e46713012b8..65b4f73c6db6988f0f019a2ba1d72ad6a48dc4f4 100644 --- a/src/OpenFOAM/db/dictionary/dictionaryEntry/dictionaryEntry.H +++ b/src/OpenFOAM/db/dictionary/dictionaryEntry/dictionaryEntry.H @@ -67,7 +67,7 @@ class dictionaryEntry { // Private Member Functions - //- Disallow bitwise copy + //- No copy construct dictionaryEntry(const dictionaryEntry&) = delete; diff --git a/src/OpenFOAM/db/dictionary/dictionaryListEntry/dictionaryListEntry.H b/src/OpenFOAM/db/dictionary/dictionaryListEntry/dictionaryListEntry.H index 2e575713b9d0400ca0d1b5edfee77a2ab131d1bf..7aaded38d1d943c0ff4e3627b15017cae4c037f4 100644 --- a/src/OpenFOAM/db/dictionary/dictionaryListEntry/dictionaryListEntry.H +++ b/src/OpenFOAM/db/dictionary/dictionaryListEntry/dictionaryListEntry.H @@ -65,7 +65,7 @@ class dictionaryListEntry { // Private Member Functions - //- Disallow bitwise copy + //- No copy construct dictionaryListEntry(const dictionaryListEntry&) = delete; diff --git a/src/OpenFOAM/db/dictionary/functionEntries/codeStream/codeStream.H b/src/OpenFOAM/db/dictionary/functionEntries/codeStream/codeStream.H index c91f724a8798356e6c077d6450a4d90e53e126c8..4326d10e708cd5f187d795c61ac168b035e503df 100644 --- a/src/OpenFOAM/db/dictionary/functionEntries/codeStream/codeStream.H +++ b/src/OpenFOAM/db/dictionary/functionEntries/codeStream/codeStream.H @@ -136,10 +136,10 @@ class codeStream ); - //- Disallow default bitwise copy construct + //- No copy construct codeStream(const codeStream&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const codeStream&) = delete; diff --git a/src/OpenFOAM/db/dictionary/functionEntries/functionEntry/functionEntry.H b/src/OpenFOAM/db/dictionary/functionEntries/functionEntry/functionEntry.H index 32dd4785962a005040382a80be2c5fdf7918560e..e58bf9f25d73e2e36cf2fb91dd667894213a7681 100644 --- a/src/OpenFOAM/db/dictionary/functionEntries/functionEntry/functionEntry.H +++ b/src/OpenFOAM/db/dictionary/functionEntries/functionEntry/functionEntry.H @@ -67,10 +67,10 @@ class functionEntry { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct functionEntry(const functionEntry&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const functionEntry&) = delete; diff --git a/src/OpenFOAM/db/dynamicLibrary/codedBase/codedBase.H b/src/OpenFOAM/db/dynamicLibrary/codedBase/codedBase.H index f1d6a965c1edc79c16264e47e2ded5de8ebc2875..75c527cb549ca4e4ce681f3a003a38d43f449a2f 100644 --- a/src/OpenFOAM/db/dynamicLibrary/codedBase/codedBase.H +++ b/src/OpenFOAM/db/dynamicLibrary/codedBase/codedBase.H @@ -83,10 +83,10 @@ class codedBase //- Create library based on the dynamicCodeContext void createLibrary(dynamicCode&, const dynamicCodeContext&) const; - //- Disallow default bitwise copy construct + //- No copy construct codedBase(const codedBase&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const codedBase&) = delete; diff --git a/src/OpenFOAM/db/dynamicLibrary/dlLibraryTable/dlLibraryTable.H b/src/OpenFOAM/db/dynamicLibrary/dlLibraryTable/dlLibraryTable.H index 1f3936c579890c3ad53dd5bdc2ef49bb7d11ad2e..b40c4c495393c32ce0b67d999a127bc362f9ff82 100644 --- a/src/OpenFOAM/db/dynamicLibrary/dlLibraryTable/dlLibraryTable.H +++ b/src/OpenFOAM/db/dynamicLibrary/dlLibraryTable/dlLibraryTable.H @@ -56,11 +56,11 @@ class dlLibraryTable DynamicList<fileName> libNames_; - //- Disallow default bitwise copy construct - dlLibraryTable(const dlLibraryTable&); + //- No copy construct + dlLibraryTable(const dlLibraryTable&) = delete; - //- Disallow default bitwise assignment - void operator=(const dlLibraryTable&); + //- No copy assignment + void operator=(const dlLibraryTable&) = delete; public: diff --git a/src/OpenFOAM/db/functionObjects/functionObject/functionObject.H b/src/OpenFOAM/db/functionObjects/functionObject/functionObject.H index 7150594c3db1754196fc30abbc7d40a6d793e1d7..9f042bd231518a3bb4949a4369b97c98d980f6ea 100644 --- a/src/OpenFOAM/db/functionObjects/functionObject/functionObject.H +++ b/src/OpenFOAM/db/functionObjects/functionObject/functionObject.H @@ -147,10 +147,10 @@ class functionObject // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct functionObject(const functionObject&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const functionObject&) = delete; diff --git a/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.H b/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.H index 0a4fa5aaa210d9cfd1e01e6a833e31d2e2b7e331..5d4597ed7cce0af1a1122367b82feeb8c3516727 100644 --- a/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.H +++ b/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.H @@ -104,10 +104,10 @@ class functionObjectList //- configuration files, add to the given map and recurse static void listDir(const fileName& dir, wordHashSet& foMap); - //- Disallow default bitwise copy construct + //- No copy construct functionObjectList(const functionObjectList&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const functionObjectList&) = delete; diff --git a/src/OpenFOAM/db/functionObjects/logFiles/logFiles.H b/src/OpenFOAM/db/functionObjects/logFiles/logFiles.H index 2a44d38b3e3f5885ca7209f7bdb40edb03b1c31f..5ec4e53a637dea833d1628483dea9331d283f896 100644 --- a/src/OpenFOAM/db/functionObjects/logFiles/logFiles.H +++ b/src/OpenFOAM/db/functionObjects/logFiles/logFiles.H @@ -86,11 +86,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - logFiles(const logFiles&); + //- No copy construct + logFiles(const logFiles&) = delete; - //- Disallow default bitwise assignment - void operator=(const logFiles&); + //- No copy assignment + void operator=(const logFiles&) = delete; public: diff --git a/src/OpenFOAM/db/functionObjects/regionFunctionObject/regionFunctionObject.H b/src/OpenFOAM/db/functionObjects/regionFunctionObject/regionFunctionObject.H index 2e2e28f26228ebf81027b80969e14e25015e3e36..8ce0f95b864b856eb1f23e5ffeac878f05d312e8 100644 --- a/src/OpenFOAM/db/functionObjects/regionFunctionObject/regionFunctionObject.H +++ b/src/OpenFOAM/db/functionObjects/regionFunctionObject/regionFunctionObject.H @@ -135,10 +135,10 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct regionFunctionObject(const regionFunctionObject&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const regionFunctionObject&) = delete; diff --git a/src/OpenFOAM/db/functionObjects/stateFunctionObject/stateFunctionObject.H b/src/OpenFOAM/db/functionObjects/stateFunctionObject/stateFunctionObject.H index d52304291041a1561bf2d6e805bc0ee627161de1..5cab13a16d90652313835bd08f0e8048519fe578 100644 --- a/src/OpenFOAM/db/functionObjects/stateFunctionObject/stateFunctionObject.H +++ b/src/OpenFOAM/db/functionObjects/stateFunctionObject/stateFunctionObject.H @@ -77,10 +77,10 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct stateFunctionObject(const stateFunctionObject&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const stateFunctionObject&) = delete; diff --git a/src/OpenFOAM/db/functionObjects/timeControl/timeControl.H b/src/OpenFOAM/db/functionObjects/timeControl/timeControl.H index 86b91b2466ef8477f680edc1e3476b0b657b85a7..d6e908686597e8d42d444e3c2a89cb77ca04854a 100644 --- a/src/OpenFOAM/db/functionObjects/timeControl/timeControl.H +++ b/src/OpenFOAM/db/functionObjects/timeControl/timeControl.H @@ -95,11 +95,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct and assignment - timeControl(const timeControl&); + //- No copy construct + timeControl(const timeControl&) = delete; - //- Disallow default bitwise assignment - void operator=(const timeControl&); + //- No copy assignment + void operator=(const timeControl&) = delete; public: diff --git a/src/OpenFOAM/db/functionObjects/timeControl/timeControlFunctionObject.H b/src/OpenFOAM/db/functionObjects/timeControl/timeControlFunctionObject.H index 18a3e51461c38f68a1e2f53c53c682eb6f5edc4d..38e657b98e74a698e6d76e227807c176a1c26969 100644 --- a/src/OpenFOAM/db/functionObjects/timeControl/timeControlFunctionObject.H +++ b/src/OpenFOAM/db/functionObjects/timeControl/timeControlFunctionObject.H @@ -151,11 +151,11 @@ class timeControl const bool rampDirectionUp ); - //- Disallow default bitwise copy construct - timeControl(const timeControl&); + //- No copy construct + timeControl(const timeControl&) = delete; - //- Disallow default bitwise assignment - void operator=(const timeControl&); + //- No copy assignment + void operator=(const timeControl&) = delete; public: diff --git a/src/OpenFOAM/db/functionObjects/writeFile/writeFile.H b/src/OpenFOAM/db/functionObjects/writeFile/writeFile.H index 918d86a133527c892ff6b01f0ea4169300d89ebe..75160c7d8d58e4911338358f39dc0b318f46748c 100644 --- a/src/OpenFOAM/db/functionObjects/writeFile/writeFile.H +++ b/src/OpenFOAM/db/functionObjects/writeFile/writeFile.H @@ -108,11 +108,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - writeFile(const writeFile&); + //- No copy construct + writeFile(const writeFile&) = delete; - //- Disallow default bitwise assignment - void operator=(const writeFile&); + //- No copy assignment + void operator=(const writeFile&) = delete; public: diff --git a/src/OpenFOAM/db/objectRegistry/objectRegistry.H b/src/OpenFOAM/db/objectRegistry/objectRegistry.H index b0471ef9ba499c13f9644c15d371896081089fdd..eb45cc670c5fef48e1fac7501233dfa7d1dbcdad 100644 --- a/src/OpenFOAM/db/objectRegistry/objectRegistry.H +++ b/src/OpenFOAM/db/objectRegistry/objectRegistry.H @@ -94,10 +94,10 @@ class objectRegistry ); - //- Disallow Copy constructor + //- No copy construct objectRegistry(const objectRegistry&) = delete; - //- Disallow default bitwise copy construct and assignment + //- No copy assignment void operator=(const objectRegistry&) = delete; diff --git a/src/OpenFOAM/db/regIOobject/regIOobject.H b/src/OpenFOAM/db/regIOobject/regIOobject.H index 1a41c759c18300bb596566261d958a7f35f7d1a6..4fab477d568177a608c9af485fd5b425a8680ffc 100644 --- a/src/OpenFOAM/db/regIOobject/regIOobject.H +++ b/src/OpenFOAM/db/regIOobject/regIOobject.H @@ -108,8 +108,8 @@ private: //- Return Istream Istream& readStream(const bool valid = true); - //- Dissallow assignment - void operator=(const regIOobject&); + //- No copy assignment + void operator=(const regIOobject&) = delete; public: diff --git a/src/OpenFOAM/fields/GeometricFields/SlicedGeometricField/SlicedGeometricField.H b/src/OpenFOAM/fields/GeometricFields/SlicedGeometricField/SlicedGeometricField.H index 66b15b65b861f152002591cb1e68993c10184a13..e67a94688fba762308adc609459cb42ac40012fe 100644 --- a/src/OpenFOAM/fields/GeometricFields/SlicedGeometricField/SlicedGeometricField.H +++ b/src/OpenFOAM/fields/GeometricFields/SlicedGeometricField/SlicedGeometricField.H @@ -96,19 +96,24 @@ private: const bool preserveCouples ); - ////- Disallow default bitwise copy construct - //SlicedGeometricField(const SlicedGeometricField&); + // Note - copy construct allowed - //- Disallow default bitwise assignment - void operator=(const SlicedGeometricField&); + //- No copy assignment + void operator=(const SlicedGeometricField&) = delete; - //- Disallow standard assignment to GeometricField, + //- No copy assignment from GeometricField, // == assignment is allowed. - void operator=(const GeometricField<Type, PatchField, GeoMesh>&); + void operator= + ( + const GeometricField<Type, PatchField, GeoMesh>& + ) = delete; - //- Disallow standard assignment to tmp<GeometricField>, + //- No copy assignment from tmp<GeometricField>, // == assignment is allowed. - void operator=(const tmp<GeometricField<Type, PatchField, GeoMesh>>&); + void operator= + ( + const tmp<GeometricField<Type, PatchField, GeoMesh>>& + ) = delete; public: diff --git a/src/OpenFOAM/fields/cloud/cloud.H b/src/OpenFOAM/fields/cloud/cloud.H index eab0f39042281fccef78af3ba4d61936fd514847..bd2e73f746aa972d9007d613cc32a233724f657e 100644 --- a/src/OpenFOAM/fields/cloud/cloud.H +++ b/src/OpenFOAM/fields/cloud/cloud.H @@ -58,10 +58,10 @@ class cloud // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct cloud(const cloud&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const cloud&) = delete; diff --git a/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchFieldMapperPatchRef.H b/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchFieldMapperPatchRef.H index dc94e43fecdf42ae97c20bc91878a870565dd0d8..ea9ce1a3ee15005f1da05c2277b0c2912abc2376 100644 --- a/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchFieldMapperPatchRef.H +++ b/src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchFieldMapperPatchRef.H @@ -55,11 +55,14 @@ class pointPatchFieldMapperPatchRef // Private Member Functions - //- Disallow default bitwise copy construct - pointPatchFieldMapperPatchRef(const pointPatchFieldMapperPatchRef&); + //- No copy construct + pointPatchFieldMapperPatchRef + ( + const pointPatchFieldMapperPatchRef& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const pointPatchFieldMapperPatchRef&); + //- No copy assignment + void operator=(const pointPatchFieldMapperPatchRef&) = delete; public: diff --git a/src/OpenFOAM/global/profiling/profiling.H b/src/OpenFOAM/global/profiling/profiling.H index db7aa681ef804f5199ae3c583931502a99acaf68..44b07ec7c0b88644ed0345332120f3d549d44651 100644 --- a/src/OpenFOAM/global/profiling/profiling.H +++ b/src/OpenFOAM/global/profiling/profiling.H @@ -132,10 +132,10 @@ private: // Private Member Functions - //- Disallow copy construct + //- No copy construct profiling(const profiling&) = delete; - //- Disallow copy assignment + //- No copy assignment void operator=(const profiling&) = delete; diff --git a/src/OpenFOAM/interpolations/interpolationWeights/interpolationWeights/interpolationWeights.H b/src/OpenFOAM/interpolations/interpolationWeights/interpolationWeights/interpolationWeights.H index 131cfeb93fec0f8b078e5d73c4baa0cd61c3aedc..8c67e39aa72d3e3c7454d5c1e533d3065099608d 100644 --- a/src/OpenFOAM/interpolations/interpolationWeights/interpolationWeights/interpolationWeights.H +++ b/src/OpenFOAM/interpolations/interpolationWeights/interpolationWeights/interpolationWeights.H @@ -60,11 +60,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - interpolationWeights(const interpolationWeights&); + //- No copy construct + interpolationWeights(const interpolationWeights&) = delete; - //- Disallow default bitwise assignment - void operator=(const interpolationWeights&); + //- No copy assignment + void operator=(const interpolationWeights&) = delete; protected: diff --git a/src/OpenFOAM/interpolations/patchToPatchInterpolation/PatchToPatchInterpolation.H b/src/OpenFOAM/interpolations/patchToPatchInterpolation/PatchToPatchInterpolation.H index 9af12426f05e8980a9eed438b603660ca5a475b0..71b1c6430509891593af03f923bf30bf3c7ea3e8 100644 --- a/src/OpenFOAM/interpolations/patchToPatchInterpolation/PatchToPatchInterpolation.H +++ b/src/OpenFOAM/interpolations/patchToPatchInterpolation/PatchToPatchInterpolation.H @@ -114,11 +114,11 @@ class PatchToPatchInterpolation // Private Member Functions - //- Disallow default bitwise copy construct - PatchToPatchInterpolation(const PatchToPatchInterpolation&); + //- No copy construct + PatchToPatchInterpolation(const PatchToPatchInterpolation&) = delete; - //- Disallow default bitwise assignment - void operator=(const PatchToPatchInterpolation&); + //- No copy assignment + void operator=(const PatchToPatchInterpolation&) = delete; //- Calculate point weights void calcPointAddressing() const; diff --git a/src/OpenFOAM/interpolations/primitivePatchInterpolation/PrimitivePatchInterpolation.H b/src/OpenFOAM/interpolations/primitivePatchInterpolation/PrimitivePatchInterpolation.H index 5b08d82f2cac66ce2c72a2eb14a1c87383a47abf..4e91cf1268241a1ce42c19d671bc354cedb21935 100644 --- a/src/OpenFOAM/interpolations/primitivePatchInterpolation/PrimitivePatchInterpolation.H +++ b/src/OpenFOAM/interpolations/primitivePatchInterpolation/PrimitivePatchInterpolation.H @@ -68,11 +68,14 @@ class PrimitivePatchInterpolation // Private Member Functions - //- Disallow default bitwise copy construct - PrimitivePatchInterpolation(const PrimitivePatchInterpolation&); + //- No copy construct + PrimitivePatchInterpolation + ( + const PrimitivePatchInterpolation& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const PrimitivePatchInterpolation&); + //- No copy assignment + void operator=(const PrimitivePatchInterpolation&) = delete; //- Face-to-point weights diff --git a/src/OpenFOAM/interpolations/uniformInterpolationTable/uniformInterpolationTable.H b/src/OpenFOAM/interpolations/uniformInterpolationTable/uniformInterpolationTable.H index 680999cbc6d1ab10067955fc538f4009d8907d21..7a0e2003955d288f2481b939ec18069f31a4f736 100644 --- a/src/OpenFOAM/interpolations/uniformInterpolationTable/uniformInterpolationTable.H +++ b/src/OpenFOAM/interpolations/uniformInterpolationTable/uniformInterpolationTable.H @@ -95,8 +95,8 @@ class uniformInterpolationTable //- Check that the table is valid void checkTable() const; - //- Disallow default bitwise assignment - void operator=(const uniformInterpolationTable&); + //- No copy assignment + void operator=(const uniformInterpolationTable&) = delete; public: diff --git a/src/OpenFOAM/matrices/LUscalarMatrix/procLduInterface.H b/src/OpenFOAM/matrices/LUscalarMatrix/procLduInterface.H index cad2a86954120afd9d7d1caa395a044f0431c638..235c97086e9faacd51007e02aae486959c3ce79f 100644 --- a/src/OpenFOAM/matrices/LUscalarMatrix/procLduInterface.H +++ b/src/OpenFOAM/matrices/LUscalarMatrix/procLduInterface.H @@ -71,8 +71,8 @@ class procLduInterface // Private Member Functions - //- Dissallow construction as copy - procLduInterface(const procLduInterface&); + //- No copy construct + procLduInterface(const procLduInterface&) = delete; public: diff --git a/src/OpenFOAM/matrices/LUscalarMatrix/procLduMatrix.H b/src/OpenFOAM/matrices/LUscalarMatrix/procLduMatrix.H index 866670016076449eb6aaea2d91795d1950d7f8ac..d6a0b53b0b71bfb0d0b166bb453e0b6e1b21854f 100644 --- a/src/OpenFOAM/matrices/LUscalarMatrix/procLduMatrix.H +++ b/src/OpenFOAM/matrices/LUscalarMatrix/procLduMatrix.H @@ -73,8 +73,8 @@ class procLduMatrix // Private Member Functions - //- Dissallow construction as copy - procLduMatrix(const procLduMatrix&); + //- No copy construct + procLduMatrix(const procLduMatrix&) = delete; public: diff --git a/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduInterfaceField/LduInterfaceField.H b/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduInterfaceField/LduInterfaceField.H index e1fd26b6c1ca7b4a11828a03ce5941b9c7350f7f..a5eb8aa32f1ac13743e18d662584326402a2954b 100644 --- a/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduInterfaceField/LduInterfaceField.H +++ b/src/OpenFOAM/matrices/LduMatrix/LduMatrix/LduInterfaceField/LduInterfaceField.H @@ -60,11 +60,11 @@ class LduInterfaceField { // Private Member Functions - //- Disallow default bitwise copy construct - LduInterfaceField(const LduInterfaceField&); + //- No copy construct + LduInterfaceField(const LduInterfaceField&) = delete; - //- Disallow default bitwise assignment - void operator=(const LduInterfaceField&); + //- No copy assignment + void operator=(const LduInterfaceField&) = delete; public: diff --git a/src/OpenFOAM/matrices/LduMatrix/Preconditioners/DiagonalPreconditioner/DiagonalPreconditioner.H b/src/OpenFOAM/matrices/LduMatrix/Preconditioners/DiagonalPreconditioner/DiagonalPreconditioner.H index f35342aa8b9808f415d6e0dccaf7092d31a514b3..ab2fd98a52e1e69d331ac4895ea26657a727d7b4 100644 --- a/src/OpenFOAM/matrices/LduMatrix/Preconditioners/DiagonalPreconditioner/DiagonalPreconditioner.H +++ b/src/OpenFOAM/matrices/LduMatrix/Preconditioners/DiagonalPreconditioner/DiagonalPreconditioner.H @@ -62,11 +62,11 @@ class DiagonalPreconditioner // Private Member Functions - //- Disallow default bitwise copy construct - DiagonalPreconditioner(const DiagonalPreconditioner&); + //- No copy construct + DiagonalPreconditioner(const DiagonalPreconditioner&) = delete; - //- Disallow default bitwise assignment - void operator=(const DiagonalPreconditioner&); + //- No copy assignment + void operator=(const DiagonalPreconditioner&) = delete; public: diff --git a/src/OpenFOAM/matrices/LduMatrix/Preconditioners/NoPreconditioner/NoPreconditioner.H b/src/OpenFOAM/matrices/LduMatrix/Preconditioners/NoPreconditioner/NoPreconditioner.H index 856b4673f9724fe71a1a4cbc1022b05df635c733..2bd99d91d46df6b4f43761c07d7be91b92255dc3 100644 --- a/src/OpenFOAM/matrices/LduMatrix/Preconditioners/NoPreconditioner/NoPreconditioner.H +++ b/src/OpenFOAM/matrices/LduMatrix/Preconditioners/NoPreconditioner/NoPreconditioner.H @@ -53,11 +53,11 @@ class NoPreconditioner { // Private Member Functions - //- Disallow default bitwise copy construct - NoPreconditioner(const NoPreconditioner&); + //- No copy construct + NoPreconditioner(const NoPreconditioner&) = delete; - //- Disallow default bitwise assignment - void operator=(const NoPreconditioner&); + //- No copy assignment + void operator=(const NoPreconditioner&) = delete; public: diff --git a/src/OpenFOAM/matrices/LduMatrix/Solvers/DiagonalSolver/DiagonalSolver.H b/src/OpenFOAM/matrices/LduMatrix/Solvers/DiagonalSolver/DiagonalSolver.H index cd771ed8bac8f62ab94ffb74565c09328e3a4b7e..4b596242965401093538e71ae5020d754a93f4e9 100644 --- a/src/OpenFOAM/matrices/LduMatrix/Solvers/DiagonalSolver/DiagonalSolver.H +++ b/src/OpenFOAM/matrices/LduMatrix/Solvers/DiagonalSolver/DiagonalSolver.H @@ -53,11 +53,11 @@ class DiagonalSolver { // Private Member Functions - //- Disallow default bitwise copy construct - DiagonalSolver(const DiagonalSolver&); + //- No copy construct + DiagonalSolver(const DiagonalSolver&) = delete; - //- Disallow default bitwise assignment - void operator=(const DiagonalSolver&); + //- No copy assignment + void operator=(const DiagonalSolver&) = delete; public: diff --git a/src/OpenFOAM/matrices/LduMatrix/Solvers/PBiCCCG/PBiCCCG.H b/src/OpenFOAM/matrices/LduMatrix/Solvers/PBiCCCG/PBiCCCG.H index 1e7c85e41e111f9d89ced43ab77cd2dc7dd739fd..9d03eccfd0151ab5f863e183039389f67e03551f 100644 --- a/src/OpenFOAM/matrices/LduMatrix/Solvers/PBiCCCG/PBiCCCG.H +++ b/src/OpenFOAM/matrices/LduMatrix/Solvers/PBiCCCG/PBiCCCG.H @@ -54,11 +54,11 @@ class PBiCCCG { // Private Member Functions - //- Disallow default bitwise copy construct - PBiCCCG(const PBiCCCG&); + //- No copy construct + PBiCCCG(const PBiCCCG&) = delete; - //- Disallow default bitwise assignment - void operator=(const PBiCCCG&); + //- No copy assignment + void operator=(const PBiCCCG&) = delete; public: diff --git a/src/OpenFOAM/matrices/LduMatrix/Solvers/PBiCICG/PBiCICG.H b/src/OpenFOAM/matrices/LduMatrix/Solvers/PBiCICG/PBiCICG.H index 8f4dd950daf0ca9fbab578cdd5f63e6e5e003ed2..fefdcf16f6b2f9b3dad61cbcfb4a00afdbb1436b 100644 --- a/src/OpenFOAM/matrices/LduMatrix/Solvers/PBiCICG/PBiCICG.H +++ b/src/OpenFOAM/matrices/LduMatrix/Solvers/PBiCICG/PBiCICG.H @@ -54,11 +54,11 @@ class PBiCICG { // Private Member Functions - //- Disallow default bitwise copy construct - PBiCICG(const PBiCICG&); + //- No copy construct + PBiCICG(const PBiCICG&) = delete; - //- Disallow default bitwise assignment - void operator=(const PBiCICG&); + //- No copy assignment + void operator=(const PBiCICG&) = delete; public: diff --git a/src/OpenFOAM/matrices/LduMatrix/Solvers/PCICG/PCICG.H b/src/OpenFOAM/matrices/LduMatrix/Solvers/PCICG/PCICG.H index 7a6d01ff5004528e70f857738331c285453d4a51..7e4572ced90c2639861644431c841054444f19e4 100644 --- a/src/OpenFOAM/matrices/LduMatrix/Solvers/PCICG/PCICG.H +++ b/src/OpenFOAM/matrices/LduMatrix/Solvers/PCICG/PCICG.H @@ -54,11 +54,11 @@ class PCICG { // Private Member Functions - //- Disallow default bitwise copy construct - PCICG(const PCICG&); + //- No copy construct + PCICG(const PCICG&) = delete; - //- Disallow default bitwise assignment - void operator=(const PCICG&); + //- No copy assignment + void operator=(const PCICG&) = delete; public: diff --git a/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduAddressing.H b/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduAddressing.H index fa405d37382f64f63105678f6271a008497cdef3..7930f881578845db4844cc31608bbe9a24267fbe 100644 --- a/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduAddressing.H +++ b/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduAddressing.H @@ -131,11 +131,11 @@ class lduAddressing // Private Member Functions - //- Disallow default bitwise copy construct - lduAddressing(const lduAddressing&); + //- No copy construct + lduAddressing(const lduAddressing&) = delete; - //- Disallow default bitwise assignment - void operator=(const lduAddressing&); + //- No copy assignment + void operator=(const lduAddressing&) = delete; //- Calculate losort void calcLosort() const; diff --git a/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/lduInterface.H b/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/lduInterface.H index 36c9df427394afd7f8fbf776cf26df330851b016..c60cbd078e376ef1b6ee43f091ec4f0c74e712fb 100644 --- a/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/lduInterface.H +++ b/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterface/lduInterface.H @@ -55,11 +55,11 @@ class lduInterface { // Private Member Functions - //- Disallow default bitwise copy construct - lduInterface(const lduInterface&); + //- No copy construct + lduInterface(const lduInterface&) = delete; - //- Disallow default bitwise assignment - void operator=(const lduInterface&); + //- No copy assignment + void operator=(const lduInterface&) = delete; public: diff --git a/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterfaceFields/lduInterfaceField/lduInterfaceField.H b/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterfaceFields/lduInterfaceField/lduInterfaceField.H index 3ce8c096d660576d0e25a41f6ddadc89e84c35fc..1c17e8442531ad10c9c4f7fc3888019d2697435c 100644 --- a/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterfaceFields/lduInterfaceField/lduInterfaceField.H +++ b/src/OpenFOAM/matrices/lduMatrix/lduAddressing/lduInterfaceFields/lduInterfaceField/lduInterfaceField.H @@ -67,11 +67,11 @@ class lduInterfaceField // Private Member Functions - //- Disallow default bitwise copy construct - lduInterfaceField(const lduInterfaceField&); + //- No copy construct + lduInterfaceField(const lduInterfaceField&) = delete; - //- Disallow default bitwise assignment - void operator=(const lduInterfaceField&); + //- No copy assignment + void operator=(const lduInterfaceField&) = delete; public: diff --git a/src/OpenFOAM/matrices/lduMatrix/preconditioners/FDICPreconditioner/FDICPreconditioner.H b/src/OpenFOAM/matrices/lduMatrix/preconditioners/FDICPreconditioner/FDICPreconditioner.H index a42c9a8b2a90c3ab8d03dd11270f85f1c8cb2182..15a30b2d63a51ef88bd1f3de9491ff4c6a64143e 100644 --- a/src/OpenFOAM/matrices/lduMatrix/preconditioners/FDICPreconditioner/FDICPreconditioner.H +++ b/src/OpenFOAM/matrices/lduMatrix/preconditioners/FDICPreconditioner/FDICPreconditioner.H @@ -67,11 +67,11 @@ class FDICPreconditioner // Private Member Functions - //- Disallow default bitwise copy construct - FDICPreconditioner(const FDICPreconditioner&); + //- No copy construct + FDICPreconditioner(const FDICPreconditioner&) = delete; - //- Disallow default bitwise assignment - void operator=(const FDICPreconditioner&); + //- No copy assignment + void operator=(const FDICPreconditioner&) = delete; public: diff --git a/src/OpenFOAM/matrices/lduMatrix/preconditioners/diagonalPreconditioner/diagonalPreconditioner.H b/src/OpenFOAM/matrices/lduMatrix/preconditioners/diagonalPreconditioner/diagonalPreconditioner.H index 20552e66fdf903b33f84ba97bc35c6cefdec2e7d..083f64d0a4769dd33502c25b55e91eb388f5ec7f 100644 --- a/src/OpenFOAM/matrices/lduMatrix/preconditioners/diagonalPreconditioner/diagonalPreconditioner.H +++ b/src/OpenFOAM/matrices/lduMatrix/preconditioners/diagonalPreconditioner/diagonalPreconditioner.H @@ -64,11 +64,11 @@ class diagonalPreconditioner // Private Member Functions - //- Disallow default bitwise copy construct - diagonalPreconditioner(const diagonalPreconditioner&); + //- No copy construct + diagonalPreconditioner(const diagonalPreconditioner&) = delete; - //- Disallow default bitwise assignment - void operator=(const diagonalPreconditioner&); + //- No copy assignment + void operator=(const diagonalPreconditioner&) = delete; public: diff --git a/src/OpenFOAM/matrices/lduMatrix/preconditioners/noPreconditioner/noPreconditioner.H b/src/OpenFOAM/matrices/lduMatrix/preconditioners/noPreconditioner/noPreconditioner.H index 549f873a9600a67f331774282900fb1e7927d9de..762d5c9f552abd83eb49f46c7fa458d0d9a0fbce 100644 --- a/src/OpenFOAM/matrices/lduMatrix/preconditioners/noPreconditioner/noPreconditioner.H +++ b/src/OpenFOAM/matrices/lduMatrix/preconditioners/noPreconditioner/noPreconditioner.H @@ -55,11 +55,11 @@ class noPreconditioner { // Private Member Functions - //- Disallow default bitwise copy construct - noPreconditioner(const noPreconditioner&); + //- No copy construct + noPreconditioner(const noPreconditioner&) = delete; - //- Disallow default bitwise assignment - void operator=(const noPreconditioner&); + //- No copy assignment + void operator=(const noPreconditioner&) = delete; public: diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGAgglomerations/GAMGAgglomeration/GAMGAgglomeration.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGAgglomerations/GAMGAgglomeration/GAMGAgglomeration.H index ee426f2746fdc03ff222f3cb43abe3489889af98..9a8bb8c05c71db4b96ee5405047672e7bfedec4c 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGAgglomerations/GAMGAgglomeration/GAMGAgglomeration.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGAgglomerations/GAMGAgglomeration/GAMGAgglomeration.H @@ -207,11 +207,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - GAMGAgglomeration(const GAMGAgglomeration&); + //- No copy construct + GAMGAgglomeration(const GAMGAgglomeration&) = delete; - //- Disallow default bitwise assignment - void operator=(const GAMGAgglomeration&); + //- No copy assignment + void operator=(const GAMGAgglomeration&) = delete; public: diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGAgglomerations/dummyAgglomeration/dummyAgglomeration.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGAgglomerations/dummyAgglomeration/dummyAgglomeration.H index 03a6b53e45d68d186bbd96a88f3013ae58b3a6a9..0fa8498a842946fcad747720da74230f8b107cfd 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGAgglomerations/dummyAgglomeration/dummyAgglomeration.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGAgglomerations/dummyAgglomeration/dummyAgglomeration.H @@ -58,11 +58,11 @@ class dummyAgglomeration // Private Member Functions - //- Disallow default bitwise copy construct - dummyAgglomeration(const dummyAgglomeration&); + //- No copy construct + dummyAgglomeration(const dummyAgglomeration&) = delete; - //- Disallow default bitwise assignment - void operator=(const dummyAgglomeration&); + //- No copy assignment + void operator=(const dummyAgglomeration&) = delete; public: diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGAgglomerations/pairGAMGAgglomeration/pairGAMGAgglomeration.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGAgglomerations/pairGAMGAgglomeration/pairGAMGAgglomeration.H index 02d6c5f1c4440dd5e95f67746eee82c14e06218b..283b8c86ea64f9c395318d38f5523e99eae456eb 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGAgglomerations/pairGAMGAgglomeration/pairGAMGAgglomeration.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGAgglomerations/pairGAMGAgglomeration/pairGAMGAgglomeration.H @@ -71,11 +71,11 @@ protected: const scalarField& faceWeights ); - //- Disallow default bitwise copy construct - pairGAMGAgglomeration(const pairGAMGAgglomeration&); + //- No copy construct + pairGAMGAgglomeration(const pairGAMGAgglomeration&) = delete; - //- Disallow default bitwise assignment - void operator=(const pairGAMGAgglomeration&); + //- No copy assignment + void operator=(const pairGAMGAgglomeration&) = delete; public: diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/GAMGProcAgglomeration/GAMGProcAgglomeration.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/GAMGProcAgglomeration/GAMGProcAgglomeration.H index 3bcd7d14fe7c77522c6099ac93347ee614c0a87d..4afe1b1e8afe0865c1a6cd11da728fd58ab5e2f6 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/GAMGProcAgglomeration/GAMGProcAgglomeration.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/GAMGProcAgglomeration/GAMGProcAgglomeration.H @@ -84,11 +84,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - GAMGProcAgglomeration(const GAMGProcAgglomeration&); + //- No copy construct + GAMGProcAgglomeration(const GAMGProcAgglomeration&) = delete; - //- Disallow default bitwise assignment - void operator=(const GAMGProcAgglomeration&); + //- No copy assignment + void operator=(const GAMGProcAgglomeration&) = delete; public: diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/eagerGAMGProcAgglomeration/eagerGAMGProcAgglomeration.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/eagerGAMGProcAgglomeration/eagerGAMGProcAgglomeration.H index 99bc37941c005f6ea55fedc7014ce4620108e582..d2c26945a8e9d8d8c0848a82f4c16c8474d32894 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/eagerGAMGProcAgglomeration/eagerGAMGProcAgglomeration.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/eagerGAMGProcAgglomeration/eagerGAMGProcAgglomeration.H @@ -64,14 +64,14 @@ class eagerGAMGProcAgglomeration // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct eagerGAMGProcAgglomeration ( const eagerGAMGProcAgglomeration& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const eagerGAMGProcAgglomeration&); + //- No copy assignment + void operator=(const eagerGAMGProcAgglomeration&) = delete; public: diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/manualGAMGProcAgglomeration/manualGAMGProcAgglomeration.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/manualGAMGProcAgglomeration/manualGAMGProcAgglomeration.H index a7cdae8e4e6a7e2031fcf4eb061115895667bd51..c2c06536c75c5f3574cea0e979c2083cf97dda21 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/manualGAMGProcAgglomeration/manualGAMGProcAgglomeration.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/manualGAMGProcAgglomeration/manualGAMGProcAgglomeration.H @@ -89,14 +89,14 @@ class manualGAMGProcAgglomeration // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct manualGAMGProcAgglomeration ( const manualGAMGProcAgglomeration& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const manualGAMGProcAgglomeration&); + //- No copy assignment + void operator=(const manualGAMGProcAgglomeration&) = delete; public: diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/masterCoarsestGAMGProcAgglomeration/masterCoarsestGAMGProcAgglomeration.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/masterCoarsestGAMGProcAgglomeration/masterCoarsestGAMGProcAgglomeration.H index fef6b3519c8f8a5035109cdc4859132453d065f0..5718d5fad64f5f7cd301e0194417d7320887d655 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/masterCoarsestGAMGProcAgglomeration/masterCoarsestGAMGProcAgglomeration.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/masterCoarsestGAMGProcAgglomeration/masterCoarsestGAMGProcAgglomeration.H @@ -59,14 +59,14 @@ class masterCoarsestGAMGProcAgglomeration // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct masterCoarsestGAMGProcAgglomeration ( const masterCoarsestGAMGProcAgglomeration& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const masterCoarsestGAMGProcAgglomeration&); + //- No copy assignment + void operator=(const masterCoarsestGAMGProcAgglomeration&) = delete; public: diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/noneGAMGProcAgglomeration/noneGAMGProcAgglomeration.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/noneGAMGProcAgglomeration/noneGAMGProcAgglomeration.H index 253784ba25fd94a45e5ff3a05fd7cf3c97ad953a..f458fb3bce0ebfba7671ee59bcdf012a6471632b 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/noneGAMGProcAgglomeration/noneGAMGProcAgglomeration.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/noneGAMGProcAgglomeration/noneGAMGProcAgglomeration.H @@ -55,14 +55,14 @@ class noneGAMGProcAgglomeration { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct noneGAMGProcAgglomeration ( const noneGAMGProcAgglomeration& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const noneGAMGProcAgglomeration&); + //- No copy assignment + void operator=(const noneGAMGProcAgglomeration&) = delete; public: diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/procFacesGAMGProcAgglomeration/procFacesGAMGProcAgglomeration.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/procFacesGAMGProcAgglomeration/procFacesGAMGProcAgglomeration.H index 5c574c41581443413a67ee504ccb28d554643bd1..e0bd3f15d0a27f0fdcc798bab000fafc1568e8f6 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/procFacesGAMGProcAgglomeration/procFacesGAMGProcAgglomeration.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGProcAgglomerations/procFacesGAMGProcAgglomeration/procFacesGAMGProcAgglomeration.H @@ -87,14 +87,14 @@ class procFacesGAMGProcAgglomeration //- Do we need to agglomerate across processors? bool doProcessorAgglomeration(const lduMesh&) const; - //- Disallow default bitwise copy construct + //- No copy construct procFacesGAMGProcAgglomeration ( const procFacesGAMGProcAgglomeration& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const procFacesGAMGProcAgglomeration&); + //- No copy assignment + void operator=(const procFacesGAMGProcAgglomeration&) = delete; public: diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/GAMGInterfaceField/GAMGInterfaceField.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/GAMGInterfaceField/GAMGInterfaceField.H index cb2c9fecf1396ae1e91510c78a61baf83a9cdf5a..bddead5838f03c011fc077d5c63888db0cc5e2e6 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/GAMGInterfaceField/GAMGInterfaceField.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/GAMGInterfaceField/GAMGInterfaceField.H @@ -61,11 +61,11 @@ class GAMGInterfaceField // Private Member Functions - //- Disallow default bitwise copy construct - GAMGInterfaceField(const GAMGInterfaceField&); + //- No copy construct + GAMGInterfaceField(const GAMGInterfaceField&) = delete; - //- Disallow default bitwise assignment - void operator=(const GAMGInterfaceField&); + //- No copy assignment + void operator=(const GAMGInterfaceField&) = delete; public: diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/cyclicGAMGInterfaceField/cyclicGAMGInterfaceField.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/cyclicGAMGInterfaceField/cyclicGAMGInterfaceField.H index 896db1bc9aaa6bcb30162653db4ad7b06cbeaae3..74356805172730df05389c0390e8f4dca958dc3c 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/cyclicGAMGInterfaceField/cyclicGAMGInterfaceField.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/cyclicGAMGInterfaceField/cyclicGAMGInterfaceField.H @@ -67,11 +67,11 @@ class cyclicGAMGInterfaceField // Private Member Functions - //- Disallow default bitwise copy construct - cyclicGAMGInterfaceField(const cyclicGAMGInterfaceField&); + //- No copy construct + cyclicGAMGInterfaceField(const cyclicGAMGInterfaceField&) = delete; - //- Disallow default bitwise assignment - void operator=(const cyclicGAMGInterfaceField&); + //- No copy assignment + void operator=(const cyclicGAMGInterfaceField&) = delete; public: diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorCyclicGAMGInterfaceField/processorCyclicGAMGInterfaceField.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorCyclicGAMGInterfaceField/processorCyclicGAMGInterfaceField.H index fd6513558620631e8f3efdb7120195cdc35398c7..f2159ecebaf21749965797046728211dabe0b06f 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorCyclicGAMGInterfaceField/processorCyclicGAMGInterfaceField.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorCyclicGAMGInterfaceField/processorCyclicGAMGInterfaceField.H @@ -52,14 +52,14 @@ class processorCyclicGAMGInterfaceField { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct processorCyclicGAMGInterfaceField ( const processorCyclicGAMGInterfaceField& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const processorCyclicGAMGInterfaceField&); + //- No copy assignment + void operator=(const processorCyclicGAMGInterfaceField&) = delete; public: diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorGAMGInterfaceField/processorGAMGInterfaceField.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorGAMGInterfaceField/processorGAMGInterfaceField.H index 4d5b65a05cbefbf3c9659dfff623710ab13752aa..a5ef5ad8e0bdc63465a0d7ba4048c6faff009aa2 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorGAMGInterfaceField/processorGAMGInterfaceField.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaceFields/processorGAMGInterfaceField/processorGAMGInterfaceField.H @@ -83,11 +83,14 @@ class processorGAMGInterfaceField // Private Member Functions - //- Disallow default bitwise copy construct - processorGAMGInterfaceField(const processorGAMGInterfaceField&); + //- No copy construct + processorGAMGInterfaceField + ( + const processorGAMGInterfaceField& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const processorGAMGInterfaceField&); + //- No copy assignment + void operator=(const processorGAMGInterfaceField&) = delete; public: diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/GAMGInterface/GAMGInterface.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/GAMGInterface/GAMGInterface.H index c1b8009f29de001cff013a8e603da9889ba08d58..08490b3ab9b4cc64312d700e400c8387c3a3571c 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/GAMGInterface/GAMGInterface.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/GAMGInterface/GAMGInterface.H @@ -75,11 +75,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - GAMGInterface(const GAMGInterface&); + //- No copy construct + GAMGInterface(const GAMGInterface&) = delete; - //- Disallow default bitwise assignment - void operator=(const GAMGInterface&); + //- No copy assignment + void operator=(const GAMGInterface&) = delete; public: diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/cyclicGAMGInterface/cyclicGAMGInterface.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/cyclicGAMGInterface/cyclicGAMGInterface.H index b5bb64b4525c406dfd7d0c5f874d03f3ac06d1c5..dbaf98dbdbaa3bfc93c6afdaab40d2f9b61ad5a6 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/cyclicGAMGInterface/cyclicGAMGInterface.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/cyclicGAMGInterface/cyclicGAMGInterface.H @@ -69,11 +69,11 @@ class cyclicGAMGInterface // Private Member Functions - //- Disallow default bitwise copy construct - cyclicGAMGInterface(const cyclicGAMGInterface&); + //- No copy construct + cyclicGAMGInterface(const cyclicGAMGInterface&) = delete; - //- Disallow default bitwise assignment - void operator=(const cyclicGAMGInterface&); + //- No copy assignment + void operator=(const cyclicGAMGInterface&) = delete; public: diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/processorCyclicGAMGInterface/processorCyclicGAMGInterface.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/processorCyclicGAMGInterface/processorCyclicGAMGInterface.H index 4f59e6b964a130654bf4e9e01dbaeceb5d584c24..853d4e0656cc3b44de1f7f2ffd4bfc51362ba713 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/processorCyclicGAMGInterface/processorCyclicGAMGInterface.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/processorCyclicGAMGInterface/processorCyclicGAMGInterface.H @@ -53,11 +53,14 @@ class processorCyclicGAMGInterface { // Private Member Functions - //- Disallow default bitwise copy construct - processorCyclicGAMGInterface(const processorCyclicGAMGInterface&); + //- No copy construct + processorCyclicGAMGInterface + ( + const processorCyclicGAMGInterface& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const processorCyclicGAMGInterface&); + //- No copy assignment + void operator=(const processorCyclicGAMGInterface&) = delete; public: diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/processorGAMGInterface/processorGAMGInterface.H b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/processorGAMGInterface/processorGAMGInterface.H index 4a1aa9454c2fc114107ec37006e74a4331b6b6dc..003635087b24e4d8039e7cc7ab9b2d859fefecef 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/processorGAMGInterface/processorGAMGInterface.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/processorGAMGInterface/processorGAMGInterface.H @@ -72,11 +72,11 @@ class processorGAMGInterface // Private Member Functions - //- Disallow default bitwise copy construct - processorGAMGInterface(const processorGAMGInterface&); + //- No copy construct + processorGAMGInterface(const processorGAMGInterface&) = delete; - //- Disallow default bitwise assignment - void operator=(const processorGAMGInterface&); + //- No copy assignment + void operator=(const processorGAMGInterface&) = delete; public: diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/PBiCG/PBiCG.H b/src/OpenFOAM/matrices/lduMatrix/solvers/PBiCG/PBiCG.H index 6e404e9e8314a2790c73fa4fd2018bd76ff56378..f680aa4e4dce2914005d3659065ed15d7f645b46 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/PBiCG/PBiCG.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/PBiCG/PBiCG.H @@ -53,11 +53,11 @@ class PBiCG { // Private Member Functions - //- Disallow default bitwise copy construct - PBiCG(const PBiCG&); + //- No copy construct + PBiCG(const PBiCG&) = delete; - //- Disallow default bitwise assignment - void operator=(const PBiCG&); + //- No copy assignment + void operator=(const PBiCG&) = delete; public: diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/PBiCGStab/PBiCGStab.H b/src/OpenFOAM/matrices/lduMatrix/solvers/PBiCGStab/PBiCGStab.H index 44d9045a4b2238609d0221df5d8057bfdf165d2e..a7dde7e2800f4607449ee7c209ebd509a531784d 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/PBiCGStab/PBiCGStab.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/PBiCGStab/PBiCGStab.H @@ -68,11 +68,11 @@ class PBiCGStab { // Private Member Functions - //- Disallow default bitwise copy construct - PBiCGStab(const PBiCGStab&); + //- No copy construct + PBiCGStab(const PBiCGStab&) = delete; - //- Disallow default bitwise assignment - void operator=(const PBiCGStab&); + //- No copy assignment + void operator=(const PBiCGStab&) = delete; public: diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/PCG/PCG.H b/src/OpenFOAM/matrices/lduMatrix/solvers/PCG/PCG.H index 92b1b02d60f88703bf099ed3fa121b1e3d660657..5e0731214bfb4f327372b6b7bd3836570f9f6dbd 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/PCG/PCG.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/PCG/PCG.H @@ -56,11 +56,11 @@ class PCG { // Private Member Functions - //- Disallow default bitwise copy construct - PCG(const PCG&); + //- No copy construct + PCG(const PCG&) = delete; - //- Disallow default bitwise assignment - void operator=(const PCG&); + //- No copy assignment + void operator=(const PCG&) = delete; public: diff --git a/src/OpenFOAM/matrices/lduMatrix/solvers/diagonalSolver/diagonalSolver.H b/src/OpenFOAM/matrices/lduMatrix/solvers/diagonalSolver/diagonalSolver.H index ea0a754bb17c0c58ff4ffebe07075c7f86df3a2f..c4ae6d523b169d828e1127cacb4882db457ed4fe 100644 --- a/src/OpenFOAM/matrices/lduMatrix/solvers/diagonalSolver/diagonalSolver.H +++ b/src/OpenFOAM/matrices/lduMatrix/solvers/diagonalSolver/diagonalSolver.H @@ -55,11 +55,11 @@ class diagonalSolver { // Private Member Functions - //- Disallow default bitwise copy construct - diagonalSolver(const diagonalSolver&); + //- No copy construct + diagonalSolver(const diagonalSolver&) = delete; - //- Disallow default bitwise assignment - void operator=(const diagonalSolver&); + //- No copy assignment + void operator=(const diagonalSolver&) = delete; public: diff --git a/src/OpenFOAM/matrices/scalarMatrices/SVD/SVD.H b/src/OpenFOAM/matrices/scalarMatrices/SVD/SVD.H index a384f229201d27b9eb45e1a5219d6a4c582d9cfb..83c4e6ea9ba24ddf97f6ae5ecc850c1976fbf99c 100644 --- a/src/OpenFOAM/matrices/scalarMatrices/SVD/SVD.H +++ b/src/OpenFOAM/matrices/scalarMatrices/SVD/SVD.H @@ -71,11 +71,11 @@ class SVD // Private Member Functions - //- Disallow default bitwise copy construct - SVD(const SVD&); + //- No copy construct + SVD(const SVD&) = delete; - //- Disallow default bitwise assignment - void operator=(const SVD&); + //- No copy assignment + void operator=(const SVD&) = delete; template<class T> inline const T sign(const T& a, const T& b); diff --git a/src/OpenFOAM/matrices/solution/solution.H b/src/OpenFOAM/matrices/solution/solution.H index 78d6bb2ea80aa4e68b5bd8792dd9dc964c0beeab..3c07ad5e7728583aec3a56a6f9316ae32e105c23 100644 --- a/src/OpenFOAM/matrices/solution/solution.H +++ b/src/OpenFOAM/matrices/solution/solution.H @@ -79,9 +79,11 @@ class solution //- Read settings from the dictionary void read(const dictionary&); - //- Disallow default bitwise copy construct and assignment - solution(const solution&); - void operator=(const solution&); + //- No copy construct + solution(const solution&) = delete; + + //- No copy assignment + void operator=(const solution&) = delete; public: diff --git a/src/OpenFOAM/matrices/tolerances/tolerances.H b/src/OpenFOAM/matrices/tolerances/tolerances.H index 2c02c29a7acb56804a03f265ce619bdf31b31582..be32a9df5fe801d1a7716dde3804dcf1a74dc0cb 100644 --- a/src/OpenFOAM/matrices/tolerances/tolerances.H +++ b/src/OpenFOAM/matrices/tolerances/tolerances.H @@ -59,9 +59,11 @@ class tolerances // Private Member Functions - //- Disallow default bitwise copy construct and assignment - tolerances(const tolerances&); - void operator=(const tolerances&); + //- No copy construct + tolerances(const tolerances&) = delete; + + //- No copy assignment + void operator=(const tolerances&) = delete; public: diff --git a/src/OpenFOAM/memory/autoPtr/autoPtr.H b/src/OpenFOAM/memory/autoPtr/autoPtr.H index a46ba0d0d1d0aba0120994526d7666dae4f39efb..0d88f1b61bdd7b287bddd6aefd77c2b0c8bca682 100644 --- a/src/OpenFOAM/memory/autoPtr/autoPtr.H +++ b/src/OpenFOAM/memory/autoPtr/autoPtr.H @@ -256,7 +256,7 @@ public: // Housekeeping - //- Disallow assignment from plain pointer + //- No copy assignment from plain pointer // \deprecated Convenient, but uncontrolled access (FEB-2018) void operator=(T* p) = delete; }; diff --git a/src/OpenFOAM/memory/tmp/tmp.H b/src/OpenFOAM/memory/tmp/tmp.H index 736a7c4ccac4c37375636e8ebc0271e7d8bf298c..b315ed34efc8c1e3cfa020e011e51565eeccca1a 100644 --- a/src/OpenFOAM/memory/tmp/tmp.H +++ b/src/OpenFOAM/memory/tmp/tmp.H @@ -241,7 +241,7 @@ public: // Housekeeping - //- Disallow assignment from literal nullptr. + //- No assignment from literal nullptr. // Consistent with run-time check for nullptr on assignment. void operator=(std::nullptr_t) = delete; }; diff --git a/src/OpenFOAM/meshes/data/data.H b/src/OpenFOAM/meshes/data/data.H index 9671fe3020263853e3103f4481a6716cd71aa1e6..c24334928ff7ee32a5b25a476a707a7a5a36852a 100644 --- a/src/OpenFOAM/meshes/data/data.H +++ b/src/OpenFOAM/meshes/data/data.H @@ -62,10 +62,10 @@ class data // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct data(const data&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const data&) = delete; diff --git a/src/OpenFOAM/meshes/lduMesh/lduPrimitiveMesh.H b/src/OpenFOAM/meshes/lduMesh/lduPrimitiveMesh.H index 3c62577e4a564852d52b3950f52364b1b2bbdb0a..12a60773dcebb302b17565cc210ceafc834f5cca 100644 --- a/src/OpenFOAM/meshes/lduMesh/lduPrimitiveMesh.H +++ b/src/OpenFOAM/meshes/lduMesh/lduPrimitiveMesh.H @@ -78,11 +78,11 @@ class lduPrimitiveMesh //- Get size of all meshes static label totalSize(const PtrList<lduPrimitiveMesh>&); - //- Disallow default bitwise copy construct - lduPrimitiveMesh(const lduPrimitiveMesh&); + //- No copy construct + lduPrimitiveMesh(const lduPrimitiveMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const lduPrimitiveMesh&); + //- No copy assignment + void operator=(const lduPrimitiveMesh&) = delete; public: diff --git a/src/OpenFOAM/meshes/meshShapes/cellMatcher/cellMatcher.H b/src/OpenFOAM/meshes/meshShapes/cellMatcher/cellMatcher.H index 3e2fcad6b238a1713b35af846dc2e6016b940a4b..02c0e48367e937d10eb86320c090c2479abbef9d 100644 --- a/src/OpenFOAM/meshes/meshShapes/cellMatcher/cellMatcher.H +++ b/src/OpenFOAM/meshes/meshShapes/cellMatcher/cellMatcher.H @@ -176,8 +176,10 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct and assignment + //- No copy construct cellMatcher(const cellMatcher&) = delete; + + //- No copy assignment cellMatcher& operator=(const cellMatcher&) = delete; diff --git a/src/OpenFOAM/meshes/meshShapes/cellMatcher/hexMatcher.H b/src/OpenFOAM/meshes/meshShapes/cellMatcher/hexMatcher.H index 8959092c574c945129b86c50a67f4082b9e2b6d5..e52ba279142cb3b504ef604ffc2e033c7dc785fc 100644 --- a/src/OpenFOAM/meshes/meshShapes/cellMatcher/hexMatcher.H +++ b/src/OpenFOAM/meshes/meshShapes/cellMatcher/hexMatcher.H @@ -63,10 +63,10 @@ class hexMatcher // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct hexMatcher(const hexMatcher&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment hexMatcher& operator=(const hexMatcher&) = delete; diff --git a/src/OpenFOAM/meshes/meshShapes/cellMatcher/prismMatcher.H b/src/OpenFOAM/meshes/meshShapes/cellMatcher/prismMatcher.H index 5d4b8cfe35f5f4ce08deeba71b3634aab0cca4c6..c4c292f71fa18da334c633633a582519fd663ad0 100644 --- a/src/OpenFOAM/meshes/meshShapes/cellMatcher/prismMatcher.H +++ b/src/OpenFOAM/meshes/meshShapes/cellMatcher/prismMatcher.H @@ -63,10 +63,10 @@ class prismMatcher // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct prismMatcher(const prismMatcher&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment prismMatcher& operator=(const prismMatcher&) = delete; diff --git a/src/OpenFOAM/meshes/meshShapes/cellMatcher/pyrMatcher.H b/src/OpenFOAM/meshes/meshShapes/cellMatcher/pyrMatcher.H index b6ddc60fc2b261c21cd190cc4bc5e366b620011b..a24b5cac58fe73c369bb07b61e3d86ab46c55e41 100644 --- a/src/OpenFOAM/meshes/meshShapes/cellMatcher/pyrMatcher.H +++ b/src/OpenFOAM/meshes/meshShapes/cellMatcher/pyrMatcher.H @@ -63,10 +63,10 @@ class pyrMatcher // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct pyrMatcher(const pyrMatcher&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment pyrMatcher& operator=(const pyrMatcher&) = delete; diff --git a/src/OpenFOAM/meshes/meshShapes/cellMatcher/tetMatcher.H b/src/OpenFOAM/meshes/meshShapes/cellMatcher/tetMatcher.H index e1d3627d3868c6e74c30de266e67564dfd263068..7fef5769f372474330fa0db63a345ca326368d56 100644 --- a/src/OpenFOAM/meshes/meshShapes/cellMatcher/tetMatcher.H +++ b/src/OpenFOAM/meshes/meshShapes/cellMatcher/tetMatcher.H @@ -63,10 +63,10 @@ class tetMatcher // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct tetMatcher(const tetMatcher&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment tetMatcher& operator=(const tetMatcher&) = delete; diff --git a/src/OpenFOAM/meshes/meshShapes/cellMatcher/tetWedgeMatcher.H b/src/OpenFOAM/meshes/meshShapes/cellMatcher/tetWedgeMatcher.H index 7da0e6ed1e3b3b73d3d3b708ac84c250065bda61..5e8b012360d89dba69487775a4696ee1342dcd2c 100644 --- a/src/OpenFOAM/meshes/meshShapes/cellMatcher/tetWedgeMatcher.H +++ b/src/OpenFOAM/meshes/meshShapes/cellMatcher/tetWedgeMatcher.H @@ -63,10 +63,10 @@ class tetWedgeMatcher // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct tetWedgeMatcher(const tetWedgeMatcher&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment tetWedgeMatcher& operator=(const tetWedgeMatcher&) = delete; diff --git a/src/OpenFOAM/meshes/meshShapes/cellMatcher/wedgeMatcher.H b/src/OpenFOAM/meshes/meshShapes/cellMatcher/wedgeMatcher.H index 5ec42255c8c61f1200011d9264c5949111228cab..c61e90e53402f48ed8e101b1256fc3b1692aff0a 100644 --- a/src/OpenFOAM/meshes/meshShapes/cellMatcher/wedgeMatcher.H +++ b/src/OpenFOAM/meshes/meshShapes/cellMatcher/wedgeMatcher.H @@ -63,10 +63,10 @@ class wedgeMatcher // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct wedgeMatcher(const wedgeMatcher&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment wedgeMatcher& operator=(const wedgeMatcher&) = delete; diff --git a/src/OpenFOAM/meshes/pointMesh/pointBoundaryMesh/pointBoundaryMesh.H b/src/OpenFOAM/meshes/pointMesh/pointBoundaryMesh/pointBoundaryMesh.H index f07b03ea9a0f4818830495a770623191040d0109..f0abdc3beb9ffdee06caa55c79ac8d249ff6caae 100644 --- a/src/OpenFOAM/meshes/pointMesh/pointBoundaryMesh/pointBoundaryMesh.H +++ b/src/OpenFOAM/meshes/pointMesh/pointBoundaryMesh/pointBoundaryMesh.H @@ -65,11 +65,11 @@ class pointBoundaryMesh //- Calculate the geometry for the patches (transformation tensors etc.) void calcGeometry(); - //- Disallow default bitwise copy construct - pointBoundaryMesh(const pointBoundaryMesh&); + //- No copy construct + pointBoundaryMesh(const pointBoundaryMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const pointBoundaryMesh&); + //- No copy assignment + void operator=(const pointBoundaryMesh&) = delete; public: diff --git a/src/OpenFOAM/meshes/pointMesh/pointMeshMapper/pointBoundaryMeshMapper.H b/src/OpenFOAM/meshes/pointMesh/pointMeshMapper/pointBoundaryMeshMapper.H index 00331499ca331c6cac15595798985c745f7429db..9680a6c7d7ade6eea9b0ec7208291dcf00992c76 100644 --- a/src/OpenFOAM/meshes/pointMesh/pointMeshMapper/pointBoundaryMeshMapper.H +++ b/src/OpenFOAM/meshes/pointMesh/pointMeshMapper/pointBoundaryMeshMapper.H @@ -50,11 +50,11 @@ class pointBoundaryMeshMapper { // Private Member Functions - //- Disallow default bitwise copy construct - pointBoundaryMeshMapper(const pointBoundaryMeshMapper&); + //- No copy construct + pointBoundaryMeshMapper(const pointBoundaryMeshMapper&) = delete; - //- Disallow default bitwise assignment - void operator=(const pointBoundaryMeshMapper&); + //- No copy assignment + void operator=(const pointBoundaryMeshMapper&) = delete; public: diff --git a/src/OpenFOAM/meshes/pointMesh/pointMeshMapper/pointMapper.H b/src/OpenFOAM/meshes/pointMesh/pointMeshMapper/pointMapper.H index b48c7cb238b24930bc613b82952d6add588b65bf..33a99585dff55b17ec4d4bcb9b014b8559ebf260 100644 --- a/src/OpenFOAM/meshes/pointMesh/pointMeshMapper/pointMapper.H +++ b/src/OpenFOAM/meshes/pointMesh/pointMeshMapper/pointMapper.H @@ -89,11 +89,11 @@ class pointMapper // Private Member Functions - //- Disallow default bitwise copy construct - pointMapper(const pointMapper&); + //- No copy construct + pointMapper(const pointMapper&) = delete; - //- Disallow default bitwise assignment - void operator=(const pointMapper&); + //- No copy assignment + void operator=(const pointMapper&) = delete; //- Calculate addressing for mapping with inserted points diff --git a/src/OpenFOAM/meshes/pointMesh/pointMeshMapper/pointMeshMapper.H b/src/OpenFOAM/meshes/pointMesh/pointMeshMapper/pointMeshMapper.H index f53aa431c400a9725bcfce47bad01d94e9449d33..980aadcfc4ad6387b9db03f3d4cc259f9b796387 100644 --- a/src/OpenFOAM/meshes/pointMesh/pointMeshMapper/pointMeshMapper.H +++ b/src/OpenFOAM/meshes/pointMesh/pointMeshMapper/pointMeshMapper.H @@ -68,11 +68,11 @@ class pointMeshMapper // Private Member Functions - //- Disallow default bitwise copy construct - pointMeshMapper(const pointMeshMapper&); + //- No copy construct + pointMeshMapper(const pointMeshMapper&) = delete; - //- Disallow default bitwise assignment - void operator=(const pointMeshMapper&); + //- No copy assignment + void operator=(const pointMeshMapper&) = delete; public: diff --git a/src/OpenFOAM/meshes/pointMesh/pointMeshMapper/pointPatchMapper.H b/src/OpenFOAM/meshes/pointMesh/pointMeshMapper/pointPatchMapper.H index 54d89cbdefe87141897b59777adf6748c78d8538..8205263795e575bb34acd2c09d8a8eacf794fbb4 100644 --- a/src/OpenFOAM/meshes/pointMesh/pointMeshMapper/pointPatchMapper.H +++ b/src/OpenFOAM/meshes/pointMesh/pointMeshMapper/pointPatchMapper.H @@ -88,14 +88,11 @@ class pointPatchMapper // Private Member Functions - //- Disallow default bitwise copy construct - pointPatchMapper - ( - const pointPatchMapper& - ); + //- No copy construct + pointPatchMapper(const pointPatchMapper&) = delete; - //- Disallow default bitwise assignment - void operator=(const pointPatchMapper&); + //- No copy assignment + void operator=(const pointPatchMapper&) = delete; //- Calculate addressing for mapping with inserted cells diff --git a/src/OpenFOAM/meshes/pointMesh/pointPatches/basic/coupled/coupledPointPatch.H b/src/OpenFOAM/meshes/pointMesh/pointPatches/basic/coupled/coupledPointPatch.H index f1d07d79b98d0c9b38c02013efd183f1cb37e993..d8e306732d51984eb14cabebba928db05d4c660d 100644 --- a/src/OpenFOAM/meshes/pointMesh/pointPatches/basic/coupled/coupledPointPatch.H +++ b/src/OpenFOAM/meshes/pointMesh/pointPatches/basic/coupled/coupledPointPatch.H @@ -53,11 +53,11 @@ class coupledPointPatch { // Private Member Functions - //- Disallow default construct as copy - coupledPointPatch(const coupledPointPatch&); + //- No copy construct + coupledPointPatch(const coupledPointPatch&) = delete; - //- Disallow default assignment - void operator=(const coupledPointPatch&); + //- No copy assignment + void operator=(const coupledPointPatch&) = delete; protected: diff --git a/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/cyclic/cyclicPointPatch.H b/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/cyclic/cyclicPointPatch.H index ffafe9447e0562b473e6bd5f87e5b1c0b41dc314..8831eecbf81930ec4d9d0be5c8faeb9932d0e03a 100644 --- a/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/cyclic/cyclicPointPatch.H +++ b/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/cyclic/cyclicPointPatch.H @@ -60,11 +60,11 @@ class cyclicPointPatch // Private Member Functions - //- Disallow default construct as copy - cyclicPointPatch(const cyclicPointPatch&); + //- No copy construct + cyclicPointPatch(const cyclicPointPatch&) = delete; - //- Disallow default assignment - void operator=(const cyclicPointPatch&); + //- No copy assignment + void operator=(const cyclicPointPatch&) = delete; // Demand driven private data diff --git a/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processor/processorPointPatch.H b/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processor/processorPointPatch.H index 494d995fbfa61cabce39bf34877c5e7dc445cc84..8e1f5603d7b574730ebb0cefab19ed9baaabf1ca 100644 --- a/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processor/processorPointPatch.H +++ b/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processor/processorPointPatch.H @@ -87,11 +87,11 @@ class processorPointPatch virtual void updateMesh(PstreamBuffers&); - //- Disallow default construct as copy - processorPointPatch(const processorPointPatch&); + //- No copy construct + processorPointPatch(const processorPointPatch&) = delete; - //- Disallow default assignment - void operator=(const processorPointPatch&); + //- No copy assignment + void operator=(const processorPointPatch&) = delete; public: diff --git a/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processorCyclic/processorCyclicPointPatch.H b/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processorCyclic/processorCyclicPointPatch.H index 3d2ec76decbcc69848737d5a6b7947ac52aa0fdf..b1a882afca8c94b02dad78c07e095bd8e1cf3281 100644 --- a/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processorCyclic/processorCyclicPointPatch.H +++ b/src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processorCyclic/processorCyclicPointPatch.H @@ -63,11 +63,11 @@ class processorCyclicPointPatch const processorCyclicPolyPatch& procCycPolyPatch_; - //- Disallow default construct as copy - processorCyclicPointPatch(const processorCyclicPointPatch&); + //- No copy construct + processorCyclicPointPatch(const processorCyclicPointPatch&) = delete; - //- Disallow default assignment - void operator=(const processorCyclicPointPatch&); + //- No copy assignment + void operator=(const processorCyclicPointPatch&) = delete; public: diff --git a/src/OpenFOAM/meshes/pointMesh/pointPatches/derived/coupled/coupledFacePointPatch.H b/src/OpenFOAM/meshes/pointMesh/pointPatches/derived/coupled/coupledFacePointPatch.H index 91db5fc8737eb65a1cb84228b9b55a6981bd4e07..0d8f3ada86faed6d3c6c50ba83cd0e620162b80a 100644 --- a/src/OpenFOAM/meshes/pointMesh/pointPatches/derived/coupled/coupledFacePointPatch.H +++ b/src/OpenFOAM/meshes/pointMesh/pointPatches/derived/coupled/coupledFacePointPatch.H @@ -63,11 +63,11 @@ class coupledFacePointPatch // Private Member Functions - //- Disallow default construct as copy - coupledFacePointPatch(const coupledFacePointPatch&); + //- No copy construct + coupledFacePointPatch(const coupledFacePointPatch&) = delete; - //- Disallow default assignment - void operator=(const coupledFacePointPatch&); + //- No copy assignment + void operator=(const coupledFacePointPatch&) = delete; protected: diff --git a/src/OpenFOAM/meshes/pointMesh/pointPatches/facePointPatch/facePointPatch.H b/src/OpenFOAM/meshes/pointMesh/pointPatches/facePointPatch/facePointPatch.H index f5958be5e042a026501c846355be1a04022ac72f..b7dddb59e8a4221a7b180b7f81f47f96f3041d97 100644 --- a/src/OpenFOAM/meshes/pointMesh/pointPatches/facePointPatch/facePointPatch.H +++ b/src/OpenFOAM/meshes/pointMesh/pointPatches/facePointPatch/facePointPatch.H @@ -89,11 +89,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - facePointPatch(const facePointPatch&); + //- No copy construct + facePointPatch(const facePointPatch&) = delete; - //- Disallow default bitwise assignment - void operator=(const facePointPatch&); + //- No copy assignment + void operator=(const facePointPatch&) = delete; public: diff --git a/src/OpenFOAM/meshes/pointMesh/pointPatches/pointPatch/pointPatch.H b/src/OpenFOAM/meshes/pointMesh/pointPatches/pointPatch/pointPatch.H index 4921d7fc4b92bc4c8d3b9e8821c5775b494eb130..51705844bf90220775342fd8c4aa8ee38440652e 100644 --- a/src/OpenFOAM/meshes/pointMesh/pointPatches/pointPatch/pointPatch.H +++ b/src/OpenFOAM/meshes/pointMesh/pointPatches/pointPatch/pointPatch.H @@ -64,11 +64,11 @@ class pointPatch // Private Member Functions - //- Disallow default bitwise copy construct - pointPatch(const pointPatch&); + //- No copy construct + pointPatch(const pointPatch&) = delete; - //- Disallow default bitwise assignment - void operator=(const pointPatch&); + //- No copy assignment + void operator=(const pointPatch&) = delete; protected: diff --git a/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalMeshData.H b/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalMeshData.H index 26b5763d372c4657c3aea20ad2b0e5130a28f7ac..5b0db8f9cacbfb40854b6f1411db99260379438f 100644 --- a/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalMeshData.H +++ b/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalMeshData.H @@ -303,11 +303,11 @@ class globalMeshData void calcGlobalCoPointSlaves() const; - //- Disallow default bitwise copy construct - globalMeshData(const globalMeshData&); + //- No copy construct + globalMeshData(const globalMeshData&) = delete; - //- Disallow default bitwise assignment - void operator=(const globalMeshData&); + //- No copy assignment + void operator=(const globalMeshData&) = delete; public: diff --git a/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.H b/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.H index cfb4f53eea7ccac9e42e9291b955f122db3301cc..18c77b533c2b0e98211fb2b1b1987aa9405153e0 100644 --- a/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.H +++ b/src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.H @@ -262,11 +262,11 @@ class globalPoints const bool mergeSeparated ); - //- Disallow default bitwise copy construct - globalPoints(const globalPoints&); + //- No copy construct + globalPoints(const globalPoints&) = delete; - //- Disallow default bitwise assignment - void operator=(const globalPoints&); + //- No copy assignment + void operator=(const globalPoints&) = delete; public: diff --git a/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/cellMapper/cellMapper.H b/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/cellMapper/cellMapper.H index 03da8e0821be42cd02ac68289610ec4504780533..197d9850d773ab1e34569a1e57a37b40ab34e6cc 100644 --- a/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/cellMapper/cellMapper.H +++ b/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/cellMapper/cellMapper.H @@ -88,11 +88,11 @@ class cellMapper // Private Member Functions - //- Disallow default bitwise copy construct - cellMapper(const cellMapper&); + //- No copy construct + cellMapper(const cellMapper&) = delete; - //- Disallow default bitwise assignment - void operator=(const cellMapper&); + //- No copy assignment + void operator=(const cellMapper&) = delete; //- Calculate addressing for mapping with inserted cells diff --git a/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/faceMapper/faceMapper.H b/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/faceMapper/faceMapper.H index 199481ea710e7fe03e8e84227193055d3ef8f710..545a9bb4fb7515b957e56c95a5c92da3da409bff 100644 --- a/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/faceMapper/faceMapper.H +++ b/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/faceMapper/faceMapper.H @@ -89,11 +89,11 @@ class faceMapper // Private Member Functions - //- Disallow default bitwise copy construct - faceMapper(const faceMapper&); + //- No copy construct + faceMapper(const faceMapper&) = delete; - //- Disallow default bitwise assignment - void operator=(const faceMapper&); + //- No copy assignment + void operator=(const faceMapper&) = delete; //- Calculate addressing for mapping with inserted faces diff --git a/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistributePolyMesh.H b/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistributePolyMesh.H index 2756e15395a5c9749da1419d2550abe987b586ce..63cc7eaf2a9f733688454cac26a90ea3c7b8b7c1 100644 --- a/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistributePolyMesh.H +++ b/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistributePolyMesh.H @@ -101,7 +101,7 @@ class mapDistributePolyMesh void calcPatchSizes(); - //- Disallow copy construct + //- No copy construct mapDistributePolyMesh(const mapDistributePolyMesh&) = delete; diff --git a/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapPolyMesh.H b/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapPolyMesh.H index 5fd06739848eb5a9f036f7bc0789ebc66010369f..992219d729735900b56c1a468e37a19cad9257b9 100644 --- a/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapPolyMesh.H +++ b/src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapPolyMesh.H @@ -272,11 +272,11 @@ class mapPolyMesh // Private Member Functions - //- Disallow default bitwise copy construct - mapPolyMesh(const mapPolyMesh&); + //- No copy construct + mapPolyMesh(const mapPolyMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const mapPolyMesh&); + //- No copy assignment + void operator=(const mapPolyMesh&) = delete; public: diff --git a/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.H b/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.H index 139e4fdbfb493130106b4271f22bfaf17dea0bd9..c7f5ef70c5ca3cc66e2143add48d0206831533e5 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.H +++ b/src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.H @@ -81,10 +81,10 @@ class polyBoundaryMesh //- Calculate the geometry for the patches (transformation tensors etc.) void calcGeometry(); - //- Disallow construct as copy + //- No copy construct polyBoundaryMesh(const polyBoundaryMesh&) = delete; - //- Disallow assignment + //- No copy assignment void operator=(const polyBoundaryMesh&) = delete; diff --git a/src/OpenFOAM/meshes/polyMesh/polyMesh.H b/src/OpenFOAM/meshes/polyMesh/polyMesh.H index da538b05f11f04cfb0990411c0819a1b2b223892..b7c0b5cbf2b41483d9d5bca389f2b03094345660 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyMesh.H +++ b/src/OpenFOAM/meshes/polyMesh/polyMesh.H @@ -189,10 +189,10 @@ private: // Private Member Functions - //- Disallow construct as copy + //- No copy construct polyMesh(const polyMesh&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const polyMesh&) = delete; //- Initialise the polyMesh from the primitive data diff --git a/src/OpenFOAM/meshes/polyMesh/zones/ZoneMesh/ZoneMesh.H b/src/OpenFOAM/meshes/polyMesh/zones/ZoneMesh/ZoneMesh.H index 0179ae6de6f4de70325232d75e818a7f9c426393..94a8aa483c5a6f6010027c95f87f3c88b834ee68 100644 --- a/src/OpenFOAM/meshes/polyMesh/zones/ZoneMesh/ZoneMesh.H +++ b/src/OpenFOAM/meshes/polyMesh/zones/ZoneMesh/ZoneMesh.H @@ -93,10 +93,10 @@ class ZoneMesh ); - //- Disallow construct as copy + //- No copy construct ZoneMesh(const ZoneMesh&) = delete; - //- Disallow assignment + //- No copy assignment void operator=(const ZoneMesh<ZoneType, MeshType>&) = delete; diff --git a/src/OpenFOAM/meshes/polyMesh/zones/cellZone/cellZone.H b/src/OpenFOAM/meshes/polyMesh/zones/cellZone/cellZone.H index ac6b10a9a463f02c8363406ab62e22f4deb48ded..2de745493c6ae4a9135a59107a08b33662a9ec2f 100644 --- a/src/OpenFOAM/meshes/polyMesh/zones/cellZone/cellZone.H +++ b/src/OpenFOAM/meshes/polyMesh/zones/cellZone/cellZone.H @@ -66,7 +66,7 @@ class cellZone // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct cellZone(const cellZone&) = delete; diff --git a/src/OpenFOAM/meshes/polyMesh/zones/faceZone/faceZone.H b/src/OpenFOAM/meshes/polyMesh/zones/faceZone/faceZone.H index 770e018b108d0b85229d6e43ca467ec9e0bfc3ef..384b55777c6677756637df4b45d3d5c8032a5d00 100644 --- a/src/OpenFOAM/meshes/polyMesh/zones/faceZone/faceZone.H +++ b/src/OpenFOAM/meshes/polyMesh/zones/faceZone/faceZone.H @@ -71,10 +71,10 @@ class faceZone //- Set flip-map to uniform value void setFlipMap(const bool val); - //- Disallow default bitwise copy construct + //- No copy construct faceZone(const faceZone&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const faceZone&) = delete; diff --git a/src/OpenFOAM/meshes/polyMesh/zones/pointZone/pointZone.H b/src/OpenFOAM/meshes/polyMesh/zones/pointZone/pointZone.H index ac11398afe721bf8558a4da89fc188c69b95a224..d2b5691cf6bcaca5e0f2fa13d7c0fec4dab19d00 100644 --- a/src/OpenFOAM/meshes/polyMesh/zones/pointZone/pointZone.H +++ b/src/OpenFOAM/meshes/polyMesh/zones/pointZone/pointZone.H @@ -67,7 +67,7 @@ class pointZone { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct pointZone(const pointZone&) = delete; diff --git a/src/OpenFOAM/meshes/polyMesh/zones/zone/zone.H b/src/OpenFOAM/meshes/polyMesh/zones/zone/zone.H index 8d415054dba441aa005793a6def5622a5f17f566..7c3523560392e535e1e99775c0f3744fa4445e46 100644 --- a/src/OpenFOAM/meshes/polyMesh/zones/zone/zone.H +++ b/src/OpenFOAM/meshes/polyMesh/zones/zone/zone.H @@ -64,7 +64,7 @@ class zone { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct zone(const zone&) = delete; diff --git a/src/OpenFOAM/meshes/primitiveMesh/primitiveMesh.H b/src/OpenFOAM/meshes/primitiveMesh/primitiveMesh.H index c4d3b34f4646e9f31b4dd030c95f031e6f72cc81..5e1f71275aa5530c5ffc31d4efcf73675821fe78 100644 --- a/src/OpenFOAM/meshes/primitiveMesh/primitiveMesh.H +++ b/src/OpenFOAM/meshes/primitiveMesh/primitiveMesh.H @@ -178,11 +178,11 @@ class primitiveMesh // Private Member Functions - //- Disallow construct as copy - primitiveMesh(const primitiveMesh&); + //- No copy construct + primitiveMesh(const primitiveMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const primitiveMesh&); + //- No copy assignment + void operator=(const primitiveMesh&) = delete; // Topological calculations diff --git a/src/OpenFOAM/meshes/primitiveMesh/primitivePatch/walkPatch.H b/src/OpenFOAM/meshes/primitiveMesh/primitivePatch/walkPatch.H index bd1443a12407363e38e477c7c0fd7ad9e532080f..c7673f4efd88d40f0fa874501cd3cdb8506db81e 100644 --- a/src/OpenFOAM/meshes/primitiveMesh/primitivePatch/walkPatch.H +++ b/src/OpenFOAM/meshes/primitiveMesh/primitivePatch/walkPatch.H @@ -94,11 +94,11 @@ class walkPatch ); - //- Disallow default bitwise copy construct - walkPatch(const walkPatch&); + //- No copy construct + walkPatch(const walkPatch&) = delete; - //- Disallow default bitwise assignment - void operator=(const walkPatch&); + //- No copy assignment + void operator=(const walkPatch&) = delete; public: diff --git a/src/OpenFOAM/primitives/enums/Enum.H b/src/OpenFOAM/primitives/enums/Enum.H index 3329aa12842e934025072e9bb390460043fd4210..5de96faaa94c23be16e90d4a19b049e67b0921a0 100644 --- a/src/OpenFOAM/primitives/enums/Enum.H +++ b/src/OpenFOAM/primitives/enums/Enum.H @@ -85,10 +85,10 @@ class Enum const word& getName(const EnumType e) const; - //- Disallow default bitwise copy construct + //- No copy construct Enum(const Enum&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const Enum&) = delete; diff --git a/src/OpenFOAM/primitives/enums/NamedEnum.H b/src/OpenFOAM/primitives/enums/NamedEnum.H index ff7a0050acb3ec74d0e44b748c62004579044b91..61d0eaf9794217ec2bdbdc9cf2fe8c89d8aa744a 100644 --- a/src/OpenFOAM/primitives/enums/NamedEnum.H +++ b/src/OpenFOAM/primitives/enums/NamedEnum.H @@ -77,10 +77,10 @@ class NamedEnum // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct NamedEnum(const NamedEnum&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const NamedEnum&) = delete; diff --git a/src/OpenFOAM/primitives/functions/Function1/CSV/CSV.H b/src/OpenFOAM/primitives/functions/Function1/CSV/CSV.H index ec2d1a67196bd347a1841a9641300428597a02d7..1f49b2788ed752885816c957e2407276e615950b 100644 --- a/src/OpenFOAM/primitives/functions/Function1/CSV/CSV.H +++ b/src/OpenFOAM/primitives/functions/Function1/CSV/CSV.H @@ -104,7 +104,7 @@ class CSV //- Read the next value from the splitted string Type readValue(const List<string>&); - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const CSV<Type>&) = delete; diff --git a/src/OpenFOAM/primitives/functions/Function1/Constant/Constant.H b/src/OpenFOAM/primitives/functions/Function1/Constant/Constant.H index 7fa5f0acb80f82475050adb5449d8088e71cf176..8a99e33c842258c0faabf0006aa7c41e06eff7f1 100644 --- a/src/OpenFOAM/primitives/functions/Function1/Constant/Constant.H +++ b/src/OpenFOAM/primitives/functions/Function1/Constant/Constant.H @@ -66,7 +66,7 @@ class Constant // Private Member Functions - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const Constant<Type>&) = delete; diff --git a/src/OpenFOAM/primitives/functions/Function1/One/OneConstant.H b/src/OpenFOAM/primitives/functions/Function1/One/OneConstant.H index a13100cdf36694ea2365d6b25c64f338520a2557..19b607bdbd3405be8be65f32c8d075e25e14c2ae 100644 --- a/src/OpenFOAM/primitives/functions/Function1/One/OneConstant.H +++ b/src/OpenFOAM/primitives/functions/Function1/One/OneConstant.H @@ -60,7 +60,7 @@ class OneConstant { // Private Member Functions - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const OneConstant<Type>&) = delete; diff --git a/src/OpenFOAM/primitives/functions/Function1/PolynomialEntry/PolynomialEntry.H b/src/OpenFOAM/primitives/functions/Function1/PolynomialEntry/PolynomialEntry.H index 46348ac3d0089bf81f3e994a7abd24d7146a0af1..f9ebeadc93715eaa9da412c29aabc3e064ad2256 100644 --- a/src/OpenFOAM/primitives/functions/Function1/PolynomialEntry/PolynomialEntry.H +++ b/src/OpenFOAM/primitives/functions/Function1/PolynomialEntry/PolynomialEntry.H @@ -76,7 +76,7 @@ class Polynomial // Private Member Functions - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const Polynomial<Type>&) = delete; diff --git a/src/OpenFOAM/primitives/functions/Function1/Scale/Scale.H b/src/OpenFOAM/primitives/functions/Function1/Scale/Scale.H index ed66ef249e33c21fb5624780cbe15560714881fe..d26c7abf63c7c2a2186ceaa14f7c84d39d49c010 100644 --- a/src/OpenFOAM/primitives/functions/Function1/Scale/Scale.H +++ b/src/OpenFOAM/primitives/functions/Function1/Scale/Scale.H @@ -104,7 +104,7 @@ class Scale //- Read the coefficients from the given dictionary void read(const dictionary& coeffs); - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const Scale<Type>&) = delete; diff --git a/src/OpenFOAM/primitives/functions/Function1/Sine/Sine.H b/src/OpenFOAM/primitives/functions/Function1/Sine/Sine.H index e4962dbf254319fe69623401d5eee91d6fc782cc..0c43ee37983dd3845d20a1603a7340d1197a2b9d 100644 --- a/src/OpenFOAM/primitives/functions/Function1/Sine/Sine.H +++ b/src/OpenFOAM/primitives/functions/Function1/Sine/Sine.H @@ -116,7 +116,7 @@ class Sine //- Read the coefficients from the given dictionary void read(const dictionary& coeffs); - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const Sine<Type>&) = delete; diff --git a/src/OpenFOAM/primitives/functions/Function1/Square/Square.H b/src/OpenFOAM/primitives/functions/Function1/Square/Square.H index 38e5a33d0904652462169ad941d17b090c56fc5c..d1c3abdffd9d3e74981ceed43e61707b01d540a7 100644 --- a/src/OpenFOAM/primitives/functions/Function1/Square/Square.H +++ b/src/OpenFOAM/primitives/functions/Function1/Square/Square.H @@ -123,7 +123,7 @@ class Square //- Read the coefficients from the given dictionary void read(const dictionary& coeffs); - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const Square<Type>&) = delete; diff --git a/src/OpenFOAM/primitives/functions/Function1/Table/Table.H b/src/OpenFOAM/primitives/functions/Function1/Table/Table.H index 931835cb26eef406abe2a2006bbd79c28a920dc0..ae7066f96e537721740bbe5064b20d0defcc45b3 100644 --- a/src/OpenFOAM/primitives/functions/Function1/Table/Table.H +++ b/src/OpenFOAM/primitives/functions/Function1/Table/Table.H @@ -68,7 +68,7 @@ class Table { // Private Member Functions - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const Table<Type>&) = delete; diff --git a/src/OpenFOAM/primitives/functions/Function1/Table/TableBase.H b/src/OpenFOAM/primitives/functions/Function1/Table/TableBase.H index d897be830d92bea6a3c4e659b7c869daf8695be7..260d2318ff4a3d0d96cf415a7fe89c888ac37d3b 100644 --- a/src/OpenFOAM/primitives/functions/Function1/Table/TableBase.H +++ b/src/OpenFOAM/primitives/functions/Function1/Table/TableBase.H @@ -94,7 +94,7 @@ protected: private: - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const TableBase<Type>&) = delete; diff --git a/src/OpenFOAM/primitives/functions/Function1/TableFile/TableFile.H b/src/OpenFOAM/primitives/functions/Function1/TableFile/TableFile.H index f4b70c9bd1a585b3bbb33dc76d4677ff152e3dba..98a68c39fd6f889e0b9d7c30477a94f7797403d7 100644 --- a/src/OpenFOAM/primitives/functions/Function1/TableFile/TableFile.H +++ b/src/OpenFOAM/primitives/functions/Function1/TableFile/TableFile.H @@ -83,7 +83,7 @@ class TableFile // Private Member Functions - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const TableFile<Type>&) = delete; diff --git a/src/OpenFOAM/primitives/functions/Function1/Uniform/Uniform.H b/src/OpenFOAM/primitives/functions/Function1/Uniform/Uniform.H index 836e82dfc87307843265259745bfb9bd4e274ef9..620f141d56a4e4f2a89d56996bfeb774a99bcabe 100644 --- a/src/OpenFOAM/primitives/functions/Function1/Uniform/Uniform.H +++ b/src/OpenFOAM/primitives/functions/Function1/Uniform/Uniform.H @@ -63,8 +63,8 @@ class Uniform { // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const Uniform<Type>&); + //- No copy assignment + void operator=(const Uniform<Type>&) = delete; public: diff --git a/src/OpenFOAM/primitives/functions/Function1/Zero/ZeroConstant.H b/src/OpenFOAM/primitives/functions/Function1/Zero/ZeroConstant.H index a85772e21c5ac9022919f3f95a3f877eb707e2a2..b1626545ef3abaac599b2fb9f9b70b86fe74d456 100644 --- a/src/OpenFOAM/primitives/functions/Function1/Zero/ZeroConstant.H +++ b/src/OpenFOAM/primitives/functions/Function1/Zero/ZeroConstant.H @@ -60,7 +60,7 @@ class ZeroConstant { // Private Member Functions - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const ZeroConstant<Type>&) = delete; diff --git a/src/OpenFOAM/primitives/functions/Function1/halfCosineRamp/halfCosineRamp.H b/src/OpenFOAM/primitives/functions/Function1/halfCosineRamp/halfCosineRamp.H index c326718c0907bba8489eaa0b55f9bd60140cf98d..335f5805d4c897b4d95ba6686d485dcf3219bdb3 100644 --- a/src/OpenFOAM/primitives/functions/Function1/halfCosineRamp/halfCosineRamp.H +++ b/src/OpenFOAM/primitives/functions/Function1/halfCosineRamp/halfCosineRamp.H @@ -58,7 +58,7 @@ class halfCosineRamp { // Private Member Functions - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const halfCosineRamp&) = delete; diff --git a/src/OpenFOAM/primitives/functions/Function1/linearRamp/linearRamp.H b/src/OpenFOAM/primitives/functions/Function1/linearRamp/linearRamp.H index 926a672d18af7622eaaf9285152e7afef2313cc1..b62a2fb198e12803d475e98a08a54a5d333985d7 100644 --- a/src/OpenFOAM/primitives/functions/Function1/linearRamp/linearRamp.H +++ b/src/OpenFOAM/primitives/functions/Function1/linearRamp/linearRamp.H @@ -58,7 +58,7 @@ class linearRamp { // Private Member Functions - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const linearRamp&) = delete; diff --git a/src/OpenFOAM/primitives/functions/Function1/quadraticRamp/quadraticRamp.H b/src/OpenFOAM/primitives/functions/Function1/quadraticRamp/quadraticRamp.H index 3ccecd449ac6a1b7b59c3e7bb4340b7ee637f49e..2f4dd3e1ca793b0ad12e0e0bb8bd68e90c1518b4 100644 --- a/src/OpenFOAM/primitives/functions/Function1/quadraticRamp/quadraticRamp.H +++ b/src/OpenFOAM/primitives/functions/Function1/quadraticRamp/quadraticRamp.H @@ -58,7 +58,7 @@ class quadraticRamp { // Private Member Functions - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const quadraticRamp&) = delete; diff --git a/src/OpenFOAM/primitives/functions/Function1/quarterCosineRamp/quarterCosineRamp.H b/src/OpenFOAM/primitives/functions/Function1/quarterCosineRamp/quarterCosineRamp.H index 5cfb47b560e1560b9e3075d7f19781d3be7927bd..70a7e188d6f30f8401f5d5f173a4119f0944f0fc 100644 --- a/src/OpenFOAM/primitives/functions/Function1/quarterCosineRamp/quarterCosineRamp.H +++ b/src/OpenFOAM/primitives/functions/Function1/quarterCosineRamp/quarterCosineRamp.H @@ -58,7 +58,7 @@ class quarterCosineRamp { // Private Member Functions - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const quarterCosineRamp&) = delete; diff --git a/src/OpenFOAM/primitives/functions/Function1/quarterSineRamp/quarterSineRamp.H b/src/OpenFOAM/primitives/functions/Function1/quarterSineRamp/quarterSineRamp.H index 88b301402a1d9487bc972fb9b2c010d25ca213c5..03d4969213df63e738f3bd131a6cf07d54cad38d 100644 --- a/src/OpenFOAM/primitives/functions/Function1/quarterSineRamp/quarterSineRamp.H +++ b/src/OpenFOAM/primitives/functions/Function1/quarterSineRamp/quarterSineRamp.H @@ -58,7 +58,7 @@ class quarterSineRamp { // Private Member Functions - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const quarterSineRamp&) = delete; diff --git a/src/OpenFOAM/primitives/functions/Function1/ramp/ramp.H b/src/OpenFOAM/primitives/functions/Function1/ramp/ramp.H index b386880ed5f9274af8cb10ea92822fbfa3799b7f..37ff30c749870ce68d43e7511497d3ce37a5f5d2 100644 --- a/src/OpenFOAM/primitives/functions/Function1/ramp/ramp.H +++ b/src/OpenFOAM/primitives/functions/Function1/ramp/ramp.H @@ -108,7 +108,7 @@ private: //- Read the coefficients from the given dictionary void read(const dictionary& coeffs); - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const ramp&) = delete; diff --git a/src/OpenFOAM/primitives/functions/Polynomial/polynomialFunction.H b/src/OpenFOAM/primitives/functions/Polynomial/polynomialFunction.H index 500469d94f5d9f25326521fa2b481d5c416eb010..223b91dc70c35e2c1f25d7bbc6f7fb2b81843947 100644 --- a/src/OpenFOAM/primitives/functions/Polynomial/polynomialFunction.H +++ b/src/OpenFOAM/primitives/functions/Polynomial/polynomialFunction.H @@ -104,8 +104,8 @@ class polynomialFunction ); - //- Disallow default bitwise assignment - void operator=(const polynomialFunction&); + //- No copy assignment + void operator=(const polynomialFunction&) = delete; diff --git a/src/OpenFOAM/primitives/globalIndexAndTransform/globalIndexAndTransform.H b/src/OpenFOAM/primitives/globalIndexAndTransform/globalIndexAndTransform.H index e53a9f71d62f9be24585ae21f73e370a60dc8e52..ff982a66079b9aaeeb09b1ae98ebf64bad291268 100644 --- a/src/OpenFOAM/primitives/globalIndexAndTransform/globalIndexAndTransform.H +++ b/src/OpenFOAM/primitives/globalIndexAndTransform/globalIndexAndTransform.H @@ -150,11 +150,11 @@ private: const labelPair& patchTrafo ) const; - //- Disallow default bitwise copy construct - globalIndexAndTransform(const globalIndexAndTransform&); + //- No copy construct + globalIndexAndTransform(const globalIndexAndTransform&) = delete; - //- Disallow default bitwise assignment - void operator=(const globalIndexAndTransform&); + //- No copy assignment + void operator=(const globalIndexAndTransform&) = delete; public: diff --git a/src/OpenFOAM/primitives/nullObject/nullObject.H b/src/OpenFOAM/primitives/nullObject/nullObject.H index d2316fa5d3774473c036daee264a353988b66c46..b6cae6fb52243e0b97439c0621f1c6569abc4094 100644 --- a/src/OpenFOAM/primitives/nullObject/nullObject.H +++ b/src/OpenFOAM/primitives/nullObject/nullObject.H @@ -70,10 +70,10 @@ class NullObject content{nullptr} {} - //- Disallow default bitwise copy construct + //- No copy construct NullObject(const NullObject&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const NullObject&) = delete; public: diff --git a/src/OpenFOAM/primitives/strings/lists/CStringList.H b/src/OpenFOAM/primitives/strings/lists/CStringList.H index 8ff63775898dce1d120dc7f22a08aa450f8b9bac..55c48c3f9cfd14eb8105ccd7ffd0d82c68b2a519 100644 --- a/src/OpenFOAM/primitives/strings/lists/CStringList.H +++ b/src/OpenFOAM/primitives/strings/lists/CStringList.H @@ -102,10 +102,10 @@ class CStringList int resetContent(const ListType& input); - //- Disallow default bitwise copy construct + //- No copy construct CStringList(const CStringList&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const CStringList&) = delete; diff --git a/src/OpenFOAM/primitives/subModelBase/subModelBase.H b/src/OpenFOAM/primitives/subModelBase/subModelBase.H index a2c194ac2b0c441540a004dd35f19016fd5f2be2..c130cb03b66a322d50ea2bb7b5d3a405b558b3c2 100644 --- a/src/OpenFOAM/primitives/subModelBase/subModelBase.H +++ b/src/OpenFOAM/primitives/subModelBase/subModelBase.H @@ -53,8 +53,8 @@ class subModelBase { // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const subModelBase&); + //- No copy assignment + void operator=(const subModelBase&) = delete; protected: diff --git a/src/TurbulenceModels/compressible/RAS/buoyantKEpsilon/buoyantKEpsilon.H b/src/TurbulenceModels/compressible/RAS/buoyantKEpsilon/buoyantKEpsilon.H index b92b3557bd6c13aad135f61ab981fab065a30678..3a871cf131eefc0edf3a1a9ad75f8524e28e3e26 100644 --- a/src/TurbulenceModels/compressible/RAS/buoyantKEpsilon/buoyantKEpsilon.H +++ b/src/TurbulenceModels/compressible/RAS/buoyantKEpsilon/buoyantKEpsilon.H @@ -84,9 +84,11 @@ class buoyantKEpsilon { // Private Member Functions - // Disallow default bitwise copy construct and assignment - buoyantKEpsilon(const buoyantKEpsilon&); - void operator=(const buoyantKEpsilon&); + //- No copy construct + buoyantKEpsilon(const buoyantKEpsilon&) = delete; + + //- No copy assignment + void operator=(const buoyantKEpsilon&) = delete; protected: diff --git a/src/TurbulenceModels/compressible/compressibleTurbulenceModel.H b/src/TurbulenceModels/compressible/compressibleTurbulenceModel.H index a952fbeadc846ed1603de09f06af2da38a39364e..97d26d860d2ede86873288fc269ae937131db89f 100644 --- a/src/TurbulenceModels/compressible/compressibleTurbulenceModel.H +++ b/src/TurbulenceModels/compressible/compressibleTurbulenceModel.H @@ -73,11 +73,14 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - compressibleTurbulenceModel(const compressibleTurbulenceModel&); + //- No copy construct + compressibleTurbulenceModel + ( + const compressibleTurbulenceModel& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const compressibleTurbulenceModel&); + //- No copy assignment + void operator=(const compressibleTurbulenceModel&) = delete; public: diff --git a/src/TurbulenceModels/incompressible/incompressibleTurbulenceModel.H b/src/TurbulenceModels/incompressible/incompressibleTurbulenceModel.H index 99528cfb18705da227ec09589a768795922dbd8e..2c060041045688d2cf51229c87bd0e5753f51d25 100644 --- a/src/TurbulenceModels/incompressible/incompressibleTurbulenceModel.H +++ b/src/TurbulenceModels/incompressible/incompressibleTurbulenceModel.H @@ -74,11 +74,14 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - incompressibleTurbulenceModel(const incompressibleTurbulenceModel&); + //- No copy construct + incompressibleTurbulenceModel + ( + const incompressibleTurbulenceModel& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const incompressibleTurbulenceModel&); + //- No copy assignment + void operator=(const incompressibleTurbulenceModel&) = delete; public: diff --git a/src/TurbulenceModels/incompressible/turbulentTransportModels/RAS/LamBremhorstKE/LamBremhorstKE.H b/src/TurbulenceModels/incompressible/turbulentTransportModels/RAS/LamBremhorstKE/LamBremhorstKE.H index d45950335a1d33b18e8a2e0643d8620b34bc5f98..f24ddf1d98b14bf8037cf9f3190972c147837119 100644 --- a/src/TurbulenceModels/incompressible/turbulentTransportModels/RAS/LamBremhorstKE/LamBremhorstKE.H +++ b/src/TurbulenceModels/incompressible/turbulentTransportModels/RAS/LamBremhorstKE/LamBremhorstKE.H @@ -68,9 +68,11 @@ class LamBremhorstKE { // Private Member Functions - // Disallow default bitwise copy construct and assignment - LamBremhorstKE(const LamBremhorstKE&); - void operator=(const LamBremhorstKE&); + //- No copy construct + LamBremhorstKE(const LamBremhorstKE&) = delete; + + //- No copy assignment + void operator=(const LamBremhorstKE&) = delete; tmp<volScalarField> Rt() const; tmp<volScalarField> fMu(const volScalarField& Rt) const; diff --git a/src/TurbulenceModels/phaseCompressible/LES/Niceno/NicenoKEqn.H b/src/TurbulenceModels/phaseCompressible/LES/Niceno/NicenoKEqn.H index 70503dbdd88935b3202c6633956ff284be0e7a37..3ce71c75036d75fdae6bb4136fbf632eb7141f61 100644 --- a/src/TurbulenceModels/phaseCompressible/LES/Niceno/NicenoKEqn.H +++ b/src/TurbulenceModels/phaseCompressible/LES/Niceno/NicenoKEqn.H @@ -94,9 +94,11 @@ class NicenoKEqn >& gasTurbulence() const; - // Disallow default bitwise copy construct and assignment - NicenoKEqn(const NicenoKEqn&); - void operator=(const NicenoKEqn&); + //- No copy construct + NicenoKEqn(const NicenoKEqn&) = delete; + + //- No copy assignment + void operator=(const NicenoKEqn&) = delete; protected: diff --git a/src/TurbulenceModels/phaseCompressible/LES/SmagorinskyZhang/SmagorinskyZhang.H b/src/TurbulenceModels/phaseCompressible/LES/SmagorinskyZhang/SmagorinskyZhang.H index e243ba689fddf2c6a71b53d968bc937725e9116e..a79b434a0a4477baf0d6c6265d01b4ec09b16c35 100644 --- a/src/TurbulenceModels/phaseCompressible/LES/SmagorinskyZhang/SmagorinskyZhang.H +++ b/src/TurbulenceModels/phaseCompressible/LES/SmagorinskyZhang/SmagorinskyZhang.H @@ -92,9 +92,11 @@ class SmagorinskyZhang >& gasTurbulence() const; - // Disallow default bitwise copy construct and assignment - SmagorinskyZhang(const SmagorinskyZhang&); - void operator=(const SmagorinskyZhang&); + //- No copy construct + SmagorinskyZhang(const SmagorinskyZhang&) = delete; + + //- No copy assignment + void operator=(const SmagorinskyZhang&) = delete; protected: diff --git a/src/TurbulenceModels/phaseCompressible/LES/continuousGasKEqn/continuousGasKEqn.H b/src/TurbulenceModels/phaseCompressible/LES/continuousGasKEqn/continuousGasKEqn.H index fdf2d237387e1e66fa0ed6455ca74db80a810282..ded941e4feb37f368611d3b274f039d90f8661c4 100644 --- a/src/TurbulenceModels/phaseCompressible/LES/continuousGasKEqn/continuousGasKEqn.H +++ b/src/TurbulenceModels/phaseCompressible/LES/continuousGasKEqn/continuousGasKEqn.H @@ -82,9 +82,11 @@ class continuousGasKEqn // Private Member Functions - // Disallow default bitwise copy construct and assignment - continuousGasKEqn(const continuousGasKEqn&); - void operator=(const continuousGasKEqn&); + //- No copy construct + continuousGasKEqn(const continuousGasKEqn&) = delete; + + //- No copy assignment + void operator=(const continuousGasKEqn&) = delete; protected: diff --git a/src/TurbulenceModels/phaseCompressible/RAS/LaheyKEpsilon/LaheyKEpsilon.H b/src/TurbulenceModels/phaseCompressible/RAS/LaheyKEpsilon/LaheyKEpsilon.H index 86dbf0d6da074689c3c18aacec84bd570ead8913..93dc4bc73ffe68f535f2c6bcd2e4e46ada7bd895 100644 --- a/src/TurbulenceModels/phaseCompressible/RAS/LaheyKEpsilon/LaheyKEpsilon.H +++ b/src/TurbulenceModels/phaseCompressible/RAS/LaheyKEpsilon/LaheyKEpsilon.H @@ -96,9 +96,11 @@ class LaheyKEpsilon >& gasTurbulence() const; - // Disallow default bitwise copy construct and assignment - LaheyKEpsilon(const LaheyKEpsilon&); - void operator=(const LaheyKEpsilon&); + //- No copy construct + LaheyKEpsilon(const LaheyKEpsilon&) = delete; + + //- No copy assignment + void operator=(const LaheyKEpsilon&) = delete; protected: diff --git a/src/TurbulenceModels/phaseCompressible/RAS/continuousGasKEpsilon/continuousGasKEpsilon.H b/src/TurbulenceModels/phaseCompressible/RAS/continuousGasKEpsilon/continuousGasKEpsilon.H index 778a6f7dcb4a6066c44063ea2c0e0a683ab5c87c..a8953e6996c74e1382eae592f20e72b9ebf9380b 100644 --- a/src/TurbulenceModels/phaseCompressible/RAS/continuousGasKEpsilon/continuousGasKEpsilon.H +++ b/src/TurbulenceModels/phaseCompressible/RAS/continuousGasKEpsilon/continuousGasKEpsilon.H @@ -89,9 +89,11 @@ class continuousGasKEpsilon // Private Member Functions - // Disallow default bitwise copy construct and assignment - continuousGasKEpsilon(const continuousGasKEpsilon&); - void operator=(const continuousGasKEpsilon&); + //- No copy construct + continuousGasKEpsilon(const continuousGasKEpsilon&) = delete; + + //- No copy assignment + void operator=(const continuousGasKEpsilon&) = delete; protected: diff --git a/src/TurbulenceModels/phaseCompressible/RAS/kOmegaSSTSato/kOmegaSSTSato.H b/src/TurbulenceModels/phaseCompressible/RAS/kOmegaSSTSato/kOmegaSSTSato.H index ac42f2a77770f128c28ac9af4c85984332b940eb..7d95f518b1aa75b4733bc1cd44f5f99396a4fdee 100644 --- a/src/TurbulenceModels/phaseCompressible/RAS/kOmegaSSTSato/kOmegaSSTSato.H +++ b/src/TurbulenceModels/phaseCompressible/RAS/kOmegaSSTSato/kOmegaSSTSato.H @@ -140,9 +140,11 @@ class kOmegaSSTSato gasTurbulence() const; - // Disallow default bitwise copy construct and assignment - kOmegaSSTSato(const kOmegaSSTSato&); - void operator=(const kOmegaSSTSato&); + //- No copy construct + kOmegaSSTSato(const kOmegaSSTSato&) = delete; + + //- No copy assignment + void operator=(const kOmegaSSTSato&) = delete; protected: diff --git a/src/TurbulenceModels/phaseCompressible/RAS/mixtureKEpsilon/mixtureKEpsilon.H b/src/TurbulenceModels/phaseCompressible/RAS/mixtureKEpsilon/mixtureKEpsilon.H index 09313c1106b4dcf96fd58d1f295e4fa9ea8ebb65..5f0f38b371f48138540663f2e87455f3309047ef 100644 --- a/src/TurbulenceModels/phaseCompressible/RAS/mixtureKEpsilon/mixtureKEpsilon.H +++ b/src/TurbulenceModels/phaseCompressible/RAS/mixtureKEpsilon/mixtureKEpsilon.H @@ -92,9 +92,11 @@ class mixtureKEpsilon // Private Member Functions - // Disallow default bitwise copy construct and assignment - mixtureKEpsilon(const mixtureKEpsilon&); - void operator=(const mixtureKEpsilon&); + //- No copy construct + mixtureKEpsilon(const mixtureKEpsilon&) = delete; + + //- No copy assignment + void operator=(const mixtureKEpsilon&) = delete; //- Return the turbulence model for the other phase mixtureKEpsilon<BasicTurbulenceModel>& liquidTurbulence() const; diff --git a/src/TurbulenceModels/schemes/DEShybrid/DEShybrid.H b/src/TurbulenceModels/schemes/DEShybrid/DEShybrid.H index 645670e9bda06c35c7846c906b7b5096a3619d96..749348005c5da2459a5d4ee79d49ace4adc1c877 100644 --- a/src/TurbulenceModels/schemes/DEShybrid/DEShybrid.H +++ b/src/TurbulenceModels/schemes/DEShybrid/DEShybrid.H @@ -167,11 +167,11 @@ class DEShybrid scalar CH2_; scalar CH3_; - //- Disallow default bitwise copy construct - DEShybrid(const DEShybrid&); + //- No copy construct + DEShybrid(const DEShybrid&) = delete; - //- Disallow default bitwise assignment - void operator=(const DEShybrid&); + //- No copy assignment + void operator=(const DEShybrid&) = delete; // Private Member Functions diff --git a/src/TurbulenceModels/turbulenceModels/Base/kOmegaSST/kOmegaSSTBase.H b/src/TurbulenceModels/turbulenceModels/Base/kOmegaSST/kOmegaSSTBase.H index 3aec24ea6952329e7a4c26ec41d9bf3bcaca86a9..a9c84051e4f7c1db6bcf7e23090588938d074fdd 100644 --- a/src/TurbulenceModels/turbulenceModels/Base/kOmegaSST/kOmegaSSTBase.H +++ b/src/TurbulenceModels/turbulenceModels/Base/kOmegaSST/kOmegaSSTBase.H @@ -129,9 +129,11 @@ class kOmegaSSTBase { // Private Member Functions - // Disallow default bitwise copy construct and assignment - kOmegaSSTBase(const kOmegaSSTBase&); - void operator=(const kOmegaSSTBase&); + //- No copy construct + kOmegaSSTBase(const kOmegaSSTBase&) = delete; + + //- No copy assignment + void operator=(const kOmegaSSTBase&) = delete; protected: diff --git a/src/TurbulenceModels/turbulenceModels/DES/DESModel/DESModel.H b/src/TurbulenceModels/turbulenceModels/DES/DESModel/DESModel.H index a05e3b49d433989a67f22f0d333c64254753671d..d3864adab81dd39038acdc8b4cbb7a837d0be776 100644 --- a/src/TurbulenceModels/turbulenceModels/DES/DESModel/DESModel.H +++ b/src/TurbulenceModels/turbulenceModels/DES/DESModel/DESModel.H @@ -59,11 +59,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - DESModel(const DESModel&); + //- No copy construct + DESModel(const DESModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const DESModel&); + //- No copy assignment + void operator=(const DESModel&) = delete; public: diff --git a/src/TurbulenceModels/turbulenceModels/DES/SpalartAllmarasDDES/SpalartAllmarasDDES.H b/src/TurbulenceModels/turbulenceModels/DES/SpalartAllmarasDDES/SpalartAllmarasDDES.H index e0346cd1f6831b46fcb82aa9be0fc8d31a3c14b2..ea50d5e6a7eff0c534b96f730319b88c920bb8ac 100644 --- a/src/TurbulenceModels/turbulenceModels/DES/SpalartAllmarasDDES/SpalartAllmarasDDES.H +++ b/src/TurbulenceModels/turbulenceModels/DES/SpalartAllmarasDDES/SpalartAllmarasDDES.H @@ -72,9 +72,11 @@ class SpalartAllmarasDDES tmp<volScalarField> rd(const volScalarField& magGradU) const; - // Disallow default bitwise copy construct and assignment - SpalartAllmarasDDES(const SpalartAllmarasDDES&); - void operator=(const SpalartAllmarasDDES&); + //- No copy construct + SpalartAllmarasDDES(const SpalartAllmarasDDES&) = delete; + + //- No copy assignment + void operator=(const SpalartAllmarasDDES&) = delete; protected: diff --git a/src/TurbulenceModels/turbulenceModels/DES/SpalartAllmarasDES/SpalartAllmarasDES.H b/src/TurbulenceModels/turbulenceModels/DES/SpalartAllmarasDES/SpalartAllmarasDES.H index f84f39ec2e3352158ebc12c3baf4b588177ac09f..da0bdfd6c4029735ec6d3f422f352dc6e75d492b 100644 --- a/src/TurbulenceModels/turbulenceModels/DES/SpalartAllmarasDES/SpalartAllmarasDES.H +++ b/src/TurbulenceModels/turbulenceModels/DES/SpalartAllmarasDES/SpalartAllmarasDES.H @@ -81,9 +81,11 @@ class SpalartAllmarasDES { // Private Member Functions - // Disallow default bitwise copy construct and assignment - SpalartAllmarasDES(const SpalartAllmarasDES&); - void operator=(const SpalartAllmarasDES&); + //- No copy construct + SpalartAllmarasDES(const SpalartAllmarasDES&) = delete; + + //- No copy assignment + void operator=(const SpalartAllmarasDES&) = delete; protected: diff --git a/src/TurbulenceModels/turbulenceModels/DES/SpalartAllmarasIDDES/SpalartAllmarasIDDES.H b/src/TurbulenceModels/turbulenceModels/DES/SpalartAllmarasIDDES/SpalartAllmarasIDDES.H index e7243d770876e353f2747fa5e920b240cf8b7bdf..29a950ca282a491ba0104e8a654c04cfd081e377 100644 --- a/src/TurbulenceModels/turbulenceModels/DES/SpalartAllmarasIDDES/SpalartAllmarasIDDES.H +++ b/src/TurbulenceModels/turbulenceModels/DES/SpalartAllmarasIDDES/SpalartAllmarasIDDES.H @@ -84,9 +84,11 @@ class SpalartAllmarasIDDES //- Delay function tmp<volScalarField> fdt(const volScalarField& magGradU) const; - // Disallow default bitwise copy construct and assignment - SpalartAllmarasIDDES(const SpalartAllmarasIDDES&); - void operator=(const SpalartAllmarasIDDES&); + //- No copy construct + SpalartAllmarasIDDES(const SpalartAllmarasIDDES&) = delete; + + //- No copy assignment + void operator=(const SpalartAllmarasIDDES&) = delete; protected: diff --git a/src/TurbulenceModels/turbulenceModels/DES/kOmegaSSTDDES/kOmegaSSTDDES.H b/src/TurbulenceModels/turbulenceModels/DES/kOmegaSSTDDES/kOmegaSSTDDES.H index 80ee1b93111d5d851fcd014708cfc102a1ccd9b7..f61c201210a78b519576737855236548aa738b00 100644 --- a/src/TurbulenceModels/turbulenceModels/DES/kOmegaSSTDDES/kOmegaSSTDDES.H +++ b/src/TurbulenceModels/turbulenceModels/DES/kOmegaSSTDDES/kOmegaSSTDDES.H @@ -70,9 +70,11 @@ class kOmegaSSTDDES tmp<volScalarField> rd(const volScalarField& magGradU) const; - // Disallow default bitwise copy construct and assignment - kOmegaSSTDDES(const kOmegaSSTDDES&); - void operator=(const kOmegaSSTDDES&); + //- No copy construct + kOmegaSSTDDES(const kOmegaSSTDDES&) = delete; + + //- No copy assignment + void operator=(const kOmegaSSTDDES&) = delete; protected: diff --git a/src/TurbulenceModels/turbulenceModels/DES/kOmegaSSTDES/kOmegaSSTDES.H b/src/TurbulenceModels/turbulenceModels/DES/kOmegaSSTDES/kOmegaSSTDES.H index 0f3cda9a9f071f66e93fddbf17982bfea9ba6421..c4a10917f7e37ccb957f2d5563b3780625284fad 100644 --- a/src/TurbulenceModels/turbulenceModels/DES/kOmegaSSTDES/kOmegaSSTDES.H +++ b/src/TurbulenceModels/turbulenceModels/DES/kOmegaSSTDES/kOmegaSSTDES.H @@ -72,9 +72,11 @@ class kOmegaSSTDES { // Private Member Functions - // Disallow default bitwise copy construct and assignment - kOmegaSSTDES(const kOmegaSSTDES&); - void operator=(const kOmegaSSTDES&); + //- No copy construct + kOmegaSSTDES(const kOmegaSSTDES&) = delete; + + //- No copy assignment + void operator=(const kOmegaSSTDES&) = delete; protected: diff --git a/src/TurbulenceModels/turbulenceModels/DES/kOmegaSSTIDDES/kOmegaSSTIDDES.H b/src/TurbulenceModels/turbulenceModels/DES/kOmegaSSTIDDES/kOmegaSSTIDDES.H index e3ae10a2a3ac3b6024c55dc33baa0ec5e423cc59..7cb7f31d2182bb12c86e60a7fa20bc9d5eed2b5a 100644 --- a/src/TurbulenceModels/turbulenceModels/DES/kOmegaSSTIDDES/kOmegaSSTIDDES.H +++ b/src/TurbulenceModels/turbulenceModels/DES/kOmegaSSTIDDES/kOmegaSSTIDDES.H @@ -83,9 +83,11 @@ class kOmegaSSTIDDES //- Delay function tmp<volScalarField> fdt(const volScalarField& magGradU) const; - // Disallow default bitwise copy construct and assignment - kOmegaSSTIDDES(const kOmegaSSTIDDES&); - void operator=(const kOmegaSSTIDDES&); + //- No copy construct + kOmegaSSTIDDES(const kOmegaSSTIDDES&) = delete; + + //- No copy assignment + void operator=(const kOmegaSSTIDDES&) = delete; protected: diff --git a/src/TurbulenceModels/turbulenceModels/LES/DeardorffDiffStress/DeardorffDiffStress.H b/src/TurbulenceModels/turbulenceModels/LES/DeardorffDiffStress/DeardorffDiffStress.H index fd6b47ca50b64a737b17ff135a59a6ac18d19323..26f1907ba2f1cb0dc7413ec34e60a49d78ab2b32 100644 --- a/src/TurbulenceModels/turbulenceModels/LES/DeardorffDiffStress/DeardorffDiffStress.H +++ b/src/TurbulenceModels/turbulenceModels/LES/DeardorffDiffStress/DeardorffDiffStress.H @@ -86,9 +86,11 @@ class DeardorffDiffStress { // Private Member Functions - // Disallow default bitwise copy construct and assignment - DeardorffDiffStress(const DeardorffDiffStress&); - void operator=(const DeardorffDiffStress&); + //- No copy construct + DeardorffDiffStress(const DeardorffDiffStress&) = delete; + + //- No copy assignment + void operator=(const DeardorffDiffStress&) = delete; protected: diff --git a/src/TurbulenceModels/turbulenceModels/LES/LESModel/LESModel.H b/src/TurbulenceModels/turbulenceModels/LES/LESModel/LESModel.H index b3a57319aa86abca94c46a7ca4cca3782bcbae94..d4a4a6322f2f68b6bdd510db327ba54edb6c12ed 100644 --- a/src/TurbulenceModels/turbulenceModels/LES/LESModel/LESModel.H +++ b/src/TurbulenceModels/turbulenceModels/LES/LESModel/LESModel.H @@ -98,11 +98,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - LESModel(const LESModel&); + //- No copy construct + LESModel(const LESModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const LESModel&); + //- No copy assignment + void operator=(const LESModel&) = delete; public: diff --git a/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/IDDESDelta/IDDESDelta.H b/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/IDDESDelta/IDDESDelta.H index 7b9769a948fa75de3013f488cce8589939bec3a9..a5a65147bda0296b9f18911c524a43dd3b1363ba 100644 --- a/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/IDDESDelta/IDDESDelta.H +++ b/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/IDDESDelta/IDDESDelta.H @@ -65,9 +65,11 @@ class IDDESDelta // Private Member Functions - //- Disallow default bitwise copy construct and assignment - IDDESDelta(const IDDESDelta&); - void operator=(const IDDESDelta&); + //- No copy construct + IDDESDelta(const IDDESDelta&) = delete; + + //- No copy assignment + void operator=(const IDDESDelta&) = delete; //- Calculate the delta values void calcDelta(); diff --git a/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/LESdelta/LESdelta.H b/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/LESdelta/LESdelta.H index b4cef870732f27cf800c7d523052ed4771be256b..014b3b71f6b1c22dcee1d24368677208e98daedb 100644 --- a/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/LESdelta/LESdelta.H +++ b/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/LESdelta/LESdelta.H @@ -60,13 +60,13 @@ protected: volScalarField delta_; -private: + // Protected Member Functions - // Private Member Functions + //- No copy construct + LESdelta(const LESdelta&) = delete; - // Disallow default bitwise copy construct and assignment - LESdelta(const LESdelta&); - void operator=(const LESdelta&); + //- No copy assignment + void operator=(const LESdelta&) = delete; public: diff --git a/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/PrandtlDelta/PrandtlDelta.H b/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/PrandtlDelta/PrandtlDelta.H index 59bd48f4f3e0ca4bf54ae0527bad2a22b2819e70..745aeb2532509e12bb5730bc51bdd61e565c0992 100644 --- a/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/PrandtlDelta/PrandtlDelta.H +++ b/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/PrandtlDelta/PrandtlDelta.H @@ -85,9 +85,11 @@ class PrandtlDelta // Private Member Functions - //- Disallow default bitwise copy construct and assignment - PrandtlDelta(const PrandtlDelta&); - void operator=(const PrandtlDelta&); + //- No copy construct + PrandtlDelta(const PrandtlDelta&) = delete; + + //- No copy assignment + void operator=(const PrandtlDelta&) = delete; // Calculate the delta values void calcDelta(); diff --git a/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/cubeRootVolDelta/cubeRootVolDelta.H b/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/cubeRootVolDelta/cubeRootVolDelta.H index 916049ea462cecb2950a8bbc2ae1896ff5b88b15..59b1a1df71055822623cd89206120bf6e307fd0a 100644 --- a/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/cubeRootVolDelta/cubeRootVolDelta.H +++ b/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/cubeRootVolDelta/cubeRootVolDelta.H @@ -59,9 +59,11 @@ class cubeRootVolDelta // Private Member Functions - //- Disallow default bitwise copy construct and assignment - cubeRootVolDelta(const cubeRootVolDelta&); - void operator=(const cubeRootVolDelta&); + //- No copy construct + cubeRootVolDelta(const cubeRootVolDelta&) = delete; + + //- No copy assignment + void operator=(const cubeRootVolDelta&) = delete; public: @@ -82,13 +84,11 @@ public: //- Destructor - virtual ~cubeRootVolDelta() - {} + virtual ~cubeRootVolDelta() = default; // Member Functions - //- Calculate the delta values void calcDelta(); diff --git a/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/maxDeltaxyz/maxDeltaxyz.H b/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/maxDeltaxyz/maxDeltaxyz.H index f981aaf6eab633a5e17121ec932fdc40f5365371..34df52afa53622facb16154390bd20b152048d9f 100644 --- a/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/maxDeltaxyz/maxDeltaxyz.H +++ b/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/maxDeltaxyz/maxDeltaxyz.H @@ -63,9 +63,11 @@ class maxDeltaxyz // Private Member Functions - //- Disallow default bitwise copy construct and assignment - maxDeltaxyz(const maxDeltaxyz&); - void operator=(const maxDeltaxyz&); + //- No copy construct + maxDeltaxyz(const maxDeltaxyz&) = delete; + + //- No copy assignment + void operator=(const maxDeltaxyz&) = delete; public: @@ -86,8 +88,7 @@ public: //- Destructor - virtual ~maxDeltaxyz() - {} + virtual ~maxDeltaxyz() = default; // Member Functions diff --git a/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/maxDeltaxyzCubeRootLESDelta/maxDeltaxyzCubeRootLESDelta.H b/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/maxDeltaxyzCubeRootLESDelta/maxDeltaxyzCubeRootLESDelta.H index a52fe7b78fd641675503f95b281fd200e888ea01..62919588c293f32ded2fbe4193c8aaef458a335b 100644 --- a/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/maxDeltaxyzCubeRootLESDelta/maxDeltaxyzCubeRootLESDelta.H +++ b/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/maxDeltaxyzCubeRootLESDelta/maxDeltaxyzCubeRootLESDelta.H @@ -57,9 +57,14 @@ class maxDeltaxyzCubeRootLESDelta // Private Member Functions - //- Disallow default bitwise copy construct and assignment - maxDeltaxyzCubeRootLESDelta(const maxDeltaxyzCubeRootLESDelta&); - void operator=(const maxDeltaxyzCubeRootLESDelta&); + //- No copy construct + maxDeltaxyzCubeRootLESDelta + ( + const maxDeltaxyzCubeRootLESDelta& + ) = delete; + + //- No copy assignment + void operator=(const maxDeltaxyzCubeRootLESDelta&) = delete; // Calculate the delta values void calcDelta(); @@ -89,8 +94,7 @@ public: //- Destructor - virtual ~maxDeltaxyzCubeRootLESDelta() - {} + virtual ~maxDeltaxyzCubeRootLESDelta() = default; // Member Functions diff --git a/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/smoothDelta/smoothDelta.H b/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/smoothDelta/smoothDelta.H index 5c21dd21df7547efff3b9c19633447b631d2141f..1933303a0f4c2a4a23620b07ee8a474fa14be41a 100644 --- a/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/smoothDelta/smoothDelta.H +++ b/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/smoothDelta/smoothDelta.H @@ -220,9 +220,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct and assignment - smoothDelta(const smoothDelta&); - void operator=(const smoothDelta&); + //- No copy construct and assignment + smoothDelta(const smoothDelta&) = delete; + + //- No copy assignment + void operator=(const smoothDelta&) = delete; // Calculate the delta values void calcDelta(); diff --git a/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/vanDriestDelta/vanDriestDelta.H b/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/vanDriestDelta/vanDriestDelta.H index 81feca5793ce5843adbeb7fa6f75eb4b339b6eab..8271ccd8aeda2d0d2f4c6e00107bc37bc44ec9a9 100644 --- a/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/vanDriestDelta/vanDriestDelta.H +++ b/src/TurbulenceModels/turbulenceModels/LES/LESdeltas/vanDriestDelta/vanDriestDelta.H @@ -63,9 +63,11 @@ class vanDriestDelta // Private Member Functions - //- Disallow default bitwise copy construct and assignment - vanDriestDelta(const vanDriestDelta&); - void operator=(const vanDriestDelta&); + //- No copy construct + vanDriestDelta(const vanDriestDelta&) = delete; + + //- No copy assignment + void operator=(const vanDriestDelta&) = delete; // Calculate the delta values void calcDelta(); diff --git a/src/TurbulenceModels/turbulenceModels/LES/LESeddyViscosity/LESeddyViscosity.H b/src/TurbulenceModels/turbulenceModels/LES/LESeddyViscosity/LESeddyViscosity.H index b98c95e3c17049c43ca185852f3800af8062cb52..e3430d123e0a3ded1d1a23df120f079facb05529 100644 --- a/src/TurbulenceModels/turbulenceModels/LES/LESeddyViscosity/LESeddyViscosity.H +++ b/src/TurbulenceModels/turbulenceModels/LES/LESeddyViscosity/LESeddyViscosity.H @@ -59,9 +59,11 @@ class LESeddyViscosity { // Private Member Functions - // Disallow default bitwise copy construct and assignment - LESeddyViscosity(const LESeddyViscosity&); - void operator=(const LESeddyViscosity&); + //- No copy construct + LESeddyViscosity(const LESeddyViscosity&) = delete; + + //- No copy assignment + void operator=(const LESeddyViscosity&) = delete; protected: diff --git a/src/TurbulenceModels/turbulenceModels/LES/LESfilters/LESfilter/LESfilter.H b/src/TurbulenceModels/turbulenceModels/LES/LESfilters/LESfilter/LESfilter.H index 11c366356d990e4f570865443e82ca1925050edb..2c06fa1313d00b0541940967d10eb568242da79e 100644 --- a/src/TurbulenceModels/turbulenceModels/LES/LESfilters/LESfilter/LESfilter.H +++ b/src/TurbulenceModels/turbulenceModels/LES/LESfilters/LESfilter/LESfilter.H @@ -61,9 +61,11 @@ class LESfilter // Private Member Functions - // Disallow default bitwise copy construct and assignment - LESfilter(const LESfilter&); - void operator=(const LESfilter&); + //- No copy construct + LESfilter(const LESfilter&) = delete; + + //- No copy assignment + void operator=(const LESfilter&) = delete; protected: diff --git a/src/TurbulenceModels/turbulenceModels/LES/LESfilters/anisotropicFilter/anisotropicFilter.H b/src/TurbulenceModels/turbulenceModels/LES/LESfilters/anisotropicFilter/anisotropicFilter.H index aac332e3a5bec276bb7f1bb960c28a2709c444c5..754c8754526b05cb509f7e1084d6786168fd3971 100644 --- a/src/TurbulenceModels/turbulenceModels/LES/LESfilters/anisotropicFilter/anisotropicFilter.H +++ b/src/TurbulenceModels/turbulenceModels/LES/LESfilters/anisotropicFilter/anisotropicFilter.H @@ -66,9 +66,11 @@ class anisotropicFilter // Private Member Functions - // Disallow default bitwise copy construct and assignment - anisotropicFilter(const anisotropicFilter&); - void operator=(const anisotropicFilter&); + //- No copy construct + anisotropicFilter(const anisotropicFilter&) = delete; + + //- No copy assignment + void operator=(const anisotropicFilter&) = delete; public: diff --git a/src/TurbulenceModels/turbulenceModels/LES/LESfilters/laplaceFilter/laplaceFilter.H b/src/TurbulenceModels/turbulenceModels/LES/LESfilters/laplaceFilter/laplaceFilter.H index bb7ad27eec484c428cd6c1e654b919d4a323e78d..5d18a7067ad4ccee1c3cce49d9873885e35c86a1 100644 --- a/src/TurbulenceModels/turbulenceModels/LES/LESfilters/laplaceFilter/laplaceFilter.H +++ b/src/TurbulenceModels/turbulenceModels/LES/LESfilters/laplaceFilter/laplaceFilter.H @@ -66,9 +66,11 @@ class laplaceFilter // Private Member Functions - //- Disallow default bitwise copy construct and assignment - laplaceFilter(const laplaceFilter&); - void operator=(const laplaceFilter&); + //- No copy construct + laplaceFilter(const laplaceFilter&) = delete; + + //- No copy assignment + void operator=(const laplaceFilter&) = delete; public: @@ -87,8 +89,7 @@ public: //- Destructor - virtual ~laplaceFilter() - {} + virtual ~laplaceFilter() = default; // Member Functions diff --git a/src/TurbulenceModels/turbulenceModels/LES/LESfilters/simpleFilter/simpleFilter.H b/src/TurbulenceModels/turbulenceModels/LES/LESfilters/simpleFilter/simpleFilter.H index f14af21b21c48bf5006488bb8027a4182159b524..5e11d29cfb1c05632467df4f7f100d1559f86f67 100644 --- a/src/TurbulenceModels/turbulenceModels/LES/LESfilters/simpleFilter/simpleFilter.H +++ b/src/TurbulenceModels/turbulenceModels/LES/LESfilters/simpleFilter/simpleFilter.H @@ -55,9 +55,11 @@ class simpleFilter { // Private Member Functions - //- Disallow default bitwise copy construct and assignment - simpleFilter(const simpleFilter&); - void operator=(const simpleFilter&); + //- No copy construct + simpleFilter(const simpleFilter&) = delete; + + //- No copy assignment + void operator=(const simpleFilter&) = delete; public: @@ -76,8 +78,7 @@ public: //- Destructor - virtual ~simpleFilter() - {} + virtual ~simpleFilter() = default; // Member Functions diff --git a/src/TurbulenceModels/turbulenceModels/LES/Smagorinsky/Smagorinsky.H b/src/TurbulenceModels/turbulenceModels/LES/Smagorinsky/Smagorinsky.H index 7fb9654a4ae521dec519351d5b14399d0b574674..9a4f2df77ab82ac6a69f8e0a31c8952c5efc106c 100644 --- a/src/TurbulenceModels/turbulenceModels/LES/Smagorinsky/Smagorinsky.H +++ b/src/TurbulenceModels/turbulenceModels/LES/Smagorinsky/Smagorinsky.H @@ -93,9 +93,11 @@ class Smagorinsky { // Private Member Functions - // Disallow default bitwise copy construct and assignment - Smagorinsky(const Smagorinsky&); - void operator=(const Smagorinsky&); + //- No copy construct + Smagorinsky(const Smagorinsky&) = delete; + + //- No copy assignment + void operator=(const Smagorinsky&) = delete; protected: diff --git a/src/TurbulenceModels/turbulenceModels/LES/WALE/WALE.H b/src/TurbulenceModels/turbulenceModels/LES/WALE/WALE.H index 34f796d164792f874ee5151d1b5ddd4753ed4cf8..b16252d033ac6588257288dd417520c08faaeba9 100644 --- a/src/TurbulenceModels/turbulenceModels/LES/WALE/WALE.H +++ b/src/TurbulenceModels/turbulenceModels/LES/WALE/WALE.H @@ -80,9 +80,11 @@ class WALE { // Private Member Functions - // Disallow default bitwise copy construct and assignment - WALE(const WALE&); - void operator=(const WALE&); + //- No copy construct + WALE(const WALE&) = delete; + + //- No copy assignment + void operator=(const WALE&) = delete; protected: diff --git a/src/TurbulenceModels/turbulenceModels/LES/dynamicKEqn/dynamicKEqn.H b/src/TurbulenceModels/turbulenceModels/LES/dynamicKEqn/dynamicKEqn.H index cc2bf38e42c2ab352a79e5e82befc003a29b8a6b..b013a6b764f12a94f909119b9a404a71b846ec64 100644 --- a/src/TurbulenceModels/turbulenceModels/LES/dynamicKEqn/dynamicKEqn.H +++ b/src/TurbulenceModels/turbulenceModels/LES/dynamicKEqn/dynamicKEqn.H @@ -80,9 +80,11 @@ class dynamicKEqn { // Private Member Functions - // Disallow default bitwise copy construct and assignment - dynamicKEqn(const dynamicKEqn&); - void operator=(const dynamicKEqn&); + //- No copy construct + dynamicKEqn(const dynamicKEqn&) = delete; + + //- No copy assignment + void operator=(const dynamicKEqn&) = delete; protected: diff --git a/src/TurbulenceModels/turbulenceModels/LES/dynamicLagrangian/dynamicLagrangian.H b/src/TurbulenceModels/turbulenceModels/LES/dynamicLagrangian/dynamicLagrangian.H index 5b4580e8692287eebbbf8d9a4f94aca07b681635..6d0d5d9f544bc3a712881e8a97f0db1b10de80a7 100644 --- a/src/TurbulenceModels/turbulenceModels/LES/dynamicLagrangian/dynamicLagrangian.H +++ b/src/TurbulenceModels/turbulenceModels/LES/dynamicLagrangian/dynamicLagrangian.H @@ -66,9 +66,11 @@ class dynamicLagrangian { // Private Member Functions - // Disallow default bitwise copy construct and assignment - dynamicLagrangian(const dynamicLagrangian&); - void operator=(const dynamicLagrangian&); + //- No copy construct + dynamicLagrangian(const dynamicLagrangian&) = delete; + + //- No copy assignment + void operator=(const dynamicLagrangian&) = delete; protected: diff --git a/src/TurbulenceModels/turbulenceModels/LES/kEqn/kEqn.H b/src/TurbulenceModels/turbulenceModels/LES/kEqn/kEqn.H index c5e6ecbd66ef0ffa32582196376de232ca7163a3..92b8efce861a441d3daa900dc4db9790cb09e0c5 100644 --- a/src/TurbulenceModels/turbulenceModels/LES/kEqn/kEqn.H +++ b/src/TurbulenceModels/turbulenceModels/LES/kEqn/kEqn.H @@ -76,13 +76,6 @@ class kEqn : public LESeddyViscosity<BasicTurbulenceModel> { - // Private Member Functions - - // Disallow default bitwise copy construct and assignment - kEqn(const kEqn&); - void operator=(const kEqn&); - - protected: // Protected data @@ -99,6 +92,13 @@ protected: // Protected Member Functions + //- No copy construct + kEqn(const kEqn&) = delete; + + //- No copy assignment + void operator=(const kEqn&) = delete; + + virtual void correctNut(); virtual tmp<fvScalarMatrix> kSource() const; diff --git a/src/TurbulenceModels/turbulenceModels/RAS/LRR/LRR.H b/src/TurbulenceModels/turbulenceModels/RAS/LRR/LRR.H index 08ac25e6f0858e9f767ec0c3bfcba312d6e6fe6e..befe39dca03c4014d31a300166988b58d77afd43 100644 --- a/src/TurbulenceModels/turbulenceModels/RAS/LRR/LRR.H +++ b/src/TurbulenceModels/turbulenceModels/RAS/LRR/LRR.H @@ -104,9 +104,11 @@ class LRR { // Private Member Functions - // Disallow default bitwise copy construct and assignment - LRR(const LRR&); - void operator=(const LRR&); + //- No copy construct + LRR(const LRR&) = delete; + + //- No copy assignment + void operator=(const LRR&) = delete; protected: diff --git a/src/TurbulenceModels/turbulenceModels/RAS/LaunderSharmaKE/LaunderSharmaKE.H b/src/TurbulenceModels/turbulenceModels/RAS/LaunderSharmaKE/LaunderSharmaKE.H index f919a54435e60f945a648258040456a9e6e34c0d..98b6d9a387260e13037e913da02d00502c4c7e70 100644 --- a/src/TurbulenceModels/turbulenceModels/RAS/LaunderSharmaKE/LaunderSharmaKE.H +++ b/src/TurbulenceModels/turbulenceModels/RAS/LaunderSharmaKE/LaunderSharmaKE.H @@ -88,9 +88,11 @@ class LaunderSharmaKE { // Private Member Functions - // Disallow default bitwise copy construct and assignment - LaunderSharmaKE(const LaunderSharmaKE&); - void operator=(const LaunderSharmaKE&); + //- No copy construct + LaunderSharmaKE(const LaunderSharmaKE&) = delete; + + //- No copy assignment + void operator=(const LaunderSharmaKE&) = delete; protected: diff --git a/src/TurbulenceModels/turbulenceModels/RAS/RASModel/RASModel.H b/src/TurbulenceModels/turbulenceModels/RAS/RASModel/RASModel.H index cf862ef5e3983c4bf563b8d47ff58ab8e1b2f9bf..cbba812d8b7f422957bf47bb9092d6f5baa43917 100644 --- a/src/TurbulenceModels/turbulenceModels/RAS/RASModel/RASModel.H +++ b/src/TurbulenceModels/turbulenceModels/RAS/RASModel/RASModel.H @@ -88,11 +88,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - RASModel(const RASModel&); + //- No copy construct + RASModel(const RASModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const RASModel&); + //- No copy assignment + void operator=(const RASModel&) = delete; public: diff --git a/src/TurbulenceModels/turbulenceModels/RAS/RNGkEpsilon/RNGkEpsilon.H b/src/TurbulenceModels/turbulenceModels/RAS/RNGkEpsilon/RNGkEpsilon.H index 374a74bfc771a61908ab98b451668d326b3fdd08..623a03c0cb87572acc3244a11f31649924d1de9d 100644 --- a/src/TurbulenceModels/turbulenceModels/RAS/RNGkEpsilon/RNGkEpsilon.H +++ b/src/TurbulenceModels/turbulenceModels/RAS/RNGkEpsilon/RNGkEpsilon.H @@ -89,9 +89,11 @@ class RNGkEpsilon { // Private Member Functions - // Disallow default bitwise copy construct and assignment - RNGkEpsilon(const RNGkEpsilon&); - void operator=(const RNGkEpsilon&); + //- No copy construct + RNGkEpsilon(const RNGkEpsilon&) = delete; + + //- No copy assignment + void operator=(const RNGkEpsilon&) = delete; protected: diff --git a/src/TurbulenceModels/turbulenceModels/RAS/SSG/SSG.H b/src/TurbulenceModels/turbulenceModels/RAS/SSG/SSG.H index 2e3b52a5ee6e94d3fa4fea4e146a5498a5cd7348..d736844d527998f6dc280aadce720ed7d4192385 100644 --- a/src/TurbulenceModels/turbulenceModels/RAS/SSG/SSG.H +++ b/src/TurbulenceModels/turbulenceModels/RAS/SSG/SSG.H @@ -99,9 +99,11 @@ class SSG { // Private Member Functions - // Disallow default bitwise copy construct and assignment - SSG(const SSG&); - void operator=(const SSG&); + //- No copy construct + SSG(const SSG&) = delete; + + //- No copy assignment + void operator=(const SSG&) = delete; protected: diff --git a/src/TurbulenceModels/turbulenceModels/RAS/SpalartAllmaras/SpalartAllmaras.H b/src/TurbulenceModels/turbulenceModels/RAS/SpalartAllmaras/SpalartAllmaras.H index 47694e4ab1b4fb38c1b0650445b9a104e10c71e1..c59d277387fa88b3eb1deabd4250df700b31ac73 100644 --- a/src/TurbulenceModels/turbulenceModels/RAS/SpalartAllmaras/SpalartAllmaras.H +++ b/src/TurbulenceModels/turbulenceModels/RAS/SpalartAllmaras/SpalartAllmaras.H @@ -92,9 +92,11 @@ class SpalartAllmaras { // Private Member Functions - // Disallow default bitwise copy construct and assignment - SpalartAllmaras(const SpalartAllmaras&); - void operator=(const SpalartAllmaras&); + //- No copy construct + SpalartAllmaras(const SpalartAllmaras&) = delete; + + //- No copy assignment + void operator=(const SpalartAllmaras&) = delete; protected: diff --git a/src/TurbulenceModels/turbulenceModels/RAS/kEpsilon/kEpsilon.H b/src/TurbulenceModels/turbulenceModels/RAS/kEpsilon/kEpsilon.H index a4126d2efc26284ed74fd4660069ce8471846216..3f48fa2d7c545c67b085ef10e6649c8e208753b2 100644 --- a/src/TurbulenceModels/turbulenceModels/RAS/kEpsilon/kEpsilon.H +++ b/src/TurbulenceModels/turbulenceModels/RAS/kEpsilon/kEpsilon.H @@ -90,9 +90,11 @@ class kEpsilon { // Private Member Functions - // Disallow default bitwise copy construct and assignment - kEpsilon(const kEpsilon&); - void operator=(const kEpsilon&); + //- No copy construct + kEpsilon(const kEpsilon&) = delete; + + //- No copy assignment + void operator=(const kEpsilon&) = delete; protected: diff --git a/src/TurbulenceModels/turbulenceModels/RAS/kOmegaSST/kOmegaSST.H b/src/TurbulenceModels/turbulenceModels/RAS/kOmegaSST/kOmegaSST.H index 0210d661141c64cfb46f37a7b804ee911a61fb62..b3b49b9876561aa0df0e5bf805b46961ed257c57 100644 --- a/src/TurbulenceModels/turbulenceModels/RAS/kOmegaSST/kOmegaSST.H +++ b/src/TurbulenceModels/turbulenceModels/RAS/kOmegaSST/kOmegaSST.H @@ -130,9 +130,11 @@ class kOmegaSST { // Private Member Functions - // Disallow default bitwise copy construct and assignment - kOmegaSST(const kOmegaSST&); - void operator=(const kOmegaSST&); + //- No copy construct + kOmegaSST(const kOmegaSST&) = delete; + + //- No copy assignment + void operator=(const kOmegaSST&) = delete; protected: diff --git a/src/TurbulenceModels/turbulenceModels/RAS/kOmegaSSTLM/kOmegaSSTLM.H b/src/TurbulenceModels/turbulenceModels/RAS/kOmegaSSTLM/kOmegaSSTLM.H index 88626ff1ed9c5d2e05e9fbc2da6b8f34b093af0c..3af5d4d7dee7a163f3520d6dc24905eef51dfe1f 100644 --- a/src/TurbulenceModels/turbulenceModels/RAS/kOmegaSSTLM/kOmegaSSTLM.H +++ b/src/TurbulenceModels/turbulenceModels/RAS/kOmegaSSTLM/kOmegaSSTLM.H @@ -108,9 +108,11 @@ class kOmegaSSTLM { // Private Member Functions - // Disallow default bitwise copy construct and assignment - kOmegaSSTLM(const kOmegaSSTLM&); - void operator=(const kOmegaSSTLM&); + //- No copy construct + kOmegaSSTLM(const kOmegaSSTLM&) = delete; + + //- No copy assignment + void operator=(const kOmegaSSTLM&) = delete; protected: diff --git a/src/TurbulenceModels/turbulenceModels/RAS/kOmegaSSTSAS/kOmegaSSTSAS.H b/src/TurbulenceModels/turbulenceModels/RAS/kOmegaSSTSAS/kOmegaSSTSAS.H index 19b9db63c72d46467935ebd781a91c0a376265c2..6a86a933eb902f4d8ea9fa4112361c3fed31ef31 100644 --- a/src/TurbulenceModels/turbulenceModels/RAS/kOmegaSSTSAS/kOmegaSSTSAS.H +++ b/src/TurbulenceModels/turbulenceModels/RAS/kOmegaSSTSAS/kOmegaSSTSAS.H @@ -102,9 +102,11 @@ class kOmegaSSTSAS { // Private Member Functions - // Disallow default bitwise copy construct and assignment - kOmegaSSTSAS(const kOmegaSSTSAS&); - void operator=(const kOmegaSSTSAS&); + //- No copy construct + kOmegaSSTSAS(const kOmegaSSTSAS&) = delete; + + //- No copy assignment + void operator=(const kOmegaSSTSAS&) = delete; protected: diff --git a/src/TurbulenceModels/turbulenceModels/TurbulenceModel/TurbulenceModel.H b/src/TurbulenceModels/turbulenceModels/TurbulenceModel/TurbulenceModel.H index 61e0ac3d7f7ff6d8a4965ea194f0099c0bfbb41b..8a820626e2c2b215318d491aed54751b059610fc 100644 --- a/src/TurbulenceModels/turbulenceModels/TurbulenceModel/TurbulenceModel.H +++ b/src/TurbulenceModels/turbulenceModels/TurbulenceModel/TurbulenceModel.H @@ -79,11 +79,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - TurbulenceModel(const TurbulenceModel&); + //- No copy construct + TurbulenceModel(const TurbulenceModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const TurbulenceModel&); + //- No copy assignment + void operator=(const TurbulenceModel&) = delete; public: diff --git a/src/TurbulenceModels/turbulenceModels/laminar/laminarModel/laminarModel.H b/src/TurbulenceModels/turbulenceModels/laminar/laminarModel/laminarModel.H index ad5466e0fff47ddb917e392b061b6354d15da501..dbfb440c228972a309c826210e001136e95f6579 100644 --- a/src/TurbulenceModels/turbulenceModels/laminar/laminarModel/laminarModel.H +++ b/src/TurbulenceModels/turbulenceModels/laminar/laminarModel/laminarModel.H @@ -76,11 +76,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - laminarModel(const laminarModel&); + //- No copy construct + laminarModel(const laminarModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const laminarModel&); + //- No copy assignment + void operator=(const laminarModel&) = delete; public: diff --git a/src/TurbulenceModels/turbulenceModels/turbulenceModel.H b/src/TurbulenceModels/turbulenceModels/turbulenceModel.H index 43b848b23f0383f3f64b957f5a5d3574088f1f73..51b10d16d5a45221cc5a092d9455797529c7d940 100644 --- a/src/TurbulenceModels/turbulenceModels/turbulenceModel.H +++ b/src/TurbulenceModels/turbulenceModels/turbulenceModel.H @@ -82,11 +82,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - turbulenceModel(const turbulenceModel&); + //- No copy construct + turbulenceModel(const turbulenceModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const turbulenceModel&); + //- No copy assignment + void operator=(const turbulenceModel&) = delete; public: diff --git a/src/combustionModels/EDC/EDC.H b/src/combustionModels/EDC/EDC.H index a59fc55bcfc3f37d2a9d5f81c18c8e55027d2b9f..ba57803084a3054c6a9fe5bd4a437c5a8c3932b2 100644 --- a/src/combustionModels/EDC/EDC.H +++ b/src/combustionModels/EDC/EDC.H @@ -151,11 +151,11 @@ class EDC // Private Member Functions - //- Disallow copy construct - EDC(const EDC&); + //- No copy construct + EDC(const EDC&) = delete; - //- Disallow default bitwise assignment - void operator=(const EDC&); + //- No copy assignment + void operator=(const EDC&) = delete; public: diff --git a/src/combustionModels/FSD/FSD.H b/src/combustionModels/FSD/FSD.H index 42854d7b2dbea16f3cf9431c5d1ca8cf195b551f..edbc46d31f7974d32dcd44265207f93c79482273 100644 --- a/src/combustionModels/FSD/FSD.H +++ b/src/combustionModels/FSD/FSD.H @@ -123,11 +123,11 @@ class FSD //- Calculate the normalised fuel source term void calculateSourceNorm(); - //- Disallow copy construct - FSD(const FSD&); + //- No copy construct + FSD(const FSD&) = delete; - //- Disallow default bitwise assignment - void operator=(const FSD&); + //- No copy assignment + void operator=(const FSD&) = delete; public: diff --git a/src/combustionModels/FSD/reactionRateFlameAreaModels/consumptionSpeed/consumptionSpeed.H b/src/combustionModels/FSD/reactionRateFlameAreaModels/consumptionSpeed/consumptionSpeed.H index c7f35d0c7de0d7780892598e27ea0ac2fa61774a..b6eafce5252e8edfb1af1834a77802fa7b505533 100644 --- a/src/combustionModels/FSD/reactionRateFlameAreaModels/consumptionSpeed/consumptionSpeed.H +++ b/src/combustionModels/FSD/reactionRateFlameAreaModels/consumptionSpeed/consumptionSpeed.H @@ -69,11 +69,11 @@ class consumptionSpeed //- Return consumption rate scalar omega0Sigma(scalar sigma, scalar a) const; - //- Disallow copy construct - consumptionSpeed(const consumptionSpeed&); + //- No copy construct + consumptionSpeed(const consumptionSpeed&) = delete; - //- Disallow default bitwise assignment - void operator=(const consumptionSpeed&); + //- No copy assignment + void operator=(const consumptionSpeed&) = delete; public: diff --git a/src/combustionModels/FSD/reactionRateFlameAreaModels/reactionRateFlameArea/reactionRateFlameArea.H b/src/combustionModels/FSD/reactionRateFlameAreaModels/reactionRateFlameArea/reactionRateFlameArea.H index 2efeed191c6befdff8f567f13038106549dcc0ec..5d05f7050577c5cd976469817f56f655112de77f 100644 --- a/src/combustionModels/FSD/reactionRateFlameAreaModels/reactionRateFlameArea/reactionRateFlameArea.H +++ b/src/combustionModels/FSD/reactionRateFlameAreaModels/reactionRateFlameArea/reactionRateFlameArea.H @@ -79,11 +79,11 @@ private: // Private member functions - //- Disallow copy construct - reactionRateFlameArea(const reactionRateFlameArea&); + //- No copy construct + reactionRateFlameArea(const reactionRateFlameArea&) = delete; - //- Disallow default bitwise assignment - void operator=(const reactionRateFlameArea&); + //- No copy assignment + void operator=(const reactionRateFlameArea&) = delete; public: diff --git a/src/combustionModels/FSD/reactionRateFlameAreaModels/relaxation/relaxation.H b/src/combustionModels/FSD/reactionRateFlameAreaModels/relaxation/relaxation.H index 33cead008cef2838ee6e93d3fc017a49251e62cd..3646c4c8f211afe52136a71c754e6ed1ff820320 100644 --- a/src/combustionModels/FSD/reactionRateFlameAreaModels/relaxation/relaxation.H +++ b/src/combustionModels/FSD/reactionRateFlameAreaModels/relaxation/relaxation.H @@ -67,11 +67,11 @@ class relaxation // Private Member Functions - //- Disallow copy construct - relaxation(const relaxation&); + //- No copy construct + relaxation(const relaxation&) = delete; - //- Disallow default bitwise assignment - void operator=(const relaxation&); + //- No copy assignment + void operator=(const relaxation&) = delete; public: diff --git a/src/combustionModels/PaSR/PaSR.H b/src/combustionModels/PaSR/PaSR.H index e83b3eb52e30d47bc883f43ffb951ae77984643a..05310867b948ec0dbdc70fe41d64c720df9cb7f4 100644 --- a/src/combustionModels/PaSR/PaSR.H +++ b/src/combustionModels/PaSR/PaSR.H @@ -71,11 +71,11 @@ class PaSR // Private Member Functions - //- Disallow copy construct - PaSR(const PaSR&); + //- No copy construct + PaSR(const PaSR&) = delete; - //- Disallow default bitwise assignment - void operator=(const PaSR&); + //- No copy assignment + void operator=(const PaSR&) = delete; public: diff --git a/src/combustionModels/combustionModel/combustionModel.H b/src/combustionModels/combustionModel/combustionModel.H index bfb46167b11418384d8e5409b715544a49ae1c67..7f3361e09ad0556aa544d8f7bfe7e06600780d25 100644 --- a/src/combustionModels/combustionModel/combustionModel.H +++ b/src/combustionModels/combustionModel/combustionModel.H @@ -56,11 +56,11 @@ class combustionModel { // Private Member Functions - //- Disallow copy construct - combustionModel(const combustionModel&); + //- No copy construct + combustionModel(const combustionModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const combustionModel&); + //- No copy assignment + void operator=(const combustionModel&) = delete; protected: diff --git a/src/combustionModels/diffusion/diffusion.H b/src/combustionModels/diffusion/diffusion.H index 2a01905b0c1e18188f7bc698495b92c15990c795..ded506ef69e7100612145d02b891e9ad6882e336 100644 --- a/src/combustionModels/diffusion/diffusion.H +++ b/src/combustionModels/diffusion/diffusion.H @@ -69,11 +69,11 @@ class diffusion // Private Member Functions - //- Disallow copy construct - diffusion(const diffusion&); + //- No copy construct + diffusion(const diffusion&) = delete; - //- Disallow default bitwise assignment - void operator=(const diffusion&); + //- No copy assignment + void operator=(const diffusion&) = delete; public: diff --git a/src/combustionModels/diffusionMulticomponent/diffusionMulticomponent.H b/src/combustionModels/diffusionMulticomponent/diffusionMulticomponent.H index 14bfd7b89f1fa3f7344dc8c832c6b9abd7cf2f34..3f7a79c924fd85accf91f39ae3015eec78286a33 100644 --- a/src/combustionModels/diffusionMulticomponent/diffusionMulticomponent.H +++ b/src/combustionModels/diffusionMulticomponent/diffusionMulticomponent.H @@ -151,11 +151,11 @@ class diffusionMulticomponent //- Initialize void init(); - //- Disallow copy construct - diffusionMulticomponent(const diffusionMulticomponent&); + //- No copy construct + diffusionMulticomponent(const diffusionMulticomponent&) = delete; - //- Disallow default bitwise assignment - void operator=(const diffusionMulticomponent&); + //- No copy assignment + void operator=(const diffusionMulticomponent&) = delete; public: diff --git a/src/combustionModels/eddyDissipationDiffusionModel/eddyDissipationDiffusionModel.H b/src/combustionModels/eddyDissipationDiffusionModel/eddyDissipationDiffusionModel.H index 4424628788005b5aca5b7cfa3003d36b45babb17..a4f2785c95d3d433c8064ecb257b873c76757f5e 100644 --- a/src/combustionModels/eddyDissipationDiffusionModel/eddyDissipationDiffusionModel.H +++ b/src/combustionModels/eddyDissipationDiffusionModel/eddyDissipationDiffusionModel.H @@ -68,11 +68,14 @@ class eddyDissipationDiffusionModel // Private member functions - //- Disallow copy construct - eddyDissipationDiffusionModel(const eddyDissipationDiffusionModel&); + //- No copy construct + eddyDissipationDiffusionModel + ( + const eddyDissipationDiffusionModel& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const eddyDissipationDiffusionModel&); + //- No copy assignment + void operator=(const eddyDissipationDiffusionModel&) = delete; public: diff --git a/src/combustionModels/eddyDissipationModelBase/eddyDissipationModelBase.H b/src/combustionModels/eddyDissipationModelBase/eddyDissipationModelBase.H index 6803551d851a80bbb699b6b4b114af26e8414984..8714d37f5fc847e36de0e6ce1068bbbf43e154ab 100644 --- a/src/combustionModels/eddyDissipationModelBase/eddyDissipationModelBase.H +++ b/src/combustionModels/eddyDissipationModelBase/eddyDissipationModelBase.H @@ -64,11 +64,11 @@ class eddyDissipationModelBase // Private Member Functions - //- Disallow copy construct - eddyDissipationModelBase(const eddyDissipationModelBase&); + //- No copy construct + eddyDissipationModelBase(const eddyDissipationModelBase&) = delete; - //- Disallow default bitwise assignment - void operator=(const eddyDissipationModelBase&); + //- No copy assignment + void operator=(const eddyDissipationModelBase&) = delete; public: diff --git a/src/combustionModels/infinitelyFastChemistry/infinitelyFastChemistry.H b/src/combustionModels/infinitelyFastChemistry/infinitelyFastChemistry.H index 8c899b76d5b3234922a506f8fa6f70680a0d4388..0dfcacd32def4b79504203ddfd11d0001df528e0 100644 --- a/src/combustionModels/infinitelyFastChemistry/infinitelyFastChemistry.H +++ b/src/combustionModels/infinitelyFastChemistry/infinitelyFastChemistry.H @@ -66,11 +66,11 @@ class infinitelyFastChemistry // Private Member Functions - //- Disallow copy construct - infinitelyFastChemistry(const infinitelyFastChemistry&); + //- No copy construct + infinitelyFastChemistry(const infinitelyFastChemistry&) = delete; - //- Disallow default bitwise assignment - void operator=(const infinitelyFastChemistry&); + //- No copy assignment + void operator=(const infinitelyFastChemistry&) = delete; public: diff --git a/src/combustionModels/laminar/laminar.H b/src/combustionModels/laminar/laminar.H index 073cd101e515744be537d8dfd7cd3ae6738350f9..dcc562630fd7a6c1218583a1194dd2815bb2c41f 100644 --- a/src/combustionModels/laminar/laminar.H +++ b/src/combustionModels/laminar/laminar.H @@ -71,11 +71,11 @@ private: // Private Member Functions - //- Disallow copy construct - laminar(const laminar&); + //- No copy construct + laminar(const laminar&) = delete; - //- Disallow default bitwise assignment - void operator=(const laminar&); + //- No copy assignment + void operator=(const laminar&) = delete; public: diff --git a/src/combustionModels/noCombustion/noCombustion.H b/src/combustionModels/noCombustion/noCombustion.H index 0438c62121c4b2a1ee873b0bca55daa6343679e7..b9f2663c3ffe49a291c32e5ed5d00385b00ffecc 100644 --- a/src/combustionModels/noCombustion/noCombustion.H +++ b/src/combustionModels/noCombustion/noCombustion.H @@ -55,11 +55,11 @@ class noCombustion public CombThermoType { - //- Disallow copy construct - noCombustion(const noCombustion&); + //- No copy construct + noCombustion(const noCombustion&) = delete; - //- Disallow default bitwise assignment - void operator=(const noCombustion&); + //- No copy assignment + void operator=(const noCombustion&) = delete; public: diff --git a/src/combustionModels/psiCombustionModel/psiChemistryCombustion/psiChemistryCombustion.H b/src/combustionModels/psiCombustionModel/psiChemistryCombustion/psiChemistryCombustion.H index 6da4496659782889ee6b9fcb0aed18653d15aa1e..29bfdf4c354a2067a5f33f2585062dff73b326e9 100644 --- a/src/combustionModels/psiCombustionModel/psiChemistryCombustion/psiChemistryCombustion.H +++ b/src/combustionModels/psiCombustionModel/psiChemistryCombustion/psiChemistryCombustion.H @@ -59,8 +59,8 @@ class psiChemistryCombustion //- Construct as copy (not implemented) psiChemistryCombustion(const psiChemistryCombustion&); - //- Disallow default bitwise assignment - void operator=(const psiChemistryCombustion&); + //- No copy assignment + void operator=(const psiChemistryCombustion&) = delete; protected: diff --git a/src/combustionModels/psiCombustionModel/psiCombustionModel/psiCombustionModel.H b/src/combustionModels/psiCombustionModel/psiCombustionModel/psiCombustionModel.H index ae4a75c41b6d1cebeabeb604906ecf29e880f67d..060b4fae9b6b8d7822fe785e7f9a4d436353f694 100644 --- a/src/combustionModels/psiCombustionModel/psiCombustionModel/psiCombustionModel.H +++ b/src/combustionModels/psiCombustionModel/psiCombustionModel/psiCombustionModel.H @@ -62,8 +62,8 @@ class psiCombustionModel //- Construct as copy (not implemented) psiCombustionModel(const psiCombustionModel&); - //- Disallow default bitwise assignment - void operator=(const psiCombustionModel&); + //- No copy assignment + void operator=(const psiCombustionModel&) = delete; public: diff --git a/src/combustionModels/psiCombustionModel/psiThermoCombustion/psiThermoCombustion.H b/src/combustionModels/psiCombustionModel/psiThermoCombustion/psiThermoCombustion.H index f922e1a44d8ca4fd3e04b61debb7e01b2c9ae455..25c6ca536323eac0e1ed4d10838f4083556600e9 100644 --- a/src/combustionModels/psiCombustionModel/psiThermoCombustion/psiThermoCombustion.H +++ b/src/combustionModels/psiCombustionModel/psiThermoCombustion/psiThermoCombustion.H @@ -59,8 +59,8 @@ class psiThermoCombustion //- Construct as copy (not implemented) psiThermoCombustion(const psiThermoCombustion&); - //- Disallow default bitwise assignment - void operator=(const psiThermoCombustion&); + //- No copy assignment + void operator=(const psiThermoCombustion&) = delete; protected: diff --git a/src/combustionModels/rhoCombustionModel/rhoChemistryCombustion/rhoChemistryCombustion.H b/src/combustionModels/rhoCombustionModel/rhoChemistryCombustion/rhoChemistryCombustion.H index 93d4731026c620ece08f80140c3ed39b255649e3..d5eb38224322459c35afb878be690a18812d46a3 100644 --- a/src/combustionModels/rhoCombustionModel/rhoChemistryCombustion/rhoChemistryCombustion.H +++ b/src/combustionModels/rhoCombustionModel/rhoChemistryCombustion/rhoChemistryCombustion.H @@ -59,8 +59,8 @@ class rhoChemistryCombustion //- Construct as copy (not implemented) rhoChemistryCombustion(const rhoChemistryCombustion&); - //- Disallow default bitwise assignment - void operator=(const rhoChemistryCombustion&); + //- No copy assignment + void operator=(const rhoChemistryCombustion&) = delete; protected: diff --git a/src/combustionModels/rhoCombustionModel/rhoCombustionModel/rhoCombustionModel.H b/src/combustionModels/rhoCombustionModel/rhoCombustionModel/rhoCombustionModel.H index 2e261a5b98c0f3ca708f713fbf25c31029c27c3f..3a8a9175b435112d9af4150feba0eaaf1d0514d7 100644 --- a/src/combustionModels/rhoCombustionModel/rhoCombustionModel/rhoCombustionModel.H +++ b/src/combustionModels/rhoCombustionModel/rhoCombustionModel/rhoCombustionModel.H @@ -63,8 +63,8 @@ class rhoCombustionModel //- Construct as copy (not implemented) rhoCombustionModel(const rhoCombustionModel&); - //- Disallow default bitwise assignment - void operator=(const rhoCombustionModel&); + //- No copy assignment + void operator=(const rhoCombustionModel&) = delete; public: diff --git a/src/combustionModels/rhoCombustionModel/rhoThermoCombustion/rhoThermoCombustion.H b/src/combustionModels/rhoCombustionModel/rhoThermoCombustion/rhoThermoCombustion.H index 43041d46010009a4e70983425c620eda7822b3fb..1362bcead4e5e1b68e3042c5707111784de2a2aa 100644 --- a/src/combustionModels/rhoCombustionModel/rhoThermoCombustion/rhoThermoCombustion.H +++ b/src/combustionModels/rhoCombustionModel/rhoThermoCombustion/rhoThermoCombustion.H @@ -59,8 +59,8 @@ class rhoThermoCombustion //- Construct as copy (not implemented) rhoThermoCombustion(const rhoThermoCombustion&); - //- Disallow default bitwise assignment - void operator=(const rhoThermoCombustion&); + //- No copy assignment + void operator=(const rhoThermoCombustion&) = delete; protected: diff --git a/src/combustionModels/singleStepCombustion/singleStepCombustion.H b/src/combustionModels/singleStepCombustion/singleStepCombustion.H index b7c5cb5c5656c4e7a7a2f503e782633dec5470fb..17219906d58abe24a1b6dc3eb6f2781bdef5217c 100644 --- a/src/combustionModels/singleStepCombustion/singleStepCombustion.H +++ b/src/combustionModels/singleStepCombustion/singleStepCombustion.H @@ -58,11 +58,11 @@ class singleStepCombustion { // Private Member Functions - //- Disallow copy construct - singleStepCombustion(const singleStepCombustion&); + //- No copy construct + singleStepCombustion(const singleStepCombustion&) = delete; - //- Disallow default bitwise assignment - void operator=(const singleStepCombustion&); + //- No copy assignment + void operator=(const singleStepCombustion&) = delete; protected: diff --git a/src/combustionModels/zoneCombustion/zoneCombustion.H b/src/combustionModels/zoneCombustion/zoneCombustion.H index 351b40cab07b664a40f3a921b18a945b19491142..d728732e1d7ec45ab90f409f27228100b1c44e4c 100644 --- a/src/combustionModels/zoneCombustion/zoneCombustion.H +++ b/src/combustionModels/zoneCombustion/zoneCombustion.H @@ -71,11 +71,11 @@ class zoneCombustion //- Filter the given field on the cellZones tmp<volScalarField> filter(const tmp<volScalarField>& tS) const; - //- Disallow copy construct - zoneCombustion(const zoneCombustion&); + //- No copy construct + zoneCombustion(const zoneCombustion&) = delete; - //- Disallow default bitwise assignment - void operator=(const zoneCombustion&); + //- No copy assignment + void operator=(const zoneCombustion&) = delete; public: diff --git a/src/conversion/ccm/common/ccmBase.H b/src/conversion/ccm/common/ccmBase.H index 05daec336e2e585b41166a9db935101161db60a0..4724fac34882a8766aa14b01c8d38a87a1089d00 100644 --- a/src/conversion/ccm/common/ccmBase.H +++ b/src/conversion/ccm/common/ccmBase.H @@ -62,10 +62,10 @@ class base { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct base(const base&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const base&) = delete; diff --git a/src/conversion/ccm/reader/ccmReader.H b/src/conversion/ccm/reader/ccmReader.H index d7790ededab4b10da5827d87dc0966d5a428a79c..7d8427631baed7f3f863df0caa0390591d2e2c1e 100644 --- a/src/conversion/ccm/reader/ccmReader.H +++ b/src/conversion/ccm/reader/ccmReader.H @@ -297,10 +297,10 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct reader(const reader&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const reader&) = delete; diff --git a/src/conversion/ccm/writer/ccmWriter.H b/src/conversion/ccm/writer/ccmWriter.H index c7b71c6311dace04ff91ac91474b540e6a5c83d6..12a3d544ae690c2d280e40bd6dd2ee810c8fff02 100644 --- a/src/conversion/ccm/writer/ccmWriter.H +++ b/src/conversion/ccm/writer/ccmWriter.H @@ -147,10 +147,10 @@ class writer // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct writer(const writer&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const writer&) = delete; diff --git a/src/conversion/common/reader/meshReader.H b/src/conversion/common/reader/meshReader.H index 1af44e4d0438a2d167f32973e73418c1de0c04d8..0512fa5348d2577baf0cb77c9d3144b52cb91748 100644 --- a/src/conversion/common/reader/meshReader.H +++ b/src/conversion/common/reader/meshReader.H @@ -136,10 +136,10 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct meshReader(const meshReader&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const meshReader&) = delete; //- Calculate pointCells diff --git a/src/conversion/common/tables/boundaryRegion.H b/src/conversion/common/tables/boundaryRegion.H index 1cb736b84c3ec0a5a10a2229a5cced83d7ca25fb..97df61930b4c68f3fbc9e56db62b6866ef8845d8 100644 --- a/src/conversion/common/tables/boundaryRegion.H +++ b/src/conversion/common/tables/boundaryRegion.H @@ -74,7 +74,7 @@ class boundaryRegion { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct boundaryRegion(const boundaryRegion&) = delete; diff --git a/src/conversion/common/tables/cellTable.H b/src/conversion/common/tables/cellTable.H index 45cbadccc5731540d271eb0141b018450ca721db..4ab85b924436badfd2e6ca80e81d3716d750553f 100644 --- a/src/conversion/common/tables/cellTable.H +++ b/src/conversion/common/tables/cellTable.H @@ -98,7 +98,7 @@ class cellTable void setEntry(const label id, const word& keyWord, const word& value); - //- Disallow default bitwise copy construct + //- No copy construct cellTable(const cellTable&) = delete; diff --git a/src/conversion/common/writer/meshWriter.H b/src/conversion/common/writer/meshWriter.H index e01a9ad6a23801f6c50344c9f4dd170ddadc1a58..4b139bde44c60c35c7d2ae62267ac220ac2175e0 100644 --- a/src/conversion/common/writer/meshWriter.H +++ b/src/conversion/common/writer/meshWriter.H @@ -81,10 +81,10 @@ class meshWriter { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct meshWriter(const meshWriter&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const meshWriter&) = delete; diff --git a/src/conversion/ensight/mesh/ensightMesh.H b/src/conversion/ensight/mesh/ensightMesh.H index 0c16af5f0a81fb936a480ddafed7e85590193094..ee4bed65ed05458ee8cb41ef0f02c2e7076061ec 100644 --- a/src/conversion/ensight/mesh/ensightMesh.H +++ b/src/conversion/ensight/mesh/ensightMesh.H @@ -247,10 +247,10 @@ private: ) const; - //- Disallow default bitwise copy construct + //- No copy construct ensightMesh(const ensightMesh&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const ensightMesh&) = delete; diff --git a/src/conversion/ensight/output/ensightOutput.H b/src/conversion/ensight/output/ensightOutput.H index 168b11d5e0b44cc2256917c9e7e36e08a222abb7..2649fd5b769b83665cefc77f91d57795b259290f 100644 --- a/src/conversion/ensight/output/ensightOutput.H +++ b/src/conversion/ensight/output/ensightOutput.H @@ -113,15 +113,14 @@ class ensightOutput ensightFile& os ); - - //- Disallow null constructor + //- No null constructor ensightOutput() = delete; + public: // Public Methods - //- Write volume field component-wise template<class Type> static bool writeField diff --git a/src/conversion/ensight/output/ensightSerialOutput.H b/src/conversion/ensight/output/ensightSerialOutput.H index 22c47bf3be57a1d01bac3716cf8f89a1aed003a3..5fa1c359d3688b2c7d74d83ad41dd9f9d1636c84 100644 --- a/src/conversion/ensight/output/ensightSerialOutput.H +++ b/src/conversion/ensight/output/ensightSerialOutput.H @@ -64,10 +64,10 @@ class ensightSerialOutput ensightFile& os ); - - //- Disallow null constructor + //- No null constructor ensightSerialOutput() = delete; + public: // Public Methods diff --git a/src/conversion/ensight/part/ensightPart.H b/src/conversion/ensight/part/ensightPart.H index 0a7f8d2679936ec11990deacfcb50d3fe771ebda..57ddcf5efca113b7b0491421fe0fdb2166c1dea0 100644 --- a/src/conversion/ensight/part/ensightPart.H +++ b/src/conversion/ensight/part/ensightPart.H @@ -67,10 +67,10 @@ class ensightPart // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct ensightPart(const ensightPart&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const ensightPart&) = delete; diff --git a/src/conversion/ensight/part/ensightPartCells.H b/src/conversion/ensight/part/ensightPartCells.H index f256a4800f0d55f011160c2747b68fbf80c720ca..0936f90ca6c36d87ee3a7a503be9268903f46eea 100644 --- a/src/conversion/ensight/part/ensightPartCells.H +++ b/src/conversion/ensight/part/ensightPartCells.H @@ -74,10 +74,10 @@ class ensightPartCells ) const; - //- Disallow default bitwise copy construct + //- No copy construct ensightPartCells(const ensightPartCells&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const ensightPartCells&) = delete; diff --git a/src/conversion/ensight/part/ensightPartFaces.H b/src/conversion/ensight/part/ensightPartFaces.H index bdb6c062c8b4824d8fc0a70c603e5822e49c193c..71572d3183c76f278e57435c3945cc4ce9c3f6a3 100644 --- a/src/conversion/ensight/part/ensightPartFaces.H +++ b/src/conversion/ensight/part/ensightPartFaces.H @@ -97,10 +97,10 @@ class ensightPartFaces ) const; - //- Disallow default bitwise copy construct + //- No copy construct ensightPartFaces(const ensightPartFaces&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const ensightPartFaces&) = delete; diff --git a/src/conversion/ensight/part/ensightParts.H b/src/conversion/ensight/part/ensightParts.H index e51e53135783c8a1f92df68ba11aac1862440c96..d68b21e8a3c47fa4f5e185225d5f5eb71b0ec498 100644 --- a/src/conversion/ensight/part/ensightParts.H +++ b/src/conversion/ensight/part/ensightParts.H @@ -56,10 +56,10 @@ class ensightParts { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct ensightParts(const ensightParts&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const ensightParts&) = delete; diff --git a/src/conversion/fire/FIREMeshWriter.H b/src/conversion/fire/FIREMeshWriter.H index 2ead656b52902e69d67d46409e005b80c842921f..d4dfe98edee3268ace22f005f7b6ff32a0af02e3 100644 --- a/src/conversion/fire/FIREMeshWriter.H +++ b/src/conversion/fire/FIREMeshWriter.H @@ -69,10 +69,10 @@ class FIREMeshWriter { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct FIREMeshWriter(const FIREMeshWriter&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const FIREMeshWriter&) = delete; //- Write points, faces, cells diff --git a/src/conversion/polyDualMesh/polyDualMesh.H b/src/conversion/polyDualMesh/polyDualMesh.H index fb332f7f21060c8de4088567aec7bd0789c2448f..de9524038b368feddbdabae77e18f61848476216 100644 --- a/src/conversion/polyDualMesh/polyDualMesh.H +++ b/src/conversion/polyDualMesh/polyDualMesh.H @@ -147,11 +147,11 @@ class polyDualMesh ); - //- Disallow default bitwise copy construct - polyDualMesh(const polyDualMesh&); + //- No copy construct + polyDualMesh(const polyDualMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const polyDualMesh&); + //- No copy assignment + void operator=(const polyDualMesh&) = delete; public: diff --git a/src/conversion/starcd/STARCDMeshReader.H b/src/conversion/starcd/STARCDMeshReader.H index 048e3091281f3fef04d4c7c17ada63e01aff7914..16abef7a10cf77f88c01a0c1f3fac73a8910f742 100644 --- a/src/conversion/starcd/STARCDMeshReader.H +++ b/src/conversion/starcd/STARCDMeshReader.H @@ -73,10 +73,10 @@ class STARCDMeshReader // Private member functions - //- Disallow default bitwise copy construct + //- No copy construct STARCDMeshReader(const STARCDMeshReader&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const STARCDMeshReader&) = delete; diff --git a/src/conversion/starcd/STARCDMeshWriter.H b/src/conversion/starcd/STARCDMeshWriter.H index f7ad1d45019d3a7db25ebbcb5cbe5b72b63c66ab..5838c2b9403515c1aaf60508a647f607530e7dcd 100644 --- a/src/conversion/starcd/STARCDMeshWriter.H +++ b/src/conversion/starcd/STARCDMeshWriter.H @@ -78,10 +78,10 @@ class STARCDMeshWriter label findDefaultBoundary() const; - //- Disallow default bitwise copy construct + //- No copy construct STARCDMeshWriter(const STARCDMeshWriter&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const STARCDMeshWriter&) = delete; diff --git a/src/conversion/vtk/output/foamVtkInternalWriter.H b/src/conversion/vtk/output/foamVtkInternalWriter.H index f793adab1f6cddcd35ac4e055402c3716f7296e6..802ec4c6e10ef42151c0262b5f7b4d0376cbe266 100644 --- a/src/conversion/vtk/output/foamVtkInternalWriter.H +++ b/src/conversion/vtk/output/foamVtkInternalWriter.H @@ -93,10 +93,10 @@ class internalWriter void writeMesh(); - //- Disallow default bitwise copy construct + //- No copy construct internalWriter(const internalWriter&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const internalWriter&) = delete; diff --git a/src/conversion/vtk/output/foamVtkPatchWriter.H b/src/conversion/vtk/output/foamVtkPatchWriter.H index e7bcd15dbe6991561d0aee355bccb788da921bf4..86f1676a4614011ebcaafe8eec59eb53e77d7f0f 100644 --- a/src/conversion/vtk/output/foamVtkPatchWriter.H +++ b/src/conversion/vtk/output/foamVtkPatchWriter.H @@ -98,10 +98,10 @@ class patchWriter void writeMesh(); - //- Disallow default bitwise copy construct + //- No copy construct patchWriter(const patchWriter&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const patchWriter&) = delete; diff --git a/src/conversion/vtk/output/foamVtkSurfaceMeshWriter.H b/src/conversion/vtk/output/foamVtkSurfaceMeshWriter.H index feb241f134fb9bfed12fa4d2a18662510990be0c..2963e3c665f4e110b584fef59bd8bb6a6c8c0e0d 100644 --- a/src/conversion/vtk/output/foamVtkSurfaceMeshWriter.H +++ b/src/conversion/vtk/output/foamVtkSurfaceMeshWriter.H @@ -89,10 +89,10 @@ class surfaceMeshWriter void writeMesh(); - //- Disallow default bitwise copy construct + //- No copy construct surfaceMeshWriter(const surfaceMeshWriter&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const surfaceMeshWriter&) = delete; public: diff --git a/src/conversion/vtk/part/foamVtuCells.H b/src/conversion/vtk/part/foamVtuCells.H index 3c79ce8a33b40d1c6eb8c31f98f9b70e96da2911..67381ed60e7cc1a7d93b0f3c06208f135d042623 100644 --- a/src/conversion/vtk/part/foamVtuCells.H +++ b/src/conversion/vtk/part/foamVtuCells.H @@ -108,10 +108,10 @@ class vtuCells // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct vtuCells(const vtuCells&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const vtuCells&) = delete; diff --git a/src/dynamicFvMesh/dynamicFvMesh/dynamicFvMesh.H b/src/dynamicFvMesh/dynamicFvMesh/dynamicFvMesh.H index a65a8160b7ab7e987875a8875e3c40775513e7dd..402fe7719e61f1dabefcd4aed5ebb4e82ae3ebce 100644 --- a/src/dynamicFvMesh/dynamicFvMesh/dynamicFvMesh.H +++ b/src/dynamicFvMesh/dynamicFvMesh/dynamicFvMesh.H @@ -57,10 +57,10 @@ class dynamicFvMesh { // Private Member Functions - //- Disallow copy construct + //- No copy construct dynamicFvMesh(const dynamicFvMesh&) = delete; - //- Disallow copy assignment + //- No copy assignment void operator=(const dynamicFvMesh&) = delete; diff --git a/src/dynamicFvMesh/dynamicInkJetFvMesh/dynamicInkJetFvMesh.H b/src/dynamicFvMesh/dynamicInkJetFvMesh/dynamicInkJetFvMesh.H index e2e0d0b6275077d84cc8e7f69ea81c7e85c6a447..3455ef0578c655356babc4c4b82389b27f3d8ec1 100644 --- a/src/dynamicFvMesh/dynamicInkJetFvMesh/dynamicInkJetFvMesh.H +++ b/src/dynamicFvMesh/dynamicInkJetFvMesh/dynamicInkJetFvMesh.H @@ -70,11 +70,11 @@ class dynamicInkJetFvMesh // Private Member Functions - //- Disallow default bitwise copy construct - dynamicInkJetFvMesh(const dynamicInkJetFvMesh&); + //- No copy construct + dynamicInkJetFvMesh(const dynamicInkJetFvMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const dynamicInkJetFvMesh&); + //- No copy assignment + void operator=(const dynamicInkJetFvMesh&) = delete; public: diff --git a/src/dynamicFvMesh/dynamicMotionSolverFvMesh/dynamicMotionSolverFvMesh.H b/src/dynamicFvMesh/dynamicMotionSolverFvMesh/dynamicMotionSolverFvMesh.H index 5c36dc13fc325af6e112d010266f1ac83e67929e..84fd7b564974b97015754bd4e86fe66a422e15cc 100644 --- a/src/dynamicFvMesh/dynamicMotionSolverFvMesh/dynamicMotionSolverFvMesh.H +++ b/src/dynamicFvMesh/dynamicMotionSolverFvMesh/dynamicMotionSolverFvMesh.H @@ -59,11 +59,11 @@ class dynamicMotionSolverFvMesh // Private Member Functions - //- Disallow default bitwise copy construct - dynamicMotionSolverFvMesh(const dynamicMotionSolverFvMesh&); + //- No copy construct + dynamicMotionSolverFvMesh(const dynamicMotionSolverFvMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const dynamicMotionSolverFvMesh&); + //- No copy assignment + void operator=(const dynamicMotionSolverFvMesh&) = delete; public: diff --git a/src/dynamicFvMesh/dynamicMotionSolverListFvMesh/dynamicMotionSolverListFvMesh.H b/src/dynamicFvMesh/dynamicMotionSolverListFvMesh/dynamicMotionSolverListFvMesh.H index e638bf63b4e52848a2ef2c38ccd551f6405f0ae0..136de99e03b581132dd610e57201a059e86b9da4 100644 --- a/src/dynamicFvMesh/dynamicMotionSolverListFvMesh/dynamicMotionSolverListFvMesh.H +++ b/src/dynamicFvMesh/dynamicMotionSolverListFvMesh/dynamicMotionSolverListFvMesh.H @@ -59,11 +59,14 @@ class dynamicMotionSolverListFvMesh // Private Member Functions - //- Disallow default bitwise copy construct - dynamicMotionSolverListFvMesh(const dynamicMotionSolverListFvMesh&); - - //- Disallow default bitwise assignment - void operator=(const dynamicMotionSolverListFvMesh&); + //- No copy construct + dynamicMotionSolverListFvMesh + ( + const dynamicMotionSolverListFvMesh& + ) = delete; + + //- No copy assignment + void operator=(const dynamicMotionSolverListFvMesh&) = delete; public: diff --git a/src/dynamicFvMesh/dynamicMultiMotionSolverFvMesh/dynamicMultiMotionSolverFvMesh.H b/src/dynamicFvMesh/dynamicMultiMotionSolverFvMesh/dynamicMultiMotionSolverFvMesh.H index d4906ed40d9d00f32a71d55098ec8d34b0d5ddc8..b2525708ea7744e30f847bb8841859c876b4f94b 100644 --- a/src/dynamicFvMesh/dynamicMultiMotionSolverFvMesh/dynamicMultiMotionSolverFvMesh.H +++ b/src/dynamicFvMesh/dynamicMultiMotionSolverFvMesh/dynamicMultiMotionSolverFvMesh.H @@ -66,11 +66,14 @@ class dynamicMultiMotionSolverFvMesh // Private Member Functions - //- Disallow default bitwise copy construct - dynamicMultiMotionSolverFvMesh(const dynamicMultiMotionSolverFvMesh&); - - //- Disallow default bitwise assignment - void operator=(const dynamicMultiMotionSolverFvMesh&); + //- No copy construct + dynamicMultiMotionSolverFvMesh + ( + const dynamicMultiMotionSolverFvMesh& + ) = delete; + + //- No copy assignment + void operator=(const dynamicMultiMotionSolverFvMesh&) = delete; public: diff --git a/src/dynamicFvMesh/dynamicRefineFvMesh/dynamicRefineFvMesh.H b/src/dynamicFvMesh/dynamicRefineFvMesh/dynamicRefineFvMesh.H index 8010b57bd1d2129950967bbe2335751cf3e908d2..dc3443e9c14735270c81452bd9ae7811ffcde201 100644 --- a/src/dynamicFvMesh/dynamicRefineFvMesh/dynamicRefineFvMesh.H +++ b/src/dynamicFvMesh/dynamicRefineFvMesh/dynamicRefineFvMesh.H @@ -188,11 +188,11 @@ protected: private: - //- Disallow default bitwise copy construct - dynamicRefineFvMesh(const dynamicRefineFvMesh&); + //- No copy construct + dynamicRefineFvMesh(const dynamicRefineFvMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const dynamicRefineFvMesh&); + //- No copy assignment + void operator=(const dynamicRefineFvMesh&) = delete; public: diff --git a/src/dynamicFvMesh/staticFvMesh/staticFvMesh.H b/src/dynamicFvMesh/staticFvMesh/staticFvMesh.H index 88120aef5c959be8fded045120d8d8139aab3560..f43029b5e5281bc5c7d027917fe08815e570f691 100644 --- a/src/dynamicFvMesh/staticFvMesh/staticFvMesh.H +++ b/src/dynamicFvMesh/staticFvMesh/staticFvMesh.H @@ -52,11 +52,11 @@ class staticFvMesh { // Private Member Functions - //- Disallow default bitwise copy construct - staticFvMesh(const staticFvMesh&); + //- No copy construct + staticFvMesh(const staticFvMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const staticFvMesh&); + //- No copy assignment + void operator=(const staticFvMesh&) = delete; public: diff --git a/src/dynamicMesh/attachDetach/attachDetach.H b/src/dynamicMesh/attachDetach/attachDetach.H index 6a5c03c27c7137bb420eed7a6857ebc62dbff3ca..e6af62b6d66c09dde0f0cbbd536195f6051ce77b 100644 --- a/src/dynamicMesh/attachDetach/attachDetach.H +++ b/src/dynamicMesh/attachDetach/attachDetach.H @@ -107,11 +107,11 @@ class attachDetach // Private Member Functions - //- Disallow default bitwise copy construct - attachDetach(const attachDetach&); + //- No copy construct + attachDetach(const attachDetach&) = delete; - //- Disallow default bitwise assignment - void operator=(const attachDetach&); + //- No copy assignment + void operator=(const attachDetach&) = delete; //- Check validity of construction data void checkDefinition(); diff --git a/src/dynamicMesh/boundaryMesh/boundaryMesh.H b/src/dynamicMesh/boundaryMesh/boundaryMesh.H index 4e07939dd20bc05c6f1189e6e12d5a464d43de5f..4e0701ddae78ddde73b8953cee32636ef78bd464 100644 --- a/src/dynamicMesh/boundaryMesh/boundaryMesh.H +++ b/src/dynamicMesh/boundaryMesh/boundaryMesh.H @@ -172,11 +172,11 @@ class boundaryMesh ) const; - //- Disallow default bitwise copy construct - boundaryMesh(const boundaryMesh&); + //- No copy construct + boundaryMesh(const boundaryMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const boundaryMesh&); + //- No copy assignment + void operator=(const boundaryMesh&) = delete; public: diff --git a/src/dynamicMesh/createShellMesh/createShellMesh.H b/src/dynamicMesh/createShellMesh/createShellMesh.H index ab6b4cbefc0e29504a1bd7d9a56d66c0d9f1e62c..bff1bac2c60834f3677b7acbcaea17d5edd55c9f 100644 --- a/src/dynamicMesh/createShellMesh/createShellMesh.H +++ b/src/dynamicMesh/createShellMesh/createShellMesh.H @@ -96,11 +96,11 @@ class createShellMesh ); - //- Disallow default bitwise copy construct - createShellMesh(const createShellMesh&); + //- No copy construct + createShellMesh(const createShellMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const createShellMesh&); + //- No copy assignment + void operator=(const createShellMesh&) = delete; public: diff --git a/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.H b/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.H index 752dab30459ab807893466ec9f5c77358838ba40..38e79de250a5f13ae5585f2fa25d299a40621a1d 100644 --- a/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.H +++ b/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.H @@ -314,11 +314,11 @@ class fvMeshDistribute const dictionary& fieldDicts ); - //- Disallow default bitwise copy construct - fvMeshDistribute(const fvMeshDistribute&); + //- No copy construct + fvMeshDistribute(const fvMeshDistribute&) = delete; - //- Disallow default bitwise assignment - void operator=(const fvMeshDistribute&); + //- No copy assignment + void operator=(const fvMeshDistribute&) = delete; public: diff --git a/src/dynamicMesh/fvMeshSubset/fvMeshSubset.H b/src/dynamicMesh/fvMeshSubset/fvMeshSubset.H index 8e49da9f1f90a669758518ad39aba992fcfbb648..0abe59a12ad88e9da6c28524c5aa440cb73daf44 100644 --- a/src/dynamicMesh/fvMeshSubset/fvMeshSubset.H +++ b/src/dynamicMesh/fvMeshSubset/fvMeshSubset.H @@ -136,11 +136,11 @@ private: const label currentRegion ) const; - //- Disallow default bitwise copy construct - fvMeshSubset(const fvMeshSubset&); + //- No copy construct + fvMeshSubset(const fvMeshSubset&) = delete; - //- Disallow default bitwise assignment - void operator=(const fvMeshSubset&); + //- No copy assignment + void operator=(const fvMeshSubset&) = delete; public: diff --git a/src/dynamicMesh/layerAdditionRemoval/layerAdditionRemoval.H b/src/dynamicMesh/layerAdditionRemoval/layerAdditionRemoval.H index edb3218eaebb7d1535196aa86ddb5db0dda68ad4..2a2e14c259c08a0dc9fed7e2de3c314aa8f45043 100644 --- a/src/dynamicMesh/layerAdditionRemoval/layerAdditionRemoval.H +++ b/src/dynamicMesh/layerAdditionRemoval/layerAdditionRemoval.H @@ -88,11 +88,11 @@ class layerAdditionRemoval // Private Member Functions - //- Disallow default bitwise copy construct - layerAdditionRemoval(const layerAdditionRemoval&); + //- No copy construct + layerAdditionRemoval(const layerAdditionRemoval&) = delete; - //- Disallow default bitwise assignment - void operator=(const layerAdditionRemoval&); + //- No copy assignment + void operator=(const layerAdditionRemoval&) = delete; //- Check validity of construction data void checkDefinition(); diff --git a/src/dynamicMesh/meshCut/cellCuts/cellCuts.H b/src/dynamicMesh/meshCut/cellCuts/cellCuts.H index 473a4a15b7146cdabf27ac1a6f90b41109be75ce..526a1cf80a9269562373f1f6da29c42c42af6627 100644 --- a/src/dynamicMesh/meshCut/cellCuts/cellCuts.H +++ b/src/dynamicMesh/meshCut/cellCuts/cellCuts.H @@ -454,11 +454,11 @@ class cellCuts void check() const; - //- Disallow default bitwise copy construct - cellCuts(const cellCuts&); + //- No copy construct + cellCuts(const cellCuts&) = delete; - //- Disallow default bitwise assignment - void operator=(const cellCuts&); + //- No copy assignment + void operator=(const cellCuts&) = delete; public: diff --git a/src/dynamicMesh/meshCut/cellLooper/cellLooper.H b/src/dynamicMesh/meshCut/cellLooper/cellLooper.H index 0309557b503e27d7ccaa7640c4da3928abfba466..1daebc8170255b8bdbe9742ad73a7acdcc1d36c9 100644 --- a/src/dynamicMesh/meshCut/cellLooper/cellLooper.H +++ b/src/dynamicMesh/meshCut/cellLooper/cellLooper.H @@ -108,11 +108,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - cellLooper(const cellLooper&); + //- No copy construct + cellLooper(const cellLooper&) = delete; - //- Disallow default bitwise assignment - void operator=(const cellLooper&); + //- No copy assignment + void operator=(const cellLooper&) = delete; public: diff --git a/src/dynamicMesh/meshCut/cellLooper/geomCellLooper.H b/src/dynamicMesh/meshCut/cellLooper/geomCellLooper.H index e34450e98eb07b25acdcf0dceabae9c1eba5776f..59a60ca2aa4a5a34dec9966bd44dcf0e0d2b383e 100644 --- a/src/dynamicMesh/meshCut/cellLooper/geomCellLooper.H +++ b/src/dynamicMesh/meshCut/cellLooper/geomCellLooper.H @@ -112,11 +112,11 @@ class geomCellLooper bool edgeEndsCut(const labelList&, const label index) const; - //- Disallow default bitwise copy construct - geomCellLooper(const geomCellLooper&); + //- No copy construct + geomCellLooper(const geomCellLooper&) = delete; - //- Disallow default bitwise assignment - void operator=(const geomCellLooper&); + //- No copy assignment + void operator=(const geomCellLooper&) = delete; public: diff --git a/src/dynamicMesh/meshCut/cellLooper/hexCellLooper.H b/src/dynamicMesh/meshCut/cellLooper/hexCellLooper.H index 41cb01a83875583488c6ec4310c0d622cc1e45d0..405f9d3bbf49805d0ef03a407b75da366bc73253 100644 --- a/src/dynamicMesh/meshCut/cellLooper/hexCellLooper.H +++ b/src/dynamicMesh/meshCut/cellLooper/hexCellLooper.H @@ -97,11 +97,11 @@ private: ) const; - //- Disallow default bitwise copy construct - hexCellLooper(const hexCellLooper&); + //- No copy construct + hexCellLooper(const hexCellLooper&) = delete; - //- Disallow default bitwise assignment - void operator=(const hexCellLooper&); + //- No copy assignment + void operator=(const hexCellLooper&) = delete; public: diff --git a/src/dynamicMesh/meshCut/cellLooper/topoCellLooper.H b/src/dynamicMesh/meshCut/cellLooper/topoCellLooper.H index fbe3417287d34174ecabfd8044c5247eeb038604..a81be0b79626d6385c30a121311fc9d51457a719 100644 --- a/src/dynamicMesh/meshCut/cellLooper/topoCellLooper.H +++ b/src/dynamicMesh/meshCut/cellLooper/topoCellLooper.H @@ -144,11 +144,11 @@ class topoCellLooper ) const; - //- Disallow default bitwise copy construct - topoCellLooper(const topoCellLooper&); + //- No copy construct + topoCellLooper(const topoCellLooper&) = delete; - //- Disallow default bitwise assignment - void operator=(const topoCellLooper&); + //- No copy assignment + void operator=(const topoCellLooper&) = delete; public: diff --git a/src/dynamicMesh/meshCut/directions/directions.H b/src/dynamicMesh/meshCut/directions/directions.H index b667aeb7f244560c19edc1c6ec7effff1b27427b..be018c8b2522227eca6ad8426ffa88d21a1b582c 100644 --- a/src/dynamicMesh/meshCut/directions/directions.H +++ b/src/dynamicMesh/meshCut/directions/directions.H @@ -126,11 +126,11 @@ private: const vector& defaultDir ); - //- Disallow default bitwise copy construct - directions(const directions&); + //- No copy construct + directions(const directions&) = delete; - //- Disallow default bitwise assignment - void operator=(const directions&); + //- No copy assignment + void operator=(const directions&) = delete; public: diff --git a/src/dynamicMesh/meshCut/edgeVertex/edgeVertex.H b/src/dynamicMesh/meshCut/edgeVertex/edgeVertex.H index 711b5c81941f158a73f2de991c77235033b85b71..6286ff0a9850ac97c03038d348c503d967ea27fc 100644 --- a/src/dynamicMesh/meshCut/edgeVertex/edgeVertex.H +++ b/src/dynamicMesh/meshCut/edgeVertex/edgeVertex.H @@ -60,11 +60,11 @@ class edgeVertex // Private Member Functions - //- Disallow default bitwise copy construct - edgeVertex(const edgeVertex&); + //- No copy construct + edgeVertex(const edgeVertex&) = delete; - //- Disallow default bitwise assignment - void operator=(const edgeVertex&); + //- No copy assignment + void operator=(const edgeVertex&) = delete; public: diff --git a/src/dynamicMesh/meshCut/meshModifiers/boundaryCutter/boundaryCutter.H b/src/dynamicMesh/meshCut/meshModifiers/boundaryCutter/boundaryCutter.H index e3c75c5511c176afd35bbc3678ed4e8c8c204fa2..00bdfc1e26c4b5f8d27be5cb3795a294c5ce7314 100644 --- a/src/dynamicMesh/meshCut/meshModifiers/boundaryCutter/boundaryCutter.H +++ b/src/dynamicMesh/meshCut/meshModifiers/boundaryCutter/boundaryCutter.H @@ -111,11 +111,11 @@ class boundaryCutter ) const; - //- Disallow default bitwise copy construct - boundaryCutter(const boundaryCutter&); + //- No copy construct + boundaryCutter(const boundaryCutter&) = delete; - //- Disallow default bitwise assignment - void operator=(const boundaryCutter&); + //- No copy assignment + void operator=(const boundaryCutter&) = delete; public: diff --git a/src/dynamicMesh/meshCut/meshModifiers/meshCutAndRemove/meshCutAndRemove.H b/src/dynamicMesh/meshCut/meshModifiers/meshCutAndRemove/meshCutAndRemove.H index a73123c5db2d7e3b46956b0766cbd6123f7f54ed..dbd9a5581ed92a0eb1f30d46260e00b5a4aa5de6 100644 --- a/src/dynamicMesh/meshCut/meshModifiers/meshCutAndRemove/meshCutAndRemove.H +++ b/src/dynamicMesh/meshCut/meshModifiers/meshCutAndRemove/meshCutAndRemove.H @@ -176,11 +176,11 @@ class meshCutAndRemove - //- Disallow default bitwise copy construct - meshCutAndRemove(const meshCutAndRemove&); + //- No copy construct + meshCutAndRemove(const meshCutAndRemove&) = delete; - //- Disallow default bitwise assignment - void operator=(const meshCutAndRemove&); + //- No copy assignment + void operator=(const meshCutAndRemove&) = delete; public: diff --git a/src/dynamicMesh/meshCut/meshModifiers/meshCutter/meshCutter.H b/src/dynamicMesh/meshCut/meshModifiers/meshCutter/meshCutter.H index b48d57d260299ba4af48fcb40a3e0cf472c484c5..6877805441539c99c2f616e922790915559a22f0 100644 --- a/src/dynamicMesh/meshCut/meshModifiers/meshCutter/meshCutter.H +++ b/src/dynamicMesh/meshCut/meshModifiers/meshCutter/meshCutter.H @@ -258,11 +258,11 @@ class meshCutter - //- Disallow default bitwise copy construct - meshCutter(const meshCutter&); + //- No copy construct + meshCutter(const meshCutter&) = delete; - //- Disallow default bitwise assignment - void operator=(const meshCutter&); + //- No copy assignment + void operator=(const meshCutter&) = delete; public: diff --git a/src/dynamicMesh/meshCut/meshModifiers/multiDirRefinement/multiDirRefinement.H b/src/dynamicMesh/meshCut/meshModifiers/multiDirRefinement/multiDirRefinement.H index bf1481498025a53d4f09ce36d3bbd6b9f04f0c4b..e8c475cdc77d803f1a751d44025e405e43a34f7e 100644 --- a/src/dynamicMesh/meshCut/meshModifiers/multiDirRefinement/multiDirRefinement.H +++ b/src/dynamicMesh/meshCut/meshModifiers/multiDirRefinement/multiDirRefinement.H @@ -138,11 +138,11 @@ class multiDirRefinement ); - //- Disallow default bitwise copy construct - multiDirRefinement(const multiDirRefinement&); + //- No copy construct + multiDirRefinement(const multiDirRefinement&) = delete; - //- Disallow default bitwise assignment - void operator=(const multiDirRefinement&); + //- No copy assignment + void operator=(const multiDirRefinement&) = delete; public: diff --git a/src/dynamicMesh/meshCut/meshModifiers/undoableMeshCutter/undoableMeshCutter.H b/src/dynamicMesh/meshCut/meshModifiers/undoableMeshCutter/undoableMeshCutter.H index d9b5ca2f1546f1d0d414bbc9f1cdb57cf3d4d53c..d0da1a8eed1c10671a928abc1943eea55f1d229d 100644 --- a/src/dynamicMesh/meshCut/meshModifiers/undoableMeshCutter/undoableMeshCutter.H +++ b/src/dynamicMesh/meshCut/meshModifiers/undoableMeshCutter/undoableMeshCutter.H @@ -128,11 +128,11 @@ class undoableMeshCutter static void updateLabels(const labelList& map, Map<splitCell*>&); - //- Disallow default bitwise copy construct - undoableMeshCutter(const undoableMeshCutter&); + //- No copy construct + undoableMeshCutter(const undoableMeshCutter&) = delete; - //- Disallow default bitwise assignment - void operator=(const undoableMeshCutter&); + //- No copy assignment + void operator=(const undoableMeshCutter&) = delete; public: diff --git a/src/dynamicMesh/meshCut/splitCell/splitCell.H b/src/dynamicMesh/meshCut/splitCell/splitCell.H index 717e1700ffcf2a76df015a83ed12b7abd4ce494f..3f246d93287ebabef7765cd7d97e2ed4e363f341 100644 --- a/src/dynamicMesh/meshCut/splitCell/splitCell.H +++ b/src/dynamicMesh/meshCut/splitCell/splitCell.H @@ -68,11 +68,11 @@ class splitCell // Private Member Functions - //- Disallow default bitwise copy construct - splitCell(const splitCell&); + //- No copy construct + splitCell(const splitCell&) = delete; - //- Disallow default bitwise assignment - void operator=(const splitCell&); + //- No copy assignment + void operator=(const splitCell&) = delete; public: diff --git a/src/dynamicMesh/meshSubsetHelper/meshSubsetHelper.H b/src/dynamicMesh/meshSubsetHelper/meshSubsetHelper.H index f531535e79c7b00f251d82f04b6b104eb87ceaee..0244d098e32d4db0819430435c2c38bf5c7f286c 100644 --- a/src/dynamicMesh/meshSubsetHelper/meshSubsetHelper.H +++ b/src/dynamicMesh/meshSubsetHelper/meshSubsetHelper.H @@ -82,10 +82,10 @@ public: // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct meshSubsetHelper(const meshSubsetHelper&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const meshSubsetHelper&) = delete; diff --git a/src/dynamicMesh/motionSmoother/motionSmootherAlgo.H b/src/dynamicMesh/motionSmoother/motionSmootherAlgo.H index b979ba08db75e42f0a32309620624a033f3d7767..b6b85974fe56d568285ee2d45abcd3421fd792c0 100644 --- a/src/dynamicMesh/motionSmoother/motionSmootherAlgo.H +++ b/src/dynamicMesh/motionSmoother/motionSmootherAlgo.H @@ -287,11 +287,11 @@ class motionSmootherAlgo bitSet& isAffectedPoint ) const; - //- Disallow default bitwise copy construct - motionSmootherAlgo(const motionSmootherAlgo&); + //- No copy construct + motionSmootherAlgo(const motionSmootherAlgo&) = delete; - //- Disallow default bitwise assignment - void operator=(const motionSmootherAlgo&); + //- No copy assignment + void operator=(const motionSmootherAlgo&) = delete; public: diff --git a/src/dynamicMesh/motionSolvers/componentDisplacement/componentDisplacementMotionSolver.H b/src/dynamicMesh/motionSolvers/componentDisplacement/componentDisplacementMotionSolver.H index 8f960cbb8e6ebb4ba74ef0a43c170b7953867c17..96eca5e7884894a30cc95bb64c9866d5c6567b72 100644 --- a/src/dynamicMesh/motionSolvers/componentDisplacement/componentDisplacementMotionSolver.H +++ b/src/dynamicMesh/motionSolvers/componentDisplacement/componentDisplacementMotionSolver.H @@ -80,14 +80,14 @@ private: //- Return the component corresponding to the given component name direction cmpt(const word& cmptName) const; - //- Disallow default bitwise copy construct + //- No copy construct componentDisplacementMotionSolver ( const componentDisplacementMotionSolver& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const componentDisplacementMotionSolver&); + //- No copy assignment + void operator=(const componentDisplacementMotionSolver&) = delete; public: diff --git a/src/dynamicMesh/motionSolvers/componentVelocity/componentVelocityMotionSolver.H b/src/dynamicMesh/motionSolvers/componentVelocity/componentVelocityMotionSolver.H index cbc7ab3a9ee36a9befc9ff3f35cbb933291f721e..4171cedc9ab7c548d97d45637f9398814e46b17e 100644 --- a/src/dynamicMesh/motionSolvers/componentVelocity/componentVelocityMotionSolver.H +++ b/src/dynamicMesh/motionSolvers/componentVelocity/componentVelocityMotionSolver.H @@ -77,15 +77,14 @@ private: //- Return the component corresponding to the given component name direction cmpt(const word& cmptName) const; - //- Disallow default bitwise copy construct + //- No copy construct componentVelocityMotionSolver ( const componentVelocityMotionSolver& - ); - - //- Disallow default bitwise assignment - void operator=(const componentVelocityMotionSolver&); + ) = delete; + //- No copy assignment + void operator=(const componentVelocityMotionSolver&) = delete; public: diff --git a/src/dynamicMesh/motionSolvers/displacement/displacement/displacementMotionSolver.H b/src/dynamicMesh/motionSolvers/displacement/displacement/displacementMotionSolver.H index eb6e585f29e0dd6998287d6a8cf6f9f7b8cc342c..6dcfa2f44555e0619a33eeaa22f56944a4e298bf 100644 --- a/src/dynamicMesh/motionSolvers/displacement/displacement/displacementMotionSolver.H +++ b/src/dynamicMesh/motionSolvers/displacement/displacement/displacementMotionSolver.H @@ -65,11 +65,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - displacementMotionSolver(const displacementMotionSolver&); + //- No copy construct + displacementMotionSolver(const displacementMotionSolver&) = delete; - //- Disallow default bitwise assignment - void operator=(const displacementMotionSolver&); + //- No copy assignment + void operator=(const displacementMotionSolver&) = delete; public: diff --git a/src/dynamicMesh/motionSolvers/displacement/interpolation/displacementInterpolationMotionSolver.H b/src/dynamicMesh/motionSolvers/displacement/interpolation/displacementInterpolationMotionSolver.H index 785aa25ccaf335a5c0293d53724e5d31f28fc83d..41d0e012eaa9b2459f3417d431e967b394a08771 100644 --- a/src/dynamicMesh/motionSolvers/displacement/interpolation/displacementInterpolationMotionSolver.H +++ b/src/dynamicMesh/motionSolvers/displacement/interpolation/displacementInterpolationMotionSolver.H @@ -92,14 +92,14 @@ class displacementInterpolationMotionSolver //- Read settings void calcInterpolation(); - //- Disallow default bitwise copy construct + //- No copy construct displacementInterpolationMotionSolver ( const displacementInterpolationMotionSolver& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const displacementInterpolationMotionSolver&); + //- No copy assignment + void operator=(const displacementInterpolationMotionSolver&) = delete; public: diff --git a/src/dynamicMesh/motionSolvers/displacement/layeredSolver/displacementLayeredMotionMotionSolver.H b/src/dynamicMesh/motionSolvers/displacement/layeredSolver/displacementLayeredMotionMotionSolver.H index 99986a19d818bab7d6acfff8b8408b0f7085f35b..98e1e6915506b8e41ac8e2a7149f46aac5a19e6e 100644 --- a/src/dynamicMesh/motionSolvers/displacement/layeredSolver/displacementLayeredMotionMotionSolver.H +++ b/src/dynamicMesh/motionSolvers/displacement/layeredSolver/displacementLayeredMotionMotionSolver.H @@ -114,14 +114,14 @@ class displacementLayeredMotionMotionSolver ); - //- Disallow default bitwise copy construct + //- No copy construct displacementLayeredMotionMotionSolver ( const displacementLayeredMotionMotionSolver& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const displacementLayeredMotionMotionSolver&); + //- No copy assignment + void operator=(const displacementLayeredMotionMotionSolver&) = delete; public: diff --git a/src/dynamicMesh/motionSolvers/displacement/points0/points0MotionSolver.H b/src/dynamicMesh/motionSolvers/displacement/points0/points0MotionSolver.H index 18041f268f3aff098d636aa329bf74f024860355..70d5da308990c2e911e05d3c2acdf4cff84cb74f 100644 --- a/src/dynamicMesh/motionSolvers/displacement/points0/points0MotionSolver.H +++ b/src/dynamicMesh/motionSolvers/displacement/points0/points0MotionSolver.H @@ -67,11 +67,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - points0MotionSolver(const points0MotionSolver&); + //- No copy construct + points0MotionSolver(const points0MotionSolver&) = delete; - //- Disallow default bitwise assignment - void operator=(const points0MotionSolver&); + //- No copy assignment + void operator=(const points0MotionSolver&) = delete; public: diff --git a/src/dynamicMesh/motionSolvers/displacement/solidBody/multiSolidBodyMotionSolver.H b/src/dynamicMesh/motionSolvers/displacement/solidBody/multiSolidBodyMotionSolver.H index 14232574ac14ef5fcbda21d82958776a0278af3d..a15528f09b88c60e5a85e95274eae9a33bb79ce2 100644 --- a/src/dynamicMesh/motionSolvers/displacement/solidBody/multiSolidBodyMotionSolver.H +++ b/src/dynamicMesh/motionSolvers/displacement/solidBody/multiSolidBodyMotionSolver.H @@ -66,11 +66,11 @@ class multiSolidBodyMotionSolver // Private Member Functions - //- Disallow default bitwise copy construct - multiSolidBodyMotionSolver(const multiSolidBodyMotionSolver&); + //- No copy construct + multiSolidBodyMotionSolver(const multiSolidBodyMotionSolver&) = delete; - //- Disallow default bitwise assignment - void operator=(const multiSolidBodyMotionSolver&); + //- No copy assignment + void operator=(const multiSolidBodyMotionSolver&) = delete; public: diff --git a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/SDA/SDA.H b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/SDA/SDA.H index 9c294be8056326837f2f760d0d23ec8e7ab29b3a..bc8dc4025bb768f2be2b76ab0bce1003135f8b09 100644 --- a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/SDA/SDA.H +++ b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/SDA/SDA.H @@ -96,11 +96,11 @@ class SDA // Private Member Functions - //- Disallow copy construct - SDA(const SDA&); + //- No copy construct + SDA(const SDA&) = delete; - //- Disallow default bitwise assignment - void operator=(const SDA&); + //- No copy assignment + void operator=(const SDA&) = delete; public: diff --git a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/axisRotationMotion/axisRotationMotion.H b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/axisRotationMotion/axisRotationMotion.H index 8cbd3e8ce68f853fc278a87e2c2f323a4133de1a..1faba27914db1041cdba9747879802adab2abd1a 100644 --- a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/axisRotationMotion/axisRotationMotion.H +++ b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/axisRotationMotion/axisRotationMotion.H @@ -66,11 +66,11 @@ class axisRotationMotion // Private Member Functions - //- Disallow copy construct - axisRotationMotion(const axisRotationMotion&); + //- No copy construct + axisRotationMotion(const axisRotationMotion&) = delete; - //- Disallow default bitwise assignment - void operator=(const axisRotationMotion&); + //- No copy assignment + void operator=(const axisRotationMotion&) = delete; public: diff --git a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/linearMotion/linearMotion.H b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/linearMotion/linearMotion.H index afc90d74422b0d1c782e2e15374a40ac64c96801..fac465bd51d7c247f2680e2a3fac3919bfa775d1 100644 --- a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/linearMotion/linearMotion.H +++ b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/linearMotion/linearMotion.H @@ -62,11 +62,11 @@ class linearMotion // Private Member Functions - //- Disallow copy construct - linearMotion(const linearMotion&); + //- No copy construct + linearMotion(const linearMotion&) = delete; - //- Disallow default bitwise assignment - void operator=(const linearMotion&); + //- No copy assignment + void operator=(const linearMotion&) = delete; public: diff --git a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/multiMotion/multiMotion.H b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/multiMotion/multiMotion.H index 47ce23cc5ab8b7a1f0151caaaddebcb3c2489ccd..7f9556ebfd21dc8ea2c20bed94388f3397c0fa7f 100644 --- a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/multiMotion/multiMotion.H +++ b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/multiMotion/multiMotion.H @@ -62,11 +62,11 @@ class multiMotion // Private Member Functions - //- Disallow copy construct - multiMotion(const multiMotion&); + //- No copy construct + multiMotion(const multiMotion&) = delete; - //- Disallow default bitwise assignment - void operator=(const multiMotion&); + //- No copy assignment + void operator=(const multiMotion&) = delete; public: diff --git a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/oscillatingLinearMotion/oscillatingLinearMotion.H b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/oscillatingLinearMotion/oscillatingLinearMotion.H index ef0ea54fd8c5e9c0873b9d57fd819135332ecaec..9bd4a2498b31b46d7b86aee463bb373fe455d95b 100644 --- a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/oscillatingLinearMotion/oscillatingLinearMotion.H +++ b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/oscillatingLinearMotion/oscillatingLinearMotion.H @@ -65,11 +65,11 @@ class oscillatingLinearMotion // Private Member Functions - //- Disallow copy construct - oscillatingLinearMotion(const oscillatingLinearMotion&); + //- No copy construct + oscillatingLinearMotion(const oscillatingLinearMotion&) = delete; - //- Disallow default bitwise assignment - void operator=(const oscillatingLinearMotion&); + //- No copy assignment + void operator=(const oscillatingLinearMotion&) = delete; public: diff --git a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/oscillatingRotatingMotion/oscillatingRotatingMotion.H b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/oscillatingRotatingMotion/oscillatingRotatingMotion.H index 198796c61331b1a6af1641311176e4555884af61..6400622fa560a115c7fcead348f9b88cfa09cec8 100644 --- a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/oscillatingRotatingMotion/oscillatingRotatingMotion.H +++ b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/oscillatingRotatingMotion/oscillatingRotatingMotion.H @@ -68,11 +68,11 @@ class oscillatingRotatingMotion // Private Member Functions - //- Disallow copy construct - oscillatingRotatingMotion(const oscillatingRotatingMotion&); + //- No copy construct + oscillatingRotatingMotion(const oscillatingRotatingMotion&) = delete; - //- Disallow default bitwise assignment - void operator=(const oscillatingRotatingMotion&); + //- No copy assignment + void operator=(const oscillatingRotatingMotion&) = delete; public: diff --git a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/rotatingMotion/rotatingMotion.H b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/rotatingMotion/rotatingMotion.H index 720f46ad66607213d1dbfb2eb1823ed817c952ed..586259cb1d75cf38f5e5a2db96097206e24de6ad 100644 --- a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/rotatingMotion/rotatingMotion.H +++ b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/rotatingMotion/rotatingMotion.H @@ -73,11 +73,11 @@ class rotatingMotion // Private Member Functions - //- Disallow copy construct - rotatingMotion(const rotatingMotion&); + //- No copy construct + rotatingMotion(const rotatingMotion&) = delete; - //- Disallow default bitwise assignment - void operator=(const rotatingMotion&); + //- No copy assignment + void operator=(const rotatingMotion&) = delete; public: diff --git a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/solidBodyMotionFunction/solidBodyMotionFunction.H b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/solidBodyMotionFunction/solidBodyMotionFunction.H index 232ce1b4ccdf5f051a5a94b5daf25c0320690bd3..5609af24b8bebf89bab343b3a1b22ea5e30660b8 100644 --- a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/solidBodyMotionFunction/solidBodyMotionFunction.H +++ b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/solidBodyMotionFunction/solidBodyMotionFunction.H @@ -72,11 +72,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - solidBodyMotionFunction(const solidBodyMotionFunction&); + //- No copy construct + solidBodyMotionFunction(const solidBodyMotionFunction&) = delete; - //- Disallow default bitwise assignment - void operator=(const solidBodyMotionFunction&); + //- No copy assignment + void operator=(const solidBodyMotionFunction&) = delete; public: diff --git a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/tabulated6DoFMotion/tabulated6DoFMotion.H b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/tabulated6DoFMotion/tabulated6DoFMotion.H index 4c6c05b4f1f25add3947619eb9964367ea5b3c34..7a8125880fb1fa586d81253caf47e9e0428412b2 100644 --- a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/tabulated6DoFMotion/tabulated6DoFMotion.H +++ b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionFunctions/tabulated6DoFMotion/tabulated6DoFMotion.H @@ -78,11 +78,11 @@ class tabulated6DoFMotion // Private Member Functions - //- Disallow copy construct - tabulated6DoFMotion(const tabulated6DoFMotion&); + //- No copy construct + tabulated6DoFMotion(const tabulated6DoFMotion&) = delete; - //- Disallow default bitwise assignment - void operator=(const tabulated6DoFMotion&); + //- No copy assignment + void operator=(const tabulated6DoFMotion&) = delete; public: diff --git a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionSolver.H b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionSolver.H index 4b36558c2c3083feded2084c9e06164893f10689..dd300a7e2bc9af4e78cd0dda991c4da95471cf35 100644 --- a/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionSolver.H +++ b/src/dynamicMesh/motionSolvers/displacement/solidBody/solidBodyMotionSolver.H @@ -66,11 +66,11 @@ class solidBodyMotionSolver // Private Member Functions - //- Disallow default bitwise copy construct - solidBodyMotionSolver(const solidBodyMotionSolver&); + //- No copy construct + solidBodyMotionSolver(const solidBodyMotionSolver&) = delete; - //- Disallow default bitwise assignment - void operator=(const solidBodyMotionSolver&); + //- No copy assignment + void operator=(const solidBodyMotionSolver&) = delete; public: diff --git a/src/dynamicMesh/motionSolvers/velocity/velocityDisplacement/velocityDisplacementMotionSolver.H b/src/dynamicMesh/motionSolvers/velocity/velocityDisplacement/velocityDisplacementMotionSolver.H index 7578886871857fea8495e3073943365754c82290..4773b33c14b94520ea808ee815e88d43b7eb1037 100644 --- a/src/dynamicMesh/motionSolvers/velocity/velocityDisplacement/velocityDisplacementMotionSolver.H +++ b/src/dynamicMesh/motionSolvers/velocity/velocityDisplacement/velocityDisplacementMotionSolver.H @@ -62,14 +62,14 @@ class velocityDisplacementMotionSolver // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct velocityDisplacementMotionSolver ( const velocityDisplacementMotionSolver& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const velocityDisplacementMotionSolver&); + //- No copy assignment + void operator=(const velocityDisplacementMotionSolver&) = delete; //- Get the boundary condition types for the point displacement wordList pointDisplacementBoundaryTypes() const; diff --git a/src/dynamicMesh/motionSolvers/velocity/velocityMotionSolver.H b/src/dynamicMesh/motionSolvers/velocity/velocityMotionSolver.H index e675b87d73b9538ec63c8398e03b5c28f83713b3..ce20a299940c2a2fce1c791787172a2f9c6702e2 100644 --- a/src/dynamicMesh/motionSolvers/velocity/velocityMotionSolver.H +++ b/src/dynamicMesh/motionSolvers/velocity/velocityMotionSolver.H @@ -67,14 +67,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - velocityMotionSolver - ( - const velocityMotionSolver& - ); + //- No copy construct + velocityMotionSolver(const velocityMotionSolver&) = delete; - //- Disallow default bitwise assignment - void operator=(const velocityMotionSolver&); + //- No copy assignment + void operator=(const velocityMotionSolver&) = delete; public: diff --git a/src/dynamicMesh/perfectInterface/perfectInterface.H b/src/dynamicMesh/perfectInterface/perfectInterface.H index 4003e2fe171d8be6ccdd16ccdfc78423ad3e027e..8adbb7fd553dfa994bf4a9bf86cef142d0d16c24 100644 --- a/src/dynamicMesh/perfectInterface/perfectInterface.H +++ b/src/dynamicMesh/perfectInterface/perfectInterface.H @@ -78,11 +78,11 @@ class perfectInterface static pointField calcFaceCentres(const indirectPrimitivePatch&); - //- Disallow default bitwise copy construct - perfectInterface(const perfectInterface&); + //- No copy construct + perfectInterface(const perfectInterface&) = delete; - //- Disallow default bitwise assignment - void operator=(const perfectInterface&); + //- No copy assignment + void operator=(const perfectInterface&) = delete; public: diff --git a/src/dynamicMesh/pointPatchDist/pointPatchDist.H b/src/dynamicMesh/pointPatchDist/pointPatchDist.H index 6a806fa46d582633177652f9bbf218e36be45075..02ed70ca7292e823a194da8a377e0e2f6ec62c23 100644 --- a/src/dynamicMesh/pointPatchDist/pointPatchDist.H +++ b/src/dynamicMesh/pointPatchDist/pointPatchDist.H @@ -69,11 +69,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - pointPatchDist(const pointPatchDist&); + //- No copy construct + pointPatchDist(const pointPatchDist&) = delete; - //- Disallow default bitwise assignment - void operator=(const pointPatchDist&); + //- No copy assignment + void operator=(const pointPatchDist&) = delete; public: diff --git a/src/dynamicMesh/polyMeshFilter/polyMeshFilter.H b/src/dynamicMesh/polyMeshFilter/polyMeshFilter.H index 862783899494416a5ff7ed7d243739cefb3decfd..2a6896d4abcf2078b039e507a2e9c8d919d249b5 100644 --- a/src/dynamicMesh/polyMeshFilter/polyMeshFilter.H +++ b/src/dynamicMesh/polyMeshFilter/polyMeshFilter.H @@ -186,11 +186,11 @@ class polyMeshFilter labelList& origToCurrentPointMap ) const; - //- Disallow default bitwise copy construct - polyMeshFilter(const polyMeshFilter&); + //- No copy construct + polyMeshFilter(const polyMeshFilter&) = delete; - //- Disallow default bitwise assignment - void operator=(const polyMeshFilter&); + //- No copy assignment + void operator=(const polyMeshFilter&) = delete; public: diff --git a/src/dynamicMesh/polyTopoChange/attachPolyTopoChanger/attachPolyTopoChanger.H b/src/dynamicMesh/polyTopoChange/attachPolyTopoChanger/attachPolyTopoChanger.H index ca13143c99b220f48ae391444a2a082fcb495fb5..e73b4cf68d51532eae1024c04b7737843dbc0e37 100644 --- a/src/dynamicMesh/polyTopoChange/attachPolyTopoChanger/attachPolyTopoChanger.H +++ b/src/dynamicMesh/polyTopoChange/attachPolyTopoChanger/attachPolyTopoChanger.H @@ -65,11 +65,11 @@ class attachPolyTopoChanger // Private Member Functions - //- Disallow default bitwise copy construct - attachPolyTopoChanger(const attachPolyTopoChanger&); + //- No copy construct + attachPolyTopoChanger(const attachPolyTopoChanger&) = delete; - //- Disallow default bitwise assignment - void operator=(const attachPolyTopoChanger&); + //- No copy assignment + void operator=(const attachPolyTopoChanger&) = delete; public: diff --git a/src/dynamicMesh/polyTopoChange/polyMeshModifier/polyMeshModifier.H b/src/dynamicMesh/polyTopoChange/polyMeshModifier/polyMeshModifier.H index aadf811f3e3bcaccf1f54472f1d715a3f34bde1f..a658b3297dc4ebe6a13fc6f27901f119578a0c8d 100644 --- a/src/dynamicMesh/polyTopoChange/polyMeshModifier/polyMeshModifier.H +++ b/src/dynamicMesh/polyTopoChange/polyMeshModifier/polyMeshModifier.H @@ -86,11 +86,11 @@ class polyMeshModifier // Private Member Functions - //- Disallow default bitwise copy construct - polyMeshModifier(const polyMeshModifier&); + //- No copy construct + polyMeshModifier(const polyMeshModifier&) = delete; - //- Disallow default bitwise assignment - void operator=(const polyMeshModifier&); + //- No copy assignment + void operator=(const polyMeshModifier&) = delete; public: diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.H b/src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.H index 9e6e2235ccaad16fa467b843b9ef3934f2586ac2..b41808029905e5e4e63dd4885d19743fd629f3cc 100644 --- a/src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.H +++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.H @@ -279,11 +279,11 @@ class addPatchCellLayer bool& zoneFlip ); - //- Disallow default bitwise copy construct - addPatchCellLayer(const addPatchCellLayer&); + //- No copy construct + addPatchCellLayer(const addPatchCellLayer&) = delete; - //- Disallow default bitwise assignment - void operator=(const addPatchCellLayer&); + //- No copy assignment + void operator=(const addPatchCellLayer&) = delete; public: diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/combineFaces.H b/src/dynamicMesh/polyTopoChange/polyTopoChange/combineFaces.H index c02b26a3366ff1e3b054f7c0ffcc27e9c029771a..d137b2cb871c230584a4299281fa919cf5cdc3f1 100644 --- a/src/dynamicMesh/polyTopoChange/polyTopoChange/combineFaces.H +++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/combineFaces.H @@ -115,11 +115,11 @@ class combineFaces - //- Disallow default bitwise copy construct - combineFaces(const combineFaces&); + //- No copy construct + combineFaces(const combineFaces&) = delete; - //- Disallow default bitwise assignment - void operator=(const combineFaces&); + //- No copy assignment + void operator=(const combineFaces&) = delete; public: diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/duplicatePoints.H b/src/dynamicMesh/polyTopoChange/polyTopoChange/duplicatePoints.H index 8db358ac62a3d1cb4afcead310aafcf74d0a8c83..5cb77f2a8190e787495d85b0f801707116022011 100644 --- a/src/dynamicMesh/polyTopoChange/polyTopoChange/duplicatePoints.H +++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/duplicatePoints.H @@ -70,11 +70,11 @@ class duplicatePoints // Private Member Functions - //- Disallow default bitwise copy construct - duplicatePoints(const duplicatePoints&); + //- No copy construct + duplicatePoints(const duplicatePoints&) = delete; - //- Disallow default bitwise assignment - void operator=(const duplicatePoints&); + //- No copy assignment + void operator=(const duplicatePoints&) = delete; public: diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/edgeCollapser.H b/src/dynamicMesh/polyTopoChange/polyTopoChange/edgeCollapser.H index 6bf2faeb305ddf2fb2e4bc60d2c65d875ff6c034..e85055d84437676f81e242d565427e17b29b7bad 100644 --- a/src/dynamicMesh/polyTopoChange/polyTopoChange/edgeCollapser.H +++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/edgeCollapser.H @@ -236,11 +236,11 @@ private: face& f ) const; - //- Disallow default bitwise copy construct - edgeCollapser(const edgeCollapser&); + //- No copy construct + edgeCollapser(const edgeCollapser&) = delete; - //- Disallow default bitwise assignment - void operator=(const edgeCollapser&); + //- No copy assignment + void operator=(const edgeCollapser&) = delete; public: diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/faceCollapser.H b/src/dynamicMesh/polyTopoChange/polyTopoChange/faceCollapser.H index 4e610928c81498bc6d24f199b4cca64b25bcb3ae..c84028eceb11eeabb8f6acdb24cdf3af52681464 100644 --- a/src/dynamicMesh/polyTopoChange/polyTopoChange/faceCollapser.H +++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/faceCollapser.H @@ -112,11 +112,11 @@ class faceCollapser ) const; - //- Disallow default bitwise copy construct - faceCollapser(const faceCollapser&); + //- No copy construct + faceCollapser(const faceCollapser&) = delete; - //- Disallow default bitwise assignment - void operator=(const faceCollapser&); + //- No copy assignment + void operator=(const faceCollapser&) = delete; public: diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/hexRef8.H b/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/hexRef8.H index 3f4292d527e99af878a0aa79086d994ffdf7edee..0f57a51f8c74c128396657e5c7f86d70a4f731bb 100644 --- a/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/hexRef8.H +++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/hexRef8.H @@ -341,11 +341,11 @@ class hexRef8 ) const; - //- Disallow default bitwise copy construct - hexRef8(const hexRef8&); + //- No copy construct + hexRef8(const hexRef8&) = delete; - //- Disallow default bitwise assignment - void operator=(const hexRef8&); + //- No copy assignment + void operator=(const hexRef8&) = delete; public: diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/hexRef8Data.H b/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/hexRef8Data.H index 48c50db72e36a7bf9c352789bf657abc76205eca..913e46b5f3f22825d8092fb1a9c6f3953648bf49 100644 --- a/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/hexRef8Data.H +++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/hexRef8Data.H @@ -73,11 +73,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - hexRef8Data(const hexRef8Data&); + //- No copy construct + hexRef8Data(const hexRef8Data&) = delete; - //- Disallow default bitwise assignment - void operator=(const hexRef8Data&); + //- No copy assignment + void operator=(const hexRef8Data&) = delete; public: diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/removeFaces.H b/src/dynamicMesh/polyTopoChange/polyTopoChange/removeFaces.H index a4ccf9b15484e028b0b5165d48e4f454575b4620..a598c6a3bda58cbd1fc001e64e56c67291e242d9 100644 --- a/src/dynamicMesh/polyTopoChange/polyTopoChange/removeFaces.H +++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/removeFaces.H @@ -156,11 +156,11 @@ class removeFaces - //- Disallow default bitwise copy construct - removeFaces(const removeFaces&); + //- No copy construct + removeFaces(const removeFaces&) = delete; - //- Disallow default bitwise assignment - void operator=(const removeFaces&); + //- No copy assignment + void operator=(const removeFaces&) = delete; public: diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/removePoints.H b/src/dynamicMesh/polyTopoChange/polyTopoChange/removePoints.H index 25f4c7dad471ec4ac6117875fdff4e30c4faf0d0..9f4530e121f606c697259c21d6e1057258bb893d 100644 --- a/src/dynamicMesh/polyTopoChange/polyTopoChange/removePoints.H +++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/removePoints.H @@ -90,11 +90,11 @@ class removePoints ) const; - //- Disallow default bitwise copy construct - removePoints(const removePoints&); + //- No copy construct + removePoints(const removePoints&) = delete; - //- Disallow default bitwise assignment - void operator=(const removePoints&); + //- No copy assignment + void operator=(const removePoints&) = delete; public: diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/tetDecomposer.H b/src/dynamicMesh/polyTopoChange/polyTopoChange/tetDecomposer.H index 2de77c48c9343792cc27a5352870af2469fa8956..7bc338f331b1cbb3548a0f5c9b1382b585dc8415 100644 --- a/src/dynamicMesh/polyTopoChange/polyTopoChange/tetDecomposer.H +++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/tetDecomposer.H @@ -126,11 +126,11 @@ private: //- Work out triangle index given the starting vertex in the face label triIndex(const label facei, const label fp) const; - //- Disallow default bitwise copy construct - tetDecomposer(const tetDecomposer&); + //- No copy construct + tetDecomposer(const tetDecomposer&) = delete; - //- Disallow default bitwise assignment - void operator=(const tetDecomposer&); + //- No copy assignment + void operator=(const tetDecomposer&) = delete; public: diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChanger/polyTopoChanger.H b/src/dynamicMesh/polyTopoChange/polyTopoChanger/polyTopoChanger.H index 94ff7bea97c6e4b27c1780920e646207827b8470..44611cf46056fcbe4569a0b3a17e6bfa40f89c44 100644 --- a/src/dynamicMesh/polyTopoChange/polyTopoChanger/polyTopoChanger.H +++ b/src/dynamicMesh/polyTopoChange/polyTopoChanger/polyTopoChanger.H @@ -71,10 +71,10 @@ class polyTopoChanger void readModifiers(); - //- Disallow default bitwise copy construct + //- No copy construct polyTopoChanger(const polyTopoChanger&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const polyTopoChanger&) = delete; diff --git a/src/dynamicMesh/polyTopoChange/repatchPolyTopoChanger/repatchPolyTopoChanger.H b/src/dynamicMesh/polyTopoChange/repatchPolyTopoChanger/repatchPolyTopoChanger.H index 5f0e6c46377ea4faf9856e230bb323d178288a20..2afb9982a0ff6ab15fd385156d25b0b0a69ddf6a 100644 --- a/src/dynamicMesh/polyTopoChange/repatchPolyTopoChanger/repatchPolyTopoChanger.H +++ b/src/dynamicMesh/polyTopoChange/repatchPolyTopoChanger/repatchPolyTopoChanger.H @@ -65,11 +65,11 @@ class repatchPolyTopoChanger //- Demand driven access to polyTopoChange polyTopoChange& meshMod(); - //- Disallow default bitwise copy construct - repatchPolyTopoChanger(const repatchPolyTopoChanger&); + //- No copy construct + repatchPolyTopoChanger(const repatchPolyTopoChanger&) = delete; - //- Disallow default bitwise assignment - void operator=(const repatchPolyTopoChanger&); + //- No copy assignment + void operator=(const repatchPolyTopoChanger&) = delete; public: diff --git a/src/dynamicMesh/setUpdater/setUpdater.H b/src/dynamicMesh/setUpdater/setUpdater.H index f9d14353d0471d43a660c207c5a487b0424b33b3..31fbe18dd7baecab3fe6cff03e281a340777088a 100644 --- a/src/dynamicMesh/setUpdater/setUpdater.H +++ b/src/dynamicMesh/setUpdater/setUpdater.H @@ -58,11 +58,11 @@ class setUpdater template<class Type> void updateSets(const mapPolyMesh& morphMap) const; - //- Disallow default bitwise copy construct - setUpdater(const setUpdater&); + //- No copy construct + setUpdater(const setUpdater&) = delete; - //- Disallow default bitwise assignment - void operator=(const setUpdater&); + //- No copy assignment + void operator=(const setUpdater&) = delete; public: diff --git a/src/dynamicMesh/slidingInterface/enrichedPatch/enrichedPatch.H b/src/dynamicMesh/slidingInterface/enrichedPatch/enrichedPatch.H index 12430c03e6320adc11cc8615b49e9799f18d1154..5de26b91849b9869dc246746654aa8369277397c 100644 --- a/src/dynamicMesh/slidingInterface/enrichedPatch/enrichedPatch.H +++ b/src/dynamicMesh/slidingInterface/enrichedPatch/enrichedPatch.H @@ -132,10 +132,10 @@ class enrichedPatch // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct enrichedPatch(const enrichedPatch&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const enrichedPatch&) = delete; // Creation of demand-driven private data diff --git a/src/dynamicMesh/slidingInterface/slidingInterface.H b/src/dynamicMesh/slidingInterface/slidingInterface.H index c7f0383942791e7f24ab32b1b58dd6b85d07d37d..0747f4e34171ac4de19c8375014753a595116487 100644 --- a/src/dynamicMesh/slidingInterface/slidingInterface.H +++ b/src/dynamicMesh/slidingInterface/slidingInterface.H @@ -209,11 +209,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - slidingInterface(const slidingInterface&); + //- No copy construct + slidingInterface(const slidingInterface&) = delete; - //- Disallow default bitwise assignment - void operator=(const slidingInterface&); + //- No copy assignment + void operator=(const slidingInterface&) = delete; //- Clear out void clearOut() const; diff --git a/src/engine/engineMesh/engineMesh/engineMesh.H b/src/engine/engineMesh/engineMesh/engineMesh.H index cdd32c1fdeb845d1bb24549e82a2220fe0570ae2..d9fdf359ef8206698ef4e5726c9a4607b1308562 100644 --- a/src/engine/engineMesh/engineMesh/engineMesh.H +++ b/src/engine/engineMesh/engineMesh/engineMesh.H @@ -57,11 +57,11 @@ class engineMesh { // Private Member Functions - //- Disallow default bitwise copy construct - engineMesh(const engineMesh&); + //- No copy construct + engineMesh(const engineMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const engineMesh&); + //- No copy assignment + void operator=(const engineMesh&) = delete; protected: diff --git a/src/engine/engineMesh/fvMotionSolverEngineMesh/fvMotionSolverEngineMesh.H b/src/engine/engineMesh/fvMotionSolverEngineMesh/fvMotionSolverEngineMesh.H index a8094ce231afd89a05950075b07c026b329b59b5..93c142ed9647966a0dc0d29ba9ff3beedf6a6bee 100644 --- a/src/engine/engineMesh/fvMotionSolverEngineMesh/fvMotionSolverEngineMesh.H +++ b/src/engine/engineMesh/fvMotionSolverEngineMesh/fvMotionSolverEngineMesh.H @@ -63,11 +63,11 @@ class fvMotionSolverEngineMesh // Private Member Functions - //- Disallow default bitwise copy construct - fvMotionSolverEngineMesh(const fvMotionSolverEngineMesh&); + //- No copy construct + fvMotionSolverEngineMesh(const fvMotionSolverEngineMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const fvMotionSolverEngineMesh&); + //- No copy assignment + void operator=(const fvMotionSolverEngineMesh&) = delete; public: diff --git a/src/engine/engineMesh/layeredEngineMesh/layeredEngineMesh.H b/src/engine/engineMesh/layeredEngineMesh/layeredEngineMesh.H index c22388ede495d49a2b1c29c40673f34eca1b5cb6..cd256cfa9abc8f92185ec2404ffee98ce15cd387 100644 --- a/src/engine/engineMesh/layeredEngineMesh/layeredEngineMesh.H +++ b/src/engine/engineMesh/layeredEngineMesh/layeredEngineMesh.H @@ -58,11 +58,11 @@ class layeredEngineMesh // Private Member Functions - //- Disallow default bitwise copy construct - layeredEngineMesh(const layeredEngineMesh&); + //- No copy construct + layeredEngineMesh(const layeredEngineMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const layeredEngineMesh&); + //- No copy assignment + void operator=(const layeredEngineMesh&) = delete; public: diff --git a/src/engine/engineMesh/staticEngineMesh/staticEngineMesh.H b/src/engine/engineMesh/staticEngineMesh/staticEngineMesh.H index e87dc355a2e39d2f3fe196a90987e898784e2643..79f3dee7429ec87ff9df95ca060c38dced650054 100644 --- a/src/engine/engineMesh/staticEngineMesh/staticEngineMesh.H +++ b/src/engine/engineMesh/staticEngineMesh/staticEngineMesh.H @@ -52,11 +52,11 @@ class staticEngineMesh { // Private Member Functions - //- Disallow default bitwise copy construct - staticEngineMesh(const staticEngineMesh&); + //- No copy construct + staticEngineMesh(const staticEngineMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const staticEngineMesh&); + //- No copy assignment + void operator=(const staticEngineMesh&) = delete; public: diff --git a/src/engine/enginePiston/enginePiston.H b/src/engine/enginePiston/enginePiston.H index 1cf9c5bde7df8161bdf8732247d07bc003a7b103..03c2291216ef91379ab49b75e875775d6d25674e 100644 --- a/src/engine/enginePiston/enginePiston.H +++ b/src/engine/enginePiston/enginePiston.H @@ -79,11 +79,11 @@ class enginePiston // Private Member Functions - //- Disallow default bitwise copy construct - enginePiston(const enginePiston&); + //- No copy construct + enginePiston(const enginePiston&) = delete; - //- Disallow default bitwise assignment - void operator=(const enginePiston&); + //- No copy assignment + void operator=(const enginePiston&) = delete; public: diff --git a/src/engine/engineTime/engineTime.H b/src/engine/engineTime/engineTime.H index 2ccb142a1266675ea79e7f5d2b1447e376b3f24d..90a3385e331a418917f3e850f56c8fbc9eeb083f 100644 --- a/src/engine/engineTime/engineTime.H +++ b/src/engine/engineTime/engineTime.H @@ -86,11 +86,11 @@ class engineTime // Private Member Functions - //- Disallow default bitwise copy construct - engineTime(const engineTime&); + //- No copy construct + engineTime(const engineTime&) = delete; - //- Disallow default bitwise assignment - void operator=(const engineTime&); + //- No copy assignment + void operator=(const engineTime&) = delete; //- Adjust read time values void timeAdjustment(); diff --git a/src/engine/engineValve/engineValve.H b/src/engine/engineValve/engineValve.H index be702aa9e88dedd08277124ab54d772006468b0e..e34b88f65f8257f735892ef17ac84983af026c2d 100644 --- a/src/engine/engineValve/engineValve.H +++ b/src/engine/engineValve/engineValve.H @@ -133,11 +133,11 @@ class engineValve // Private Member Functions - //- Disallow default bitwise copy construct - engineValve(const engineValve&); + //- No copy construct + engineValve(const engineValve&) = delete; - //- Disallow default bitwise assignment - void operator=(const engineValve&); + //- No copy assignment + void operator=(const engineValve&) = delete; //- Adjust crank angle to drop within the limits of the lift profile diff --git a/src/engine/engineValve/valveBank.H b/src/engine/engineValve/valveBank.H index b5046bf9be4a878d8925fd3f9e1c0d0d74441b20..8bd0c276739f6f6adba650bb6e83a16ed6250e2d 100644 --- a/src/engine/engineValve/valveBank.H +++ b/src/engine/engineValve/valveBank.H @@ -52,11 +52,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - valveBank(const valveBank&); + //- No copy construct + valveBank(const valveBank&) = delete; - //- Disallow default bitwise assignment - void operator=(const valveBank&); + //- No copy assignment + void operator=(const valveBank&) = delete; public: diff --git a/src/engine/ignition/ignition.H b/src/engine/ignition/ignition.H index eae3fda327699446ec4a3ad66146fbe33bb39504..3982a07ad209d32af8e450f165dc16d2856003f8 100644 --- a/src/engine/ignition/ignition.H +++ b/src/engine/ignition/ignition.H @@ -63,11 +63,11 @@ class ignition // Private Member Functions - //- Disallow default bitwise copy construct - ignition(const ignition&); + //- No copy construct + ignition(const ignition&) = delete; - //- Disallow default bitwise assignment - void operator=(const ignition&); + //- No copy assignment + void operator=(const ignition&) = delete; public: diff --git a/src/fileFormats/ensight/file/ensightFile.H b/src/fileFormats/ensight/file/ensightFile.H index 78b09904e10bb6429004f55a9ea84c84509ceb45..4d2592521dde04c0eb87088da68eb9f0ebe90786 100644 --- a/src/fileFormats/ensight/file/ensightFile.H +++ b/src/fileFormats/ensight/file/ensightFile.H @@ -73,11 +73,12 @@ class ensightFile //- Initialize by setting the ASCII output formatting void initialize(); - //- Disallow default bitwise assignment + //- No copy construct + ensightFile(const ensightFile&) = delete; + + //- No copy assignment void operator=(const ensightFile&) = delete; - //- Disallow default copy constructor - ensightFile(const ensightFile&) = delete; public: diff --git a/src/fileFormats/ensight/file/ensightGeoFile.H b/src/fileFormats/ensight/file/ensightGeoFile.H index 6b60c6e419554e12a5c4bfb404bd2493c06f95cc..eb83526c658b9522f391dd5f95f9204b6dd23835 100644 --- a/src/fileFormats/ensight/file/ensightGeoFile.H +++ b/src/fileFormats/ensight/file/ensightGeoFile.H @@ -52,12 +52,12 @@ class ensightGeoFile //- Initialize by outputting header information void initialize(); - //- Disallow default bitwise assignment - void operator=(const ensightGeoFile&) = delete; - - //- Disallow default copy constructor + //- No copy construct ensightGeoFile(const ensightGeoFile&) = delete; + //- No copy assignment + void operator=(const ensightGeoFile&) = delete; + public: diff --git a/src/fileFormats/ensight/part/ensightCells.H b/src/fileFormats/ensight/part/ensightCells.H index cef7c4b2edd8c7aa3bc482fd661fa32391dfd0f6..8dd096dd8708fd88fb99ba53f7d2305e98161066 100644 --- a/src/fileFormats/ensight/part/ensightCells.H +++ b/src/fileFormats/ensight/part/ensightCells.H @@ -100,7 +100,7 @@ private: //- Use temporarily stored sizes to redimension the element lists void resizeAll(); - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const ensightCells&) = delete; diff --git a/src/fileFormats/ensight/part/ensightFaces.H b/src/fileFormats/ensight/part/ensightFaces.H index fc9fb996589156102df998c8feb10cd2ff49282b..abea086e3ba910213592d2470f6b4b8e9d062049 100644 --- a/src/fileFormats/ensight/part/ensightFaces.H +++ b/src/fileFormats/ensight/part/ensightFaces.H @@ -107,7 +107,7 @@ private: //- Use temporarily stored sizes to redimension the element lists void resizeAll(); - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const ensightFaces&) = delete; diff --git a/src/fileFormats/ensight/read/ensightReadFile.H b/src/fileFormats/ensight/read/ensightReadFile.H index aa6723352bc1a3f1b5cd132410dc90073bfd1564..680056f27fdfa26aa7647600b83f8edaedc8d26c 100644 --- a/src/fileFormats/ensight/read/ensightReadFile.H +++ b/src/fileFormats/ensight/read/ensightReadFile.H @@ -51,11 +51,11 @@ class ensightReadFile { // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const ensightReadFile&); + //- No copy construct + ensightReadFile(const ensightReadFile&) = delete; - //- Disallow default copy constructor - ensightReadFile(const ensightReadFile&); + //- No copy assignment + void operator=(const ensightReadFile&) = delete; public: diff --git a/src/fileFormats/vtk/format/foamVtkAppendBase64Formatter.H b/src/fileFormats/vtk/format/foamVtkAppendBase64Formatter.H index 2df2e8ce508822ffe804bcabb6be3c69480ef591..77e3c5ee675c2dc1a8030fb98bc970fcba405433 100644 --- a/src/fileFormats/vtk/format/foamVtkAppendBase64Formatter.H +++ b/src/fileFormats/vtk/format/foamVtkAppendBase64Formatter.H @@ -61,10 +61,10 @@ class appendBase64Formatter // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct appendBase64Formatter(const appendBase64Formatter&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const appendBase64Formatter&) = delete; diff --git a/src/fileFormats/vtk/format/foamVtkAppendRawFormatter.H b/src/fileFormats/vtk/format/foamVtkAppendRawFormatter.H index 758fa8d93d964396e92f0f06759f519336c7f3e7..4f6d58336a455f2c686b609df0f4e001887f6030 100644 --- a/src/fileFormats/vtk/format/foamVtkAppendRawFormatter.H +++ b/src/fileFormats/vtk/format/foamVtkAppendRawFormatter.H @@ -61,10 +61,10 @@ class appendRawFormatter // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct appendRawFormatter(const appendRawFormatter&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const appendRawFormatter&) = delete; diff --git a/src/fileFormats/vtk/format/foamVtkAsciiFormatter.H b/src/fileFormats/vtk/format/foamVtkAsciiFormatter.H index bbedc55e91e138b78d834f7594cd2b4e4ef217fc..588d80b58a89fe4cee571b7dea955a9f068a1fd5 100644 --- a/src/fileFormats/vtk/format/foamVtkAsciiFormatter.H +++ b/src/fileFormats/vtk/format/foamVtkAsciiFormatter.H @@ -72,10 +72,10 @@ class asciiFormatter inline void done(); - //- Disallow default bitwise copy construct + //- No copy construct asciiFormatter(const asciiFormatter&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const asciiFormatter&) = delete; diff --git a/src/fileFormats/vtk/format/foamVtkBase64Formatter.H b/src/fileFormats/vtk/format/foamVtkBase64Formatter.H index df27f23087be308cf51947694fe86c384ac265e4..94a009da9993b74cbe49a6b0f72e0ef46ba59d4f 100644 --- a/src/fileFormats/vtk/format/foamVtkBase64Formatter.H +++ b/src/fileFormats/vtk/format/foamVtkBase64Formatter.H @@ -59,10 +59,10 @@ class base64Formatter // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct base64Formatter(const base64Formatter&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const base64Formatter&) = delete; diff --git a/src/fileFormats/vtk/format/foamVtkBase64Layer.H b/src/fileFormats/vtk/format/foamVtkBase64Layer.H index 6bfa3652d4da34d125067278e4a3f7f6ed7a6045..79b5397ea59b69c6965c0fef04f21031d10f4a41 100644 --- a/src/fileFormats/vtk/format/foamVtkBase64Layer.H +++ b/src/fileFormats/vtk/format/foamVtkBase64Layer.H @@ -58,10 +58,10 @@ class foamVtkBase64Layer // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct foamVtkBase64Layer(const foamVtkBase64Layer&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const foamVtkBase64Layer&) = delete; diff --git a/src/fileFormats/vtk/format/foamVtkLegacyAsciiFormatter.H b/src/fileFormats/vtk/format/foamVtkLegacyAsciiFormatter.H index 7301ef98540366f2d639cfad965aaab809a5d38a..f298a545f6fb52876e178505c1b4d36676961eb9 100644 --- a/src/fileFormats/vtk/format/foamVtkLegacyAsciiFormatter.H +++ b/src/fileFormats/vtk/format/foamVtkLegacyAsciiFormatter.H @@ -61,10 +61,10 @@ class legacyAsciiFormatter // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct legacyAsciiFormatter(const legacyAsciiFormatter&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const legacyAsciiFormatter&) = delete; diff --git a/src/fileFormats/vtk/format/foamVtkLegacyRawFormatter.H b/src/fileFormats/vtk/format/foamVtkLegacyRawFormatter.H index 3f24f05cb07555a57921887108f7f06f160f9403..263332867678b5e6ff72e8cc6eccb89030bacdd0 100644 --- a/src/fileFormats/vtk/format/foamVtkLegacyRawFormatter.H +++ b/src/fileFormats/vtk/format/foamVtkLegacyRawFormatter.H @@ -63,10 +63,10 @@ class legacyRawFormatter // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct legacyRawFormatter(const legacyRawFormatter&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const legacyRawFormatter&) = delete; diff --git a/src/fileFormats/vtk/read/vtkUnstructuredReader.H b/src/fileFormats/vtk/read/vtkUnstructuredReader.H index bee79496c65377dc40c5f219d2d3db62b29da5de..159fbdb7309d15b070987b78c8466b7de572cb29 100644 --- a/src/fileFormats/vtk/read/vtkUnstructuredReader.H +++ b/src/fileFormats/vtk/read/vtkUnstructuredReader.H @@ -204,8 +204,8 @@ private: void read(ISstream& inFile); - //- Disallow assignment - void operator=(const vtkUnstructuredReader&); + //- No copy assignment + void operator=(const vtkUnstructuredReader&) = delete; public: diff --git a/src/finiteArea/faMesh/faBoundaryMesh/faBoundaryMesh.H b/src/finiteArea/faMesh/faBoundaryMesh/faBoundaryMesh.H index bf7580c20c83b503acd7d3916ca5edeed4e3e8b4..f5a7c51b802107fb74ba1226f23f51dcb563afb8 100644 --- a/src/finiteArea/faMesh/faBoundaryMesh/faBoundaryMesh.H +++ b/src/finiteArea/faMesh/faBoundaryMesh/faBoundaryMesh.H @@ -72,11 +72,11 @@ class faBoundaryMesh //- Reference to mesh const faMesh& mesh_; - //- Disallow construct as copy - faBoundaryMesh(const faBoundaryMesh&); + //- No copy construct + faBoundaryMesh(const faBoundaryMesh&) = delete; - //- Disallow assignment - void operator=(const faBoundaryMesh&); + //- No copy assignment + void operator=(const faBoundaryMesh&) = delete; public: diff --git a/src/finiteArea/faMesh/faGlobalMeshData/faGlobalMeshData.H b/src/finiteArea/faMesh/faGlobalMeshData/faGlobalMeshData.H index acfef27d3c4d54a92539ca70ba5456adc59ced08..fe96b59aa66edfe22fc0ef8f6dc94961c9547124 100644 --- a/src/finiteArea/faMesh/faGlobalMeshData/faGlobalMeshData.H +++ b/src/finiteArea/faMesh/faGlobalMeshData/faGlobalMeshData.H @@ -75,11 +75,11 @@ class faGlobalMeshData // Private Member Functions - //- Disallow default bitwise copy construct - faGlobalMeshData(const faGlobalMeshData&); + //- No copy construct + faGlobalMeshData(const faGlobalMeshData&) = delete; - //- Disallow default bitwise assignment - void operator=(const faGlobalMeshData&); + //- No copy assignment + void operator=(const faGlobalMeshData&) = delete; public: diff --git a/src/finiteArea/faMesh/faMesh.H b/src/finiteArea/faMesh/faMesh.H index 733dde6898e1c5d9441a4ae244989d03ac3f5755..91d64fdab2dacc12a6e199d185b46ba5502ad05a 100644 --- a/src/finiteArea/faMesh/faMesh.H +++ b/src/finiteArea/faMesh/faMesh.H @@ -198,11 +198,11 @@ class faMesh // Private Member Functions - //- Disallow default bitwise copy construct - faMesh(const faMesh&); + //- No copy construct + faMesh(const faMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const faMesh&); + //- No copy assignment + void operator=(const faMesh&) = delete; //- Set primitive mesh data diff --git a/src/finiteArea/faMesh/faMeshLduAddressing.H b/src/finiteArea/faMesh/faMeshLduAddressing.H index fbee4ceba82f23b34a421ce57a17876039d9bc09..f1077c32e19aaf3820126f415dfc012fd465720f 100644 --- a/src/finiteArea/faMesh/faMeshLduAddressing.H +++ b/src/finiteArea/faMesh/faMeshLduAddressing.H @@ -74,11 +74,11 @@ class faMeshLduAddressing // Private Member Functions - //- Disallow default bitwise copy construct - faMeshLduAddressing(const faMeshLduAddressing&); + //- No copy construct + faMeshLduAddressing(const faMeshLduAddressing&) = delete; - //- Disallow default bitwise assignment - void operator=(const faMeshLduAddressing&); + //- No copy assignment + void operator=(const faMeshLduAddressing&) = delete; public: diff --git a/src/finiteArea/faMesh/faMeshMapper/faAreaMapper.H b/src/finiteArea/faMesh/faMeshMapper/faAreaMapper.H index a12d87a6eaac340ef4998339cb7d0a074802809f..e73dff11aacd27ddde9e554b1fbc6c9a5b9211c4 100644 --- a/src/finiteArea/faMesh/faMeshMapper/faAreaMapper.H +++ b/src/finiteArea/faMesh/faMeshMapper/faAreaMapper.H @@ -104,11 +104,11 @@ class faAreaMapper // Private Member Functions - //- Disallow default bitwise copy construct - faAreaMapper(const faAreaMapper&); + //- No copy construct + faAreaMapper(const faAreaMapper&) = delete; - //- Disallow default bitwise assignment - void operator=(const faAreaMapper&); + //- No copy assignment + void operator=(const faAreaMapper&) = delete; //- Calculate addressing void calcAddressing() const; diff --git a/src/finiteArea/faMesh/faMeshMapper/faBoundaryMeshMapper.H b/src/finiteArea/faMesh/faMeshMapper/faBoundaryMeshMapper.H index 304eb3d456b3451dfaa6a4b8a6497773cde48bbc..e9bdf9ba875556fff74627f76becbdd4f9ea0332 100644 --- a/src/finiteArea/faMesh/faMeshMapper/faBoundaryMeshMapper.H +++ b/src/finiteArea/faMesh/faMeshMapper/faBoundaryMeshMapper.H @@ -52,11 +52,11 @@ class faBoundaryMeshMapper { // Private Member Functions - //- Disallow default bitwise copy construct - faBoundaryMeshMapper(const faBoundaryMeshMapper&); + //- No copy construct + faBoundaryMeshMapper(const faBoundaryMeshMapper&) = delete; - //- Disallow default bitwise assignment - void operator=(const faBoundaryMeshMapper&); + //- No copy assignment + void operator=(const faBoundaryMeshMapper&) = delete; public: diff --git a/src/finiteArea/faMesh/faMeshMapper/faEdgeMapper.H b/src/finiteArea/faMesh/faMeshMapper/faEdgeMapper.H index a34c0988061c54ca7e205f55157defc1295e92f6..d9c5a9a4703513f25494c4ff24ea249209207044 100644 --- a/src/finiteArea/faMesh/faMeshMapper/faEdgeMapper.H +++ b/src/finiteArea/faMesh/faMeshMapper/faEdgeMapper.H @@ -83,11 +83,11 @@ class faEdgeMapper // Private Member Functions - //- Disallow default bitwise copy construct - faEdgeMapper(const faEdgeMapper&); + //- No copy construct + faEdgeMapper(const faEdgeMapper&) = delete; - //- Disallow default bitwise assignment - void operator=(const faEdgeMapper&); + //- No copy assignment + void operator=(const faEdgeMapper&) = delete; //- Calculate addressing void calcAddressing() const; diff --git a/src/finiteArea/faMesh/faMeshMapper/faMeshMapper.H b/src/finiteArea/faMesh/faMeshMapper/faMeshMapper.H index 529b60c0623ffaddb9a9bf5b32eb7352262954f4..cfc0eb256caa608e85a870b5dd92c779a64fdea0 100644 --- a/src/finiteArea/faMesh/faMeshMapper/faMeshMapper.H +++ b/src/finiteArea/faMesh/faMeshMapper/faMeshMapper.H @@ -112,11 +112,11 @@ class faMeshMapper // Private Member Functions - //- Disallow default bitwise copy construct - faMeshMapper(const faMeshMapper&); + //- No copy construct + faMeshMapper(const faMeshMapper&) = delete; - //- Disallow default bitwise assignment - void operator=(const faMeshMapper&); + //- No copy assignment + void operator=(const faMeshMapper&) = delete; public: diff --git a/src/finiteArea/faMesh/faMeshMapper/faPatchMapper.H b/src/finiteArea/faMesh/faMeshMapper/faPatchMapper.H index f8937ed8e2b5ed517c2e8fd2cea2bfc66139b544..2358f73262ffaffd362394cc2f56c68865abe381 100644 --- a/src/finiteArea/faMesh/faMeshMapper/faPatchMapper.H +++ b/src/finiteArea/faMesh/faMeshMapper/faPatchMapper.H @@ -89,11 +89,11 @@ class faPatchMapper // Private Member Functions - //- Disallow default bitwise copy construct - faPatchMapper(const faPatchMapper&); + //- No copy construct + faPatchMapper(const faPatchMapper&) = delete; - //- Disallow default bitwise assignment - void operator=(const faPatchMapper&); + //- No copy assignment + void operator=(const faPatchMapper&) = delete; //- Calculate addressing for mapping with inserted cells diff --git a/src/finiteArea/faSolution/faSolution.H b/src/finiteArea/faSolution/faSolution.H index 3deec19fceded821e0cd8b025c41ec75b5b65379..7b25aa465c2f077d5317e382ad371d201fe7d738 100644 --- a/src/finiteArea/faSolution/faSolution.H +++ b/src/finiteArea/faSolution/faSolution.H @@ -57,9 +57,11 @@ class faSolution { // Private Member Functions - //- Disallow default bitwise copy construct and assignment - faSolution(const faSolution&); - void operator=(const faSolution&); + //- No copy construct + faSolution(const faSolution&) = delete; + + //- No copy assignment + void operator=(const faSolution&) = delete; public: diff --git a/src/finiteArea/fields/faPatchFields/faPatchField/faPatchFieldMapperPatchRef.H b/src/finiteArea/fields/faPatchFields/faPatchField/faPatchFieldMapperPatchRef.H index a20479d391ed5c1040cdf52f0ffb3c46d68eabbd..b7c1c56e26fad794ea14c1527b7d469e90cdebec 100644 --- a/src/finiteArea/fields/faPatchFields/faPatchField/faPatchFieldMapperPatchRef.H +++ b/src/finiteArea/fields/faPatchFields/faPatchField/faPatchFieldMapperPatchRef.H @@ -56,11 +56,11 @@ class faPatchFieldMapperPatchRef // Private Member Functions - //- Disallow default bitwise copy construct - faPatchFieldMapperPatchRef(const faPatchFieldMapperPatchRef&); + //- No copy construct + faPatchFieldMapperPatchRef(const faPatchFieldMapperPatchRef&) = delete; - //- Disallow default bitwise assignment - void operator=(const faPatchFieldMapperPatchRef&); + //- No copy assignment + void operator=(const faPatchFieldMapperPatchRef&) = delete; public: diff --git a/src/finiteArea/finiteArea/convectionSchemes/faConvectionScheme/faConvectionScheme.H b/src/finiteArea/finiteArea/convectionSchemes/faConvectionScheme/faConvectionScheme.H index 701bc954eaa6dff4b55aeefca327aac532a8fe67..6ef43d937c255fb7ec3a7993340a038b3973c286 100644 --- a/src/finiteArea/finiteArea/convectionSchemes/faConvectionScheme/faConvectionScheme.H +++ b/src/finiteArea/finiteArea/convectionSchemes/faConvectionScheme/faConvectionScheme.H @@ -74,10 +74,10 @@ class convectionScheme // Private Member Functions - //- Disallow copy construct + //- No copy construct convectionScheme(const convectionScheme&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const convectionScheme&) = delete; diff --git a/src/finiteArea/finiteArea/convectionSchemes/gaussFaConvectionScheme/gaussFaConvectionScheme.H b/src/finiteArea/finiteArea/convectionSchemes/gaussFaConvectionScheme/gaussFaConvectionScheme.H index 54dcd9669f7b5fe8963ad61ba28e91e326c4ebc3..55ee923cd6ddf4fc018a084d73e97be63c7c1916 100644 --- a/src/finiteArea/finiteArea/convectionSchemes/gaussFaConvectionScheme/gaussFaConvectionScheme.H +++ b/src/finiteArea/finiteArea/convectionSchemes/gaussFaConvectionScheme/gaussFaConvectionScheme.H @@ -67,11 +67,11 @@ class gaussConvectionScheme // Private Member Functions - //- Disallow default bitwise copy construct - gaussConvectionScheme(const gaussConvectionScheme&); + //- No copy construct + gaussConvectionScheme(const gaussConvectionScheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const gaussConvectionScheme&); + //- No copy assignment + void operator=(const gaussConvectionScheme&) = delete; public: diff --git a/src/finiteArea/finiteArea/d2dt2Schemes/EulerFaD2dt2Scheme/EulerFaD2dt2Scheme.H b/src/finiteArea/finiteArea/d2dt2Schemes/EulerFaD2dt2Scheme/EulerFaD2dt2Scheme.H index 8f026fe2b88dc19d5434fed6ec700af4999cba95..8d57b6649e13d038ed2d797597de0897a4a6b8d0 100644 --- a/src/finiteArea/finiteArea/d2dt2Schemes/EulerFaD2dt2Scheme/EulerFaD2dt2Scheme.H +++ b/src/finiteArea/finiteArea/d2dt2Schemes/EulerFaD2dt2Scheme/EulerFaD2dt2Scheme.H @@ -68,11 +68,11 @@ class EulerFaD2dt2Scheme //- Return the previous time-step scalar deltaT0_() const; - //- Disallow default bitwise copy construct - EulerFaD2dt2Scheme(const EulerFaD2dt2Scheme&); + //- No copy construct + EulerFaD2dt2Scheme(const EulerFaD2dt2Scheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const EulerFaD2dt2Scheme&); + //- No copy assignment + void operator=(const EulerFaD2dt2Scheme&) = delete; public: diff --git a/src/finiteArea/finiteArea/d2dt2Schemes/faD2dt2Scheme/faD2dt2Scheme.H b/src/finiteArea/finiteArea/d2dt2Schemes/faD2dt2Scheme/faD2dt2Scheme.H index c7c062eaa91bf3a7ccd0afacefc38db65b86e8e5..e9a09f27170c8dce4a948f593c0d4f940c6b1e15 100644 --- a/src/finiteArea/finiteArea/d2dt2Schemes/faD2dt2Scheme/faD2dt2Scheme.H +++ b/src/finiteArea/finiteArea/d2dt2Schemes/faD2dt2Scheme/faD2dt2Scheme.H @@ -79,11 +79,11 @@ protected: // Private Member Functions - //- Disallow copy construct - faD2dt2Scheme(const faD2dt2Scheme&); + //- No copy construct + faD2dt2Scheme(const faD2dt2Scheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const faD2dt2Scheme&); + //- No copy assignment + void operator=(const faD2dt2Scheme&) = delete; public: diff --git a/src/finiteArea/finiteArea/ddtSchemes/EulerFaDdtScheme/EulerFaDdtScheme.H b/src/finiteArea/finiteArea/ddtSchemes/EulerFaDdtScheme/EulerFaDdtScheme.H index 6b43631ebbb608201c44d92a213ebf792fe12c13..e42e243db462f04197cc89e698d3da35f8cef958 100644 --- a/src/finiteArea/finiteArea/ddtSchemes/EulerFaDdtScheme/EulerFaDdtScheme.H +++ b/src/finiteArea/finiteArea/ddtSchemes/EulerFaDdtScheme/EulerFaDdtScheme.H @@ -61,11 +61,11 @@ class EulerFaDdtScheme { // Private Member Functions - //- Disallow default bitwise copy construct - EulerFaDdtScheme(const EulerFaDdtScheme&); + //- No copy construct + EulerFaDdtScheme(const EulerFaDdtScheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const EulerFaDdtScheme&); + //- No copy assignment + void operator=(const EulerFaDdtScheme&) = delete; public: diff --git a/src/finiteArea/finiteArea/ddtSchemes/backwardFaDdtScheme/backwardFaDdtScheme.H b/src/finiteArea/finiteArea/ddtSchemes/backwardFaDdtScheme/backwardFaDdtScheme.H index 491702eebc59c24dee4a5a70deda9e47baed042a..d567aae2ffca2658841196ac112011514841b52b 100644 --- a/src/finiteArea/finiteArea/ddtSchemes/backwardFaDdtScheme/backwardFaDdtScheme.H +++ b/src/finiteArea/finiteArea/ddtSchemes/backwardFaDdtScheme/backwardFaDdtScheme.H @@ -72,10 +72,10 @@ class backwardFaDdtScheme template<class GeoField> scalar deltaT0_(const GeoField&) const; - //- Disallow default bitwise copy construct + //- No copy construct backwardFaDdtScheme(const backwardFaDdtScheme&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const backwardFaDdtScheme&) = delete; diff --git a/src/finiteArea/finiteArea/ddtSchemes/boundedBackwardFaDdtScheme/boundedBackwardFaDdtScheme.H b/src/finiteArea/finiteArea/ddtSchemes/boundedBackwardFaDdtScheme/boundedBackwardFaDdtScheme.H index 5da5eb5c164599e63e90d3c97aed6c8df5734329..fb9ba0b8251e0a9f96c87947835a706dcba61b96 100644 --- a/src/finiteArea/finiteArea/ddtSchemes/boundedBackwardFaDdtScheme/boundedBackwardFaDdtScheme.H +++ b/src/finiteArea/finiteArea/ddtSchemes/boundedBackwardFaDdtScheme/boundedBackwardFaDdtScheme.H @@ -83,11 +83,11 @@ class boundedBackwardFaDdtScheme } - //- Disallow default bitwise copy construct - boundedBackwardFaDdtScheme(const boundedBackwardFaDdtScheme&); + //- No copy construct + boundedBackwardFaDdtScheme(const boundedBackwardFaDdtScheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const boundedBackwardFaDdtScheme&); + //- No copy assignment + void operator=(const boundedBackwardFaDdtScheme&) = delete; public: diff --git a/src/finiteArea/finiteArea/ddtSchemes/faDdtScheme/faDdtScheme.H b/src/finiteArea/finiteArea/ddtSchemes/faDdtScheme/faDdtScheme.H index bffede5eb8e266cfa885a1da13e0f4ca40fded6c..c20b2d5213dc8c474190b58c5fa5de9448c72625 100644 --- a/src/finiteArea/finiteArea/ddtSchemes/faDdtScheme/faDdtScheme.H +++ b/src/finiteArea/finiteArea/ddtSchemes/faDdtScheme/faDdtScheme.H @@ -78,11 +78,11 @@ protected: // Private Member Functions - //- Disallow copy construct - faDdtScheme(const faDdtScheme&); + //- No copy construct + faDdtScheme(const faDdtScheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const faDdtScheme&); + //- No copy assignment + void operator=(const faDdtScheme&) = delete; public: diff --git a/src/finiteArea/finiteArea/ddtSchemes/steadyStateFaDdtScheme/steadyStateFaDdtScheme.H b/src/finiteArea/finiteArea/ddtSchemes/steadyStateFaDdtScheme/steadyStateFaDdtScheme.H index cba87dbdf45320f8f9c99e6e53c01ca3e10cce8a..b4ec92dae8b68fcb1d589da1b8e270c74e07e089 100644 --- a/src/finiteArea/finiteArea/ddtSchemes/steadyStateFaDdtScheme/steadyStateFaDdtScheme.H +++ b/src/finiteArea/finiteArea/ddtSchemes/steadyStateFaDdtScheme/steadyStateFaDdtScheme.H @@ -60,10 +60,10 @@ class steadyStateFaDdtScheme { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct steadyStateFaDdtScheme(const steadyStateFaDdtScheme&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const steadyStateFaDdtScheme&) = delete; diff --git a/src/finiteArea/finiteArea/divSchemes/faDivScheme/faDivScheme.H b/src/finiteArea/finiteArea/divSchemes/faDivScheme/faDivScheme.H index d12cc699bc1e718e85320442270a9806dd69469a..c637120a6c8317a2ccd202611ebd953b91fa3718 100644 --- a/src/finiteArea/finiteArea/divSchemes/faDivScheme/faDivScheme.H +++ b/src/finiteArea/finiteArea/divSchemes/faDivScheme/faDivScheme.H @@ -80,11 +80,11 @@ protected: // Private Member Functions - //- Disallow copy construct - divScheme(const divScheme&); + //- No copy construct + divScheme(const divScheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const divScheme&); + //- No copy assignment + void operator=(const divScheme&) = delete; public: diff --git a/src/finiteArea/finiteArea/divSchemes/gaussFaDivScheme/gaussFaDivScheme.H b/src/finiteArea/finiteArea/divSchemes/gaussFaDivScheme/gaussFaDivScheme.H index 6b9fe2294564541fde14f5c23839417a75e5e677..b11aa563fc4e28a0c36c9c2175b3d80a59acf87d 100644 --- a/src/finiteArea/finiteArea/divSchemes/gaussFaDivScheme/gaussFaDivScheme.H +++ b/src/finiteArea/finiteArea/divSchemes/gaussFaDivScheme/gaussFaDivScheme.H @@ -61,10 +61,10 @@ class gaussDivScheme { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct gaussDivScheme(const gaussDivScheme&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const gaussDivScheme&) = delete; diff --git a/src/finiteArea/finiteArea/faSchemes/faSchemes.H b/src/finiteArea/finiteArea/faSchemes/faSchemes.H index f074b41367f4c7249c71adbc033cad1c813af5be..04add430409f4ba54f65af92f80dbadbc258cfbf 100644 --- a/src/finiteArea/finiteArea/faSchemes/faSchemes.H +++ b/src/finiteArea/finiteArea/faSchemes/faSchemes.H @@ -89,11 +89,11 @@ class faSchemes //- Read settings from the dictionary void read(const dictionary&); - //- Disallow default bitwise copy construct - faSchemes(const faSchemes&); + //- No copy construct + faSchemes(const faSchemes&) = delete; - //- Disallow default bitwise assignment - void operator=(const faSchemes&); + //- No copy assignment + void operator=(const faSchemes&) = delete; public: diff --git a/src/finiteArea/finiteArea/gradSchemes/faGradScheme/faGradScheme.H b/src/finiteArea/finiteArea/gradSchemes/faGradScheme/faGradScheme.H index 96c14095de8de025223be55633639e51209b55a7..3c4ef87896495d4b7d98c34959177e181f9242b3 100644 --- a/src/finiteArea/finiteArea/gradSchemes/faGradScheme/faGradScheme.H +++ b/src/finiteArea/finiteArea/gradSchemes/faGradScheme/faGradScheme.H @@ -72,10 +72,10 @@ class gradScheme // Private Member Functions - //- Disallow copy construct + //- No copy construct gradScheme(const gradScheme&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const gradScheme&) = delete; diff --git a/src/finiteArea/finiteArea/gradSchemes/gaussFaGrad/gaussFaGrad.H b/src/finiteArea/finiteArea/gradSchemes/gaussFaGrad/gaussFaGrad.H index d99e0b13420d605a8ab8786450ad3b54e624bd99..e942a7bdb54764fc17c7a34cf73fd366c475b70a 100644 --- a/src/finiteArea/finiteArea/gradSchemes/gaussFaGrad/gaussFaGrad.H +++ b/src/finiteArea/finiteArea/gradSchemes/gaussFaGrad/gaussFaGrad.H @@ -69,10 +69,10 @@ class gaussGrad // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct gaussGrad(const gaussGrad&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const gaussGrad&) = delete; diff --git a/src/finiteArea/finiteArea/gradSchemes/leastSquaresFaGrad/leastSquaresFaGrad.H b/src/finiteArea/finiteArea/gradSchemes/leastSquaresFaGrad/leastSquaresFaGrad.H index 442fa0ebc701bde82b2f2ee338ccdd06097e77a4..764ded6bcec0cafd8ce7dc1c9785ad3cf2c417a9 100644 --- a/src/finiteArea/finiteArea/gradSchemes/leastSquaresFaGrad/leastSquaresFaGrad.H +++ b/src/finiteArea/finiteArea/gradSchemes/leastSquaresFaGrad/leastSquaresFaGrad.H @@ -63,10 +63,10 @@ class leastSquaresFaGrad { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct leastSquaresFaGrad(const leastSquaresFaGrad&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const leastSquaresFaGrad&) = delete; diff --git a/src/finiteArea/finiteArea/gradSchemes/limitedGradSchemes/edgeLimitedFaGrad/edgeLimitedFaGrad.H b/src/finiteArea/finiteArea/gradSchemes/limitedGradSchemes/edgeLimitedFaGrad/edgeLimitedFaGrad.H index 7aae1bdd1a249abd385fe7048ff1a6a8b4d152a8..ab6cf391a6635c23827b0da6039ab9b2442e9629 100644 --- a/src/finiteArea/finiteArea/gradSchemes/limitedGradSchemes/edgeLimitedFaGrad/edgeLimitedFaGrad.H +++ b/src/finiteArea/finiteArea/gradSchemes/limitedGradSchemes/edgeLimitedFaGrad/edgeLimitedFaGrad.H @@ -82,11 +82,11 @@ class edgeLimitedGrad ) const; - //- Disallow default bitwise copy construct - edgeLimitedGrad(const edgeLimitedGrad&); + //- No copy construct + edgeLimitedGrad(const edgeLimitedGrad&) = delete; - //- Disallow default bitwise assignment - void operator=(const edgeLimitedGrad&); + //- No copy assignment + void operator=(const edgeLimitedGrad&) = delete; public: diff --git a/src/finiteArea/finiteArea/gradSchemes/limitedGradSchemes/faceLimitedFaGrad/faceLimitedFaGrad.H b/src/finiteArea/finiteArea/gradSchemes/limitedGradSchemes/faceLimitedFaGrad/faceLimitedFaGrad.H index 34694584a34afb2990a272487e8242addae4d75f..dc65d82b95131afccea1d4838951ff155e0067f4 100644 --- a/src/finiteArea/finiteArea/gradSchemes/limitedGradSchemes/faceLimitedFaGrad/faceLimitedFaGrad.H +++ b/src/finiteArea/finiteArea/gradSchemes/limitedGradSchemes/faceLimitedFaGrad/faceLimitedFaGrad.H @@ -76,11 +76,11 @@ class faceLimitedGrad // Private Member Functions - //- Disallow default bitwise copy construct - faceLimitedGrad(const faceLimitedGrad&); + //- No copy construct + faceLimitedGrad(const faceLimitedGrad&) = delete; - //- Disallow default bitwise assignment - void operator=(const faceLimitedGrad&); + //- No copy assignment + void operator=(const faceLimitedGrad&) = delete; public: diff --git a/src/finiteArea/finiteArea/laplacianSchemes/faLaplacianScheme/faLaplacianScheme.H b/src/finiteArea/finiteArea/laplacianSchemes/faLaplacianScheme/faLaplacianScheme.H index 4c74c4b0a2258a7ff2fb1b3ef072b424a9cda800..8f17992a96e0ae03a39257cb9d79f73e0e591296 100644 --- a/src/finiteArea/finiteArea/laplacianSchemes/faLaplacianScheme/faLaplacianScheme.H +++ b/src/finiteArea/finiteArea/laplacianSchemes/faLaplacianScheme/faLaplacianScheme.H @@ -82,11 +82,11 @@ protected: // Private Member Functions - //- Disallow copy construct - laplacianScheme(const laplacianScheme&); + //- No copy construct + laplacianScheme(const laplacianScheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const laplacianScheme&); + //- No copy assignment + void operator=(const laplacianScheme&) = delete; public: diff --git a/src/finiteArea/finiteArea/laplacianSchemes/gaussFaLaplacianScheme/gaussFaLaplacianScheme.H b/src/finiteArea/finiteArea/laplacianSchemes/gaussFaLaplacianScheme/gaussFaLaplacianScheme.H index ea2fe817e7a521cc2ebf7d1775b8024063eeab93..2273a8bdd887e9c37516c8a04ee3eb026c969c6c 100644 --- a/src/finiteArea/finiteArea/laplacianSchemes/gaussFaLaplacianScheme/gaussFaLaplacianScheme.H +++ b/src/finiteArea/finiteArea/laplacianSchemes/gaussFaLaplacianScheme/gaussFaLaplacianScheme.H @@ -61,10 +61,10 @@ class gaussLaplacianScheme { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct gaussLaplacianScheme(const gaussLaplacianScheme&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const gaussLaplacianScheme&) = delete; diff --git a/src/finiteArea/finiteArea/lnGradSchemes/correctedLnGrad/correctedLnGrad.H b/src/finiteArea/finiteArea/lnGradSchemes/correctedLnGrad/correctedLnGrad.H index f2419115cc4c34fffeb01090dfe8282010b3021f..b7738b1d4019eb7b1660ac12e1e0654e19d9cb51 100644 --- a/src/finiteArea/finiteArea/lnGradSchemes/correctedLnGrad/correctedLnGrad.H +++ b/src/finiteArea/finiteArea/lnGradSchemes/correctedLnGrad/correctedLnGrad.H @@ -60,7 +60,7 @@ class correctedLnGrad { // Private Member Functions - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const correctedLnGrad&) = delete; diff --git a/src/finiteArea/finiteArea/lnGradSchemes/fourthLnGrad/fourthLnGrad.H b/src/finiteArea/finiteArea/lnGradSchemes/fourthLnGrad/fourthLnGrad.H index 820aa8738496467b7692f32578c1445cc9c8d884..bafd6aa84a1b8dfd0ae5a43e78a766f8202ecba5 100644 --- a/src/finiteArea/finiteArea/lnGradSchemes/fourthLnGrad/fourthLnGrad.H +++ b/src/finiteArea/finiteArea/lnGradSchemes/fourthLnGrad/fourthLnGrad.H @@ -60,7 +60,7 @@ class fourthLnGrad { // Private Member Functions - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const fourthLnGrad&) = delete; diff --git a/src/finiteArea/finiteArea/lnGradSchemes/limitedLnGrad/limitedLnGrad.H b/src/finiteArea/finiteArea/lnGradSchemes/limitedLnGrad/limitedLnGrad.H index d5f275f721a947586cfa3330262a58651a5de2fd..0a6e73b1c020983955050ec210b193a21086d4ec 100644 --- a/src/finiteArea/finiteArea/lnGradSchemes/limitedLnGrad/limitedLnGrad.H +++ b/src/finiteArea/finiteArea/lnGradSchemes/limitedLnGrad/limitedLnGrad.H @@ -76,8 +76,8 @@ class limitedLnGrad // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const limitedLnGrad&); + //- No copy assignment + void operator=(const limitedLnGrad&) = delete; public: diff --git a/src/finiteArea/finiteArea/lnGradSchemes/lnGradScheme/lnGradScheme.H b/src/finiteArea/finiteArea/lnGradSchemes/lnGradScheme/lnGradScheme.H index 49fe89dd37d6aae435d64f2b27db197fe77d314c..d4dc1d934869c1cd308144a99a125bd987b43a14 100644 --- a/src/finiteArea/finiteArea/lnGradSchemes/lnGradScheme/lnGradScheme.H +++ b/src/finiteArea/finiteArea/lnGradSchemes/lnGradScheme/lnGradScheme.H @@ -72,7 +72,7 @@ class lnGradScheme // Private Member Functions - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const lnGradScheme&) = delete; diff --git a/src/finiteArea/interpolation/edgeInterpolation/edgeInterpolationScheme/edgeInterpolationScheme.H b/src/finiteArea/interpolation/edgeInterpolation/edgeInterpolationScheme/edgeInterpolationScheme.H index 5b7336eda6303bfc91fbd9fd9e7a56b70750ad3c..22bcf977208ba4977dbb4661ba6ceab68637984b 100644 --- a/src/finiteArea/interpolation/edgeInterpolation/edgeInterpolationScheme/edgeInterpolationScheme.H +++ b/src/finiteArea/interpolation/edgeInterpolation/edgeInterpolationScheme/edgeInterpolationScheme.H @@ -67,7 +67,7 @@ class edgeInterpolationScheme // Private Member Functions - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const edgeInterpolationScheme&) = delete; diff --git a/src/finiteArea/interpolation/edgeInterpolation/schemes/NVDscheme/faNVDscheme.H b/src/finiteArea/interpolation/edgeInterpolation/schemes/NVDscheme/faNVDscheme.H index 27a33733f39bfc646e5e9fd8c1fb60caaddcb024..b8e7fd34a806217a2cb2b01cd40f48a27633ba03 100644 --- a/src/finiteArea/interpolation/edgeInterpolation/schemes/NVDscheme/faNVDscheme.H +++ b/src/finiteArea/interpolation/edgeInterpolation/schemes/NVDscheme/faNVDscheme.H @@ -78,11 +78,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - faNVDscheme(const faNVDscheme&); + //- No copy construct + faNVDscheme(const faNVDscheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const faNVDscheme&); + //- No copy assignment + void operator=(const faNVDscheme&) = delete; public: diff --git a/src/finiteArea/interpolation/edgeInterpolation/schemes/blended/blendedEdgeInterpolation.H b/src/finiteArea/interpolation/edgeInterpolation/schemes/blended/blendedEdgeInterpolation.H index 47502218757ff746296242f0364f531120a8148c..c7ce4fd70b521c9c183da87a008733d4eebf0db6 100644 --- a/src/finiteArea/interpolation/edgeInterpolation/schemes/blended/blendedEdgeInterpolation.H +++ b/src/finiteArea/interpolation/edgeInterpolation/schemes/blended/blendedEdgeInterpolation.H @@ -63,11 +63,11 @@ class blendedEdgeInterpolation // Private Member Functions - //- Disallow default bitwise copy construct - blendedEdgeInterpolation(const blendedEdgeInterpolation&); + //- No copy construct + blendedEdgeInterpolation(const blendedEdgeInterpolation&) = delete; - //- Disallow default bitwise assignment - void operator=(const blendedEdgeInterpolation&); + //- No copy assignment + void operator=(const blendedEdgeInterpolation&) = delete; public: diff --git a/src/finiteArea/interpolation/edgeInterpolation/schemes/linear/linearEdgeInterpolation.H b/src/finiteArea/interpolation/edgeInterpolation/schemes/linear/linearEdgeInterpolation.H index 46a126d81917adc0ca5ea61e003a26f2476aaca6..f760e4edcaed9faab985abe8bf8a7c2f345eb786 100644 --- a/src/finiteArea/interpolation/edgeInterpolation/schemes/linear/linearEdgeInterpolation.H +++ b/src/finiteArea/interpolation/edgeInterpolation/schemes/linear/linearEdgeInterpolation.H @@ -56,8 +56,8 @@ class linearEdgeInterpolation { // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const linearEdgeInterpolation&); + //- No copy assignment + void operator=(const linearEdgeInterpolation&) = delete; public: diff --git a/src/finiteArea/interpolation/edgeInterpolation/schemes/upwind/upwindEdgeInterpolation.H b/src/finiteArea/interpolation/edgeInterpolation/schemes/upwind/upwindEdgeInterpolation.H index c437f576549410911f90a1f47cf5a0b8afc90f94..cec45b68053bba4a7224ae5ab8d81fae9b8e7901 100644 --- a/src/finiteArea/interpolation/edgeInterpolation/schemes/upwind/upwindEdgeInterpolation.H +++ b/src/finiteArea/interpolation/edgeInterpolation/schemes/upwind/upwindEdgeInterpolation.H @@ -62,8 +62,8 @@ class upwindEdgeInterpolation // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const upwindEdgeInterpolation&); + //- No copy assignment + void operator=(const upwindEdgeInterpolation&) = delete; public: diff --git a/src/finiteArea/interpolation/volSurfaceMapping/volSurfaceMapping.H b/src/finiteArea/interpolation/volSurfaceMapping/volSurfaceMapping.H index e48955ff9091a3c33ca910d66ed9a0d79fb08604..a4c78a71000129e5e44f152c78009d44a6d84a09 100644 --- a/src/finiteArea/interpolation/volSurfaceMapping/volSurfaceMapping.H +++ b/src/finiteArea/interpolation/volSurfaceMapping/volSurfaceMapping.H @@ -63,10 +63,10 @@ class volSurfaceMapping // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct volSurfaceMapping(const volSurfaceMapping&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const volSurfaceMapping&) = delete; diff --git a/src/finiteVolume/cfdTools/general/MRF/IOMRFZoneList.H b/src/finiteVolume/cfdTools/general/MRF/IOMRFZoneList.H index 09b6591313679bc710a84e01d22d530625f40a69..709768a2e9c19eb53b286aabc3bd895149f6e442 100644 --- a/src/finiteVolume/cfdTools/general/MRF/IOMRFZoneList.H +++ b/src/finiteVolume/cfdTools/general/MRF/IOMRFZoneList.H @@ -76,11 +76,11 @@ private: //- Create IO object if dictionary is present IOobject createIOobject(const fvMesh& mesh) const; - //- Disallow default bitwise copy construct - IOMRFZoneList(const IOMRFZoneList&); + //- No copy construct + IOMRFZoneList(const IOMRFZoneList&) = delete; - //- Disallow default bitwise assignment - void operator=(const IOMRFZoneList&); + //- No copy assignment + void operator=(const IOMRFZoneList&) = delete; public: diff --git a/src/finiteVolume/cfdTools/general/MRF/MRFZone.H b/src/finiteVolume/cfdTools/general/MRF/MRFZone.H index 1b86589daf610913ec7ae27c46a449a32aa08e87..2296e803bb26a19a402f37b8c2325fa0c737b663 100644 --- a/src/finiteVolume/cfdTools/general/MRF/MRFZone.H +++ b/src/finiteVolume/cfdTools/general/MRF/MRFZone.H @@ -146,11 +146,11 @@ class MRFZone surfaceScalarField& phi ) const; - //- Disallow default bitwise copy construct - MRFZone(const MRFZone&); + //- No copy construct + MRFZone(const MRFZone&) = delete; - //- Disallow default bitwise assignment - void operator=(const MRFZone&); + //- No copy assignment + void operator=(const MRFZone&) = delete; public: diff --git a/src/finiteVolume/cfdTools/general/MRF/MRFZoneList.H b/src/finiteVolume/cfdTools/general/MRF/MRFZoneList.H index fb36e689ea37d2f137d5212aa680694f6914f424..f9f50e09c9b85d0603091dafed6b3ba1023ebe92 100644 --- a/src/finiteVolume/cfdTools/general/MRF/MRFZoneList.H +++ b/src/finiteVolume/cfdTools/general/MRF/MRFZoneList.H @@ -61,11 +61,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - MRFZoneList(const MRFZoneList&); + //- No copy construct + MRFZoneList(const MRFZoneList&) = delete; - //- Disallow default bitwise assignment - void operator=(const MRFZoneList&); + //- No copy assignment + void operator=(const MRFZoneList&) = delete; protected: diff --git a/src/finiteVolume/cfdTools/general/SRF/SRFModel/SRFModel/SRFModel.H b/src/finiteVolume/cfdTools/general/SRF/SRFModel/SRFModel/SRFModel.H index 763584dcd244717b870eab580b6ce352466ad32d..82d71d52e924cd3422fd6da87f5ea13b408668ae 100644 --- a/src/finiteVolume/cfdTools/general/SRF/SRFModel/SRFModel/SRFModel.H +++ b/src/finiteVolume/cfdTools/general/SRF/SRFModel/SRFModel/SRFModel.H @@ -92,11 +92,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - SRFModel(const SRFModel&); + //- No copy construct + SRFModel(const SRFModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const SRFModel&); + //- No copy assignment + void operator=(const SRFModel&) = delete; public: diff --git a/src/finiteVolume/cfdTools/general/SRF/SRFModel/rpm/rpm.H b/src/finiteVolume/cfdTools/general/SRF/SRFModel/rpm/rpm.H index 1adaed982b6beac8624a17f24c4c6a5b0db15c73..658c4d0bf4046e4c798f64f3ea7f2a4d93ed7c11 100644 --- a/src/finiteVolume/cfdTools/general/SRF/SRFModel/rpm/rpm.H +++ b/src/finiteVolume/cfdTools/general/SRF/SRFModel/rpm/rpm.H @@ -62,11 +62,11 @@ class rpm // Private Member Functions - //- Disallow default bitwise copy construct - rpm(const rpm&); + //- No copy construct + rpm(const rpm&) = delete; - //- Disallow default bitwise assignment - void operator=(const rpm&); + //- No copy assignment + void operator=(const rpm&) = delete; public: diff --git a/src/finiteVolume/cfdTools/general/coupling/externalFileCoupler.H b/src/finiteVolume/cfdTools/general/coupling/externalFileCoupler.H index 76375bca0ba984fb334fa20008fff8f1d068cf8b..ec961499fbdd393e71485cea739fad9d64c23171 100644 --- a/src/finiteVolume/cfdTools/general/coupling/externalFileCoupler.H +++ b/src/finiteVolume/cfdTools/general/coupling/externalFileCoupler.H @@ -143,10 +143,10 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct externalFileCoupler(const externalFileCoupler&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const externalFileCoupler&) = delete; diff --git a/src/finiteVolume/cfdTools/general/fvOptions/fvOptionList.H b/src/finiteVolume/cfdTools/general/fvOptions/fvOptionList.H index 78df2901e18cb79980952751b9b648a8db384ef7..cd2654ec7700a0f8f797b067caf8ae9a7ecc62bf 100644 --- a/src/finiteVolume/cfdTools/general/fvOptions/fvOptionList.H +++ b/src/finiteVolume/cfdTools/general/fvOptions/fvOptionList.H @@ -88,11 +88,11 @@ protected: //- Check that all sources have been applied void checkApplied() const; - //- Disallow default bitwise copy construct - optionList(const optionList&); + //- No copy construct + optionList(const optionList&) = delete; - //- Disallow default bitwise assignment - void operator=(const optionList&); + //- No copy assignment + void operator=(const optionList&) = delete; public: diff --git a/src/finiteVolume/cfdTools/general/fvOptions/fvOptions.H b/src/finiteVolume/cfdTools/general/fvOptions/fvOptions.H index 1493b328b4b424607bb0f40a4d3b75f7c9119544..4dcdbb028f150d9be763cdac5294b01a80b933c7 100644 --- a/src/finiteVolume/cfdTools/general/fvOptions/fvOptions.H +++ b/src/finiteVolume/cfdTools/general/fvOptions/fvOptions.H @@ -60,11 +60,11 @@ class options //- Create IO object if dictionary is present IOobject createIOobject(const fvMesh& mesh) const; - //- Disallow default bitwise copy construct - options(const options&); + //- No copy construct + options(const options&) = delete; - //- Disallow default bitwise assignment - void operator=(const options&); + //- No copy assignment + void operator=(const options&) = delete; public: diff --git a/src/finiteVolume/cfdTools/general/porosityModel/DarcyForchheimer/DarcyForchheimer.H b/src/finiteVolume/cfdTools/general/porosityModel/DarcyForchheimer/DarcyForchheimer.H index 363f739bde856d63d769ad040aeb82084a8c3160..96bcd160c64f660fe0640defa0b3f4a569ea50f0 100644 --- a/src/finiteVolume/cfdTools/general/porosityModel/DarcyForchheimer/DarcyForchheimer.H +++ b/src/finiteVolume/cfdTools/general/porosityModel/DarcyForchheimer/DarcyForchheimer.H @@ -118,11 +118,11 @@ class DarcyForchheimer const vectorField& U ) const; - //- Disallow default bitwise copy construct - DarcyForchheimer(const DarcyForchheimer&); + //- No copy construct + DarcyForchheimer(const DarcyForchheimer&) = delete; - //- Disallow default bitwise assignment - void operator=(const DarcyForchheimer&); + //- No copy assignment + void operator=(const DarcyForchheimer&) = delete; public: diff --git a/src/finiteVolume/cfdTools/general/porosityModel/fixedCoeff/fixedCoeff.H b/src/finiteVolume/cfdTools/general/porosityModel/fixedCoeff/fixedCoeff.H index e9ca67327f38c675fa2888d642f4a7c57a62fd8c..af67f523d4b17b7e95d7cb3a8d6195b665ca9864 100644 --- a/src/finiteVolume/cfdTools/general/porosityModel/fixedCoeff/fixedCoeff.H +++ b/src/finiteVolume/cfdTools/general/porosityModel/fixedCoeff/fixedCoeff.H @@ -95,11 +95,11 @@ class fixedCoeff const scalar rho ) const; - //- Disallow default bitwise copy construct - fixedCoeff(const fixedCoeff&); + //- No copy construct + fixedCoeff(const fixedCoeff&) = delete; - //- Disallow default bitwise assignment - void operator=(const fixedCoeff&); + //- No copy assignment + void operator=(const fixedCoeff&) = delete; public: diff --git a/src/finiteVolume/cfdTools/general/porosityModel/porosityModel/IOporosityModelList.H b/src/finiteVolume/cfdTools/general/porosityModel/porosityModel/IOporosityModelList.H index e9e534926ab338adf3107a0a13bfab93f3ec368c..62502570d1270063834a33e8190abbb52360d73d 100644 --- a/src/finiteVolume/cfdTools/general/porosityModel/porosityModel/IOporosityModelList.H +++ b/src/finiteVolume/cfdTools/general/porosityModel/porosityModel/IOporosityModelList.H @@ -59,11 +59,11 @@ private: //- Create IO object if dictionary is present IOobject createIOobject(const fvMesh& mesh) const; - //- Disallow default bitwise copy construct - IOporosityModelList(const IOporosityModelList&); + //- No copy construct + IOporosityModelList(const IOporosityModelList&) = delete; - //- Disallow default bitwise assignment - void operator=(const IOporosityModelList&); + //- No copy assignment + void operator=(const IOporosityModelList&) = delete; public: diff --git a/src/finiteVolume/cfdTools/general/porosityModel/porosityModel/porosityModel.H b/src/finiteVolume/cfdTools/general/porosityModel/porosityModel/porosityModel.H index bc7c496dd6102197c62641245f5c3633d6043dc1..d7da01a82df716b9ccf0ff6e8e54e7483876819b 100644 --- a/src/finiteVolume/cfdTools/general/porosityModel/porosityModel/porosityModel.H +++ b/src/finiteVolume/cfdTools/general/porosityModel/porosityModel/porosityModel.H @@ -59,11 +59,11 @@ class porosityModel { // Private Member Functions - //- Disallow default bitwise copy construct - porosityModel(const porosityModel&); + //- No copy construct + porosityModel(const porosityModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const porosityModel&); + //- No copy assignment + void operator=(const porosityModel&) = delete; protected: diff --git a/src/finiteVolume/cfdTools/general/porosityModel/porosityModel/porosityModelList.H b/src/finiteVolume/cfdTools/general/porosityModel/porosityModel/porosityModelList.H index 3e953c30ef5455f7216a06d04b0cb43fc9339b6c..fb48794662671af00cfbc6a5f29641f5b42117db 100644 --- a/src/finiteVolume/cfdTools/general/porosityModel/porosityModel/porosityModelList.H +++ b/src/finiteVolume/cfdTools/general/porosityModel/porosityModel/porosityModelList.H @@ -61,11 +61,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - porosityModelList(const porosityModelList&); + //- No copy construct + porosityModelList(const porosityModelList&) = delete; - //- Disallow default bitwise assignment - void operator=(const porosityModelList&); + //- No copy assignment + void operator=(const porosityModelList&) = delete; protected: diff --git a/src/finiteVolume/cfdTools/general/porosityModel/powerLaw/powerLaw.H b/src/finiteVolume/cfdTools/general/porosityModel/powerLaw/powerLaw.H index 33db437908a020ecaf9d17da1aa525fe3c168cc2..3d97f2786fb4d4fa98d10cfc4cd5a8b2f383ba51 100644 --- a/src/finiteVolume/cfdTools/general/porosityModel/powerLaw/powerLaw.H +++ b/src/finiteVolume/cfdTools/general/porosityModel/powerLaw/powerLaw.H @@ -96,11 +96,11 @@ class powerLaw const vectorField& U ) const; - //- Disallow default bitwise copy construct - powerLaw(const powerLaw&); + //- No copy construct + powerLaw(const powerLaw&) = delete; - //- Disallow default bitwise assignment - void operator=(const powerLaw&); + //- No copy assignment + void operator=(const powerLaw&) = delete; public: diff --git a/src/finiteVolume/cfdTools/general/porosityModel/solidification/solidification.H b/src/finiteVolume/cfdTools/general/porosityModel/solidification/solidification.H index 119ba5680533c16dfadd90b3d3e8c5d90ee46198..3922d54775448f60ee3214f473bcb34700c1452a 100644 --- a/src/finiteVolume/cfdTools/general/porosityModel/solidification/solidification.H +++ b/src/finiteVolume/cfdTools/general/porosityModel/solidification/solidification.H @@ -159,11 +159,11 @@ class solidification const volVectorField& U ) const; - //- Disallow default bitwise copy construct - solidification(const solidification&); + //- No copy construct + solidification(const solidification&) = delete; - //- Disallow default bitwise assignment - void operator=(const solidification&); + //- No copy assignment + void operator=(const solidification&) = delete; public: diff --git a/src/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControl.H b/src/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControl.H index 73134cdaabb1609f538848188396200139b91446..1604ef38c33c40ae0d49f8221ba589333cf7662f 100644 --- a/src/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControl.H +++ b/src/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControl.H @@ -56,10 +56,10 @@ class pimpleControl { // Private member functions - //- Disallow default bitwise copy construct + //- No copy construct pimpleControl(const pimpleControl&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const pimpleControl&) = delete; diff --git a/src/finiteVolume/cfdTools/general/solutionControl/pisoControl/pisoControl.H b/src/finiteVolume/cfdTools/general/solutionControl/pisoControl/pisoControl.H index eede038374f069b07e2f267f8859a6be4df3f699..2f152cff014a34379ef94b2a1195de0bbd9b5e8b 100644 --- a/src/finiteVolume/cfdTools/general/solutionControl/pisoControl/pisoControl.H +++ b/src/finiteVolume/cfdTools/general/solutionControl/pisoControl/pisoControl.H @@ -53,11 +53,11 @@ class pisoControl { // Private member functions - //- Disallow default bitwise copy construct - pisoControl(const pisoControl&); + //- No copy construct + pisoControl(const pisoControl&) = delete; - //- Disallow default bitwise assignment - void operator=(const pisoControl&); + //- No copy assignment + void operator=(const pisoControl&) = delete; public: diff --git a/src/finiteVolume/cfdTools/general/solutionControl/simpleControl/simpleControl.H b/src/finiteVolume/cfdTools/general/solutionControl/simpleControl/simpleControl.H index 36849c759764d4ae541d88d4195e2a2685cff95b..cb76794bf4f5b681083d626238955c0e1a3fb850 100644 --- a/src/finiteVolume/cfdTools/general/solutionControl/simpleControl/simpleControl.H +++ b/src/finiteVolume/cfdTools/general/solutionControl/simpleControl/simpleControl.H @@ -73,10 +73,10 @@ private: // Private member functions - //- Disallow default bitwise copy construct + //- No copy construct simpleControl(const simpleControl&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const simpleControl&) = delete; diff --git a/src/finiteVolume/cfdTools/general/solutionControl/solutionControl/solutionControl.H b/src/finiteVolume/cfdTools/general/solutionControl/solutionControl/solutionControl.H index 921fbcd25803af4b48b27ba0be2c05d89c1e0c67..966a754ae0b88ffbcbf35c7b5610be8a43050c8d 100644 --- a/src/finiteVolume/cfdTools/general/solutionControl/solutionControl/solutionControl.H +++ b/src/finiteVolume/cfdTools/general/solutionControl/solutionControl/solutionControl.H @@ -165,10 +165,10 @@ protected: private: - //- Disallow default bitwise copy construct + //- No copy construct solutionControl(const solutionControl&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const solutionControl&) = delete; diff --git a/src/finiteVolume/finiteVolume/convectionSchemes/boundedConvectionScheme/boundedConvectionScheme.H b/src/finiteVolume/finiteVolume/convectionSchemes/boundedConvectionScheme/boundedConvectionScheme.H index 0573ef4fc2b12fef27771fe8bfba1c785cb5a161..eecf8469db3b87d6e3b0d5ab831cc2be6faef81f 100644 --- a/src/finiteVolume/finiteVolume/convectionSchemes/boundedConvectionScheme/boundedConvectionScheme.H +++ b/src/finiteVolume/finiteVolume/convectionSchemes/boundedConvectionScheme/boundedConvectionScheme.H @@ -73,11 +73,11 @@ class boundedConvectionScheme // Private Member Functions - //- Disallow default bitwise copy construct - boundedConvectionScheme(const boundedConvectionScheme&); + //- No copy construct + boundedConvectionScheme(const boundedConvectionScheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const boundedConvectionScheme&); + //- No copy assignment + void operator=(const boundedConvectionScheme&) = delete; public: diff --git a/src/finiteVolume/finiteVolume/convectionSchemes/gaussConvectionScheme/gaussConvectionScheme.H b/src/finiteVolume/finiteVolume/convectionSchemes/gaussConvectionScheme/gaussConvectionScheme.H index 20f2034181563ed47d32d5dbdb668c2aaf7d07df..6188fdd4e8aa7a4b3fdd507f20127b8951f0c8f6 100644 --- a/src/finiteVolume/finiteVolume/convectionSchemes/gaussConvectionScheme/gaussConvectionScheme.H +++ b/src/finiteVolume/finiteVolume/convectionSchemes/gaussConvectionScheme/gaussConvectionScheme.H @@ -66,11 +66,11 @@ class gaussConvectionScheme // Private Member Functions - //- Disallow default bitwise copy construct - gaussConvectionScheme(const gaussConvectionScheme&); + //- No copy construct + gaussConvectionScheme(const gaussConvectionScheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const gaussConvectionScheme&); + //- No copy assignment + void operator=(const gaussConvectionScheme&) = delete; public: diff --git a/src/finiteVolume/finiteVolume/d2dt2Schemes/EulerD2dt2Scheme/EulerD2dt2Scheme.H b/src/finiteVolume/finiteVolume/d2dt2Schemes/EulerD2dt2Scheme/EulerD2dt2Scheme.H index 0ce4c7d220a9be5b1ffe9e1daed52984aca09feb..cb343f9d9e69acafaf2cf9cc5c1f5705d715da91 100644 --- a/src/finiteVolume/finiteVolume/d2dt2Schemes/EulerD2dt2Scheme/EulerD2dt2Scheme.H +++ b/src/finiteVolume/finiteVolume/d2dt2Schemes/EulerD2dt2Scheme/EulerD2dt2Scheme.H @@ -59,11 +59,11 @@ class EulerD2dt2Scheme { // Private Member Functions - //- Disallow default bitwise copy construct - EulerD2dt2Scheme(const EulerD2dt2Scheme&); + //- No copy construct + EulerD2dt2Scheme(const EulerD2dt2Scheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const EulerD2dt2Scheme&); + //- No copy assignment + void operator=(const EulerD2dt2Scheme&) = delete; public: diff --git a/src/finiteVolume/finiteVolume/d2dt2Schemes/steadyStateD2dt2Scheme/steadyStateD2dt2Scheme.H b/src/finiteVolume/finiteVolume/d2dt2Schemes/steadyStateD2dt2Scheme/steadyStateD2dt2Scheme.H index 76fe1160b3f6a0dc3e3adfe8165bbb7dbf7c25ee..8f56584203ddfe6241857552e607222cc7269382 100644 --- a/src/finiteVolume/finiteVolume/d2dt2Schemes/steadyStateD2dt2Scheme/steadyStateD2dt2Scheme.H +++ b/src/finiteVolume/finiteVolume/d2dt2Schemes/steadyStateD2dt2Scheme/steadyStateD2dt2Scheme.H @@ -58,11 +58,11 @@ class steadyStateD2dt2Scheme { // Private Member Functions - //- Disallow default bitwise copy construct - steadyStateD2dt2Scheme(const steadyStateD2dt2Scheme&); + //- No copy construct + steadyStateD2dt2Scheme(const steadyStateD2dt2Scheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const steadyStateD2dt2Scheme&); + //- No copy assignment + void operator=(const steadyStateD2dt2Scheme&) = delete; public: diff --git a/src/finiteVolume/finiteVolume/ddtSchemes/CoEulerDdtScheme/CoEulerDdtScheme.H b/src/finiteVolume/finiteVolume/ddtSchemes/CoEulerDdtScheme/CoEulerDdtScheme.H index 403ccb3d0fa1fd430ec87bead01655c2dd5f55ce..c8f904e4b3f39b00095308909629f43540c47fce 100644 --- a/src/finiteVolume/finiteVolume/ddtSchemes/CoEulerDdtScheme/CoEulerDdtScheme.H +++ b/src/finiteVolume/finiteVolume/ddtSchemes/CoEulerDdtScheme/CoEulerDdtScheme.H @@ -81,11 +81,11 @@ class CoEulerDdtScheme // Private Member Functions - //- Disallow default bitwise copy construct - CoEulerDdtScheme(const CoEulerDdtScheme&); + //- No copy construct + CoEulerDdtScheme(const CoEulerDdtScheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const CoEulerDdtScheme&); + //- No copy assignment + void operator=(const CoEulerDdtScheme&) = delete; //- Return the reciprocal of the Courant-number limited time-step tmp<volScalarField> CorDeltaT() const; diff --git a/src/finiteVolume/finiteVolume/ddtSchemes/CrankNicolsonDdtScheme/CrankNicolsonDdtScheme.H b/src/finiteVolume/finiteVolume/ddtSchemes/CrankNicolsonDdtScheme/CrankNicolsonDdtScheme.H index e7538c451db6d1034a49db9c0fc91391709465c1..97516f3ecea35124d59454427f3a43faef47c704 100644 --- a/src/finiteVolume/finiteVolume/ddtSchemes/CrankNicolsonDdtScheme/CrankNicolsonDdtScheme.H +++ b/src/finiteVolume/finiteVolume/ddtSchemes/CrankNicolsonDdtScheme/CrankNicolsonDdtScheme.H @@ -163,10 +163,10 @@ class CrankNicolsonDdtScheme // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct CrankNicolsonDdtScheme(const CrankNicolsonDdtScheme&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const CrankNicolsonDdtScheme&) = delete; template<class GeoField> diff --git a/src/finiteVolume/finiteVolume/ddtSchemes/EulerDdtScheme/EulerDdtScheme.H b/src/finiteVolume/finiteVolume/ddtSchemes/EulerDdtScheme/EulerDdtScheme.H index e83543364baaaabf6472666a344949f55209cecd..1a64a0772294e362370e0940895e4f53e3a4eeb9 100644 --- a/src/finiteVolume/finiteVolume/ddtSchemes/EulerDdtScheme/EulerDdtScheme.H +++ b/src/finiteVolume/finiteVolume/ddtSchemes/EulerDdtScheme/EulerDdtScheme.H @@ -62,11 +62,11 @@ class EulerDdtScheme { // Private Member Functions - //- Disallow default bitwise copy construct - EulerDdtScheme(const EulerDdtScheme&); + //- No copy construct + EulerDdtScheme(const EulerDdtScheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const EulerDdtScheme&); + //- No copy assignment + void operator=(const EulerDdtScheme&) = delete; public: diff --git a/src/finiteVolume/finiteVolume/ddtSchemes/SLTSDdtScheme/SLTSDdtScheme.H b/src/finiteVolume/finiteVolume/ddtSchemes/SLTSDdtScheme/SLTSDdtScheme.H index f31b6d3d55756d2489ea3269615e6aa95a30c827..06f94c3fbb420ce1b3e9a9a1de8261e204c59c96 100644 --- a/src/finiteVolume/finiteVolume/ddtSchemes/SLTSDdtScheme/SLTSDdtScheme.H +++ b/src/finiteVolume/finiteVolume/ddtSchemes/SLTSDdtScheme/SLTSDdtScheme.H @@ -83,11 +83,11 @@ class SLTSDdtScheme // Private Member Functions - //- Disallow default bitwise copy construct - SLTSDdtScheme(const SLTSDdtScheme&); + //- No copy construct + SLTSDdtScheme(const SLTSDdtScheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const SLTSDdtScheme&); + //- No copy assignment + void operator=(const SLTSDdtScheme&) = delete; //- Calculate a relaxed diagonal from the given flux field void relaxedDiag(scalarField& rD, const surfaceScalarField& phi) const; diff --git a/src/finiteVolume/finiteVolume/ddtSchemes/backwardDdtScheme/backwardDdtScheme.H b/src/finiteVolume/finiteVolume/ddtSchemes/backwardDdtScheme/backwardDdtScheme.H index 0d7e9174d9a6b5e6a4e6b605191873f6639d29ce..04b304cd06f408c29da092500b0a224e16deba8c 100644 --- a/src/finiteVolume/finiteVolume/ddtSchemes/backwardDdtScheme/backwardDdtScheme.H +++ b/src/finiteVolume/finiteVolume/ddtSchemes/backwardDdtScheme/backwardDdtScheme.H @@ -73,11 +73,11 @@ class backwardDdtScheme template<class GeoField> scalar deltaT0_(const GeoField&) const; - //- Disallow default bitwise copy construct - backwardDdtScheme(const backwardDdtScheme&); + //- No copy construct + backwardDdtScheme(const backwardDdtScheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const backwardDdtScheme&); + //- No copy assignment + void operator=(const backwardDdtScheme&) = delete; public: diff --git a/src/finiteVolume/finiteVolume/ddtSchemes/boundedDdtScheme/boundedDdtScheme.H b/src/finiteVolume/finiteVolume/ddtSchemes/boundedDdtScheme/boundedDdtScheme.H index f6b51cbbfffe30499ee606ee6508d7869f2591f7..83539db19e4c42173a6635dc17d86593eae795d7 100644 --- a/src/finiteVolume/finiteVolume/ddtSchemes/boundedDdtScheme/boundedDdtScheme.H +++ b/src/finiteVolume/finiteVolume/ddtSchemes/boundedDdtScheme/boundedDdtScheme.H @@ -73,11 +73,11 @@ class boundedDdtScheme // Private Member Functions - //- Disallow default bitwise copy construct - boundedDdtScheme(const boundedDdtScheme&); + //- No copy construct + boundedDdtScheme(const boundedDdtScheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const boundedDdtScheme&); + //- No copy assignment + void operator=(const boundedDdtScheme&) = delete; public: diff --git a/src/finiteVolume/finiteVolume/ddtSchemes/localEulerDdtScheme/localEulerDdtScheme.H b/src/finiteVolume/finiteVolume/ddtSchemes/localEulerDdtScheme/localEulerDdtScheme.H index 1d6841aaa18c2dbaa56da5c0840d34fa6c969b8c..7b15d2253a16265dd4793fbce863ae54402151fa 100644 --- a/src/finiteVolume/finiteVolume/ddtSchemes/localEulerDdtScheme/localEulerDdtScheme.H +++ b/src/finiteVolume/finiteVolume/ddtSchemes/localEulerDdtScheme/localEulerDdtScheme.H @@ -120,11 +120,11 @@ class localEulerDdtScheme { // Private Member Functions - //- Disallow default bitwise copy construct - localEulerDdtScheme(const localEulerDdtScheme&); + //- No copy construct + localEulerDdtScheme(const localEulerDdtScheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const localEulerDdtScheme&); + //- No copy assignment + void operator=(const localEulerDdtScheme&) = delete; //- Return the reciprocal of the local time-step const volScalarField& localRDeltaT() const; diff --git a/src/finiteVolume/finiteVolume/ddtSchemes/steadyStateDdtScheme/steadyStateDdtScheme.H b/src/finiteVolume/finiteVolume/ddtSchemes/steadyStateDdtScheme/steadyStateDdtScheme.H index a3300fe801e86d5d5d375b615bd36ec34454e042..777092b1cd0bdba474a444cef2ed00f9bc8cd7b5 100644 --- a/src/finiteVolume/finiteVolume/ddtSchemes/steadyStateDdtScheme/steadyStateDdtScheme.H +++ b/src/finiteVolume/finiteVolume/ddtSchemes/steadyStateDdtScheme/steadyStateDdtScheme.H @@ -61,11 +61,11 @@ class steadyStateDdtScheme { // Private Member Functions - //- Disallow default bitwise copy construct - steadyStateDdtScheme(const steadyStateDdtScheme&); + //- No copy construct + steadyStateDdtScheme(const steadyStateDdtScheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const steadyStateDdtScheme&); + //- No copy assignment + void operator=(const steadyStateDdtScheme&) = delete; public: diff --git a/src/finiteVolume/finiteVolume/divSchemes/gaussDivScheme/gaussDivScheme.H b/src/finiteVolume/finiteVolume/divSchemes/gaussDivScheme/gaussDivScheme.H index 86ff5f95a1b80a421cf4ca90e4409df83b63e676..7cd178d9cf33f6d6dc807d7f278bad615793526a 100644 --- a/src/finiteVolume/finiteVolume/divSchemes/gaussDivScheme/gaussDivScheme.H +++ b/src/finiteVolume/finiteVolume/divSchemes/gaussDivScheme/gaussDivScheme.H @@ -61,11 +61,11 @@ class gaussDivScheme { // Private Member Functions - //- Disallow default bitwise copy construct - gaussDivScheme(const gaussDivScheme&); + //- No copy construct + gaussDivScheme(const gaussDivScheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const gaussDivScheme&); + //- No copy assignment + void operator=(const gaussDivScheme&) = delete; public: diff --git a/src/finiteVolume/finiteVolume/fvSchemes/fvSchemes.H b/src/finiteVolume/finiteVolume/fvSchemes/fvSchemes.H index 839ae4e7240d5300a104b69bd6946af30bd352dd..4768eb772fdd0f9ebdb911afb6a3b5e067d265dc 100644 --- a/src/finiteVolume/finiteVolume/fvSchemes/fvSchemes.H +++ b/src/finiteVolume/finiteVolume/fvSchemes/fvSchemes.H @@ -91,11 +91,11 @@ class fvSchemes //- Read settings from the dictionary void read(const dictionary&); - //- Disallow default bitwise copy construct - fvSchemes(const fvSchemes&); + //- No copy construct + fvSchemes(const fvSchemes&) = delete; - //- Disallow default bitwise assignment - void operator=(const fvSchemes&); + //- No copy assignment + void operator=(const fvSchemes&) = delete; public: diff --git a/src/finiteVolume/finiteVolume/fvSolution/fvSolution.H b/src/finiteVolume/finiteVolume/fvSolution/fvSolution.H index 9eb17f405ca87817ba6ca900436ca4e4a8e1e37e..3e43380820a8eb24bd862795a2e4007fe290a097 100644 --- a/src/finiteVolume/finiteVolume/fvSolution/fvSolution.H +++ b/src/finiteVolume/finiteVolume/fvSolution/fvSolution.H @@ -51,9 +51,11 @@ class fvSolution { // Private Member Functions - //- Disallow default bitwise copy construct and assignment - fvSolution(const fvSolution&); - void operator=(const fvSolution&); + //- No copy construct + fvSolution(const fvSolution&) = delete; + + //- No copy assignment + void operator=(const fvSolution&) = delete; public: diff --git a/src/finiteVolume/finiteVolume/gradSchemes/LeastSquaresGrad/LeastSquaresGrad.H b/src/finiteVolume/finiteVolume/gradSchemes/LeastSquaresGrad/LeastSquaresGrad.H index fd2cd40d2079e9579b196e8623db1d7ec055b7b4..da65363ae5c757e741ec7b053febff62f7c1d5ca 100644 --- a/src/finiteVolume/finiteVolume/gradSchemes/LeastSquaresGrad/LeastSquaresGrad.H +++ b/src/finiteVolume/finiteVolume/gradSchemes/LeastSquaresGrad/LeastSquaresGrad.H @@ -94,11 +94,11 @@ class LeastSquaresGrad // Private Member Functions - //- Disallow default bitwise copy construct - LeastSquaresGrad(const LeastSquaresGrad&); + //- No copy construct + LeastSquaresGrad(const LeastSquaresGrad&) = delete; - //- Disallow default bitwise assignment - void operator=(const LeastSquaresGrad&); + //- No copy assignment + void operator=(const LeastSquaresGrad&) = delete; public: diff --git a/src/finiteVolume/finiteVolume/gradSchemes/fourthGrad/fourthGrad.H b/src/finiteVolume/finiteVolume/gradSchemes/fourthGrad/fourthGrad.H index 203515bafa4ea50c72eb183e4ee6730a48683160..46cc21823bb5534697f0c07a88ad4b4ac30451f0 100644 --- a/src/finiteVolume/finiteVolume/gradSchemes/fourthGrad/fourthGrad.H +++ b/src/finiteVolume/finiteVolume/gradSchemes/fourthGrad/fourthGrad.H @@ -61,11 +61,11 @@ class fourthGrad { // Private Member Functions - //- Disallow default bitwise copy construct - fourthGrad(const fourthGrad&); + //- No copy construct + fourthGrad(const fourthGrad&) = delete; - //- Disallow default bitwise assignment - void operator=(const fourthGrad&); + //- No copy assignment + void operator=(const fourthGrad&) = delete; public: diff --git a/src/finiteVolume/finiteVolume/gradSchemes/gaussGrad/gaussGrad.H b/src/finiteVolume/finiteVolume/gradSchemes/gaussGrad/gaussGrad.H index 925392952e75992bac9c2d97fd28bfddfa36b9a9..5f92df68878eb1a6f10a3ea0f23352c089d4dff2 100644 --- a/src/finiteVolume/finiteVolume/gradSchemes/gaussGrad/gaussGrad.H +++ b/src/finiteVolume/finiteVolume/gradSchemes/gaussGrad/gaussGrad.H @@ -69,11 +69,11 @@ class gaussGrad // Private Member Functions - //- Disallow default bitwise copy construct - gaussGrad(const gaussGrad&); + //- No copy construct + gaussGrad(const gaussGrad&) = delete; - //- Disallow default bitwise assignment - void operator=(const gaussGrad&); + //- No copy assignment + void operator=(const gaussGrad&) = delete; public: diff --git a/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresGrad.H b/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresGrad.H index 103a5de4c85daf0d6d94b706a7c1c204376daa0b..85e762502f520f4235f5d9966ed6d1c8d32fe34e 100644 --- a/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresGrad.H +++ b/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresGrad.H @@ -61,11 +61,11 @@ class leastSquaresGrad { // Private Member Functions - //- Disallow default bitwise copy construct - leastSquaresGrad(const leastSquaresGrad&); + //- No copy construct + leastSquaresGrad(const leastSquaresGrad&) = delete; - //- Disallow default bitwise assignment - void operator=(const leastSquaresGrad&); + //- No copy assignment + void operator=(const leastSquaresGrad&) = delete; public: diff --git a/src/finiteVolume/finiteVolume/gradSchemes/limitedGradSchemes/cellLimitedGrad/cellLimitedGrad.H b/src/finiteVolume/finiteVolume/gradSchemes/limitedGradSchemes/cellLimitedGrad/cellLimitedGrad.H index 8b31b5d97b7dddee3a569624b0889191b2a16368..3bc7d42c1037883a6978ccc4ab79d80eef0fff0f 100644 --- a/src/finiteVolume/finiteVolume/gradSchemes/limitedGradSchemes/cellLimitedGrad/cellLimitedGrad.H +++ b/src/finiteVolume/finiteVolume/gradSchemes/limitedGradSchemes/cellLimitedGrad/cellLimitedGrad.H @@ -74,11 +74,11 @@ class cellLimitedGrad // Private Member Functions - //- Disallow default bitwise copy construct - cellLimitedGrad(const cellLimitedGrad&); + //- No copy construct + cellLimitedGrad(const cellLimitedGrad&) = delete; - //- Disallow default bitwise assignment - void operator=(const cellLimitedGrad&); + //- No copy assignment + void operator=(const cellLimitedGrad&) = delete; public: diff --git a/src/finiteVolume/finiteVolume/gradSchemes/limitedGradSchemes/cellMDLimitedGrad/cellMDLimitedGrad.H b/src/finiteVolume/finiteVolume/gradSchemes/limitedGradSchemes/cellMDLimitedGrad/cellMDLimitedGrad.H index f208a8c5da8ee347922472d28ea2af2673b47ca2..e469ed3246de2a1356e7be2f2fe60eedb3c83cdc 100644 --- a/src/finiteVolume/finiteVolume/gradSchemes/limitedGradSchemes/cellMDLimitedGrad/cellMDLimitedGrad.H +++ b/src/finiteVolume/finiteVolume/gradSchemes/limitedGradSchemes/cellMDLimitedGrad/cellMDLimitedGrad.H @@ -74,11 +74,11 @@ class cellMDLimitedGrad // Private Member Functions - //- Disallow default bitwise copy construct - cellMDLimitedGrad(const cellMDLimitedGrad&); + //- No copy construct + cellMDLimitedGrad(const cellMDLimitedGrad&) = delete; - //- Disallow default bitwise assignment - void operator=(const cellMDLimitedGrad&); + //- No copy assignment + void operator=(const cellMDLimitedGrad&) = delete; public: diff --git a/src/finiteVolume/finiteVolume/gradSchemes/limitedGradSchemes/faceLimitedGrad/faceLimitedGrad.H b/src/finiteVolume/finiteVolume/gradSchemes/limitedGradSchemes/faceLimitedGrad/faceLimitedGrad.H index 99730edc8f03e4c222325b4544ae1616e8c2d437..25daa2bd0f0523e504eb945886fd2b9406978167 100644 --- a/src/finiteVolume/finiteVolume/gradSchemes/limitedGradSchemes/faceLimitedGrad/faceLimitedGrad.H +++ b/src/finiteVolume/finiteVolume/gradSchemes/limitedGradSchemes/faceLimitedGrad/faceLimitedGrad.H @@ -83,11 +83,11 @@ class faceLimitedGrad ) const; - //- Disallow default bitwise copy construct - faceLimitedGrad(const faceLimitedGrad&); + //- No copy construct + faceLimitedGrad(const faceLimitedGrad&) = delete; - //- Disallow default bitwise assignment - void operator=(const faceLimitedGrad&); + //- No copy assignment + void operator=(const faceLimitedGrad&) = delete; public: diff --git a/src/finiteVolume/finiteVolume/gradSchemes/limitedGradSchemes/faceMDLimitedGrad/faceMDLimitedGrad.H b/src/finiteVolume/finiteVolume/gradSchemes/limitedGradSchemes/faceMDLimitedGrad/faceMDLimitedGrad.H index 981bcdf84a268a76bd1c4a6f469bdaa375983e48..7ab32b22fb90a36f5f805b1e2bd2ac8dc5e1fda6 100644 --- a/src/finiteVolume/finiteVolume/gradSchemes/limitedGradSchemes/faceMDLimitedGrad/faceMDLimitedGrad.H +++ b/src/finiteVolume/finiteVolume/gradSchemes/limitedGradSchemes/faceMDLimitedGrad/faceMDLimitedGrad.H @@ -83,11 +83,11 @@ class faceMDLimitedGrad ) const; - //- Disallow default bitwise copy construct - faceMDLimitedGrad(const faceMDLimitedGrad&); + //- No copy construct + faceMDLimitedGrad(const faceMDLimitedGrad&) = delete; - //- Disallow default bitwise assignment - void operator=(const faceMDLimitedGrad&); + //- No copy assignment + void operator=(const faceMDLimitedGrad&) = delete; public: diff --git a/src/finiteVolume/finiteVolume/laplacianSchemes/gaussLaplacianScheme/gaussLaplacianScheme.H b/src/finiteVolume/finiteVolume/laplacianSchemes/gaussLaplacianScheme/gaussLaplacianScheme.H index 1197edb8c3545ea58406bc518dfe492d6904cec3..61cc3eaac299a26702a6b49b1c2ec065ea4bc3b3 100644 --- a/src/finiteVolume/finiteVolume/laplacianSchemes/gaussLaplacianScheme/gaussLaplacianScheme.H +++ b/src/finiteVolume/finiteVolume/laplacianSchemes/gaussLaplacianScheme/gaussLaplacianScheme.H @@ -67,11 +67,11 @@ class gaussLaplacianScheme const GeometricField<Type, fvPatchField, volMesh>& ); - //- Disallow default bitwise copy construct - gaussLaplacianScheme(const gaussLaplacianScheme&); + //- No copy construct + gaussLaplacianScheme(const gaussLaplacianScheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const gaussLaplacianScheme&); + //- No copy assignment + void operator=(const gaussLaplacianScheme&) = delete; public: diff --git a/src/finiteVolume/finiteVolume/snGradSchemes/CentredFitSnGrad/CentredFitSnGradScheme.H b/src/finiteVolume/finiteVolume/snGradSchemes/CentredFitSnGrad/CentredFitSnGradScheme.H index 282637232c1f1a8e295aa215340d29d4b2937fe7..da3d1ee4ba2181d5f052936d3d5de007ac5ebf74 100644 --- a/src/finiteVolume/finiteVolume/snGradSchemes/CentredFitSnGrad/CentredFitSnGradScheme.H +++ b/src/finiteVolume/finiteVolume/snGradSchemes/CentredFitSnGrad/CentredFitSnGradScheme.H @@ -71,11 +71,11 @@ class CentredFitSnGradScheme // Private Member Functions - //- Disallow default bitwise copy construct - CentredFitSnGradScheme(const CentredFitSnGradScheme&); + //- No copy construct + CentredFitSnGradScheme(const CentredFitSnGradScheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const CentredFitSnGradScheme&); + //- No copy assignment + void operator=(const CentredFitSnGradScheme&) = delete; public: diff --git a/src/finiteVolume/finiteVolume/snGradSchemes/correctedSnGrad/correctedSnGrad.H b/src/finiteVolume/finiteVolume/snGradSchemes/correctedSnGrad/correctedSnGrad.H index 6f0f4af757bf6c9bf843312108bf39e86ee767be..bddb7d81f42f2fa4734ca3f07c3d95d5af8750c5 100644 --- a/src/finiteVolume/finiteVolume/snGradSchemes/correctedSnGrad/correctedSnGrad.H +++ b/src/finiteVolume/finiteVolume/snGradSchemes/correctedSnGrad/correctedSnGrad.H @@ -61,8 +61,8 @@ class correctedSnGrad { // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const correctedSnGrad&); + //- No copy assignment + void operator=(const correctedSnGrad&) = delete; public: diff --git a/src/finiteVolume/finiteVolume/snGradSchemes/faceCorrectedSnGrad/faceCorrectedSnGrad.H b/src/finiteVolume/finiteVolume/snGradSchemes/faceCorrectedSnGrad/faceCorrectedSnGrad.H index 3fdc7e9dbc35c3e2190a5be3703796dd6e602e76..3d5ef599a24c3eec2dc7d84cff0db2392e2d527c 100644 --- a/src/finiteVolume/finiteVolume/snGradSchemes/faceCorrectedSnGrad/faceCorrectedSnGrad.H +++ b/src/finiteVolume/finiteVolume/snGradSchemes/faceCorrectedSnGrad/faceCorrectedSnGrad.H @@ -61,8 +61,8 @@ class faceCorrectedSnGrad { // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const faceCorrectedSnGrad&); + //- No copy assignment + void operator=(const faceCorrectedSnGrad&) = delete; public: diff --git a/src/finiteVolume/finiteVolume/snGradSchemes/limitedSnGrad/limitedSnGrad.H b/src/finiteVolume/finiteVolume/snGradSchemes/limitedSnGrad/limitedSnGrad.H index eeeebef1aae5a6862083fb8ef0e10f3a03b5e79b..eb4e5fc94f662932a86201e6e8311bb65e14aa1e 100644 --- a/src/finiteVolume/finiteVolume/snGradSchemes/limitedSnGrad/limitedSnGrad.H +++ b/src/finiteVolume/finiteVolume/snGradSchemes/limitedSnGrad/limitedSnGrad.H @@ -81,8 +81,8 @@ class limitedSnGrad // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const limitedSnGrad&); + //- No copy assignment + void operator=(const limitedSnGrad&) = delete; //- Lookup function for the corrected to support backward compatibility // of dictionary specification diff --git a/src/finiteVolume/finiteVolume/snGradSchemes/orthogonalSnGrad/orthogonalSnGrad.H b/src/finiteVolume/finiteVolume/snGradSchemes/orthogonalSnGrad/orthogonalSnGrad.H index 80ca7f4f172e8b94ee5d332d0776d1158fcdcd8f..56439124548d8f51cf8bd47afe1f5ea13352955e 100644 --- a/src/finiteVolume/finiteVolume/snGradSchemes/orthogonalSnGrad/orthogonalSnGrad.H +++ b/src/finiteVolume/finiteVolume/snGradSchemes/orthogonalSnGrad/orthogonalSnGrad.H @@ -62,8 +62,8 @@ class orthogonalSnGrad { // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const orthogonalSnGrad&); + //- No copy assignment + void operator=(const orthogonalSnGrad&) = delete; public: diff --git a/src/finiteVolume/finiteVolume/snGradSchemes/uncorrectedSnGrad/uncorrectedSnGrad.H b/src/finiteVolume/finiteVolume/snGradSchemes/uncorrectedSnGrad/uncorrectedSnGrad.H index ea903ad96856fa5197db0f28a59b22a128036000..fd32983b8159dd780713cedb8c267da0759b6644 100644 --- a/src/finiteVolume/finiteVolume/snGradSchemes/uncorrectedSnGrad/uncorrectedSnGrad.H +++ b/src/finiteVolume/finiteVolume/snGradSchemes/uncorrectedSnGrad/uncorrectedSnGrad.H @@ -62,8 +62,8 @@ class uncorrectedSnGrad { // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const uncorrectedSnGrad&); + //- No copy assignment + void operator=(const uncorrectedSnGrad&) = delete; public: diff --git a/src/finiteVolume/functionObjects/fieldSelection/fieldSelection.H b/src/finiteVolume/functionObjects/fieldSelection/fieldSelection.H index 1ff154ec3b92d1115cc3ec7c88d77bded99e2551..72af300dbc6227ee5fa9d06eb9276b63be396e96 100644 --- a/src/finiteVolume/functionObjects/fieldSelection/fieldSelection.H +++ b/src/finiteVolume/functionObjects/fieldSelection/fieldSelection.H @@ -61,7 +61,7 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct fieldSelection(const fieldSelection&) = delete; diff --git a/src/finiteVolume/functionObjects/fieldSelection/fileFieldSelection.H b/src/finiteVolume/functionObjects/fieldSelection/fileFieldSelection.H index 8a3f1160a12f378a3bcab85bee1d1ae14592e7d8..cb94ce10b8ece70aea8ba604e23e36335e4e8e7f 100644 --- a/src/finiteVolume/functionObjects/fieldSelection/fileFieldSelection.H +++ b/src/finiteVolume/functionObjects/fieldSelection/fileFieldSelection.H @@ -59,7 +59,7 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct fileFieldSelection(const fileFieldSelection&) = delete; diff --git a/src/finiteVolume/functionObjects/fieldSelection/solverFieldSelection.H b/src/finiteVolume/functionObjects/fieldSelection/solverFieldSelection.H index 55d860a199582ae152741581af935db71e3de313..7473c9e536e91eed0f917f6118641a4ef8776d05 100644 --- a/src/finiteVolume/functionObjects/fieldSelection/solverFieldSelection.H +++ b/src/finiteVolume/functionObjects/fieldSelection/solverFieldSelection.H @@ -56,7 +56,7 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct solverFieldSelection(const solverFieldSelection&) = delete; diff --git a/src/finiteVolume/functionObjects/fieldSelection/volFieldSelection.H b/src/finiteVolume/functionObjects/fieldSelection/volFieldSelection.H index cad0440bd735f1411453ea1648d5a74d3744d373..4dca6608e3786265b7197c80a1ddb07518c49a1f 100644 --- a/src/finiteVolume/functionObjects/fieldSelection/volFieldSelection.H +++ b/src/finiteVolume/functionObjects/fieldSelection/volFieldSelection.H @@ -56,7 +56,7 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct volFieldSelection(const volFieldSelection&) = delete; diff --git a/src/finiteVolume/functionObjects/fvMeshFunctionObject/fvMeshFunctionObject.H b/src/finiteVolume/functionObjects/fvMeshFunctionObject/fvMeshFunctionObject.H index 7dff1ae3cfab780aadef4797be718c6881eb51e1..92c16daab2618cf5b790078ab7c8bca3aaa610f0 100644 --- a/src/finiteVolume/functionObjects/fvMeshFunctionObject/fvMeshFunctionObject.H +++ b/src/finiteVolume/functionObjects/fvMeshFunctionObject/fvMeshFunctionObject.H @@ -77,10 +77,10 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct fvMeshFunctionObject(const fvMeshFunctionObject&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const fvMeshFunctionObject&) = delete; diff --git a/src/finiteVolume/fvMatrices/solvers/isoAdvection/isoAdvection/isoAdvection.H b/src/finiteVolume/fvMatrices/solvers/isoAdvection/isoAdvection/isoAdvection.H index e0c6a3e9ae73d430e819c3f6d335887e707be953..3e9db7f573f5c411b4e211aa19877a86f2adab5c 100644 --- a/src/finiteVolume/fvMatrices/solvers/isoAdvection/isoAdvection/isoAdvection.H +++ b/src/finiteVolume/fvMatrices/solvers/isoAdvection/isoAdvection/isoAdvection.H @@ -182,11 +182,11 @@ class isoAdvection // Private Member Functions - //- Disallow default bitwise copy construct - isoAdvection(const isoAdvection&); + //- No copy construct + isoAdvection(const isoAdvection&) = delete; - //- Disallow default bitwise copy assignment - void operator=(const isoAdvection&); + //- No copy assignment + void operator=(const isoAdvection&) = delete; // Advection functions diff --git a/src/finiteVolume/fvMesh/extendedStencil/cellToCell/extendedCentredCellToCellStencil.H b/src/finiteVolume/fvMesh/extendedStencil/cellToCell/extendedCentredCellToCellStencil.H index 6197c86f35e5ab056eac5348f8080e02dc8de536..0759b25ae41ab9a51f474f1a8549cb742271332f 100644 --- a/src/finiteVolume/fvMesh/extendedStencil/cellToCell/extendedCentredCellToCellStencil.H +++ b/src/finiteVolume/fvMesh/extendedStencil/cellToCell/extendedCentredCellToCellStencil.H @@ -63,14 +63,14 @@ class extendedCentredCellToCellStencil // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct extendedCentredCellToCellStencil ( const extendedCentredCellToCellStencil& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const extendedCentredCellToCellStencil&); + //- No copy assignment + void operator=(const extendedCentredCellToCellStencil&) = delete; public: diff --git a/src/finiteVolume/fvMesh/extendedStencil/cellToFace/extendedCentredCellToFaceStencil.H b/src/finiteVolume/fvMesh/extendedStencil/cellToFace/extendedCentredCellToFaceStencil.H index 01053a0cb7e2d72f1327f7250bbd6fab1983c02e..b03feec1a1000e8820f51d93aab64572ae342e06 100644 --- a/src/finiteVolume/fvMesh/extendedStencil/cellToFace/extendedCentredCellToFaceStencil.H +++ b/src/finiteVolume/fvMesh/extendedStencil/cellToFace/extendedCentredCellToFaceStencil.H @@ -62,14 +62,14 @@ class extendedCentredCellToFaceStencil // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct extendedCentredCellToFaceStencil ( const extendedCentredCellToFaceStencil& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const extendedCentredCellToFaceStencil&); + //- No copy assignment + void operator=(const extendedCentredCellToFaceStencil&) = delete; public: diff --git a/src/finiteVolume/fvMesh/extendedStencil/cellToFace/extendedUpwindCellToFaceStencil.H b/src/finiteVolume/fvMesh/extendedStencil/cellToFace/extendedUpwindCellToFaceStencil.H index 3f082e8761aa37b7db3a963400b0bdc6d7f639b0..fd4f6bfdc370e259b745632028212175ef2da427 100644 --- a/src/finiteVolume/fvMesh/extendedStencil/cellToFace/extendedUpwindCellToFaceStencil.H +++ b/src/finiteVolume/fvMesh/extendedStencil/cellToFace/extendedUpwindCellToFaceStencil.H @@ -113,11 +113,14 @@ class extendedUpwindCellToFaceStencil ); - //- Disallow default bitwise copy construct - extendedUpwindCellToFaceStencil(const extendedUpwindCellToFaceStencil&); + //- No copy construct + extendedUpwindCellToFaceStencil + ( + const extendedUpwindCellToFaceStencil& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const extendedUpwindCellToFaceStencil&); + //- No copy assignment + void operator=(const extendedUpwindCellToFaceStencil&) = delete; public: diff --git a/src/finiteVolume/fvMesh/extendedStencil/faceToCell/extendedCentredFaceToCellStencil.H b/src/finiteVolume/fvMesh/extendedStencil/faceToCell/extendedCentredFaceToCellStencil.H index 12eca38a4d9d87a3345c235b38565ac56e273a41..e8b87281dc458cd5fceca525f1ba2969c3437cb5 100644 --- a/src/finiteVolume/fvMesh/extendedStencil/faceToCell/extendedCentredFaceToCellStencil.H +++ b/src/finiteVolume/fvMesh/extendedStencil/faceToCell/extendedCentredFaceToCellStencil.H @@ -62,14 +62,14 @@ class extendedCentredFaceToCellStencil // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct extendedCentredFaceToCellStencil ( const extendedCentredFaceToCellStencil& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const extendedCentredFaceToCellStencil&); + //- No copy assignment + void operator=(const extendedCentredFaceToCellStencil&) = delete; public: diff --git a/src/finiteVolume/fvMesh/fvBoundaryMesh/fvBoundaryMesh.H b/src/finiteVolume/fvMesh/fvBoundaryMesh/fvBoundaryMesh.H index cf9ee4c35f8da24917c45acaa72d68b325d8133f..2fe892bd64642c07b9c5cd31f1c0aed2d991bdb0 100644 --- a/src/finiteVolume/fvMesh/fvBoundaryMesh/fvBoundaryMesh.H +++ b/src/finiteVolume/fvMesh/fvBoundaryMesh/fvBoundaryMesh.H @@ -62,11 +62,11 @@ class fvBoundaryMesh // Private Member Functions - //- Disallow default copy construct - fvBoundaryMesh(const fvBoundaryMesh&); + //- No copy construct + fvBoundaryMesh(const fvBoundaryMesh&) = delete; - //- Disallow assignment - void operator=(const fvBoundaryMesh&); + //- No copy assignment + void operator=(const fvBoundaryMesh&) = delete; //- Add fvPatches corresponding to the given polyBoundaryMesh void addPatches(const polyBoundaryMesh&); diff --git a/src/finiteVolume/fvMesh/fvMesh.H b/src/finiteVolume/fvMesh/fvMesh.H index 16b4e11b81eaeb2bd4ef5a62d123b0f27a9ca964..a2bd7e403cce0ca29e462618c6954b1fbb26be51 100644 --- a/src/finiteVolume/fvMesh/fvMesh.H +++ b/src/finiteVolume/fvMesh/fvMesh.H @@ -159,10 +159,10 @@ class fvMesh void makeCf() const; - //- Disallow construct as copy + //- No copy construct fvMesh(const fvMesh&) = delete; - //- Disallow assignment + //- No copy assignment void operator=(const fvMesh&) = delete; diff --git a/src/finiteVolume/fvMesh/fvMeshLduAddressing.H b/src/finiteVolume/fvMesh/fvMeshLduAddressing.H index 7b3267ba24d62e4996f1ea0997e0b5ee8f27cc20..a8dd315aabfa0327c06b4cd1390526ea66e165f5 100644 --- a/src/finiteVolume/fvMesh/fvMeshLduAddressing.H +++ b/src/finiteVolume/fvMesh/fvMeshLduAddressing.H @@ -68,11 +68,11 @@ class fvMeshLduAddressing // Private Member Functions - //- Disallow default bitwise copy construct - fvMeshLduAddressing(const fvMeshLduAddressing&); + //- No copy construct + fvMeshLduAddressing(const fvMeshLduAddressing&) = delete; - //- Disallow default bitwise assignment - void operator=(const fvMeshLduAddressing&); + //- No copy assignment + void operator=(const fvMeshLduAddressing&) = delete; public: diff --git a/src/finiteVolume/fvMesh/fvMeshMapper/fvBoundaryMeshMapper.H b/src/finiteVolume/fvMesh/fvMeshMapper/fvBoundaryMeshMapper.H index 7e2dacdbdb59c6d44e98ef6ba55003b82aa2f015..55868e324e78c6541dbb8c53e588375c68bbb25b 100644 --- a/src/finiteVolume/fvMesh/fvMeshMapper/fvBoundaryMeshMapper.H +++ b/src/finiteVolume/fvMesh/fvMeshMapper/fvBoundaryMeshMapper.H @@ -50,11 +50,11 @@ class fvBoundaryMeshMapper { // Private Member Functions - //- Disallow default bitwise copy construct - fvBoundaryMeshMapper(const fvBoundaryMeshMapper&); + //- No copy construct + fvBoundaryMeshMapper(const fvBoundaryMeshMapper&) = delete; - //- Disallow default bitwise assignment - void operator=(const fvBoundaryMeshMapper&); + //- No copy assignment + void operator=(const fvBoundaryMeshMapper&) = delete; public: diff --git a/src/finiteVolume/fvMesh/fvMeshMapper/fvMeshMapper.H b/src/finiteVolume/fvMesh/fvMeshMapper/fvMeshMapper.H index 41d049bbb6d9238a679352df9fde0424590bb48b..74654dd44e78a93749d6babba1855f819ced5a19 100644 --- a/src/finiteVolume/fvMesh/fvMeshMapper/fvMeshMapper.H +++ b/src/finiteVolume/fvMesh/fvMeshMapper/fvMeshMapper.H @@ -75,11 +75,11 @@ class fvMeshMapper // Private Member Functions - //- Disallow default bitwise copy construct - fvMeshMapper(const fvMeshMapper&); + //- No copy construct + fvMeshMapper(const fvMeshMapper&) = delete; - //- Disallow default bitwise assignment - void operator=(const fvMeshMapper&); + //- No copy assignment + void operator=(const fvMeshMapper&) = delete; public: diff --git a/src/finiteVolume/fvMesh/fvMeshMapper/fvPatchMapper.H b/src/finiteVolume/fvMesh/fvMeshMapper/fvPatchMapper.H index 25fa68e8116261e1fcae80145b003411bcdd8244..23c15186f47a71c2ac99f2ea2f2e54d19b2018af 100644 --- a/src/finiteVolume/fvMesh/fvMeshMapper/fvPatchMapper.H +++ b/src/finiteVolume/fvMesh/fvMeshMapper/fvPatchMapper.H @@ -85,14 +85,11 @@ class fvPatchMapper // Private Member Functions - //- Disallow default bitwise copy construct - fvPatchMapper - ( - const fvPatchMapper& - ); + //- No copy construct + fvPatchMapper(const fvPatchMapper&) = delete; - //- Disallow default bitwise assignment - void operator=(const fvPatchMapper&); + //- No copy assignment + void operator=(const fvPatchMapper&) = delete; //- Calculate addressing for mapping with inserted cells diff --git a/src/finiteVolume/fvMesh/fvMeshMapper/fvSurfaceMapper.H b/src/finiteVolume/fvMesh/fvMeshMapper/fvSurfaceMapper.H index 6a333c0a71d2f5d6e2d0b899cec1c5931ad70a5f..c6b6346fef3c8266b64e7b8fa502daface74787e 100644 --- a/src/finiteVolume/fvMesh/fvMeshMapper/fvSurfaceMapper.H +++ b/src/finiteVolume/fvMesh/fvMeshMapper/fvSurfaceMapper.H @@ -83,11 +83,11 @@ class fvSurfaceMapper // Private Member Functions - //- Disallow default bitwise copy construct - fvSurfaceMapper(const fvSurfaceMapper&); + //- No copy construct + fvSurfaceMapper(const fvSurfaceMapper&) = delete; - //- Disallow default bitwise assignment - void operator=(const fvSurfaceMapper&); + //- No copy assignment + void operator=(const fvSurfaceMapper&) = delete; //- Calculate addressing diff --git a/src/finiteVolume/fvMesh/fvPatches/fvPatch/fvPatch.H b/src/finiteVolume/fvMesh/fvPatches/fvPatch/fvPatch.H index 33a7e649413f4a8ad189b1fda42f69661c265d4e..9ff33bad1102e01446949f77c318a090644bc471 100644 --- a/src/finiteVolume/fvMesh/fvPatches/fvPatch/fvPatch.H +++ b/src/finiteVolume/fvMesh/fvPatches/fvPatch/fvPatch.H @@ -72,11 +72,11 @@ class fvPatch // Private Member Functions - //- Disallow construct as copy - fvPatch(const fvPatch&); + //- No copy construct + fvPatch(const fvPatch&) = delete; - //- Disallow assignment - void operator=(const fvPatch&); + //- No copy assignment + void operator=(const fvPatch&) = delete; protected: diff --git a/src/finiteVolume/fvMesh/singleCellFvMesh/singleCellFvMesh.H b/src/finiteVolume/fvMesh/singleCellFvMesh/singleCellFvMesh.H index f439b425a4b18ea7f11200a2957e952cf807e530..e42c51168ef29b9d2269bd18abbf6cabac42729f 100644 --- a/src/finiteVolume/fvMesh/singleCellFvMesh/singleCellFvMesh.H +++ b/src/finiteVolume/fvMesh/singleCellFvMesh/singleCellFvMesh.H @@ -78,11 +78,11 @@ class singleCellFvMesh void agglomerateMesh(const fvMesh&, const labelListList&); - //- Disallow default bitwise copy construct - singleCellFvMesh(const singleCellFvMesh&); + //- No copy construct + singleCellFvMesh(const singleCellFvMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const singleCellFvMesh&); + //- No copy assignment + void operator=(const singleCellFvMesh&) = delete; public: diff --git a/src/finiteVolume/fvMesh/wallDist/nearWallDist/nearWallDist.H b/src/finiteVolume/fvMesh/wallDist/nearWallDist/nearWallDist.H index f67a20aae6e3bec7ff35e89dd4b9cebbf174dbf8..8b2da1d9795c6ffe34e71ab2b12dbd70b61a6d2e 100644 --- a/src/finiteVolume/fvMesh/wallDist/nearWallDist/nearWallDist.H +++ b/src/finiteVolume/fvMesh/wallDist/nearWallDist/nearWallDist.H @@ -64,11 +64,11 @@ class nearWallDist //- Do all calculations void calculate(); - //- Disallow default bitwise copy construct - nearWallDist(const nearWallDist&); + //- No copy construct + nearWallDist(const nearWallDist&) = delete; - //- Disallow default bitwise assignment - void operator=(const nearWallDist&); + //- No copy assignment + void operator=(const nearWallDist&) = delete; public: diff --git a/src/finiteVolume/fvMesh/wallDist/nearWallDist/nearWallDistNoSearch.H b/src/finiteVolume/fvMesh/wallDist/nearWallDist/nearWallDistNoSearch.H index e9933660eb7f1756d02e729fe468ea5e106d8e66..f235ceb9ab6f162c981ab75adff8d1856619ab05 100644 --- a/src/finiteVolume/fvMesh/wallDist/nearWallDist/nearWallDistNoSearch.H +++ b/src/finiteVolume/fvMesh/wallDist/nearWallDist/nearWallDistNoSearch.H @@ -65,11 +65,11 @@ class nearWallDistNoSearch //- Do all calculations. void doAll(); - //- Disallow default bitwise copy construct - nearWallDistNoSearch(const nearWallDistNoSearch&); + //- No copy construct + nearWallDistNoSearch(const nearWallDistNoSearch&) = delete; - //- Disallow default bitwise assignment - void operator=(const nearWallDistNoSearch&); + //- No copy assignment + void operator=(const nearWallDistNoSearch&) = delete; public: diff --git a/src/finiteVolume/fvMesh/wallDist/patchDistMethods/Poisson/PoissonPatchDistMethod.H b/src/finiteVolume/fvMesh/wallDist/patchDistMethods/Poisson/PoissonPatchDistMethod.H index b2be9da2b666c8174cfc0df41f0734107211e531..bdfa34669c4ee52479629f4085d550fb128882d3 100644 --- a/src/finiteVolume/fvMesh/wallDist/patchDistMethods/Poisson/PoissonPatchDistMethod.H +++ b/src/finiteVolume/fvMesh/wallDist/patchDistMethods/Poisson/PoissonPatchDistMethod.H @@ -127,11 +127,11 @@ class Poisson // Private Member Functions - //- Disallow default bitwise copy construct - Poisson(const Poisson&); + //- No copy construct + Poisson(const Poisson&) = delete; - //- Disallow default bitwise assignment - void operator=(const Poisson&); + //- No copy assignment + void operator=(const Poisson&) = delete; public: diff --git a/src/finiteVolume/fvMesh/wallDist/patchDistMethods/advectionDiffusion/advectionDiffusionPatchDistMethod.H b/src/finiteVolume/fvMesh/wallDist/patchDistMethods/advectionDiffusion/advectionDiffusionPatchDistMethod.H index cd2113d67354be9c8ff6de65d7d4287945a7a71f..1cabb77a9d4681b1c3bd219833e65ec6779c0e0a 100644 --- a/src/finiteVolume/fvMesh/wallDist/patchDistMethods/advectionDiffusion/advectionDiffusionPatchDistMethod.H +++ b/src/finiteVolume/fvMesh/wallDist/patchDistMethods/advectionDiffusion/advectionDiffusionPatchDistMethod.H @@ -207,11 +207,11 @@ class advectionDiffusion // Private Member Functions - //- Disallow default bitwise copy construct - advectionDiffusion(const advectionDiffusion&); + //- No copy construct + advectionDiffusion(const advectionDiffusion&) = delete; - //- Disallow default bitwise assignment - void operator=(const advectionDiffusion&); + //- No copy assignment + void operator=(const advectionDiffusion&) = delete; public: diff --git a/src/finiteVolume/fvMesh/wallDist/patchDistMethods/meshWave/meshWavePatchDistMethod.H b/src/finiteVolume/fvMesh/wallDist/patchDistMethods/meshWave/meshWavePatchDistMethod.H index 0ed9aef4f70183004a01699a6cead1fb40c187d3..8e4512b2f0ed487533d978db3f6542eff8bae3a6 100644 --- a/src/finiteVolume/fvMesh/wallDist/patchDistMethods/meshWave/meshWavePatchDistMethod.H +++ b/src/finiteVolume/fvMesh/wallDist/patchDistMethods/meshWave/meshWavePatchDistMethod.H @@ -86,11 +86,11 @@ class meshWave // Private Member Functions - //- Disallow default bitwise copy construct - meshWave(const meshWave&); + //- No copy construct + meshWave(const meshWave&) = delete; - //- Disallow default bitwise assignment - void operator=(const meshWave&); + //- No copy assignment + void operator=(const meshWave&) = delete; public: diff --git a/src/finiteVolume/fvMesh/wallDist/patchDistMethods/meshWave/wallDistData/wallDistData.H b/src/finiteVolume/fvMesh/wallDist/patchDistMethods/meshWave/wallDistData/wallDistData.H index 3c1052fab78ce4ab8be7c57d8b7900a8151f305d..43eabdea7717d95d373d107c30a72b76d1f076e2 100644 --- a/src/finiteVolume/fvMesh/wallDist/patchDistMethods/meshWave/wallDistData/wallDistData.H +++ b/src/finiteVolume/fvMesh/wallDist/patchDistMethods/meshWave/wallDistData/wallDistData.H @@ -81,11 +81,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - wallDistData(const wallDistData&); + //- No copy construct + wallDistData(const wallDistData&) = delete; - //- Disallow default bitwise assignment - void operator=(const wallDistData&); + //- No copy assignment + void operator=(const wallDistData&) = delete; public: diff --git a/src/finiteVolume/fvMesh/wallDist/patchDistMethods/patchDistMethod/patchDistMethod.H b/src/finiteVolume/fvMesh/wallDist/patchDistMethods/patchDistMethod/patchDistMethod.H index 573a1a45399cd0271919e2ac479854a88bb209a6..555c88cad19e63098497f1c0c655a14294d63ef0 100644 --- a/src/finiteVolume/fvMesh/wallDist/patchDistMethods/patchDistMethod/patchDistMethod.H +++ b/src/finiteVolume/fvMesh/wallDist/patchDistMethods/patchDistMethod/patchDistMethod.H @@ -71,11 +71,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - patchDistMethod(const patchDistMethod&); + //- No copy construct + patchDistMethod(const patchDistMethod&) = delete; - //- Disallow default bitwise assignment - void operator=(const patchDistMethod&); + //- No copy assignment + void operator=(const patchDistMethod&) = delete; public: diff --git a/src/finiteVolume/fvMesh/wallDist/wallDist/wallDist.H b/src/finiteVolume/fvMesh/wallDist/wallDist/wallDist.H index 11a17c3d3328c3bc36afe1a44c4b2f18c5ba2c13..e3300aca7415c19cf7a0ce2cb891a0b1f490fc43 100644 --- a/src/finiteVolume/fvMesh/wallDist/wallDist/wallDist.H +++ b/src/finiteVolume/fvMesh/wallDist/wallDist/wallDist.H @@ -109,11 +109,11 @@ class wallDist //- Construct the normal-to-wall field as required void constructn() const; - //- Disallow default bitwise copy construct - wallDist(const wallDist&); + //- No copy construct + wallDist(const wallDist&) = delete; - //- Disallow default bitwise assignment - void operator=(const wallDist&); + //- No copy assignment + void operator=(const wallDist&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/LimitedScheme/LimitedScheme.H b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/LimitedScheme/LimitedScheme.H index d9d8e1a6fdf2ba8899bfb6163c4d353bba6bd83e..5d600ddc82fe7f466d6b8658d2182d570bb87ba5 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/LimitedScheme/LimitedScheme.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/LimitedScheme/LimitedScheme.H @@ -78,11 +78,11 @@ class LimitedScheme surfaceScalarField& limiterField ) const; - //- Disallow default bitwise copy construct - LimitedScheme(const LimitedScheme&); + //- No copy construct + LimitedScheme(const LimitedScheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const LimitedScheme&); + //- No copy assignment + void operator=(const LimitedScheme&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/PhiScheme/PhiScheme.H b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/PhiScheme/PhiScheme.H index ca7fb074b9bda4b4f306f83dadb1f6bc3f0a8bad..32c14cda6824d65eef340967edafa1a7e8fd8c97 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/PhiScheme/PhiScheme.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/PhiScheme/PhiScheme.H @@ -67,11 +67,11 @@ class PhiScheme { // Private Member Functions - //- Disallow default bitwise copy construct - PhiScheme(const PhiScheme&); + //- No copy construct + PhiScheme(const PhiScheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const PhiScheme&); + //- No copy assignment + void operator=(const PhiScheme&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/blended/blended.H b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/blended/blended.H index f74b56df9d2c956a186b66763460c30d8cf89a8c..5dfbc49bf6288b330155f7e1306ffbad1ef29204 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/blended/blended.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/blended/blended.H @@ -63,11 +63,11 @@ class blended // Private Member Functions - //- Disallow default bitwise copy construct - blended(const blended&); + //- No copy construct + blended(const blended&) = delete; - //- Disallow default bitwise assignment - void operator=(const blended&); + //- No copy assignment + void operator=(const blended&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/limitWith/limitWith.H b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/limitWith/limitWith.H index 0fdbd575674f2740baeb08a550bf22adc8b49168..42f722a0a19affcce08efbdff1097a61294a7530 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/limitWith/limitWith.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/limitWith/limitWith.H @@ -65,11 +65,11 @@ class limitWith tmp<limitedSurfaceInterpolationScheme<Type>> tLimiter_; - //- Disallow default bitwise copy construct - limitWith(const limitWith&); + //- No copy construct + limitWith(const limitWith&) = delete; - //- Disallow default bitwise assignment - void operator=(const limitWith&); + //- No copy assignment + void operator=(const limitWith&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/limitedSurfaceInterpolationScheme/limitedSurfaceInterpolationScheme.H b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/limitedSurfaceInterpolationScheme/limitedSurfaceInterpolationScheme.H index 816de8ab7b204011bb37e87bbb4fa1361030be6b..460f4af5e87bed580d52da81636309a671644553 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/limitedSurfaceInterpolationScheme/limitedSurfaceInterpolationScheme.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/limitedSurfaceInterpolationScheme/limitedSurfaceInterpolationScheme.H @@ -56,14 +56,14 @@ class limitedSurfaceInterpolationScheme { // Private Member Functions - //- Disallow copy construct + //- No copy construct limitedSurfaceInterpolationScheme ( const limitedSurfaceInterpolationScheme& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const limitedSurfaceInterpolationScheme&); + //- No copy assignment + void operator=(const limitedSurfaceInterpolationScheme&) = delete; protected: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/upwind/upwind.H b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/upwind/upwind.H index 8d8b07f76f7d58d16f713bfcf0d94d512cca4855..81c463a4d6a727a6bebd76dfd4712fe794b3825d 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/upwind/upwind.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/upwind/upwind.H @@ -58,8 +58,8 @@ class upwind { // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const upwind&); + //- No copy assignment + void operator=(const upwind&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateIndependentScheme/multivariateIndependentScheme.H b/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateIndependentScheme/multivariateIndependentScheme.H index d255170cfe7f235f58944de32429c2da938964cc..ead28d79f43d5c605fcff6ac8f45cce7d5f55841 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateIndependentScheme/multivariateIndependentScheme.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateIndependentScheme/multivariateIndependentScheme.H @@ -66,11 +66,14 @@ class multivariateIndependentScheme // Private Member Functions - //- Disallow default bitwise copy construct - multivariateIndependentScheme(const multivariateIndependentScheme&); + //- No copy construct + multivariateIndependentScheme + ( + const multivariateIndependentScheme& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const multivariateIndependentScheme&); + //- No copy assignment + void operator=(const multivariateIndependentScheme&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateScheme/multivariateScheme.H b/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateScheme/multivariateScheme.H index 0cce900c4cfa673163412bb52048c9b14d0eca40..08818bcbb0c2b85f68df1ff18218ad32064e0ed2 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateScheme/multivariateScheme.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateScheme/multivariateScheme.H @@ -62,11 +62,11 @@ class multivariateScheme // Private Member Functions - //- Disallow default bitwise copy construct - multivariateScheme(const multivariateScheme&); + //- No copy construct + multivariateScheme(const multivariateScheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const multivariateScheme&); + //- No copy assignment + void operator=(const multivariateScheme&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateSelectionScheme/multivariateSelectionScheme.H b/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateSelectionScheme/multivariateSelectionScheme.H index fec04468e40e7e6fa15baeacf44612d303f889d6..9dd723c6de743261e04e7f5d076cedfdb1f8feeb 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateSelectionScheme/multivariateSelectionScheme.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/multivariateSelectionScheme/multivariateSelectionScheme.H @@ -62,11 +62,14 @@ class multivariateSelectionScheme // Private Member Functions - //- Disallow default bitwise copy construct - multivariateSelectionScheme(const multivariateSelectionScheme&); + //- No copy construct + multivariateSelectionScheme + ( + const multivariateSelectionScheme& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const multivariateSelectionScheme&); + //- No copy assignment + void operator=(const multivariateSelectionScheme&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/upwind/multivariateUpwind.H b/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/upwind/multivariateUpwind.H index 848f1bae52f475ed644af73a92a7c947f19ef13a..97e138f5fb9457edab44d3e7b012f8e92cf6496e 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/upwind/multivariateUpwind.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/multivariateSchemes/upwind/multivariateUpwind.H @@ -59,11 +59,11 @@ class multivariateUpwind // Private Member Functions - //- Disallow default bitwise copy construct - multivariateUpwind(const multivariateUpwind&); + //- No copy construct + multivariateUpwind(const multivariateUpwind&) = delete; - //- Disallow default bitwise assignment - void operator=(const multivariateUpwind&); + //- No copy assignment + void operator=(const multivariateUpwind&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/CentredFitScheme/CentredFitScheme.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/CentredFitScheme/CentredFitScheme.H index 48f3675b40a3057f024953c9148977e8ee925203..b1e96e5960bf527128a897f68450e9a35406a849 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/CentredFitScheme/CentredFitScheme.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/CentredFitScheme/CentredFitScheme.H @@ -66,11 +66,11 @@ class CentredFitScheme // Private Member Functions - //- Disallow default bitwise copy construct - CentredFitScheme(const CentredFitScheme&); + //- No copy construct + CentredFitScheme(const CentredFitScheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const CentredFitScheme&); + //- No copy assignment + void operator=(const CentredFitScheme&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/CoBlended/CoBlended.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/CoBlended/CoBlended.H index f311c7b60f0f380229779d30ee806ed29620e20a..8d2de37c9dfc04f055a13ec45234814d87f1a351 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/CoBlended/CoBlended.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/CoBlended/CoBlended.H @@ -105,11 +105,11 @@ class CoBlended // Private Member Functions - //- Disallow default bitwise copy construct - CoBlended(const CoBlended&); + //- No copy construct + CoBlended(const CoBlended&) = delete; - //- Disallow default bitwise assignment - void operator=(const CoBlended&); + //- No copy assignment + void operator=(const CoBlended&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/LUST/LUST.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/LUST/LUST.H index 00802267c3469f60126c752d3f421d58c75f7adb..5750784d2189652d3bcf09997450c1bf94541cdf 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/LUST/LUST.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/LUST/LUST.H @@ -62,11 +62,11 @@ class LUST { // Private Member Functions - //- Disallow default bitwise copy construct - LUST(const LUST&); + //- No copy construct + LUST(const LUST&) = delete; - //- Disallow default bitwise assignment - void operator=(const LUST&); + //- No copy assignment + void operator=(const LUST&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/PureUpwindFitScheme/PureUpwindFitScheme.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/PureUpwindFitScheme/PureUpwindFitScheme.H index ede33e221736eb9005b67f05259944d399c3f37a..ce6975c3b4bd7353a7f705e8ed4c92fe50ba250e 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/PureUpwindFitScheme/PureUpwindFitScheme.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/PureUpwindFitScheme/PureUpwindFitScheme.H @@ -67,11 +67,11 @@ class PureUpwindFitScheme // Private Member Functions - //- Disallow default bitwise copy construct - PureUpwindFitScheme(const PureUpwindFitScheme&); + //- No copy construct + PureUpwindFitScheme(const PureUpwindFitScheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const PureUpwindFitScheme&); + //- No copy assignment + void operator=(const PureUpwindFitScheme&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/UpwindFitScheme/UpwindFitScheme.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/UpwindFitScheme/UpwindFitScheme.H index 5e2b771ba2ba046c1802d6f1a8919da00befbc1e..72eb61e6aa5e26ae88e19bba7a37d3c38a99e94f 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/UpwindFitScheme/UpwindFitScheme.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/UpwindFitScheme/UpwindFitScheme.H @@ -69,11 +69,11 @@ class UpwindFitScheme // Private Member Functions - //- Disallow default bitwise copy construct - UpwindFitScheme(const UpwindFitScheme&); + //- No copy construct + UpwindFitScheme(const UpwindFitScheme&) = delete; - //- Disallow default bitwise assignment - void operator=(const UpwindFitScheme&); + //- No copy assignment + void operator=(const UpwindFitScheme&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/cellCoBlended/cellCoBlended.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/cellCoBlended/cellCoBlended.H index c8982913b1745c50b51842d0b00b95222ec4596d..02bf60416a614cba064f76fc24e2544780fb2d69 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/cellCoBlended/cellCoBlended.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/cellCoBlended/cellCoBlended.H @@ -114,11 +114,11 @@ class cellCoBlended // Private Member Functions - //- Disallow default bitwise copy construct - cellCoBlended(const cellCoBlended&); + //- No copy construct + cellCoBlended(const cellCoBlended&) = delete; - //- Disallow default bitwise assignment - void operator=(const cellCoBlended&); + //- No copy assignment + void operator=(const cellCoBlended&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/clippedLinear/clippedLinear.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/clippedLinear/clippedLinear.H index 5e71b0b184b7458fa5b7433a27c0f77f07fbb205..718095badd317ad8a72c1a02ae57f226f9a821f3 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/clippedLinear/clippedLinear.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/clippedLinear/clippedLinear.H @@ -78,8 +78,8 @@ class clippedLinear } - //- Disallow default bitwise assignment - void operator=(const clippedLinear&); + //- No copy assignment + void operator=(const clippedLinear&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/cubic/cubic.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/cubic/cubic.H index e9c5a201be2ee6ea5c2b2dffebbbcff8efcee761..8eb1367e0f5bf1928d48d03e8b3290ddad050e94 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/cubic/cubic.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/cubic/cubic.H @@ -58,11 +58,11 @@ class cubic { // Private Member Functions - //- Disallow default bitwise copy construct - cubic(const cubic&); + //- No copy construct + cubic(const cubic&) = delete; - //- Disallow default bitwise assignment - void operator=(const cubic&); + //- No copy assignment + void operator=(const cubic&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/deferredCorrection/deferredCorrection.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/deferredCorrection/deferredCorrection.H index af69763d86c419b612fe73d20b116644cc8a4190..bd21885141391aca57f738cd585ad541620ae037 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/deferredCorrection/deferredCorrection.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/deferredCorrection/deferredCorrection.H @@ -80,10 +80,10 @@ class deferredCorrection // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct deferredCorrection(const deferredCorrection&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const deferredCorrection&) = delete; diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/downwind/downwind.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/downwind/downwind.H index 6b47c1375053ddbe6b925b1bb5e6adfd51eac86c..583b494dde7d8fc9440b8cfe901a4a6af0aa76bd 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/downwind/downwind.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/downwind/downwind.H @@ -63,8 +63,8 @@ class downwind // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const downwind&); + //- No copy assignment + void operator=(const downwind&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/fixedBlended/fixedBlended.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/fixedBlended/fixedBlended.H index 97582173f38b5e78d97e298264923ada182dafd0..5e976f7fb441f1ed9ff2af7f581c52ff198f7143 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/fixedBlended/fixedBlended.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/fixedBlended/fixedBlended.H @@ -75,11 +75,11 @@ class fixedBlended tmp<surfaceInterpolationScheme<Type>> tScheme2_; - //- Disallow default bitwise copy construct - fixedBlended(const fixedBlended&); + //- No copy construct + fixedBlended(const fixedBlended&) = delete; - //- Disallow default bitwise assignment - void operator=(const fixedBlended&); + //- No copy assignment + void operator=(const fixedBlended&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/harmonic/harmonic.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/harmonic/harmonic.H index 70e75e6b02f8a549d8b8e2689cec372e220cdd93..83fe7f36cbafc30c1e383963f45c17027ae431f3 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/harmonic/harmonic.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/harmonic/harmonic.H @@ -61,8 +61,8 @@ class harmonic { // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const harmonic&); + //- No copy assignment + void operator=(const harmonic&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/limiterBlended/limiterBlended.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/limiterBlended/limiterBlended.H index 3c1da4dea00b6f9bdad1bf4fe0c4f53c05a56434..26a3ffe53618eaa126df8e099a6582df5c82c00a 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/limiterBlended/limiterBlended.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/limiterBlended/limiterBlended.H @@ -72,11 +72,11 @@ class limiterBlended tmp<surfaceInterpolationScheme<Type>> tScheme2_; - //- Disallow default bitwise copy construct - limiterBlended(const limiterBlended&); + //- No copy construct + limiterBlended(const limiterBlended&) = delete; - //- Disallow default bitwise assignment - void operator=(const limiterBlended&); + //- No copy assignment + void operator=(const limiterBlended&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linear/linear.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linear/linear.H index 9ad5de4f5ae287613a2f88878045ce5e1cfda4b5..486bbead3401493da4c38b282ac51c2f8ae8c4fc 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linear/linear.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linear/linear.H @@ -57,8 +57,8 @@ class linear { // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const linear&); + //- No copy assignment + void operator=(const linear&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwind.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwind.H index 9d73a61b032f6c3fbd6c16017b96c7f49032a473..6998208a63e5dd108f4e32674ea1bb07f6749712 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwind.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwind.H @@ -64,11 +64,11 @@ class linearUpwind // Private Member Functions - //- Disallow default bitwise copy construct - linearUpwind(const linearUpwind&); + //- No copy construct + linearUpwind(const linearUpwind&) = delete; - //- Disallow default bitwise assignment - void operator=(const linearUpwind&); + //- No copy assignment + void operator=(const linearUpwind&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwindV.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwindV.H index 99277ccb6d0480cfc9ba2388367d9768da1e8914..63d4ca0a79a41f6b0a11d0420be410c048c49be7 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwindV.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwindV.H @@ -61,11 +61,11 @@ class linearUpwindV // Private Member Functions - //- Disallow default bitwise copy construct - linearUpwindV(const linearUpwindV&); + //- No copy construct + linearUpwindV(const linearUpwindV&) = delete; - //- Disallow default bitwise assignment - void operator=(const linearUpwindV&); + //- No copy assignment + void operator=(const linearUpwindV&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localBlended/localBlended.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localBlended/localBlended.H index b185728b2ea7a2b1d14be4026cb0792ba2b77f19..8478a929394832acc152b09f7da0ea5ec7b15029 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localBlended/localBlended.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localBlended/localBlended.H @@ -65,11 +65,11 @@ class localBlended tmp<surfaceInterpolationScheme<Type>> tScheme2_; - //- Disallow default bitwise copy construct - localBlended(const localBlended&); + //- No copy construct + localBlended(const localBlended&) = delete; - //- Disallow default bitwise assignment - void operator=(const localBlended&); + //- No copy assignment + void operator=(const localBlended&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localMax/localMax.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localMax/localMax.H index 075bc29c732bac94fcec5a83a5303ccb6f41c6d4..84f4bb258621a086360f1b6285823eb8e6e7837d 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localMax/localMax.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localMax/localMax.H @@ -61,8 +61,8 @@ class localMax { // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const localMax&); + //- No copy assignment + void operator=(const localMax&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localMin/localMin.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localMin/localMin.H index e077a5f0c69e572323df5fdad8695df0d8dc172f..b46d829e47fbaaea3c4634854e2282c400cd85b2 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localMin/localMin.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localMin/localMin.H @@ -61,8 +61,8 @@ class localMin { // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const localMin&); + //- No copy assignment + void operator=(const localMin&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/midPoint/midPoint.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/midPoint/midPoint.H index d326787bc4188c27eb825a24f8f6ff139f31f753..467f1306d9b4ec92d8fdd5da3c0e5ec7581e6235 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/midPoint/midPoint.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/midPoint/midPoint.H @@ -57,8 +57,8 @@ class midPoint { // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const midPoint&); + //- No copy assignment + void operator=(const midPoint&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/outletStabilised/outletStabilised.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/outletStabilised/outletStabilised.H index 93cd27b9aaf9ced723b21945a659dbce4d46415b..e7e37e28aa3ab335994a02cf54a088829434c84d 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/outletStabilised/outletStabilised.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/outletStabilised/outletStabilised.H @@ -73,11 +73,11 @@ class outletStabilised // Private Member Functions - //- Disallow default bitwise copy construct - outletStabilised(const outletStabilised&); + //- No copy construct + outletStabilised(const outletStabilised&) = delete; - //- Disallow default bitwise assignment - void operator=(const outletStabilised&); + //- No copy assignment + void operator=(const outletStabilised&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/pointLinear/pointLinear.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/pointLinear/pointLinear.H index 56cc893dd897d8d09759527783061aaa7b744c8c..c83885be415581c03b7604fbd9bc1ede81dddddd 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/pointLinear/pointLinear.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/pointLinear/pointLinear.H @@ -59,11 +59,11 @@ class pointLinear { // Private Member Functions - //- Disallow default bitwise copy construct - pointLinear(const pointLinear&); + //- No copy construct + pointLinear(const pointLinear&) = delete; - //- Disallow default bitwise assignment - void operator=(const pointLinear&); + //- No copy assignment + void operator=(const pointLinear&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/reverseLinear/reverseLinear.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/reverseLinear/reverseLinear.H index f157e0d0d46a752f7b85de3abff80a63bb0ceeef..17527c64525d6747c27260f324e91dc28fba6f45 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/reverseLinear/reverseLinear.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/reverseLinear/reverseLinear.H @@ -59,8 +59,8 @@ class reverseLinear { // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const reverseLinear&); + //- No copy assignment + void operator=(const reverseLinear&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/skewCorrected/skewCorrected.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/skewCorrected/skewCorrected.H index 5503048f59779c99127386866584d97e4364c8ca..69b64870e3c2cdcdef9ccee81f08a570b64674de 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/skewCorrected/skewCorrected.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/skewCorrected/skewCorrected.H @@ -65,11 +65,11 @@ class skewCorrected // Private Member Functions - //- Disallow default bitwise copy construct - skewCorrected(const skewCorrected&); + //- No copy construct + skewCorrected(const skewCorrected&) = delete; - //- Disallow default bitwise assignment - void operator=(const skewCorrected&); + //- No copy assignment + void operator=(const skewCorrected&) = delete; public: diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/weighted/weighted.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/weighted/weighted.H index f390d8175137eade352a852dff42a4dc06d0c8e2..7900901958af48ad1a2351e28a1bed37b7249040 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/weighted/weighted.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/weighted/weighted.H @@ -62,8 +62,8 @@ class weighted // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const weighted&); + //- No copy assignment + void operator=(const weighted&) = delete; public: diff --git a/src/finiteVolume/interpolation/volPointInterpolation/pointConstraints.H b/src/finiteVolume/interpolation/volPointInterpolation/pointConstraints.H index f34ae6f304e217a27d3d0391f508093458bd3cbf..c98a7af6d91f51339e4d59db0f1dee04a815a469 100644 --- a/src/finiteVolume/interpolation/volPointInterpolation/pointConstraints.H +++ b/src/finiteVolume/interpolation/volPointInterpolation/pointConstraints.H @@ -81,11 +81,11 @@ class pointConstraints //- Make patch-patch constraints void makePatchPatchAddressing(); - //- Disallow default bitwise copy construct - pointConstraints(const pointConstraints&); + //- No copy construct + pointConstraints(const pointConstraints&) = delete; - //- Disallow default bitwise assignment - void operator=(const pointConstraints&); + //- No copy assignment + void operator=(const pointConstraints&) = delete; public: diff --git a/src/functionObjects/field/Curle/Curle.H b/src/functionObjects/field/Curle/Curle.H index e79525b21af2db26a1b573d25bf75b0e21f232d3..a236a3d1acbb7a6be44dad38b4cf67c305016348 100644 --- a/src/functionObjects/field/Curle/Curle.H +++ b/src/functionObjects/field/Curle/Curle.H @@ -120,10 +120,10 @@ class Curle // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct Curle(const Curle&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const Curle&) = delete; diff --git a/src/functionObjects/field/DESModelRegions/DESModelRegions.H b/src/functionObjects/field/DESModelRegions/DESModelRegions.H index c10f9f0e51502523cc303d781a2547eedfe24b25..8119b9d738b75345cb08172750262d7c8964d5a6 100644 --- a/src/functionObjects/field/DESModelRegions/DESModelRegions.H +++ b/src/functionObjects/field/DESModelRegions/DESModelRegions.H @@ -97,10 +97,10 @@ protected: //- File header information virtual void writeFileHeader(Ostream& os) const; - //- Disallow default bitwise copy construct + //- No copy construct DESModelRegions(const DESModelRegions&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const DESModelRegions&) = delete; diff --git a/src/functionObjects/field/XiReactionRate/XiReactionRate.H b/src/functionObjects/field/XiReactionRate/XiReactionRate.H index 7e2fb564c607646c526433dd2b6249471b9da643..a8c93c8b3b164ed35412fb5a93c89e0779cf9bad 100644 --- a/src/functionObjects/field/XiReactionRate/XiReactionRate.H +++ b/src/functionObjects/field/XiReactionRate/XiReactionRate.H @@ -78,11 +78,11 @@ class XiReactionRate { // Private member functions - //- Disallow default bitwise copy construct - XiReactionRate(const XiReactionRate&); + //- No copy construct + XiReactionRate(const XiReactionRate&) = delete; - //- Disallow default bitwise assignment - void operator=(const XiReactionRate&); + //- No copy assignment + void operator=(const XiReactionRate&) = delete; public: diff --git a/src/functionObjects/field/ddt2/ddt2.H b/src/functionObjects/field/ddt2/ddt2.H index ea0043d5189d6319fb8514ec829e2d33a762eeda..cf50a8c1f2d3ed3b6a84e9ef75685c31f9308186 100644 --- a/src/functionObjects/field/ddt2/ddt2.H +++ b/src/functionObjects/field/ddt2/ddt2.H @@ -135,10 +135,10 @@ class ddt2 int process(const word& inputName); - //- Disallow default bitwise copy construct + //- No copy construct ddt2(const ddt2&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const ddt2&) = delete; diff --git a/src/functionObjects/field/externalCoupled/externalCoupled.H b/src/functionObjects/field/externalCoupled/externalCoupled.H index 6a1a566d345780299dffb08bf6009755a3ae46c6..d049aa1f05a03fd7481e83ef0055efb81f1639ab 100644 --- a/src/functionObjects/field/externalCoupled/externalCoupled.H +++ b/src/functionObjects/field/externalCoupled/externalCoupled.H @@ -288,10 +288,10 @@ private: //- Perform the coupling with necessary initialization etc. void performCoupling(); - //- Disallow default bitwise copy constructor + //- No copy construct externalCoupled(const externalCoupled&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const externalCoupled&) = delete; diff --git a/src/functionObjects/field/extractEulerianParticles/extractEulerianParticles/extractEulerianParticles.H b/src/functionObjects/field/extractEulerianParticles/extractEulerianParticles/extractEulerianParticles.H index 4953795e61e12e8712b3f033a44828c79afbdc82..412a722080de7ef183dbba08e27ad8646aa53ea7 100644 --- a/src/functionObjects/field/extractEulerianParticles/extractEulerianParticles/extractEulerianParticles.H +++ b/src/functionObjects/field/extractEulerianParticles/extractEulerianParticles/extractEulerianParticles.H @@ -238,11 +238,11 @@ protected: const label globalFaceI ) const; - //- Disallow default bitwise copy construct - extractEulerianParticles(const extractEulerianParticles&); + //- No copy construct + extractEulerianParticles(const extractEulerianParticles&) = delete; - //- Disallow default bitwise assignment - void operator=(const extractEulerianParticles&); + //- No copy assignment + void operator=(const extractEulerianParticles&) = delete; public: diff --git a/src/functionObjects/field/fieldAverage/fieldAverage.H b/src/functionObjects/field/fieldAverage/fieldAverage.H index b169bfa05128fd7599a87df0cf0ea8d33caad8aa..49a03b057248802af22f27bf5ebc9cae12386e87 100644 --- a/src/functionObjects/field/fieldAverage/fieldAverage.H +++ b/src/functionObjects/field/fieldAverage/fieldAverage.H @@ -274,10 +274,10 @@ protected: void readAveragingProperties(); - //- Disallow default bitwise copy construct + //- No copy construct fieldAverage(const fieldAverage&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const fieldAverage&) = delete; diff --git a/src/functionObjects/field/fieldExpression/fieldExpression.H b/src/functionObjects/field/fieldExpression/fieldExpression.H index 8f1e263efc9de494cfa916b9fa9424039b8660a4..5c219f4d376bf6daba0eb175882526af1513b3c2 100644 --- a/src/functionObjects/field/fieldExpression/fieldExpression.H +++ b/src/functionObjects/field/fieldExpression/fieldExpression.H @@ -84,11 +84,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - fieldExpression(const fieldExpression&); + //- No copy construct + fieldExpression(const fieldExpression&) = delete; - //- Disallow default bitwise assignment - void operator=(const fieldExpression&); + //- No copy assignment + void operator=(const fieldExpression&) = delete; public: diff --git a/src/functionObjects/field/fieldMinMax/fieldMinMax.H b/src/functionObjects/field/fieldMinMax/fieldMinMax.H index f92c1972c1dcda219f490f90930f35c6bacba63a..40e392f7ed1f0db3b312104720366e4d235f790f 100644 --- a/src/functionObjects/field/fieldMinMax/fieldMinMax.H +++ b/src/functionObjects/field/fieldMinMax/fieldMinMax.H @@ -150,10 +150,10 @@ protected: //- Output file header information virtual void writeFileHeader(Ostream& os); - //- Disallow default bitwise copy construct + //- No copy construct fieldMinMax(const fieldMinMax&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const fieldMinMax&) = delete; //- Calculate the field min/max diff --git a/src/functionObjects/field/fieldsExpression/fieldsExpression.H b/src/functionObjects/field/fieldsExpression/fieldsExpression.H index da99ee331eac30de3efd88647012e831fe550456..b17b7dda37193dc4e9daf47d937aa032782f94ea 100644 --- a/src/functionObjects/field/fieldsExpression/fieldsExpression.H +++ b/src/functionObjects/field/fieldsExpression/fieldsExpression.H @@ -98,11 +98,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - fieldsExpression(const fieldsExpression&); + //- No copy construct + fieldsExpression(const fieldsExpression&) = delete; - //- Disallow default bitwise assignment - void operator=(const fieldsExpression&); + //- No copy assignment + void operator=(const fieldsExpression&) = delete; public: diff --git a/src/functionObjects/field/fluxSummary/fluxSummary.H b/src/functionObjects/field/fluxSummary/fluxSummary.H index 8c5a3a5a755f40def7d8da14f1e5ae69e998cf3b..1677d826a01da850b479679ef016e2ad8a970e34 100644 --- a/src/functionObjects/field/fluxSummary/fluxSummary.H +++ b/src/functionObjects/field/fluxSummary/fluxSummary.H @@ -245,10 +245,10 @@ protected: //- Specialized write for surfaces bool surfaceModeWrite(); - //- Disallow default bitwise copy construct + //- No copy construct fluxSummary(const fluxSummary&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const fluxSummary&) = delete; diff --git a/src/functionObjects/field/heatTransferCoeff/heatTransferCoeff.H b/src/functionObjects/field/heatTransferCoeff/heatTransferCoeff.H index 7496854c8fd300c6b39b5104a3ef2dde111a43ed..2ad6e39957826d9c875b5abf003c4dc9df3b7268 100644 --- a/src/functionObjects/field/heatTransferCoeff/heatTransferCoeff.H +++ b/src/functionObjects/field/heatTransferCoeff/heatTransferCoeff.H @@ -144,10 +144,10 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct heatTransferCoeff(const heatTransferCoeff&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const heatTransferCoeff&) = delete; diff --git a/src/functionObjects/field/heatTransferCoeff/heatTransferCoeffModels/ReynoldsAnalogy/ReynoldsAnalogy.H b/src/functionObjects/field/heatTransferCoeff/heatTransferCoeffModels/ReynoldsAnalogy/ReynoldsAnalogy.H index ac68ddfd80e4dc85be560724f95e37c69276da57..648211db45fe182e9d8bd87dd25c27b5f6c9b3e1 100644 --- a/src/functionObjects/field/heatTransferCoeff/heatTransferCoeffModels/ReynoldsAnalogy/ReynoldsAnalogy.H +++ b/src/functionObjects/field/heatTransferCoeff/heatTransferCoeffModels/ReynoldsAnalogy/ReynoldsAnalogy.H @@ -97,10 +97,10 @@ class ReynoldsAnalogy { // Private Member Functions - //- Disallow copy construct + //- No copy construct ReynoldsAnalogy(const ReynoldsAnalogy&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const ReynoldsAnalogy&) = delete; diff --git a/src/functionObjects/field/heatTransferCoeff/heatTransferCoeffModels/fixedReferenceTemperature/fixedReferenceTemperature.H b/src/functionObjects/field/heatTransferCoeff/heatTransferCoeffModels/fixedReferenceTemperature/fixedReferenceTemperature.H index 6e5c72903a8025988c0ece87688c5cf200239ae6..96b1c5eacc11951484737acf4dc90b9f274b79ee 100644 --- a/src/functionObjects/field/heatTransferCoeff/heatTransferCoeffModels/fixedReferenceTemperature/fixedReferenceTemperature.H +++ b/src/functionObjects/field/heatTransferCoeff/heatTransferCoeffModels/fixedReferenceTemperature/fixedReferenceTemperature.H @@ -83,10 +83,10 @@ class fixedReferenceTemperature { // Private Member Functions - //- Disallow copy construct + //- No copy construct fixedReferenceTemperature(const fixedReferenceTemperature&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const fixedReferenceTemperature&) = delete; diff --git a/src/functionObjects/field/heatTransferCoeff/heatTransferCoeffModels/heatTransferCoeffModel/heatTransferCoeffModel.H b/src/functionObjects/field/heatTransferCoeff/heatTransferCoeffModels/heatTransferCoeffModel/heatTransferCoeffModel.H index b9ec3ee02a7881fdbfbb8e2381f4d54fb4c8ed52..b8efd0849a1f3cb82a4d6421d54161ef5084301d 100644 --- a/src/functionObjects/field/heatTransferCoeff/heatTransferCoeffModels/heatTransferCoeffModel/heatTransferCoeffModel.H +++ b/src/functionObjects/field/heatTransferCoeff/heatTransferCoeffModels/heatTransferCoeffModel/heatTransferCoeffModel.H @@ -64,10 +64,10 @@ class heatTransferCoeffModel // Private Member Functions - //- Disallow copy construct + //- No copy construct heatTransferCoeffModel(const heatTransferCoeffModel&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const heatTransferCoeffModel&) = delete; diff --git a/src/functionObjects/field/heatTransferCoeff/heatTransferCoeffModels/localReferenceTemperature/localReferenceTemperature.H b/src/functionObjects/field/heatTransferCoeff/heatTransferCoeffModels/localReferenceTemperature/localReferenceTemperature.H index 2b1431d3405047999698f8a6e9d9e330c5fd1471..711196c5e31f8b59a165d1333eec1ff5c46a5e52 100644 --- a/src/functionObjects/field/heatTransferCoeff/heatTransferCoeffModels/localReferenceTemperature/localReferenceTemperature.H +++ b/src/functionObjects/field/heatTransferCoeff/heatTransferCoeffModels/localReferenceTemperature/localReferenceTemperature.H @@ -81,10 +81,10 @@ class localReferenceTemperature { // Private Member Functions - //- Disallow copy construct + //- No copy construct localReferenceTemperature(const localReferenceTemperature&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const localReferenceTemperature&) = delete; diff --git a/src/functionObjects/field/histogram/histogram.H b/src/functionObjects/field/histogram/histogram.H index 38c6bf9aed5ef7c2b1630e84204c4fb8ba3ca9e2..2cd206784a86a8d4dd6293ee6c06fa95fa64d62a 100644 --- a/src/functionObjects/field/histogram/histogram.H +++ b/src/functionObjects/field/histogram/histogram.H @@ -125,11 +125,11 @@ class histogram const scalarField& absoluteValues ) const; - //- Disallow default bitwise copy construct - histogram(const histogram&); + //- No copy construct + histogram(const histogram&) = delete; - //- Disallow default bitwise assignment - void operator=(const histogram&); + //- No copy assignment + void operator=(const histogram&) = delete; public: diff --git a/src/functionObjects/field/mapFields/mapFields.H b/src/functionObjects/field/mapFields/mapFields.H index 69ff1b15eb109a542fb80db7a732ad75f7fb06a9..fa5fc85151a156e1bfa970eae377e1d45ed80159 100644 --- a/src/functionObjects/field/mapFields/mapFields.H +++ b/src/functionObjects/field/mapFields/mapFields.H @@ -103,10 +103,10 @@ class mapFields // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct mapFields(const mapFields&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const mapFields&) = delete; //- Helper function to create the mesh-to-mesh interpolation diff --git a/src/functionObjects/field/nearWallFields/nearWallFields.H b/src/functionObjects/field/nearWallFields/nearWallFields.H index 85c67d9b2dab4056ee20922464b73d33ac2b7ea4..d8a7efd05028f05024bb71ddbc8e2619f883e3f9 100644 --- a/src/functionObjects/field/nearWallFields/nearWallFields.H +++ b/src/functionObjects/field/nearWallFields/nearWallFields.H @@ -175,11 +175,11 @@ protected: private: - //- Disallow default bitwise copy construct - nearWallFields(const nearWallFields&); + //- No copy construct + nearWallFields(const nearWallFields&) = delete; - //- Disallow default bitwise assignment - void operator=(const nearWallFields&); + //- No copy assignment + void operator=(const nearWallFields&) = delete; public: diff --git a/src/functionObjects/field/particleDistribution/particleDistribution.H b/src/functionObjects/field/particleDistribution/particleDistribution.H index 4e7765e1b1e824787a2993e33355f9e1afeadf38..d4b5a352c2470e95144d18a13ed429ddded51bab 100644 --- a/src/functionObjects/field/particleDistribution/particleDistribution.H +++ b/src/functionObjects/field/particleDistribution/particleDistribution.H @@ -133,10 +133,10 @@ protected: const List<DynamicList<label>>& addr ); - //- Disallow default bitwise copy construct + //- No copy construct particleDistribution(const particleDistribution&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const particleDistribution&) = delete; diff --git a/src/functionObjects/field/processorField/processorField.H b/src/functionObjects/field/processorField/processorField.H index 807d8f14c85df50d78a4a7f1938b70cb3172dd47..eacb0a8f60e0a6c2a1db9342d5937b0e8439eee9 100644 --- a/src/functionObjects/field/processorField/processorField.H +++ b/src/functionObjects/field/processorField/processorField.H @@ -85,11 +85,11 @@ class processorField Switch log_; // Private member functions - //- Disallow default bitwise copy construct - processorField(const processorField&); + //- No copy construct + processorField(const processorField&) = delete; - //- Disallow default bitwise assignment - void operator=(const processorField&); + //- No copy assignment + void operator=(const processorField&) = delete; public: diff --git a/src/functionObjects/field/reactionSensitivityAnalysis/reactionsSensitivityAnalysis.H b/src/functionObjects/field/reactionSensitivityAnalysis/reactionsSensitivityAnalysis.H index 69bfce7ffb7c289489e33ae323908fcfb1bbbf6f..e6142548e2d3c0d675d0684bd71502741bc0677b 100644 --- a/src/functionObjects/field/reactionSensitivityAnalysis/reactionsSensitivityAnalysis.H +++ b/src/functionObjects/field/reactionSensitivityAnalysis/reactionsSensitivityAnalysis.H @@ -131,11 +131,14 @@ class reactionsSensitivityAnalysis void writeSpeciesRR(); - //- Disallow default bitwise copy construct - reactionsSensitivityAnalysis(const reactionsSensitivityAnalysis&); + //- No copy construct + reactionsSensitivityAnalysis + ( + const reactionsSensitivityAnalysis& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const reactionsSensitivityAnalysis&); + //- No copy assignment + void operator=(const reactionsSensitivityAnalysis&) = delete; public: diff --git a/src/functionObjects/field/readFields/readFields.H b/src/functionObjects/field/readFields/readFields.H index 1dfb662d5d75dffc3b56cb10fa0c70933b232904..50bb32bdeafd1490ee6ec8bf35aa1520cb220d3d 100644 --- a/src/functionObjects/field/readFields/readFields.H +++ b/src/functionObjects/field/readFields/readFields.H @@ -103,11 +103,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - readFields(const readFields&); + //- No copy construct + readFields(const readFields&) = delete; - //- Disallow default bitwise assignment - void operator=(const readFields&); + //- No copy assignment + void operator=(const readFields&) = delete; public: diff --git a/src/functionObjects/field/regionSizeDistribution/regionSizeDistribution.H b/src/functionObjects/field/regionSizeDistribution/regionSizeDistribution.H index 86d4c938cc54dddfda27bd2b06ed0cf4cc67b9c2..1ab6800d10efbdaa07a12817eeda2ead919112ac 100644 --- a/src/functionObjects/field/regionSizeDistribution/regionSizeDistribution.H +++ b/src/functionObjects/field/regionSizeDistribution/regionSizeDistribution.H @@ -279,11 +279,11 @@ class regionSizeDistribution const coordSet& coords // graph data for bins ) const; - //- Disallow default bitwise copy construct - regionSizeDistribution(const regionSizeDistribution&); + //- No copy construct + regionSizeDistribution(const regionSizeDistribution&) = delete; - //- Disallow default bitwise assignment - void operator=(const regionSizeDistribution&); + //- No copy assignment + void operator=(const regionSizeDistribution&) = delete; public: diff --git a/src/functionObjects/field/streamLine/streamLine.H b/src/functionObjects/field/streamLine/streamLine.H index f26af7c800784ef9f976f30195895d761f69712c..169c2313492d3c8200ec4409f37e7a4ed4e6a28b 100644 --- a/src/functionObjects/field/streamLine/streamLine.H +++ b/src/functionObjects/field/streamLine/streamLine.H @@ -138,10 +138,10 @@ class streamLine // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct streamLine(const streamLine&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const streamLine&) = delete; diff --git a/src/functionObjects/field/streamLine/streamLineParticleCloud.H b/src/functionObjects/field/streamLine/streamLineParticleCloud.H index dfe1461a7e9e042628a33b6e6d2a15e5280d2b69..46fc7401e274503b54ed4abf792472824fc88648 100644 --- a/src/functionObjects/field/streamLine/streamLineParticleCloud.H +++ b/src/functionObjects/field/streamLine/streamLineParticleCloud.H @@ -53,11 +53,11 @@ class streamLineParticleCloud { // Private Member Functions - //- Disallow default bitwise copy construct - streamLineParticleCloud(const streamLineParticleCloud&); + //- No copy construct + streamLineParticleCloud(const streamLineParticleCloud&) = delete; - //- Disallow default bitwise assignment - void operator=(const streamLineParticleCloud&); + //- No copy assignment + void operator=(const streamLineParticleCloud&) = delete; public: diff --git a/src/functionObjects/field/surfaceInterpolate/surfaceInterpolate.H b/src/functionObjects/field/surfaceInterpolate/surfaceInterpolate.H index 136c6e39d6d7a6d8906f3f5e189597ea04a4742b..853a0ce9fa8a1bafc942b1a3bab276bc5fcf9630 100644 --- a/src/functionObjects/field/surfaceInterpolate/surfaceInterpolate.H +++ b/src/functionObjects/field/surfaceInterpolate/surfaceInterpolate.H @@ -117,11 +117,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - surfaceInterpolate(const surfaceInterpolate&); + //- No copy construct + surfaceInterpolate(const surfaceInterpolate&) = delete; - //- Disallow default bitwise assignment - void operator=(const surfaceInterpolate&); + //- No copy assignment + void operator=(const surfaceInterpolate&) = delete; public: diff --git a/src/functionObjects/field/turbulenceFields/turbulenceFields.H b/src/functionObjects/field/turbulenceFields/turbulenceFields.H index a4ae31d19970328e82d8f0788effc3671d2ce1b2..21bf9dffae91df1411ed985ec34e8b57ad178001 100644 --- a/src/functionObjects/field/turbulenceFields/turbulenceFields.H +++ b/src/functionObjects/field/turbulenceFields/turbulenceFields.H @@ -184,10 +184,10 @@ private: // Private member functions - //- Disallow default bitwise copy construct + //- No copy construct turbulenceFields(const turbulenceFields&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const turbulenceFields&) = delete; diff --git a/src/functionObjects/field/valueAverage/valueAverage.H b/src/functionObjects/field/valueAverage/valueAverage.H index cb6ae974bea802e98492db17e7f59dcb6e41f02b..6aeb6b5a8441e8af2ec36f1fabb5aea1421a78da 100644 --- a/src/functionObjects/field/valueAverage/valueAverage.H +++ b/src/functionObjects/field/valueAverage/valueAverage.H @@ -129,10 +129,10 @@ protected: //- Output file header information virtual void writeFileHeader(Ostream& os) const; - //- Disallow default bitwise copy construct + //- No copy construct valueAverage(const valueAverage&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const valueAverage&) = delete; diff --git a/src/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLine.H b/src/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLine.H index dbec1b53e834ab3189fe55b69a2e9dab30a4cbec..f4e70b88c661fa1e36c7de27646678e54de1efc8 100644 --- a/src/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLine.H +++ b/src/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLine.H @@ -125,10 +125,10 @@ class wallBoundedStreamLine { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct wallBoundedStreamLine(const wallBoundedStreamLine&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const wallBoundedStreamLine&) = delete; diff --git a/src/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLineParticleCloud.H b/src/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLineParticleCloud.H index dc270ffa0d8505647c5c9872d388971cc758e067..968c379d2bad9106db7805722d1849a95e3a6565 100644 --- a/src/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLineParticleCloud.H +++ b/src/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLineParticleCloud.H @@ -53,14 +53,14 @@ class wallBoundedStreamLineParticleCloud { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct wallBoundedStreamLineParticleCloud ( const wallBoundedStreamLineParticleCloud& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const wallBoundedStreamLineParticleCloud&); + //- No copy assignment + void operator=(const wallBoundedStreamLineParticleCloud&) = delete; public: diff --git a/src/functionObjects/field/wallHeatFlux/wallHeatFlux.H b/src/functionObjects/field/wallHeatFlux/wallHeatFlux.H index bfa33269569992741e1f0b5eda4e94291740a198..51d2e72123adb5e78eb23c2ce08fbf22d69bba39 100644 --- a/src/functionObjects/field/wallHeatFlux/wallHeatFlux.H +++ b/src/functionObjects/field/wallHeatFlux/wallHeatFlux.H @@ -121,11 +121,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - wallHeatFlux(const wallHeatFlux&); + //- No copy construct + wallHeatFlux(const wallHeatFlux&) = delete; - //- Disallow default bitwise assignment - void operator=(const wallHeatFlux&); + //- No copy assignment + void operator=(const wallHeatFlux&) = delete; public: diff --git a/src/functionObjects/field/wallShearStress/wallShearStress.H b/src/functionObjects/field/wallShearStress/wallShearStress.H index b61ffac8c2e331e1f02f53aa50de5b31d6df4db7..34ce7f990d837f7b38ee55285e48d4a569081568 100644 --- a/src/functionObjects/field/wallShearStress/wallShearStress.H +++ b/src/functionObjects/field/wallShearStress/wallShearStress.H @@ -127,11 +127,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - wallShearStress(const wallShearStress&); + //- No copy construct + wallShearStress(const wallShearStress&) = delete; - //- Disallow default bitwise assignment - void operator=(const wallShearStress&); + //- No copy assignment + void operator=(const wallShearStress&) = delete; public: diff --git a/src/functionObjects/field/writeCellCentres/writeCellCentres.H b/src/functionObjects/field/writeCellCentres/writeCellCentres.H index 2c3aca1b18af33fcd20dd9ef730698990c31eee2..ecb4035f01d19eda7d0e39090837f78fd8208609 100644 --- a/src/functionObjects/field/writeCellCentres/writeCellCentres.H +++ b/src/functionObjects/field/writeCellCentres/writeCellCentres.H @@ -78,11 +78,11 @@ class writeCellCentres { // Private member functions - //- Disallow default bitwise copy construct - writeCellCentres(const writeCellCentres&); + //- No copy construct + writeCellCentres(const writeCellCentres&) = delete; - //- Disallow default bitwise assignment - void operator=(const writeCellCentres&); + //- No copy assignment + void operator=(const writeCellCentres&) = delete; public: diff --git a/src/functionObjects/field/writeCellVolumes/writeCellVolumes.H b/src/functionObjects/field/writeCellVolumes/writeCellVolumes.H index d1db19be84849d7f58acea0baa5a2bad1f93a9da..0cd68f8b9be3b15f283277b723f7a59488cc649e 100644 --- a/src/functionObjects/field/writeCellVolumes/writeCellVolumes.H +++ b/src/functionObjects/field/writeCellVolumes/writeCellVolumes.H @@ -77,11 +77,11 @@ class writeCellVolumes { // Private member functions - //- Disallow default bitwise copy construct - writeCellVolumes(const writeCellVolumes&); + //- No copy construct + writeCellVolumes(const writeCellVolumes&) = delete; - //- Disallow default bitwise assignment - void operator=(const writeCellVolumes&); + //- No copy assignment + void operator=(const writeCellVolumes&) = delete; public: diff --git a/src/functionObjects/field/yPlus/yPlus.H b/src/functionObjects/field/yPlus/yPlus.H index 76881db50e4f02fac311504250a1de0151125f43..5aa36967227ca17d7b49dd724f9f52c4520575de 100644 --- a/src/functionObjects/field/yPlus/yPlus.H +++ b/src/functionObjects/field/yPlus/yPlus.H @@ -93,11 +93,11 @@ class yPlus //- File header information virtual void writeFileHeader(Ostream& os) const; - //- Disallow default bitwise copy construct - yPlus(const yPlus&); + //- No copy construct + yPlus(const yPlus&) = delete; - //- Disallow default bitwise assignment - void operator=(const yPlus&); + //- No copy assignment + void operator=(const yPlus&) = delete; public: diff --git a/src/functionObjects/field/zeroGradient/zeroGradient.H b/src/functionObjects/field/zeroGradient/zeroGradient.H index 4747b2bf55e84bc4eac9de466f744a8252a39e03..04f610648c80cd6cc51b24de9109a30d0a546b58 100644 --- a/src/functionObjects/field/zeroGradient/zeroGradient.H +++ b/src/functionObjects/field/zeroGradient/zeroGradient.H @@ -126,10 +126,10 @@ class zeroGradient int process(const word& inputName); - //- Disallow default bitwise copy construct + //- No copy construct zeroGradient(const zeroGradient&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const zeroGradient&) = delete; diff --git a/src/functionObjects/forces/forceCoeffs/forceCoeffs.H b/src/functionObjects/forces/forceCoeffs/forceCoeffs.H index 78fa3a68e15ca3afcc53f483bbce1dacd5bc703d..9c8e16e12eba98fb74065c3ffdb8de35a74e8752 100644 --- a/src/functionObjects/forces/forceCoeffs/forceCoeffs.H +++ b/src/functionObjects/forces/forceCoeffs/forceCoeffs.H @@ -172,11 +172,11 @@ class forceCoeffs // Private Member Functions - //- Disallow default bitwise copy construct - forceCoeffs(const forceCoeffs&); + //- No copy construct + forceCoeffs(const forceCoeffs&) = delete; - //- Disallow default bitwise assignment - void operator=(const forceCoeffs&); + //- No copy assignment + void operator=(const forceCoeffs&) = delete; protected: diff --git a/src/functionObjects/forces/forces/forces.H b/src/functionObjects/forces/forces/forces.H index 41d4aa6b6f1f0ce34ec0e1923647927fd203f7ff..d8998412583a27feb52e1442ad01ae341b6768b1 100644 --- a/src/functionObjects/forces/forces/forces.H +++ b/src/functionObjects/forces/forces/forces.H @@ -346,11 +346,11 @@ protected: //- Write binned data void writeBins(); - //- Disallow default bitwise copy construct - forces(const forces&); + //- No copy construct + forces(const forces&) = delete; - //- Disallow default bitwise assignment - void operator=(const forces&); + //- No copy assignment + void operator=(const forces&) = delete; public: diff --git a/src/functionObjects/graphics/runTimePostProcessing/fieldVisualisationBase.H b/src/functionObjects/graphics/runTimePostProcessing/fieldVisualisationBase.H index 3df00661a1e60cfed02277694663d80e4f58ac12..4f8341a6198994c18214432711ace2cfa8fdbec6 100644 --- a/src/functionObjects/graphics/runTimePostProcessing/fieldVisualisationBase.H +++ b/src/functionObjects/graphics/runTimePostProcessing/fieldVisualisationBase.H @@ -95,11 +95,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - fieldVisualisationBase(const fieldVisualisationBase&); + //- No copy construct + fieldVisualisationBase(const fieldVisualisationBase&) = delete; - //- Disallow default bitwise assignment - void operator=(const fieldVisualisationBase&); + //- No copy assignment + void operator=(const fieldVisualisationBase&) = delete; protected: diff --git a/src/functionObjects/graphics/runTimePostProcessing/functionObjectBase.H b/src/functionObjects/graphics/runTimePostProcessing/functionObjectBase.H index 09515f328062010348d31dc959644e8f9e28de7a..b04e44bb9bc49ff8a6bbab5d197ea81a7b4e6a95 100644 --- a/src/functionObjects/graphics/runTimePostProcessing/functionObjectBase.H +++ b/src/functionObjects/graphics/runTimePostProcessing/functionObjectBase.H @@ -59,11 +59,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - functionObjectBase(const functionObjectBase&); + //- No copy construct + functionObjectBase(const functionObjectBase&) = delete; - //- Disallow default bitwise assignment - void operator=(const functionObjectBase&); + //- No copy assignment + void operator=(const functionObjectBase&) = delete; protected: diff --git a/src/functionObjects/graphics/runTimePostProcessing/functionObjectCloud.H b/src/functionObjects/graphics/runTimePostProcessing/functionObjectCloud.H index 35645965bc5e79d9d8fced134f3d72d8ff8ede83..e40489ef143d22aaa6373ed60de5880ea6928de0 100644 --- a/src/functionObjects/graphics/runTimePostProcessing/functionObjectCloud.H +++ b/src/functionObjects/graphics/runTimePostProcessing/functionObjectCloud.H @@ -60,10 +60,10 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct functionObjectCloud(const functionObjectCloud&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const functionObjectCloud&) = delete; diff --git a/src/functionObjects/graphics/runTimePostProcessing/functionObjectLine.H b/src/functionObjects/graphics/runTimePostProcessing/functionObjectLine.H index f16dc25547e74e490a3347b9fcce250d77e7de3f..f4e31d0d959257e3f4c9732a111c21509b61caaa 100644 --- a/src/functionObjects/graphics/runTimePostProcessing/functionObjectLine.H +++ b/src/functionObjects/graphics/runTimePostProcessing/functionObjectLine.H @@ -60,10 +60,10 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct functionObjectLine(const functionObjectLine&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const functionObjectLine&) = delete; diff --git a/src/functionObjects/graphics/runTimePostProcessing/functionObjectSurface.H b/src/functionObjects/graphics/runTimePostProcessing/functionObjectSurface.H index 2ae627a6bf4221372977a42a463e568c8a7318f1..f8176288c0cf28683955098e4c335d8588cd39db 100644 --- a/src/functionObjects/graphics/runTimePostProcessing/functionObjectSurface.H +++ b/src/functionObjects/graphics/runTimePostProcessing/functionObjectSurface.H @@ -61,10 +61,10 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct functionObjectSurface(const functionObjectSurface&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const functionObjectSurface&) = delete; diff --git a/src/functionObjects/graphics/runTimePostProcessing/geometryBase.H b/src/functionObjects/graphics/runTimePostProcessing/geometryBase.H index 0e4bda758c752fbb5c5af3051b4e48166f1fc9b0..2ed82fe9c9f2f10907c0c5d110c634d7a18e7120 100644 --- a/src/functionObjects/graphics/runTimePostProcessing/geometryBase.H +++ b/src/functionObjects/graphics/runTimePostProcessing/geometryBase.H @@ -82,11 +82,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - geometryBase(const geometryBase&); + //- No copy construct + geometryBase(const geometryBase&) = delete; - //- Disallow default bitwise assignment - void operator=(const geometryBase&); + //- No copy assignment + void operator=(const geometryBase&) = delete; protected: diff --git a/src/functionObjects/graphics/runTimePostProcessing/geometrySurface.H b/src/functionObjects/graphics/runTimePostProcessing/geometrySurface.H index 7aaf3af17ab9686a08ecfb73eea6961dd9b5164e..634a5e4877def416aaad9dc43e6078744d13ba2d 100644 --- a/src/functionObjects/graphics/runTimePostProcessing/geometrySurface.H +++ b/src/functionObjects/graphics/runTimePostProcessing/geometrySurface.H @@ -60,10 +60,10 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct geometrySurface(const geometrySurface&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const geometrySurface&) = delete; diff --git a/src/functionObjects/graphics/runTimePostProcessing/pathline.H b/src/functionObjects/graphics/runTimePostProcessing/pathline.H index fb4893cb7eecf4463dac7a068b942ac94a35208e..7b452b48ebfc6508a2a210e441d09adc2e128f7c 100644 --- a/src/functionObjects/graphics/runTimePostProcessing/pathline.H +++ b/src/functionObjects/graphics/runTimePostProcessing/pathline.H @@ -78,10 +78,10 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct pathline(const pathline&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const pathline&) = delete; diff --git a/src/functionObjects/graphics/runTimePostProcessing/pointData.H b/src/functionObjects/graphics/runTimePostProcessing/pointData.H index 73f7b5f61d1a2651c76e0f246cf05346ebafcc3f..7d81b5cca37e7da456fe0dc90c7080b427fe615d 100644 --- a/src/functionObjects/graphics/runTimePostProcessing/pointData.H +++ b/src/functionObjects/graphics/runTimePostProcessing/pointData.H @@ -76,10 +76,10 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct pointData(const pointData&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const pointData&) = delete; diff --git a/src/functionObjects/graphics/runTimePostProcessing/scene.H b/src/functionObjects/graphics/runTimePostProcessing/scene.H index ebf4694096ed918aed0c36aa269ead13a02284f6..713831bd099bf2b3898f0690ad43ee7934693a03 100644 --- a/src/functionObjects/graphics/runTimePostProcessing/scene.H +++ b/src/functionObjects/graphics/runTimePostProcessing/scene.H @@ -111,11 +111,11 @@ class scene const bool visible ) const; - //- Disallow default bitwise copy construct - scene(const scene&); + //- No copy construct + scene(const scene&) = delete; - //- Disallow default bitwise assignment - void operator=(const scene&); + //- No copy assignment + void operator=(const scene&) = delete; protected: diff --git a/src/functionObjects/graphics/runTimePostProcessing/surface.H b/src/functionObjects/graphics/runTimePostProcessing/surface.H index 3913087aa8da266a9d74c32d92ced10a740bb10a..ce988972502ecc6ba36b5f72a9c7e71379c821d0 100644 --- a/src/functionObjects/graphics/runTimePostProcessing/surface.H +++ b/src/functionObjects/graphics/runTimePostProcessing/surface.H @@ -81,10 +81,10 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct surface(const surface&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const surface&) = delete; diff --git a/src/functionObjects/graphics/runTimePostProcessing/text.H b/src/functionObjects/graphics/runTimePostProcessing/text.H index 6d492d7b1b98e43bc892135ae6d7fac18d993756..551fcf6b7c670721aae8db7d8e77d55bcfcfb0f3 100644 --- a/src/functionObjects/graphics/runTimePostProcessing/text.H +++ b/src/functionObjects/graphics/runTimePostProcessing/text.H @@ -77,10 +77,10 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct text(const text&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const text&) = delete; diff --git a/src/functionObjects/lagrangian/cloudInfo/cloudInfo.H b/src/functionObjects/lagrangian/cloudInfo/cloudInfo.H index 8660d7d7082b33c93139a1f8252201fd6f7a35fe..d4dad2889cdd8377c0579fb8fc4eef30a1cf229a 100644 --- a/src/functionObjects/lagrangian/cloudInfo/cloudInfo.H +++ b/src/functionObjects/lagrangian/cloudInfo/cloudInfo.H @@ -112,11 +112,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - cloudInfo(const cloudInfo&); + //- No copy construct + cloudInfo(const cloudInfo&) = delete; - //- Disallow default bitwise assignment - void operator=(const cloudInfo&); + //- No copy assignment + void operator=(const cloudInfo&) = delete; public: diff --git a/src/functionObjects/lagrangian/dsmcFields/dsmcFields.H b/src/functionObjects/lagrangian/dsmcFields/dsmcFields.H index 4a2a676e6ac870f774fb4eda053f45913aa600b2..b2ce2a9adb5aa281adc3e2caa51ce9c43aebc663 100644 --- a/src/functionObjects/lagrangian/dsmcFields/dsmcFields.H +++ b/src/functionObjects/lagrangian/dsmcFields/dsmcFields.H @@ -85,11 +85,11 @@ class dsmcFields Switch log_; // Private Member Functions - //- Disallow default bitwise copy construct - dsmcFields(const dsmcFields&); + //- No copy construct + dsmcFields(const dsmcFields&) = delete; - //- Disallow default bitwise assignment - void operator=(const dsmcFields&); + //- No copy assignment + void operator=(const dsmcFields&) = delete; public: diff --git a/src/functionObjects/lagrangian/icoUncoupledKinematicCloud/icoUncoupledKinematicCloud.H b/src/functionObjects/lagrangian/icoUncoupledKinematicCloud/icoUncoupledKinematicCloud.H index 0244d177ee7a7d9ae54e829f683a2bdc7e4a1f81..37f0072d98ee856ac807aac814d339ec7b63c5ed 100644 --- a/src/functionObjects/lagrangian/icoUncoupledKinematicCloud/icoUncoupledKinematicCloud.H +++ b/src/functionObjects/lagrangian/icoUncoupledKinematicCloud/icoUncoupledKinematicCloud.H @@ -124,11 +124,11 @@ class icoUncoupledKinematicCloud // Private member functions - //- Disallow default bitwise copy construct - icoUncoupledKinematicCloud(const icoUncoupledKinematicCloud&); + //- No copy construct + icoUncoupledKinematicCloud(const icoUncoupledKinematicCloud&) = delete; - //- Disallow default bitwise assignment - void operator==(const icoUncoupledKinematicCloud&); + //- No copy assignment + void operator==(const icoUncoupledKinematicCloud&) = delete; public: diff --git a/src/functionObjects/solvers/energyTransport/energyTransport.H b/src/functionObjects/solvers/energyTransport/energyTransport.H index 20fc56903446019a428b0dd34876e857d3463c68..b9091869c6f0deafcb5d30f4492a9ca93fa76c4a 100644 --- a/src/functionObjects/solvers/energyTransport/energyTransport.H +++ b/src/functionObjects/solvers/energyTransport/energyTransport.H @@ -269,10 +269,10 @@ class energyTransport //- Return kappa tmp<volScalarField> kappa() const; - //- Disallow default bitwise copy construct + //- No copy construct energyTransport(const energyTransport&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const energyTransport&) = delete; diff --git a/src/functionObjects/solvers/scalarTransport/scalarTransport.H b/src/functionObjects/solvers/scalarTransport/scalarTransport.H index 7633017c4aa57acc2c5a6bacaa278346d8ee6819..df11dabe423b514869bef07529a6fadc370e4b97 100644 --- a/src/functionObjects/solvers/scalarTransport/scalarTransport.H +++ b/src/functionObjects/solvers/scalarTransport/scalarTransport.H @@ -221,10 +221,10 @@ class scalarTransport const surfaceScalarField& phi ) const; - //- Disallow default bitwise copy construct + //- No copy construct scalarTransport(const scalarTransport&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const scalarTransport&) = delete; diff --git a/src/functionObjects/utilities/abort/abort.H b/src/functionObjects/utilities/abort/abort.H index ce88b6264cd2c5d8d5947bc485d1aae121de0073..10c1467557715d7a0f4d3111704b1138933e1890 100644 --- a/src/functionObjects/utilities/abort/abort.H +++ b/src/functionObjects/utilities/abort/abort.H @@ -89,10 +89,10 @@ class abort // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct abort(const abort&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const abort&) = delete; diff --git a/src/functionObjects/utilities/codedFunctionObject/codedFunctionObject.H b/src/functionObjects/utilities/codedFunctionObject/codedFunctionObject.H index 289043c15f1ae92d2bbe09db9514ed2518475963..9a909f261334dba883c9a1fc6e184e740822be00 100644 --- a/src/functionObjects/utilities/codedFunctionObject/codedFunctionObject.H +++ b/src/functionObjects/utilities/codedFunctionObject/codedFunctionObject.H @@ -136,11 +136,11 @@ protected: private: - //- Disallow default bitwise copy construct - codedFunctionObject(const codedFunctionObject&); + //- No copy construct + codedFunctionObject(const codedFunctionObject&) = delete; - //- Disallow default bitwise assignment - void operator=(const codedFunctionObject&); + //- No copy assignment + void operator=(const codedFunctionObject&) = delete; public: diff --git a/src/functionObjects/utilities/removeRegisteredObject/removeRegisteredObject.H b/src/functionObjects/utilities/removeRegisteredObject/removeRegisteredObject.H index 9a4024e3fde2e234ec09ffde2ea6767b1af08cc2..42d3fe3282acf2666ee266025d812b22cfec92a4 100644 --- a/src/functionObjects/utilities/removeRegisteredObject/removeRegisteredObject.H +++ b/src/functionObjects/utilities/removeRegisteredObject/removeRegisteredObject.H @@ -86,11 +86,11 @@ class removeRegisteredObject // Private member functions - //- Disallow default bitwise copy construct - removeRegisteredObject(const removeRegisteredObject&); + //- No copy construct + removeRegisteredObject(const removeRegisteredObject&) = delete; - //- Disallow default bitwise assignment - void operator=(const removeRegisteredObject&); + //- No copy assignment + void operator=(const removeRegisteredObject&) = delete; public: diff --git a/src/functionObjects/utilities/residuals/residuals.H b/src/functionObjects/utilities/residuals/residuals.H index 02e2db2843c4e62dd00e695fa0faf03cda813119..63b43e5fc9a6ddf4f871603bc37d25b0065fc3f7 100644 --- a/src/functionObjects/utilities/residuals/residuals.H +++ b/src/functionObjects/utilities/residuals/residuals.H @@ -106,10 +106,10 @@ private: // Private member functions - //- Disallow default bitwise copy construct + //- No copy construct residuals(const residuals&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const residuals&) = delete; diff --git a/src/functionObjects/utilities/runTimeControl/runTimeControl.H b/src/functionObjects/utilities/runTimeControl/runTimeControl.H index 0b1daf347844ac8c5a75b39ca5cb164581b9326b..e3367ebbe6817cf81139d67edaabc5ca82bf2b06 100644 --- a/src/functionObjects/utilities/runTimeControl/runTimeControl.H +++ b/src/functionObjects/utilities/runTimeControl/runTimeControl.H @@ -83,11 +83,11 @@ class runTimeControl // Private Member Functions - //- Disallow default bitwise copy construct - runTimeControl(const runTimeControl&); + //- No copy construct + runTimeControl(const runTimeControl&) = delete; - //- Disallow default bitwise assignment - void operator=(const runTimeControl&); + //- No copy assignment + void operator=(const runTimeControl&) = delete; public: diff --git a/src/functionObjects/utilities/setTimeStep/setTimeStepFunctionObject.H b/src/functionObjects/utilities/setTimeStep/setTimeStepFunctionObject.H index f331073336a475397c488240fa3bf90bbd569062..fdeb447d0e75743090dda49c84ced76909e855e1 100644 --- a/src/functionObjects/utilities/setTimeStep/setTimeStepFunctionObject.H +++ b/src/functionObjects/utilities/setTimeStep/setTimeStepFunctionObject.H @@ -99,11 +99,11 @@ class setTimeStepFunctionObject // Private member functions - //- Disallow default bitwise copy construct - setTimeStepFunctionObject(const setTimeStepFunctionObject&); + //- No copy construct + setTimeStepFunctionObject(const setTimeStepFunctionObject&) = delete; - //- Disallow default bitwise assignment - void operator=(const setTimeStepFunctionObject&); + //- No copy assignment + void operator=(const setTimeStepFunctionObject&) = delete; public: diff --git a/src/functionObjects/utilities/systemCall/systemCall.H b/src/functionObjects/utilities/systemCall/systemCall.H index 17f2c72f660ec92faca956227871394de53c5031..638fcf3bf03a1b6ba0d606e792ea752bccc6ef05 100644 --- a/src/functionObjects/utilities/systemCall/systemCall.H +++ b/src/functionObjects/utilities/systemCall/systemCall.H @@ -131,10 +131,10 @@ protected: //- Dispatch specified calls label dispatch(const stringList& calls); - //- Disallow default bitwise copy construct + //- No copy construct systemCall(const systemCall&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const systemCall&) = delete; diff --git a/src/functionObjects/utilities/thermoCoupleProbes/thermoCoupleProbes.H b/src/functionObjects/utilities/thermoCoupleProbes/thermoCoupleProbes.H index 47047b5183db99dd5f86cbef9bf12226e26aec20..7998b1f992df07a57f79945c825464927d28c4ac 100644 --- a/src/functionObjects/utilities/thermoCoupleProbes/thermoCoupleProbes.H +++ b/src/functionObjects/utilities/thermoCoupleProbes/thermoCoupleProbes.H @@ -146,11 +146,11 @@ protected: private: - //- Disallow default bitwise copy construct - thermoCoupleProbes(const thermoCoupleProbes&); + //- No copy construct + thermoCoupleProbes(const thermoCoupleProbes&) = delete; - //- Disallow default bitwise assignment - void operator=(const thermoCoupleProbes&); + //- No copy assignment + void operator=(const thermoCoupleProbes&) = delete; public: diff --git a/src/functionObjects/utilities/timeActivatedFileUpdate/timeActivatedFileUpdate.H b/src/functionObjects/utilities/timeActivatedFileUpdate/timeActivatedFileUpdate.H index 18db47c80aa61b40ce38eb747f124b34099f14cb..421ee18148e0e778b507b95a81ce601035944783 100644 --- a/src/functionObjects/utilities/timeActivatedFileUpdate/timeActivatedFileUpdate.H +++ b/src/functionObjects/utilities/timeActivatedFileUpdate/timeActivatedFileUpdate.H @@ -115,11 +115,11 @@ class timeActivatedFileUpdate //- Update file void updateFile(); - //- Disallow default bitwise copy construct - timeActivatedFileUpdate(const timeActivatedFileUpdate&); + //- No copy construct + timeActivatedFileUpdate(const timeActivatedFileUpdate&) = delete; - //- Disallow default bitwise assignment - void operator=(const timeActivatedFileUpdate&); + //- No copy assignment + void operator=(const timeActivatedFileUpdate&) = delete; public: diff --git a/src/functionObjects/utilities/writeDictionary/writeDictionary.H b/src/functionObjects/utilities/writeDictionary/writeDictionary.H index 6f719601b04b3382d63966b546881d6c97d3e757..8c53f6ae605d5f08b8290f431d12a50553f868aa 100644 --- a/src/functionObjects/utilities/writeDictionary/writeDictionary.H +++ b/src/functionObjects/utilities/writeDictionary/writeDictionary.H @@ -81,11 +81,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - writeDictionary(const writeDictionary&); + //- No copy construct + writeDictionary(const writeDictionary&) = delete; - //- Disallow default bitwise assignment - void operator=(const writeDictionary&); + //- No copy assignment + void operator=(const writeDictionary&) = delete; public: diff --git a/src/functionObjects/utilities/writeObjects/writeObjects.H b/src/functionObjects/utilities/writeObjects/writeObjects.H index 3b1bf7b1213b8e26ce834ebc6f57b88b9abc93e8..ec25a9308abb745d4354f7dfdad5641016f3c768 100644 --- a/src/functionObjects/utilities/writeObjects/writeObjects.H +++ b/src/functionObjects/utilities/writeObjects/writeObjects.H @@ -137,10 +137,10 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct writeObjects(const writeObjects&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const writeObjects&) = delete; diff --git a/src/fvAgglomerationMethods/MGridGenGamgAgglomeration/MGridGenGAMGAgglomeration.H b/src/fvAgglomerationMethods/MGridGenGamgAgglomeration/MGridGenGAMGAgglomeration.H index 34fe51a0342531c367c1583789720c0e9f0978ed..1051120b75fdf1bbbc089d81d836285f028715de 100644 --- a/src/fvAgglomerationMethods/MGridGenGamgAgglomeration/MGridGenGAMGAgglomeration.H +++ b/src/fvAgglomerationMethods/MGridGenGamgAgglomeration/MGridGenGAMGAgglomeration.H @@ -113,11 +113,11 @@ class MGridGenGAMGAgglomeration ); - //- Disallow default bitwise copy construct - MGridGenGAMGAgglomeration(const MGridGenGAMGAgglomeration&); + //- No copy construct + MGridGenGAMGAgglomeration(const MGridGenGAMGAgglomeration&) = delete; - //- Disallow default bitwise assignment - void operator=(const MGridGenGAMGAgglomeration&); + //- No copy assignment + void operator=(const MGridGenGAMGAgglomeration&) = delete; public: diff --git a/src/fvAgglomerationMethods/pairPatchAgglomeration/pairPatchAgglomeration.H b/src/fvAgglomerationMethods/pairPatchAgglomeration/pairPatchAgglomeration.H index cbe74ac2221b9000e32af8303241df67a1c7387e..10c575bd612df70d4b12f17b619fd6aaa5b1a781 100644 --- a/src/fvAgglomerationMethods/pairPatchAgglomeration/pairPatchAgglomeration.H +++ b/src/fvAgglomerationMethods/pairPatchAgglomeration/pairPatchAgglomeration.H @@ -130,11 +130,11 @@ private: //- Maps current level with base patch void mapBaseToTopAgglom(const label fineLevelIndex); - //- Disallow default bitwise copy construct - pairPatchAgglomeration(const pairPatchAgglomeration&); + //- No copy construct + pairPatchAgglomeration(const pairPatchAgglomeration&) = delete; - //- Disallow default bitwise assignment - void operator=(const pairPatchAgglomeration&); + //- No copy assignment + void operator=(const pairPatchAgglomeration&) = delete; public: diff --git a/src/fvMotionSolver/fvMotionSolvers/componentDisplacement/componentLaplacian/displacementComponentLaplacianFvMotionSolver.H b/src/fvMotionSolver/fvMotionSolvers/componentDisplacement/componentLaplacian/displacementComponentLaplacianFvMotionSolver.H index 012cb6fd36d98b57397c0b244377b1d38e4b6ca3..4b766053e36edb2084049ca8d8e116fa461f4480 100644 --- a/src/fvMotionSolver/fvMotionSolvers/componentDisplacement/componentLaplacian/displacementComponentLaplacianFvMotionSolver.H +++ b/src/fvMotionSolver/fvMotionSolvers/componentDisplacement/componentLaplacian/displacementComponentLaplacianFvMotionSolver.H @@ -82,14 +82,17 @@ class displacementComponentLaplacianFvMotionSolver // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct displacementComponentLaplacianFvMotionSolver ( const displacementComponentLaplacianFvMotionSolver& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const displacementComponentLaplacianFvMotionSolver&); + //- No copy assignment + void operator= + ( + const displacementComponentLaplacianFvMotionSolver& + ) = delete; //- Return the component corresponding to the given component name direction cmpt(const word& cmptName) const; diff --git a/src/fvMotionSolver/fvMotionSolvers/componentVelocity/componentLaplacian/velocityComponentLaplacianFvMotionSolver.H b/src/fvMotionSolver/fvMotionSolvers/componentVelocity/componentLaplacian/velocityComponentLaplacianFvMotionSolver.H index 591c275dde8175bd85c759d6b8382c8096635d98..094af903c52531018fab44acabe427eb06e0f9eb 100644 --- a/src/fvMotionSolver/fvMotionSolvers/componentVelocity/componentLaplacian/velocityComponentLaplacianFvMotionSolver.H +++ b/src/fvMotionSolver/fvMotionSolvers/componentVelocity/componentLaplacian/velocityComponentLaplacianFvMotionSolver.H @@ -74,14 +74,17 @@ class velocityComponentLaplacianFvMotionSolver // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct velocityComponentLaplacianFvMotionSolver ( const velocityComponentLaplacianFvMotionSolver& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const velocityComponentLaplacianFvMotionSolver&); + //- No copy assignment + void operator= + ( + const velocityComponentLaplacianFvMotionSolver& + ) = delete; public: diff --git a/src/fvMotionSolver/fvMotionSolvers/displacement/SBRStress/displacementSBRStressFvMotionSolver.H b/src/fvMotionSolver/fvMotionSolvers/displacement/SBRStress/displacementSBRStressFvMotionSolver.H index 7bd9737556f93393d1b5f861268e94d846ae535e..a33b39c780bcbccdcce4d62dbee5fcce839949fd 100644 --- a/src/fvMotionSolver/fvMotionSolvers/displacement/SBRStress/displacementSBRStressFvMotionSolver.H +++ b/src/fvMotionSolver/fvMotionSolvers/displacement/SBRStress/displacementSBRStressFvMotionSolver.H @@ -74,14 +74,14 @@ class displacementSBRStressFvMotionSolver // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct displacementSBRStressFvMotionSolver ( const displacementSBRStressFvMotionSolver& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const displacementSBRStressFvMotionSolver&); + //- No copy assignment + void operator=(const displacementSBRStressFvMotionSolver&) = delete; public: diff --git a/src/fvMotionSolver/fvMotionSolvers/displacement/laplacian/displacementLaplacianFvMotionSolver.H b/src/fvMotionSolver/fvMotionSolvers/displacement/laplacian/displacementLaplacianFvMotionSolver.H index 0c2fcef937a8702fa26451f568369901772bbc48..9158bcf27e6b2d63a228851a78a828021fabe7f1 100644 --- a/src/fvMotionSolver/fvMotionSolvers/displacement/laplacian/displacementLaplacianFvMotionSolver.H +++ b/src/fvMotionSolver/fvMotionSolvers/displacement/laplacian/displacementLaplacianFvMotionSolver.H @@ -82,14 +82,14 @@ class displacementLaplacianFvMotionSolver // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct displacementLaplacianFvMotionSolver ( const displacementLaplacianFvMotionSolver& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const displacementLaplacianFvMotionSolver&); + //- No copy assignment + void operator=(const displacementLaplacianFvMotionSolver&) = delete; public: diff --git a/src/fvMotionSolver/fvMotionSolvers/displacement/solidBodyDisplacementLaplacian/solidBodyDisplacementLaplacianFvMotionSolver.H b/src/fvMotionSolver/fvMotionSolvers/displacement/solidBodyDisplacementLaplacian/solidBodyDisplacementLaplacianFvMotionSolver.H index 2f768b51f72c60385fb32c1ffeeb9747eba08026..5702f983296d2ac9f548802ad9ae8445cb462065 100644 --- a/src/fvMotionSolver/fvMotionSolvers/displacement/solidBodyDisplacementLaplacian/solidBodyDisplacementLaplacianFvMotionSolver.H +++ b/src/fvMotionSolver/fvMotionSolvers/displacement/solidBodyDisplacementLaplacian/solidBodyDisplacementLaplacianFvMotionSolver.H @@ -56,7 +56,7 @@ class motionDiffusivity; class solidBodyMotionFunction; /*---------------------------------------------------------------------------*\ - Class solidBodyDisplacementLaplacianFvMotionSolver Declaration + Class solidBodyDisplacementLaplacianFvMotionSolver Declaration \*---------------------------------------------------------------------------*/ class solidBodyDisplacementLaplacianFvMotionSolver @@ -89,14 +89,17 @@ class solidBodyDisplacementLaplacianFvMotionSolver // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct solidBodyDisplacementLaplacianFvMotionSolver ( const solidBodyDisplacementLaplacianFvMotionSolver& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const solidBodyDisplacementLaplacianFvMotionSolver&); + //- No copy assignment + void operator= + ( + const solidBodyDisplacementLaplacianFvMotionSolver& + ) = delete; public: diff --git a/src/fvMotionSolver/fvMotionSolvers/displacement/surfaceAlignedSBRStress/surfaceAlignedSBRStressFvMotionSolver.H b/src/fvMotionSolver/fvMotionSolvers/displacement/surfaceAlignedSBRStress/surfaceAlignedSBRStressFvMotionSolver.H index 0ef3b44abfa7fd561dcab8cecaddd6fa2bae9e09..49db1d392b4098686c2efe5881485466079fa93b 100644 --- a/src/fvMotionSolver/fvMotionSolvers/displacement/surfaceAlignedSBRStress/surfaceAlignedSBRStressFvMotionSolver.H +++ b/src/fvMotionSolver/fvMotionSolvers/displacement/surfaceAlignedSBRStress/surfaceAlignedSBRStressFvMotionSolver.H @@ -141,14 +141,14 @@ class surfaceAlignedSBRStressFvMotionSolver // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct surfaceAlignedSBRStressFvMotionSolver ( const surfaceAlignedSBRStressFvMotionSolver& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const surfaceAlignedSBRStressFvMotionSolver&); + //- No copy assignment + void operator=(const surfaceAlignedSBRStressFvMotionSolver&) = delete; //- Calculate cellRot void calculateCellRot(); diff --git a/src/fvMotionSolver/fvMotionSolvers/velocity/laplacian/velocityLaplacianFvMotionSolver.H b/src/fvMotionSolver/fvMotionSolvers/velocity/laplacian/velocityLaplacianFvMotionSolver.H index b4b302951a94e9567f765a5db472c48c2ef07c5d..4f848e5f3c81a70c39626b0f9f9864912b061f8f 100644 --- a/src/fvMotionSolver/fvMotionSolvers/velocity/laplacian/velocityLaplacianFvMotionSolver.H +++ b/src/fvMotionSolver/fvMotionSolvers/velocity/laplacian/velocityLaplacianFvMotionSolver.H @@ -74,14 +74,14 @@ class velocityLaplacianFvMotionSolver // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct velocityLaplacianFvMotionSolver ( const velocityLaplacianFvMotionSolver& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const velocityLaplacianFvMotionSolver&); + //- No copy assignment + void operator=(const velocityLaplacianFvMotionSolver&) = delete; public: diff --git a/src/fvMotionSolver/motionDiffusivity/directional/directionalDiffusivity.H b/src/fvMotionSolver/motionDiffusivity/directional/directionalDiffusivity.H index 2e83b3734917f3bf421104793080c8662231f1a5..06383ec29d74340b241cf7e1e401cc20685ed7ff 100644 --- a/src/fvMotionSolver/motionDiffusivity/directional/directionalDiffusivity.H +++ b/src/fvMotionSolver/motionDiffusivity/directional/directionalDiffusivity.H @@ -57,11 +57,11 @@ class directionalDiffusivity // Private Member Functions - //- Disallow default bitwise copy construct - directionalDiffusivity(const directionalDiffusivity&); + //- No copy construct + directionalDiffusivity(const directionalDiffusivity&) = delete; - //- Disallow default bitwise assignment - void operator=(const directionalDiffusivity&); + //- No copy assignment + void operator=(const directionalDiffusivity&) = delete; public: diff --git a/src/fvMotionSolver/motionDiffusivity/file/fileDiffusivity.H b/src/fvMotionSolver/motionDiffusivity/file/fileDiffusivity.H index 8269bf449b14e8d57000a81098f1f0ba58f5fc69..4b7082910b2603895ab2a60ec2b8c9c2fa787e8a 100644 --- a/src/fvMotionSolver/motionDiffusivity/file/fileDiffusivity.H +++ b/src/fvMotionSolver/motionDiffusivity/file/fileDiffusivity.H @@ -63,11 +63,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - fileDiffusivity(const fileDiffusivity&); + //- No copy construct + fileDiffusivity(const fileDiffusivity&) = delete; - //- Disallow default bitwise assignment - void operator=(const fileDiffusivity&); + //- No copy assignment + void operator=(const fileDiffusivity&) = delete; public: diff --git a/src/fvMotionSolver/motionDiffusivity/inverseDistance/inverseDistanceDiffusivity.H b/src/fvMotionSolver/motionDiffusivity/inverseDistance/inverseDistanceDiffusivity.H index 4a2a13fa309ec974f10f2560e4f0dcdc5198e3a6..38081ef909002f76f84d0cbbaea942d4c59a7975 100644 --- a/src/fvMotionSolver/motionDiffusivity/inverseDistance/inverseDistanceDiffusivity.H +++ b/src/fvMotionSolver/motionDiffusivity/inverseDistance/inverseDistanceDiffusivity.H @@ -61,11 +61,11 @@ class inverseDistanceDiffusivity // Private Member Functions - //- Disallow default bitwise copy construct - inverseDistanceDiffusivity(const inverseDistanceDiffusivity&); + //- No copy construct + inverseDistanceDiffusivity(const inverseDistanceDiffusivity&) = delete; - //- Disallow default bitwise assignment - void operator=(const inverseDistanceDiffusivity&); + //- No copy assignment + void operator=(const inverseDistanceDiffusivity&) = delete; public: diff --git a/src/fvMotionSolver/motionDiffusivity/inverseFaceDistance/inverseFaceDistanceDiffusivity.H b/src/fvMotionSolver/motionDiffusivity/inverseFaceDistance/inverseFaceDistanceDiffusivity.H index 0a5b6809ad89c37f961912a5a7cb59b831771ee8..4336f341a7e17ce6ef56112052c64a40d9db41cd 100644 --- a/src/fvMotionSolver/motionDiffusivity/inverseFaceDistance/inverseFaceDistanceDiffusivity.H +++ b/src/fvMotionSolver/motionDiffusivity/inverseFaceDistance/inverseFaceDistanceDiffusivity.H @@ -58,11 +58,14 @@ class inverseFaceDistanceDiffusivity // Private Member Functions - //- Disallow default bitwise copy construct - inverseFaceDistanceDiffusivity(const inverseFaceDistanceDiffusivity&); - - //- Disallow default bitwise assignment - void operator=(const inverseFaceDistanceDiffusivity&); + //- No copy construct + inverseFaceDistanceDiffusivity + ( + const inverseFaceDistanceDiffusivity& + ) = delete; + + //- No copy assignment + void operator=(const inverseFaceDistanceDiffusivity&) = delete; public: diff --git a/src/fvMotionSolver/motionDiffusivity/inversePointDistance/inversePointDistanceDiffusivity.H b/src/fvMotionSolver/motionDiffusivity/inversePointDistance/inversePointDistanceDiffusivity.H index 86f485dfbac14e36f1585e9436b31056687f974b..b306fa81f3f7cc4c4bc6331a27a08ece11bae7fe 100644 --- a/src/fvMotionSolver/motionDiffusivity/inversePointDistance/inversePointDistanceDiffusivity.H +++ b/src/fvMotionSolver/motionDiffusivity/inversePointDistance/inversePointDistanceDiffusivity.H @@ -59,11 +59,14 @@ class inversePointDistanceDiffusivity // Private Member Functions - //- Disallow default bitwise copy construct - inversePointDistanceDiffusivity(const inversePointDistanceDiffusivity&); - - //- Disallow default bitwise assignment - void operator=(const inversePointDistanceDiffusivity&); + //- No copy construct + inversePointDistanceDiffusivity + ( + const inversePointDistanceDiffusivity& + ) = delete; + + //- No copy assignment + void operator=(const inversePointDistanceDiffusivity&) = delete; public: diff --git a/src/fvMotionSolver/motionDiffusivity/inverseVolume/inverseVolumeDiffusivity.H b/src/fvMotionSolver/motionDiffusivity/inverseVolume/inverseVolumeDiffusivity.H index ee395f979f1e0bd03576bebf8188467e4058046b..c0684b9701ff127addbeae9ff4727dc14f936c8e 100644 --- a/src/fvMotionSolver/motionDiffusivity/inverseVolume/inverseVolumeDiffusivity.H +++ b/src/fvMotionSolver/motionDiffusivity/inverseVolume/inverseVolumeDiffusivity.H @@ -52,11 +52,11 @@ class inverseVolumeDiffusivity { // Private Member Functions - //- Disallow default bitwise copy construct - inverseVolumeDiffusivity(const inverseVolumeDiffusivity&); + //- No copy construct + inverseVolumeDiffusivity(const inverseVolumeDiffusivity&) = delete; - //- Disallow default bitwise assignment - void operator=(const inverseVolumeDiffusivity&); + //- No copy assignment + void operator=(const inverseVolumeDiffusivity&) = delete; public: diff --git a/src/fvMotionSolver/motionDiffusivity/manipulators/exponential/exponentialDiffusivity.H b/src/fvMotionSolver/motionDiffusivity/manipulators/exponential/exponentialDiffusivity.H index c9a7ea47a6a1355b71d9a7764558ecb5c8cc37b0..6e10e41e72db604b12c1dfa190d368a2f6ce7772 100644 --- a/src/fvMotionSolver/motionDiffusivity/manipulators/exponential/exponentialDiffusivity.H +++ b/src/fvMotionSolver/motionDiffusivity/manipulators/exponential/exponentialDiffusivity.H @@ -59,11 +59,11 @@ class exponentialDiffusivity // Private Member Functions - //- Disallow default bitwise copy construct - exponentialDiffusivity(const exponentialDiffusivity&); + //- No copy construct + exponentialDiffusivity(const exponentialDiffusivity&) = delete; - //- Disallow default bitwise assignment - void operator=(const exponentialDiffusivity&); + //- No copy assignment + void operator=(const exponentialDiffusivity&) = delete; public: diff --git a/src/fvMotionSolver/motionDiffusivity/manipulators/quadratic/quadraticDiffusivity.H b/src/fvMotionSolver/motionDiffusivity/manipulators/quadratic/quadraticDiffusivity.H index 05f0b3390cca86aa4a62cd82ef3bf17e5d8dd828..267feedbadefe9890b8e9373f61e5ea0a4b4500a 100644 --- a/src/fvMotionSolver/motionDiffusivity/manipulators/quadratic/quadraticDiffusivity.H +++ b/src/fvMotionSolver/motionDiffusivity/manipulators/quadratic/quadraticDiffusivity.H @@ -58,11 +58,11 @@ class quadraticDiffusivity // Private Member Functions - //- Disallow default bitwise copy construct - quadraticDiffusivity(const quadraticDiffusivity&); + //- No copy construct + quadraticDiffusivity(const quadraticDiffusivity&) = delete; - //- Disallow default bitwise assignment - void operator=(const quadraticDiffusivity&); + //- No copy assignment + void operator=(const quadraticDiffusivity&) = delete; public: diff --git a/src/fvMotionSolver/motionDiffusivity/motionDirectional/motionDirectionalDiffusivity.H b/src/fvMotionSolver/motionDiffusivity/motionDirectional/motionDirectionalDiffusivity.H index 02925d9a069e3c0b00d453730871ac621204f850..efa91998199bc96501885c69afff8cc7391fa9a1 100644 --- a/src/fvMotionSolver/motionDiffusivity/motionDirectional/motionDirectionalDiffusivity.H +++ b/src/fvMotionSolver/motionDiffusivity/motionDirectional/motionDirectionalDiffusivity.H @@ -57,11 +57,14 @@ class motionDirectionalDiffusivity // Private Member Functions - //- Disallow default bitwise copy construct - motionDirectionalDiffusivity(const motionDirectionalDiffusivity&); - - //- Disallow default bitwise assignment - void operator=(const motionDirectionalDiffusivity&); + //- No copy construct + motionDirectionalDiffusivity + ( + const motionDirectionalDiffusivity& + ) = delete; + + //- No copy assignment + void operator=(const motionDirectionalDiffusivity&) = delete; public: diff --git a/src/fvMotionSolver/motionDiffusivity/uniform/uniformDiffusivity.H b/src/fvMotionSolver/motionDiffusivity/uniform/uniformDiffusivity.H index e0da293f710f688227b954f2b773822db2b71fd4..4ad4c39dd0e9d1d6684560302c0acf769ad5fcc1 100644 --- a/src/fvMotionSolver/motionDiffusivity/uniform/uniformDiffusivity.H +++ b/src/fvMotionSolver/motionDiffusivity/uniform/uniformDiffusivity.H @@ -63,11 +63,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - uniformDiffusivity(const uniformDiffusivity&); + //- No copy construct + uniformDiffusivity(const uniformDiffusivity&) = delete; - //- Disallow default bitwise assignment - void operator=(const uniformDiffusivity&); + //- No copy assignment + void operator=(const uniformDiffusivity&) = delete; public: diff --git a/src/fvMotionSolver/motionInterpolation/motionInterpolation/motionInterpolation.H b/src/fvMotionSolver/motionInterpolation/motionInterpolation/motionInterpolation.H index 3dc56983ab2632a28e361beb26609c15a33b2a4b..7775523c3ca4ea2191a63fb8836124b7b38ab44c 100644 --- a/src/fvMotionSolver/motionInterpolation/motionInterpolation/motionInterpolation.H +++ b/src/fvMotionSolver/motionInterpolation/motionInterpolation/motionInterpolation.H @@ -58,11 +58,11 @@ class motionInterpolation // Private Member Functions - //- Disallow default bitwise copy construct - motionInterpolation(const motionInterpolation&); + //- No copy construct + motionInterpolation(const motionInterpolation&) = delete; - //- Disallow default bitwise assignment - void operator=(const motionInterpolation&); + //- No copy assignment + void operator=(const motionInterpolation&) = delete; public: diff --git a/src/fvMotionSolver/pointPatchFields/derived/surfaceDisplacement/surfaceDisplacementPointPatchVectorField.H b/src/fvMotionSolver/pointPatchFields/derived/surfaceDisplacement/surfaceDisplacementPointPatchVectorField.H index 652794efa798e8e7abb32cae2e3d4a5dd84de60e..5ea535a8e5eb63c09dcf5b9aa020348be0d3c878 100644 --- a/src/fvMotionSolver/pointPatchFields/derived/surfaceDisplacement/surfaceDisplacementPointPatchVectorField.H +++ b/src/fvMotionSolver/pointPatchFields/derived/surfaceDisplacement/surfaceDisplacementPointPatchVectorField.H @@ -122,9 +122,12 @@ private: //- Calculate displacement (w.r.t. points0()) to project onto surface void calcProjection(vectorField& displacement) const; + //- No copy assignment + void operator= + ( + const surfaceDisplacementPointPatchVectorField& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const surfaceDisplacementPointPatchVectorField&); public: diff --git a/src/fvMotionSolver/pointPatchFields/derived/surfaceSlipDisplacement/surfaceSlipDisplacementPointPatchVectorField.H b/src/fvMotionSolver/pointPatchFields/derived/surfaceSlipDisplacement/surfaceSlipDisplacementPointPatchVectorField.H index d6de719e545fe3b11385c6d3f7f7b093e05d4ea2..007cfcf990e2bbe2b9c162246454c3db4c4ff2ef 100644 --- a/src/fvMotionSolver/pointPatchFields/derived/surfaceSlipDisplacement/surfaceSlipDisplacementPointPatchVectorField.H +++ b/src/fvMotionSolver/pointPatchFields/derived/surfaceSlipDisplacement/surfaceSlipDisplacementPointPatchVectorField.H @@ -112,8 +112,11 @@ private: //- Calculate displacement (w.r.t. points0()) to project onto surface void calcProjection(vectorField& displacement) const; - //- Disallow default bitwise assignment - void operator=(const surfaceSlipDisplacementPointPatchVectorField&); + //- No copy assignment + void operator= + ( + const surfaceSlipDisplacementPointPatchVectorField& + ) = delete; public: diff --git a/src/fvOptions/constraints/derived/fixedTemperatureConstraint/fixedTemperatureConstraint.H b/src/fvOptions/constraints/derived/fixedTemperatureConstraint/fixedTemperatureConstraint.H index 00c83396eb2110588201b89e51f848ebeeeb6b05..2fde4bda9a8e8261876f7b01be7141a4e6d3940b 100644 --- a/src/fvOptions/constraints/derived/fixedTemperatureConstraint/fixedTemperatureConstraint.H +++ b/src/fvOptions/constraints/derived/fixedTemperatureConstraint/fixedTemperatureConstraint.H @@ -111,11 +111,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - fixedTemperatureConstraint(const fixedTemperatureConstraint&); + //- No copy construct + fixedTemperatureConstraint(const fixedTemperatureConstraint&) = delete; - //- Disallow default bitwise assignment - void operator=(const fixedTemperatureConstraint&); + //- No copy assignment + void operator=(const fixedTemperatureConstraint&) = delete; public: diff --git a/src/fvOptions/constraints/derived/velocityDampingConstraint/velocityDampingConstraint.H b/src/fvOptions/constraints/derived/velocityDampingConstraint/velocityDampingConstraint.H index cfc69515f8eb816c00a86fa01351fee8cc5d7477..3c8fda46727d2813135996e539df9d344024b739 100644 --- a/src/fvOptions/constraints/derived/velocityDampingConstraint/velocityDampingConstraint.H +++ b/src/fvOptions/constraints/derived/velocityDampingConstraint/velocityDampingConstraint.H @@ -93,11 +93,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - velocityDampingConstraint(const velocityDampingConstraint&); + //- No copy construct + velocityDampingConstraint(const velocityDampingConstraint&) = delete; - //- Disallow default bitwise assignment - void operator=(const velocityDampingConstraint&); + //- No copy assignment + void operator=(const velocityDampingConstraint&) = delete; public: diff --git a/src/fvOptions/corrections/limitTemperature/limitTemperature.H b/src/fvOptions/corrections/limitTemperature/limitTemperature.H index 338a6554d96989bb7fa90f1287d3a54e11b5eaa0..e92e89f72ca47113bed0ee37060e60eeaf0bdf87 100644 --- a/src/fvOptions/corrections/limitTemperature/limitTemperature.H +++ b/src/fvOptions/corrections/limitTemperature/limitTemperature.H @@ -90,11 +90,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - limitTemperature(const limitTemperature&); + //- No copy construct + limitTemperature(const limitTemperature&) = delete; - //- Disallow default bitwise assignment - void operator=(const limitTemperature&); + //- No copy assignment + void operator=(const limitTemperature&) = delete; public: diff --git a/src/fvOptions/corrections/limitVelocity/limitVelocity.H b/src/fvOptions/corrections/limitVelocity/limitVelocity.H index 15ff1a8b6a6f589444a1733c807b763b4fba3614..b3d192fa8a7031bdde245d3155866ca969d06855 100644 --- a/src/fvOptions/corrections/limitVelocity/limitVelocity.H +++ b/src/fvOptions/corrections/limitVelocity/limitVelocity.H @@ -81,11 +81,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - limitVelocity(const limitVelocity&); + //- No copy construct + limitVelocity(const limitVelocity&) = delete; - //- Disallow default bitwise assignment - void operator=(const limitVelocity&); + //- No copy assignment + void operator=(const limitVelocity&) = delete; public: diff --git a/src/fvOptions/sources/derived/acousticDampingSource/acousticDampingSource.H b/src/fvOptions/sources/derived/acousticDampingSource/acousticDampingSource.H index 02a283bf2de0c2de7eb368f37430ea90c90d5db8..08aaba80894cd05f67fdb191c88fe602c12d2a80 100644 --- a/src/fvOptions/sources/derived/acousticDampingSource/acousticDampingSource.H +++ b/src/fvOptions/sources/derived/acousticDampingSource/acousticDampingSource.H @@ -106,10 +106,10 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - acousticDampingSource(const acousticDampingSource&); + //- No copy construct + acousticDampingSource(const acousticDampingSource&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const acousticDampingSource&) = delete; diff --git a/src/fvOptions/sources/derived/actuationDiskSource/actuationDiskSource.H b/src/fvOptions/sources/derived/actuationDiskSource/actuationDiskSource.H index c8fb363781f4b9c3cd24c97ebec021dff8f81140..36747410cf4f30f89115833c8268eebcdaa43a77 100644 --- a/src/fvOptions/sources/derived/actuationDiskSource/actuationDiskSource.H +++ b/src/fvOptions/sources/derived/actuationDiskSource/actuationDiskSource.H @@ -127,11 +127,11 @@ private: const vectorField& U ) const; - //- Disallow default bitwise copy construct - actuationDiskSource(const actuationDiskSource&); + //- No copy construct + actuationDiskSource(const actuationDiskSource&) = delete; - //- Disallow default bitwise assignment - void operator=(const actuationDiskSource&); + //- No copy assignment + void operator=(const actuationDiskSource&) = delete; public: diff --git a/src/fvOptions/sources/derived/buoyancyEnergy/buoyancyEnergy.H b/src/fvOptions/sources/derived/buoyancyEnergy/buoyancyEnergy.H index 192290494d51f52f1d38411d534cf301a5718bea..c7e1d8c933e3dbdfde2ebe04b68e7f0846eb57cc 100644 --- a/src/fvOptions/sources/derived/buoyancyEnergy/buoyancyEnergy.H +++ b/src/fvOptions/sources/derived/buoyancyEnergy/buoyancyEnergy.H @@ -71,11 +71,11 @@ class buoyancyEnergy // Private Member Functions - //- Disallow default bitwise copy construct - buoyancyEnergy(const buoyancyEnergy&); + //- No copy construct + buoyancyEnergy(const buoyancyEnergy&) = delete; - //- Disallow default bitwise assignment - void operator=(const buoyancyEnergy&); + //- No copy assignment + void operator=(const buoyancyEnergy&) = delete; public: diff --git a/src/fvOptions/sources/derived/buoyancyForce/buoyancyForce.H b/src/fvOptions/sources/derived/buoyancyForce/buoyancyForce.H index 6bc681d03451a081da3d61fcd6d0a809d508a007..a2799a5a6446127a6a4cc8d03cfdc67c00b9f605 100644 --- a/src/fvOptions/sources/derived/buoyancyForce/buoyancyForce.H +++ b/src/fvOptions/sources/derived/buoyancyForce/buoyancyForce.H @@ -70,11 +70,11 @@ class buoyancyForce // Private Member Functions - //- Disallow default bitwise copy construct - buoyancyForce(const buoyancyForce&); + //- No copy construct + buoyancyForce(const buoyancyForce&) = delete; - //- Disallow default bitwise assignment - void operator=(const buoyancyForce&); + //- No copy assignment + void operator=(const buoyancyForce&) = delete; public: diff --git a/src/fvOptions/sources/derived/directionalPressureGradientExplicitSource/directionalPressureGradientExplicitSource.H b/src/fvOptions/sources/derived/directionalPressureGradientExplicitSource/directionalPressureGradientExplicitSource.H index d4cfaf63a89f71f814ed0dd6c6db5300ebf2dc5c..f541089ca9cdbd259b5c6e9d673edd7a60279e88 100644 --- a/src/fvOptions/sources/derived/directionalPressureGradientExplicitSource/directionalPressureGradientExplicitSource.H +++ b/src/fvOptions/sources/derived/directionalPressureGradientExplicitSource/directionalPressureGradientExplicitSource.H @@ -191,14 +191,17 @@ private: //- Correct driving force for a constant mass flow rate void update(fvMatrix<vector>& eqn); - //- Disallow default bitwise copy construct + //- No copy construct directionalPressureGradientExplicitSource ( const directionalPressureGradientExplicitSource& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const directionalPressureGradientExplicitSource&); + //- No copy assignment + void operator= + ( + const directionalPressureGradientExplicitSource& + ) = delete; public: diff --git a/src/fvOptions/sources/derived/effectivenessHeatExchangerSource/effectivenessHeatExchangerSource.H b/src/fvOptions/sources/derived/effectivenessHeatExchangerSource/effectivenessHeatExchangerSource.H index e64bfce42961ea0964df2e4ac7e833576c2a3777..b6c68b901758cc2e9fb16f4eacece9ccdf74821a 100644 --- a/src/fvOptions/sources/derived/effectivenessHeatExchangerSource/effectivenessHeatExchangerSource.H +++ b/src/fvOptions/sources/derived/effectivenessHeatExchangerSource/effectivenessHeatExchangerSource.H @@ -228,14 +228,14 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct effectivenessHeatExchangerSource ( const effectivenessHeatExchangerSource& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const effectivenessHeatExchangerSource&); + //- No copy assignment + void operator=(const effectivenessHeatExchangerSource&) = delete; //- Initialise heat exchanger source model void initialise(); diff --git a/src/fvOptions/sources/derived/explicitPorositySource/explicitPorositySource.H b/src/fvOptions/sources/derived/explicitPorositySource/explicitPorositySource.H index 576fac6843ec51d99debe82ef465786d9434d912..8cad83e0c508ba4a4eca5ffd631545028192690a 100644 --- a/src/fvOptions/sources/derived/explicitPorositySource/explicitPorositySource.H +++ b/src/fvOptions/sources/derived/explicitPorositySource/explicitPorositySource.H @@ -102,11 +102,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - explicitPorositySource(const explicitPorositySource&); + //- No copy construct + explicitPorositySource(const explicitPorositySource&) = delete; - //- Disallow default bitwise assignment - void operator=(const explicitPorositySource&); + //- No copy assignment + void operator=(const explicitPorositySource&) = delete; public: diff --git a/src/fvOptions/sources/derived/jouleHeatingSource/jouleHeatingSource.H b/src/fvOptions/sources/derived/jouleHeatingSource/jouleHeatingSource.H index 2d125c77033feaccbfffde9b96f330fb961ab8ca..4842cfa1edc8dc1526662317f1727d7f4ec6b994 100644 --- a/src/fvOptions/sources/derived/jouleHeatingSource/jouleHeatingSource.H +++ b/src/fvOptions/sources/derived/jouleHeatingSource/jouleHeatingSource.H @@ -188,11 +188,11 @@ class jouleHeatingSource // Private Member Functions - //- Disallow default bitwise copy construct - jouleHeatingSource(const jouleHeatingSource&); + //- No copy construct + jouleHeatingSource(const jouleHeatingSource&) = delete; - //- Disallow default bitwise assignment - void operator=(const jouleHeatingSource&); + //- No copy assignment + void operator=(const jouleHeatingSource&) = delete; //- Return the co-ordinate system for anisotropic electrical // conductivity diff --git a/src/fvOptions/sources/derived/meanVelocityForce/meanVelocityForce.H b/src/fvOptions/sources/derived/meanVelocityForce/meanVelocityForce.H index 5f2cb2648cc3972ec51101b567bb6ace0153b5d8..fac0740aedb94d056b913fd7db58b0f059502140 100644 --- a/src/fvOptions/sources/derived/meanVelocityForce/meanVelocityForce.H +++ b/src/fvOptions/sources/derived/meanVelocityForce/meanVelocityForce.H @@ -112,11 +112,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - meanVelocityForce(const meanVelocityForce&); + //- No copy construct + meanVelocityForce(const meanVelocityForce&) = delete; - //- Disallow default bitwise assignment - void operator=(const meanVelocityForce&); + //- No copy assignment + void operator=(const meanVelocityForce&) = delete; public: diff --git a/src/fvOptions/sources/derived/meanVelocityForce/patchMeanVelocityForce/patchMeanVelocityForce.H b/src/fvOptions/sources/derived/meanVelocityForce/patchMeanVelocityForce/patchMeanVelocityForce.H index 75b175def6cd011c19c7df36f8e8f3ebc144a0ba..a894757066b460a6d59ed5fc1bd9dfa7d27d5ca9 100644 --- a/src/fvOptions/sources/derived/meanVelocityForce/patchMeanVelocityForce/patchMeanVelocityForce.H +++ b/src/fvOptions/sources/derived/meanVelocityForce/patchMeanVelocityForce/patchMeanVelocityForce.H @@ -87,11 +87,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - patchMeanVelocityForce(const patchMeanVelocityForce&); + //- No copy construct + patchMeanVelocityForce(const patchMeanVelocityForce&) = delete; - //- Disallow default bitwise assignment - void operator=(const patchMeanVelocityForce&); + //- No copy assignment + void operator=(const patchMeanVelocityForce&) = delete; public: diff --git a/src/fvOptions/sources/derived/radialActuationDiskSource/radialActuationDiskSource.H b/src/fvOptions/sources/derived/radialActuationDiskSource/radialActuationDiskSource.H index 3f0329e4057bc70e461adf5d2ca0a0e41367776d..55e8fa9b4fdca6ba28dd611057aab7db6d2b6db2 100644 --- a/src/fvOptions/sources/derived/radialActuationDiskSource/radialActuationDiskSource.H +++ b/src/fvOptions/sources/derived/radialActuationDiskSource/radialActuationDiskSource.H @@ -112,11 +112,11 @@ class radialActuationDiskSource const vectorField& U ) const; - //- Disallow default bitwise copy construct - radialActuationDiskSource(const radialActuationDiskSource&); + //- No copy construct + radialActuationDiskSource(const radialActuationDiskSource&) = delete; - //- Disallow default bitwise assignment - void operator=(const radialActuationDiskSource&); + //- No copy assignment + void operator=(const radialActuationDiskSource&) = delete; public: diff --git a/src/fvOptions/sources/derived/solidificationMeltingSource/solidificationMeltingSource.H b/src/fvOptions/sources/derived/solidificationMeltingSource/solidificationMeltingSource.H index 7c3b576a30a3e2fc55398ff62f8ad07f91bb9aac..256142c8c1561b852468e141f6ad67836d8dea50 100644 --- a/src/fvOptions/sources/derived/solidificationMeltingSource/solidificationMeltingSource.H +++ b/src/fvOptions/sources/derived/solidificationMeltingSource/solidificationMeltingSource.H @@ -190,11 +190,14 @@ private: template<class RhoFieldType> void apply(const RhoFieldType& rho, fvMatrix<scalar>& eqn); - //- Disallow default bitwise copy construct - solidificationMeltingSource(const solidificationMeltingSource&); + //- No copy construct + solidificationMeltingSource + ( + const solidificationMeltingSource& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const solidificationMeltingSource&); + //- No copy assignment + void operator=(const solidificationMeltingSource&) = delete; public: diff --git a/src/fvOptions/sources/derived/tabulatedAccelerationSource/tabulated6DoFAcceleration/tabulated6DoFAcceleration.H b/src/fvOptions/sources/derived/tabulatedAccelerationSource/tabulated6DoFAcceleration/tabulated6DoFAcceleration.H index 80f956efcf935f62510bbd97eab96a1f6b4d03d0..af7a4bcc252ec53c047e51fff307c58d64435306 100644 --- a/src/fvOptions/sources/derived/tabulatedAccelerationSource/tabulated6DoFAcceleration/tabulated6DoFAcceleration.H +++ b/src/fvOptions/sources/derived/tabulatedAccelerationSource/tabulated6DoFAcceleration/tabulated6DoFAcceleration.H @@ -74,11 +74,11 @@ class tabulated6DoFAcceleration // Private Member Functions - //- Disallow copy construct - tabulated6DoFAcceleration(const tabulated6DoFAcceleration&); + //- No copy construct + tabulated6DoFAcceleration(const tabulated6DoFAcceleration&) = delete; - //- Disallow default bitwise assignment - void operator=(const tabulated6DoFAcceleration&); + //- No copy assignment + void operator=(const tabulated6DoFAcceleration&) = delete; public: diff --git a/src/fvOptions/sources/derived/tabulatedAccelerationSource/tabulatedAccelerationSource.H b/src/fvOptions/sources/derived/tabulatedAccelerationSource/tabulatedAccelerationSource.H index 0a9b56195538b74249c0023265e8c5c0d00fb313..3c8d8b1eb1e40805c0cb85341ee8d0d4308a1c68 100644 --- a/src/fvOptions/sources/derived/tabulatedAccelerationSource/tabulatedAccelerationSource.H +++ b/src/fvOptions/sources/derived/tabulatedAccelerationSource/tabulatedAccelerationSource.H @@ -87,11 +87,14 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - tabulatedAccelerationSource(const tabulatedAccelerationSource&); + //- No copy construct + tabulatedAccelerationSource + ( + const tabulatedAccelerationSource& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const tabulatedAccelerationSource&); + //- No copy assignment + void operator=(const tabulatedAccelerationSource&) = delete; //- Source term to momentum equation diff --git a/src/fvOptions/sources/derived/viscousDissipation/viscousDissipation.H b/src/fvOptions/sources/derived/viscousDissipation/viscousDissipation.H index 5902080125ef9278d078648f14eb4cf315a3330e..ef1497f1a97295b0fdc03259fd97a3c7009d34c9 100644 --- a/src/fvOptions/sources/derived/viscousDissipation/viscousDissipation.H +++ b/src/fvOptions/sources/derived/viscousDissipation/viscousDissipation.H @@ -80,10 +80,10 @@ class viscousDissipation //- Return the viscosity field tmp<volSymmTensorField> devRhoReff() const; - //- Disallow default bitwise copy construct + //- No copy construct viscousDissipation(const viscousDissipation&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const viscousDissipation&) = delete; private: diff --git a/src/fvOptions/sources/interRegion/interRegionExplicitPorositySource/interRegionExplicitPorositySource.H b/src/fvOptions/sources/interRegion/interRegionExplicitPorositySource/interRegionExplicitPorositySource.H index e42e29d3dbfd1e46181bdaadd90cf1f0f4e600b9..36884d260bd300c62587f48c77707d4ef8962df6 100644 --- a/src/fvOptions/sources/interRegion/interRegionExplicitPorositySource/interRegionExplicitPorositySource.H +++ b/src/fvOptions/sources/interRegion/interRegionExplicitPorositySource/interRegionExplicitPorositySource.H @@ -111,14 +111,14 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct interRegionExplicitPorositySource ( const interRegionExplicitPorositySource& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const interRegionExplicitPorositySource&); + //- No copy assignment + void operator=(const interRegionExplicitPorositySource&) = delete; public: diff --git a/src/lagrangian/DSMC/clouds/Templates/DSMCCloud/DSMCCloud.H b/src/lagrangian/DSMC/clouds/Templates/DSMCCloud/DSMCCloud.H index d03a26f53f536c08293e5e6fdeebeadf4c007c52..5041b5d5f338d946930c9de3272baecb8145a497 100644 --- a/src/lagrangian/DSMC/clouds/Templates/DSMCCloud/DSMCCloud.H +++ b/src/lagrangian/DSMC/clouds/Templates/DSMCCloud/DSMCCloud.H @@ -182,11 +182,11 @@ class DSMCCloud //- Calculate the volume field data void calculateFields(); - //- Disallow default bitwise copy construct - DSMCCloud(const DSMCCloud&); + //- No copy construct + DSMCCloud(const DSMCCloud&) = delete; - //- Disallow default bitwise assignment - void operator=(const DSMCCloud&); + //- No copy assignment + void operator=(const DSMCCloud&) = delete; public: diff --git a/src/lagrangian/DSMC/clouds/baseClasses/DSMCBaseCloud/DSMCBaseCloud.H b/src/lagrangian/DSMC/clouds/baseClasses/DSMCBaseCloud/DSMCBaseCloud.H index 674774af375fa3645fe7bd88313b3a022ce8eee4..56b0b19fca751daf03e4eab6563f7a474fb37493 100644 --- a/src/lagrangian/DSMC/clouds/baseClasses/DSMCBaseCloud/DSMCBaseCloud.H +++ b/src/lagrangian/DSMC/clouds/baseClasses/DSMCBaseCloud/DSMCBaseCloud.H @@ -50,11 +50,11 @@ class DSMCBaseCloud { // Private Member Functions - //- Disallow default bitwise copy construct - DSMCBaseCloud(const DSMCBaseCloud&); + //- No copy construct + DSMCBaseCloud(const DSMCBaseCloud&) = delete; - //- Disallow default bitwise assignment - void operator=(const DSMCBaseCloud&); + //- No copy assignment + void operator=(const DSMCBaseCloud&) = delete; public: diff --git a/src/lagrangian/basic/InteractionLists/InteractionLists.H b/src/lagrangian/basic/InteractionLists/InteractionLists.H index f44a17ead530f5746fd03f25a7e665e3af47dbdd..b7f8a550a4df45f77cc8ef00dd76964f34e13caf 100644 --- a/src/lagrangian/basic/InteractionLists/InteractionLists.H +++ b/src/lagrangian/basic/InteractionLists/InteractionLists.H @@ -198,11 +198,11 @@ class InteractionLists //- Write the referred wall faces out for debug void writeReferredWallFaces() const; - //- Disallow default bitwise copy construct - InteractionLists(const InteractionLists&); + //- No copy construct + InteractionLists(const InteractionLists&) = delete; - //- Disallow default bitwise assignment - void operator=(const InteractionLists&); + //- No copy assignment + void operator=(const InteractionLists&) = delete; public: diff --git a/src/lagrangian/basic/indexedParticle/indexedParticleCloud.H b/src/lagrangian/basic/indexedParticle/indexedParticleCloud.H index 270dcfe1d3728c035a53a15914430b48a19b16fc..9ad85aa9f93dc9e4a4a82a6668df6ca3ad1184c7 100644 --- a/src/lagrangian/basic/indexedParticle/indexedParticleCloud.H +++ b/src/lagrangian/basic/indexedParticle/indexedParticleCloud.H @@ -53,11 +53,11 @@ class indexedParticleCloud { // Private Member Functions - //- Disallow default bitwise copy construct - indexedParticleCloud(const indexedParticleCloud&); + //- No copy construct + indexedParticleCloud(const indexedParticleCloud&) = delete; - //- Disallow default bitwise assignment - void operator=(const indexedParticleCloud&); + //- No copy assignment + void operator=(const indexedParticleCloud&) = delete; public: diff --git a/src/lagrangian/basic/injectedParticle/injectedParticleCloud.H b/src/lagrangian/basic/injectedParticle/injectedParticleCloud.H index 4c171fad9b3caa33c5ee06c6d7a4e0c44b3d01d2..927a3de1956ca2f0c4128b225781334202a88cc3 100644 --- a/src/lagrangian/basic/injectedParticle/injectedParticleCloud.H +++ b/src/lagrangian/basic/injectedParticle/injectedParticleCloud.H @@ -58,11 +58,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - injectedParticleCloud(const injectedParticleCloud&); + //- No copy construct + injectedParticleCloud(const injectedParticleCloud&) = delete; - //- Disallow default bitwise assignment - void operator=(const injectedParticleCloud&); + //- No copy assignment + void operator=(const injectedParticleCloud&) = delete; public: diff --git a/src/lagrangian/basic/passiveParticle/passiveParticleCloud.H b/src/lagrangian/basic/passiveParticle/passiveParticleCloud.H index 3817b8c6347826264733408450b23bbd89c1c1b3..84e47c78debacee7bc3dee436b16a9bf0870b368 100644 --- a/src/lagrangian/basic/passiveParticle/passiveParticleCloud.H +++ b/src/lagrangian/basic/passiveParticle/passiveParticleCloud.H @@ -53,11 +53,11 @@ class passiveParticleCloud { // Private Member Functions - //- Disallow default bitwise copy construct - passiveParticleCloud(const passiveParticleCloud&); + //- No copy construct + passiveParticleCloud(const passiveParticleCloud&) = delete; - //- Disallow default bitwise assignment - void operator=(const passiveParticleCloud&); + //- No copy assignment + void operator=(const passiveParticleCloud&) = delete; public: diff --git a/src/lagrangian/intermediate/IntegrationScheme/IntegrationScheme/IntegrationScheme.H b/src/lagrangian/intermediate/IntegrationScheme/IntegrationScheme/IntegrationScheme.H index 88326f8c2b92cc47d3efa3bb277ee2b006a6f719..feb5f4e0d6b730d175dff964841a9592d7086783 100644 --- a/src/lagrangian/intermediate/IntegrationScheme/IntegrationScheme/IntegrationScheme.H +++ b/src/lagrangian/intermediate/IntegrationScheme/IntegrationScheme/IntegrationScheme.H @@ -120,8 +120,8 @@ private: // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const IntegrationScheme&); + //- No copy assignment + void operator=(const IntegrationScheme&) = delete; public: diff --git a/src/lagrangian/intermediate/clouds/Templates/CollidingCloud/CollidingCloud.H b/src/lagrangian/intermediate/clouds/Templates/CollidingCloud/CollidingCloud.H index 84a2b2876617da2641884d5af1d6c166feb0ba21..a3a5e555735a6e402df5e11d6bc0f79190e3cd43 100644 --- a/src/lagrangian/intermediate/clouds/Templates/CollidingCloud/CollidingCloud.H +++ b/src/lagrangian/intermediate/clouds/Templates/CollidingCloud/CollidingCloud.H @@ -89,11 +89,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - CollidingCloud(const CollidingCloud&); + //- No copy construct + CollidingCloud(const CollidingCloud&) = delete; - //- Disallow default bitwise assignment - void operator=(const CollidingCloud&); + //- No copy assignment + void operator=(const CollidingCloud&) = delete; protected: diff --git a/src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloud.H b/src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloud.H index fdfb60c087041d944d334dfffe0d779381a1333b..5e91cb2fc0964f9c64f4edb6e69bf1b13f65a07b 100644 --- a/src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloud.H +++ b/src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloud.H @@ -133,11 +133,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - KinematicCloud(const KinematicCloud&); + //- No copy construct + KinematicCloud(const KinematicCloud&) = delete; - //- Disallow default bitwise assignment - void operator=(const KinematicCloud&); + //- No copy assignment + void operator=(const KinematicCloud&) = delete; protected: diff --git a/src/lagrangian/intermediate/clouds/Templates/KinematicCloud/cloudSolution/cloudSolution.H b/src/lagrangian/intermediate/clouds/Templates/KinematicCloud/cloudSolution/cloudSolution.H index 36915ca28991ba340e9394cf37bf0b67a9216399..e39743348f3586b7549ade47afd56c87d8a9832a 100644 --- a/src/lagrangian/intermediate/clouds/Templates/KinematicCloud/cloudSolution/cloudSolution.H +++ b/src/lagrangian/intermediate/clouds/Templates/KinematicCloud/cloudSolution/cloudSolution.H @@ -108,8 +108,8 @@ class cloudSolution // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const cloudSolution&); + //- No copy assignment + void operator=(const cloudSolution&) = delete; public: diff --git a/src/lagrangian/intermediate/clouds/Templates/MPPICCloud/MPPICCloud.H b/src/lagrangian/intermediate/clouds/Templates/MPPICCloud/MPPICCloud.H index 6ac4cd073e3841d5b976341350bb81f38d022bb8..28d272c8f432e12c1b0b34a1cb2c3aa7f388cbbe 100644 --- a/src/lagrangian/intermediate/clouds/Templates/MPPICCloud/MPPICCloud.H +++ b/src/lagrangian/intermediate/clouds/Templates/MPPICCloud/MPPICCloud.H @@ -95,11 +95,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - MPPICCloud(const MPPICCloud&); + //- No copy construct + MPPICCloud(const MPPICCloud&) = delete; - //- Disallow default bitwise assignment - void operator=(const MPPICCloud&); + //- No copy assignment + void operator=(const MPPICCloud&) = delete; protected: diff --git a/src/lagrangian/intermediate/clouds/Templates/ReactingCloud/ReactingCloud.H b/src/lagrangian/intermediate/clouds/Templates/ReactingCloud/ReactingCloud.H index 22ab3b5b38c83fd18463e8af4726910f273f7578..7f6f29cf7f5f085042dc10781a88a724924a7399 100644 --- a/src/lagrangian/intermediate/clouds/Templates/ReactingCloud/ReactingCloud.H +++ b/src/lagrangian/intermediate/clouds/Templates/ReactingCloud/ReactingCloud.H @@ -92,11 +92,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - ReactingCloud(const ReactingCloud&); + //- No copy construct + ReactingCloud(const ReactingCloud&) = delete; - //- Disallow default bitwise assignment - void operator=(const ReactingCloud&); + //- No copy assignment + void operator=(const ReactingCloud&) = delete; protected: diff --git a/src/lagrangian/intermediate/clouds/Templates/ReactingMultiphaseCloud/ReactingMultiphaseCloud.H b/src/lagrangian/intermediate/clouds/Templates/ReactingMultiphaseCloud/ReactingMultiphaseCloud.H index 66dd19b9d2f241f3326e81040f68b729aa1357bb..86335508efeba903e9164762e5cc64790092cc05 100644 --- a/src/lagrangian/intermediate/clouds/Templates/ReactingMultiphaseCloud/ReactingMultiphaseCloud.H +++ b/src/lagrangian/intermediate/clouds/Templates/ReactingMultiphaseCloud/ReactingMultiphaseCloud.H @@ -93,11 +93,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - ReactingMultiphaseCloud(const ReactingMultiphaseCloud&); + //- No copy construct + ReactingMultiphaseCloud(const ReactingMultiphaseCloud&) = delete; - //- Disallow default bitwise assignment - void operator=(const ReactingMultiphaseCloud&); + //- No copy assignment + void operator=(const ReactingMultiphaseCloud&) = delete; protected: diff --git a/src/lagrangian/intermediate/clouds/Templates/ThermoCloud/ThermoCloud.H b/src/lagrangian/intermediate/clouds/Templates/ThermoCloud/ThermoCloud.H index 158d8a849ab24c56357b1b3924f0f3afa55d3912..89dd19e67627b851a0438c72bb042c4976ce50d1 100644 --- a/src/lagrangian/intermediate/clouds/Templates/ThermoCloud/ThermoCloud.H +++ b/src/lagrangian/intermediate/clouds/Templates/ThermoCloud/ThermoCloud.H @@ -90,11 +90,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - ThermoCloud(const ThermoCloud&); + //- No copy construct + ThermoCloud(const ThermoCloud&) = delete; - //- Disallow default bitwise assignment - void operator=(const ThermoCloud&); + //- No copy assignment + void operator=(const ThermoCloud&) = delete; protected: diff --git a/src/lagrangian/intermediate/clouds/baseClasses/kinematicCloud/kinematicCloud.H b/src/lagrangian/intermediate/clouds/baseClasses/kinematicCloud/kinematicCloud.H index 675f09e6bdc03bd84f51b0adfada4dfc7de9a771..2230ff697c4fc149c8cafd9ac9054c50689205b1 100644 --- a/src/lagrangian/intermediate/clouds/baseClasses/kinematicCloud/kinematicCloud.H +++ b/src/lagrangian/intermediate/clouds/baseClasses/kinematicCloud/kinematicCloud.H @@ -51,11 +51,11 @@ class kinematicCloud { // Private Member Functions - //- Disallow default bitwise copy construct - kinematicCloud(const kinematicCloud&); + //- No copy construct + kinematicCloud(const kinematicCloud&) = delete; - //- Disallow default bitwise assignment - void operator=(const kinematicCloud&); + //- No copy assignment + void operator=(const kinematicCloud&) = delete; public: diff --git a/src/lagrangian/intermediate/clouds/baseClasses/reactingCloud/reactingCloud.H b/src/lagrangian/intermediate/clouds/baseClasses/reactingCloud/reactingCloud.H index 72461bb2c9d86d88e44cef8a23b1377e75ce09fe..eef644846b21afa053a281e434701f7d60ac35ae 100644 --- a/src/lagrangian/intermediate/clouds/baseClasses/reactingCloud/reactingCloud.H +++ b/src/lagrangian/intermediate/clouds/baseClasses/reactingCloud/reactingCloud.H @@ -50,11 +50,11 @@ class reactingCloud { // Private Member Functions - //- Disallow default bitwise copy construct - reactingCloud(const reactingCloud&); + //- No copy construct + reactingCloud(const reactingCloud&) = delete; - //- Disallow default bitwise assignment - void operator=(const reactingCloud&); + //- No copy assignment + void operator=(const reactingCloud&) = delete; public: diff --git a/src/lagrangian/intermediate/clouds/baseClasses/reactingMultiphaseCloud/reactingMultiphaseCloud.H b/src/lagrangian/intermediate/clouds/baseClasses/reactingMultiphaseCloud/reactingMultiphaseCloud.H index d7c0dea283a17314cfa5aa29c36bbeb25a5f46f3..074dcc56c0b06650b66a9bcf8a71f17b9b6c35a3 100644 --- a/src/lagrangian/intermediate/clouds/baseClasses/reactingMultiphaseCloud/reactingMultiphaseCloud.H +++ b/src/lagrangian/intermediate/clouds/baseClasses/reactingMultiphaseCloud/reactingMultiphaseCloud.H @@ -50,11 +50,11 @@ class reactingMultiphaseCloud { // Private Member Functions - //- Disallow default bitwise copy construct - reactingMultiphaseCloud(const reactingMultiphaseCloud&); + //- No copy construct + reactingMultiphaseCloud(const reactingMultiphaseCloud&) = delete; - //- Disallow default bitwise assignment - void operator=(const reactingMultiphaseCloud&); + //- No copy assignment + void operator=(const reactingMultiphaseCloud&) = delete; public: diff --git a/src/lagrangian/intermediate/clouds/baseClasses/thermoCloud/thermoCloud.H b/src/lagrangian/intermediate/clouds/baseClasses/thermoCloud/thermoCloud.H index 2743f57cf8c48fef02c86a948a5a558062479acc..8f52deebd3a959ea2f201c116dab0849bc8294c2 100644 --- a/src/lagrangian/intermediate/clouds/baseClasses/thermoCloud/thermoCloud.H +++ b/src/lagrangian/intermediate/clouds/baseClasses/thermoCloud/thermoCloud.H @@ -50,11 +50,11 @@ class thermoCloud { // Private Member Functions - //- Disallow default bitwise copy construct - thermoCloud(const thermoCloud&); + //- No copy construct + thermoCloud(const thermoCloud&) = delete; - //- Disallow default bitwise assignment - void operator=(const thermoCloud&); + //- No copy assignment + void operator=(const thermoCloud&) = delete; public: diff --git a/src/lagrangian/intermediate/submodels/MPPIC/CorrectionLimitingMethods/CorrectionLimitingMethod/CorrectionLimitingMethod.H b/src/lagrangian/intermediate/submodels/MPPIC/CorrectionLimitingMethods/CorrectionLimitingMethod/CorrectionLimitingMethod.H index 151bdd3384a55c44a0f3c4d3f18e01b483804287..b0328f2d4062fc562b3491bf8a3933caef7518b4 100644 --- a/src/lagrangian/intermediate/submodels/MPPIC/CorrectionLimitingMethods/CorrectionLimitingMethod/CorrectionLimitingMethod.H +++ b/src/lagrangian/intermediate/submodels/MPPIC/CorrectionLimitingMethods/CorrectionLimitingMethod/CorrectionLimitingMethod.H @@ -57,8 +57,8 @@ private: // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const CorrectionLimitingMethod&); + //- No copy assignment + void operator=(const CorrectionLimitingMethod&) = delete; public: diff --git a/src/lagrangian/intermediate/submodels/MPPIC/ParticleStressModels/ParticleStressModel/ParticleStressModel.H b/src/lagrangian/intermediate/submodels/MPPIC/ParticleStressModels/ParticleStressModel/ParticleStressModel.H index a27c863bd066b4bdfe86c0644aee00e37232bf93..093ae508f5e5cc6c7728af8522404211c998a366 100644 --- a/src/lagrangian/intermediate/submodels/MPPIC/ParticleStressModels/ParticleStressModel/ParticleStressModel.H +++ b/src/lagrangian/intermediate/submodels/MPPIC/ParticleStressModels/ParticleStressModel/ParticleStressModel.H @@ -58,8 +58,8 @@ private: //- Private member functions - //- Disallow default bitwise assignment - void operator=(const ParticleStressModel&); + //- No copy assignment + void operator=(const ParticleStressModel&) = delete; protected: diff --git a/src/lagrangian/intermediate/submodels/MPPIC/TimeScaleModels/TimeScaleModel/TimeScaleModel.H b/src/lagrangian/intermediate/submodels/MPPIC/TimeScaleModels/TimeScaleModel/TimeScaleModel.H index e77db57f0b04cd36added2859473075457d1eaec..50f3513e1822b155323aef9559001a17e601d3ad 100644 --- a/src/lagrangian/intermediate/submodels/MPPIC/TimeScaleModels/TimeScaleModel/TimeScaleModel.H +++ b/src/lagrangian/intermediate/submodels/MPPIC/TimeScaleModels/TimeScaleModel/TimeScaleModel.H @@ -59,8 +59,8 @@ private: //- Private member functions - //- Disallow default bitwise assignment - void operator=(const TimeScaleModel&); + //- No copy assignment + void operator=(const TimeScaleModel&) = delete; protected: diff --git a/src/lagrangian/molecularDynamics/molecularMeasurements/correlationFunction/correlationFunction.H b/src/lagrangian/molecularDynamics/molecularMeasurements/correlationFunction/correlationFunction.H index 99647b4c2abc20165ed21de313190f20e9b5b371..be990d7671c8f57959b04598e0cb5737a99bce18 100644 --- a/src/lagrangian/molecularDynamics/molecularMeasurements/correlationFunction/correlationFunction.H +++ b/src/lagrangian/molecularDynamics/molecularMeasurements/correlationFunction/correlationFunction.H @@ -80,11 +80,11 @@ class correlationFunction void setTimesAndSizes(const label); - //- Disallow default bitwise copy construct - correlationFunction(const correlationFunction<Type>&); + //- No copy construct + correlationFunction(const correlationFunction<Type>&) = delete; - //- Disallow default bitwise assignment - void operator=(const correlationFunction<Type>&); + //- No copy assignment + void operator=(const correlationFunction<Type>&) = delete; public: diff --git a/src/lagrangian/molecularDynamics/molecule/moleculeCloud/moleculeCloud.H b/src/lagrangian/molecularDynamics/molecule/moleculeCloud/moleculeCloud.H index 4dda921e89cc8d12e5b06d531bc9701840855375..15b269ff12064fb11ac370174b77b66581348a22 100644 --- a/src/lagrangian/molecularDynamics/molecule/moleculeCloud/moleculeCloud.H +++ b/src/lagrangian/molecularDynamics/molecule/moleculeCloud/moleculeCloud.H @@ -134,11 +134,11 @@ private: const molecule::constantProperties& cP ); - //- Disallow default bitwise copy construct - moleculeCloud(const moleculeCloud&); + //- No copy construct + moleculeCloud(const moleculeCloud&) = delete; - //- Disallow default bitwise assignment - void operator=(const moleculeCloud&); + //- No copy assignment + void operator=(const moleculeCloud&) = delete; public: diff --git a/src/lagrangian/molecularDynamics/molecule/reducedUnits/reducedUnits.C b/src/lagrangian/molecularDynamics/molecule/reducedUnits/reducedUnits.C index 5ce30a1d6057619fb609277a2d6745f83baac9e6..2f424424bb6c19bedb2212f79df99facbb85d201 100644 --- a/src/lagrangian/molecularDynamics/molecule/reducedUnits/reducedUnits.C +++ b/src/lagrangian/molecularDynamics/molecule/reducedUnits/reducedUnits.C @@ -27,7 +27,7 @@ License // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // -const Foam::scalar Foam::reducedUnits::kb = 1.3806504e-23; +const Foam::scalar Foam::reducedUnits::kb = 1.3806504e-23; // * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * // @@ -105,12 +105,6 @@ Foam::reducedUnits::reducedUnits(const IOdictionary& reducedUnitsDict) } -// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // - -Foam::reducedUnits::~reducedUnits() -{} - - // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // void Foam::reducedUnits::setRefValues @@ -121,9 +115,7 @@ void Foam::reducedUnits::setRefValues ) { refLength_ = refLength; - refTime_ = refTime; - refMass_ = refMass; calcRefValues(); @@ -136,27 +128,11 @@ void Foam::reducedUnits::setRefValues ) { refLength_ = readScalar(reducedUnitsDict.lookup("refLength")); - refTime_ = readScalar(reducedUnitsDict.lookup("refTime")); - - refMass_ = readScalar(reducedUnitsDict.lookup("refMass")); + refMass_ = readScalar(reducedUnitsDict.lookup("refMass")); calcRefValues(); } -// * * * * * * * * * * * * * * * Member Operators * * * * * * * * * * * * * // - -void Foam::reducedUnits::operator=(const reducedUnits& rhs) -{ - // Check for assignment to self - if (this == &rhs) - { - FatalErrorInFunction - << "Attempted assignment to self" - << abort(FatalError); - } -} - - // ************************************************************************* // diff --git a/src/lagrangian/molecularDynamics/molecule/reducedUnits/reducedUnits.H b/src/lagrangian/molecularDynamics/molecule/reducedUnits/reducedUnits.H index 51c713a5b3149a24b2508154744b011638669227..53c5c6ccd618c86a200e8684bbc076c16968c7e1 100644 --- a/src/lagrangian/molecularDynamics/molecule/reducedUnits/reducedUnits.H +++ b/src/lagrangian/molecularDynamics/molecule/reducedUnits/reducedUnits.H @@ -44,7 +44,7 @@ SourceFiles namespace Foam { -// Forward declaration of friend functions and operators +// Forward declarations class reducedUnits; @@ -59,45 +59,37 @@ class reducedUnits { // Private data - // Reduced units + // Fundamental values - // Fundamental values + scalar refLength_; - scalar refLength_; + scalar refTime_; - scalar refTime_; + scalar refMass_; - scalar refMass_; + // Derived values - // Derived values + scalar refEnergy_; - scalar refEnergy_; + scalar refTemp_; - scalar refTemp_; + scalar refForce_; - scalar refForce_; + scalar refVelocity_; - scalar refVelocity_; + scalar refVolume_; - scalar refVolume_; + scalar refPressure_; - scalar refPressure_; + scalar refMassDensity_; - scalar refMassDensity_; - - scalar refNumberDensity_; + scalar refNumberDensity_; // Private Member Functions void calcRefValues(); - //- Disallow default bitwise copy construct - reducedUnits(const reducedUnits&); - - //- Disallow default bitwise assignment - void operator=(const reducedUnits&); - public: @@ -128,7 +120,7 @@ public: //- Destructor - ~reducedUnits(); + ~reducedUnits() = default; // Member Functions diff --git a/src/lagrangian/molecularDynamics/potential/energyScalingFunction/basic/energyScalingFunction.H b/src/lagrangian/molecularDynamics/potential/energyScalingFunction/basic/energyScalingFunction.H index 4bdea8fb9480a742f41114fadb64549ae2193a1c..91ca39af0cdba80c72cf5fc8e295edab9d118610 100644 --- a/src/lagrangian/molecularDynamics/potential/energyScalingFunction/basic/energyScalingFunction.H +++ b/src/lagrangian/molecularDynamics/potential/energyScalingFunction/basic/energyScalingFunction.H @@ -66,11 +66,11 @@ protected: // Private Member Functions - //- Disallow copy construct - energyScalingFunction(const energyScalingFunction&); + //- No copy construct + energyScalingFunction(const energyScalingFunction&) = delete; - //- Disallow default bitwise assignment - void operator=(const energyScalingFunction&); + //- No copy assignment + void operator=(const energyScalingFunction&) = delete; public: diff --git a/src/lagrangian/molecularDynamics/potential/pairPotential/basic/pairPotential.H b/src/lagrangian/molecularDynamics/potential/pairPotential/basic/pairPotential.H index cafa9a49a3cc2d5f1732746da22ae60549593680..c950acd8cd45299193317796107fd7eb1bb13f30 100644 --- a/src/lagrangian/molecularDynamics/potential/pairPotential/basic/pairPotential.H +++ b/src/lagrangian/molecularDynamics/potential/pairPotential/basic/pairPotential.H @@ -83,11 +83,11 @@ protected: void scaleEnergy(scalar& e, const scalar r) const; - //- Disallow copy construct - pairPotential(const pairPotential&); + //- No copy construct + pairPotential(const pairPotential&) = delete; - //- Disallow default bitwise assignment - void operator=(const pairPotential&); + //- No copy assignment + void operator=(const pairPotential&) = delete; public: diff --git a/src/lagrangian/molecularDynamics/potential/pairPotential/pairPotentialList/pairPotentialList.H b/src/lagrangian/molecularDynamics/potential/pairPotential/pairPotentialList/pairPotentialList.H index 553c27898458d82e7bb4bdf95efcc723ce4b017d..f19f61d8f8bec422661011c01c67cedb919abbeb 100644 --- a/src/lagrangian/molecularDynamics/potential/pairPotential/pairPotentialList/pairPotentialList.H +++ b/src/lagrangian/molecularDynamics/potential/pairPotential/pairPotentialList/pairPotentialList.H @@ -79,11 +79,11 @@ class pairPotentialList const polyMesh& mesh ); - //- Disallow default bitwise assignment - void operator=(const pairPotentialList&); + //- No copy construct + pairPotentialList(const pairPotentialList&) = delete; - //- Disallow default bitwise copy construct - pairPotentialList(const pairPotentialList&); + //- No copy assignment + void operator=(const pairPotentialList&) = delete; public: diff --git a/src/lagrangian/molecularDynamics/potential/potential/potential.H b/src/lagrangian/molecularDynamics/potential/potential/potential.H index b75644195eb3a2d6619e5ae7cce8686627ac591e..c37fd2b45fcac68a94b2e7a663b9507b689d2c72 100644 --- a/src/lagrangian/molecularDynamics/potential/potential/potential.H +++ b/src/lagrangian/molecularDynamics/potential/potential/potential.H @@ -86,11 +86,11 @@ class potential IOdictionary& idListDict ); - //- Disallow default bitwise copy construct - potential(const potential&); + //- No copy construct + potential(const potential&) = delete; - //- Disallow default bitwise assignment - void operator=(const potential&); + //- No copy assignment + void operator=(const potential&) = delete; public: diff --git a/src/lagrangian/molecularDynamics/potential/tetherPotential/basic/tetherPotential.H b/src/lagrangian/molecularDynamics/potential/tetherPotential/basic/tetherPotential.H index 6fdfca091e2d85d2c642298dfddf646d2158b979..0e56e2701310595f52f4689cccf2f1662ebc5f0a 100644 --- a/src/lagrangian/molecularDynamics/potential/tetherPotential/basic/tetherPotential.H +++ b/src/lagrangian/molecularDynamics/potential/tetherPotential/basic/tetherPotential.H @@ -63,11 +63,11 @@ protected: // Private Member Functions - //- Disallow copy construct - tetherPotential(const tetherPotential&); + //- No copy construct + tetherPotential(const tetherPotential&) = delete; - //- Disallow default bitwise assignment - void operator=(const tetherPotential&); + //- No copy assignment + void operator=(const tetherPotential&) = delete; public: diff --git a/src/lagrangian/molecularDynamics/potential/tetherPotential/tetherPotentialList/tetherPotentialList.H b/src/lagrangian/molecularDynamics/potential/tetherPotential/tetherPotentialList/tetherPotentialList.H index dfbfc855a01917b8b20ceceff71ad3a69c38a48d..9d60fc2887c61f0bc639b2dd1dc36abd8ce5d230 100644 --- a/src/lagrangian/molecularDynamics/potential/tetherPotential/tetherPotentialList/tetherPotentialList.H +++ b/src/lagrangian/molecularDynamics/potential/tetherPotential/tetherPotentialList/tetherPotentialList.H @@ -71,11 +71,11 @@ class tetherPotentialList const List<word>& tetherSiteIdList ); - //- Disallow default bitwise assignment - void operator=(const tetherPotentialList&); + //- No copy construct + tetherPotentialList(const tetherPotentialList&) = delete; - //- Disallow default bitwise copy construct - tetherPotentialList(const tetherPotentialList&); + //- No copy assignment + void operator=(const tetherPotentialList&) = delete; public: diff --git a/src/lagrangian/solidParticle/solidParticleCloud.H b/src/lagrangian/solidParticle/solidParticleCloud.H index 13f9d7fc3f5769af8dd5c4806650c853be42c3a7..d891127c71c3e13509fc45e86b8dd2612eff1d71 100644 --- a/src/lagrangian/solidParticle/solidParticleCloud.H +++ b/src/lagrangian/solidParticle/solidParticleCloud.H @@ -70,11 +70,11 @@ class solidParticleCloud // Private Member Functions - //- Disallow default bitwise copy construct - solidParticleCloud(const solidParticleCloud&); + //- No copy construct + solidParticleCloud(const solidParticleCloud&) = delete; - //- Disallow default bitwise assignment - void operator=(const solidParticleCloud&); + //- No copy assignment + void operator=(const solidParticleCloud&) = delete; public: diff --git a/src/lagrangian/spray/clouds/Templates/SprayCloud/SprayCloud.H b/src/lagrangian/spray/clouds/Templates/SprayCloud/SprayCloud.H index 6c0fa9f44f83fa4de907b78e15b7bea8832041ec..6df5d85dc77689ee6abe7ea7b8d5e42ac9e2caa3 100644 --- a/src/lagrangian/spray/clouds/Templates/SprayCloud/SprayCloud.H +++ b/src/lagrangian/spray/clouds/Templates/SprayCloud/SprayCloud.H @@ -87,11 +87,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - SprayCloud(const SprayCloud&); + //- No copy construct + SprayCloud(const SprayCloud&) = delete; - //- Disallow default bitwise assignment - void operator=(const SprayCloud&); + //- No copy assignment + void operator=(const SprayCloud&) = delete; protected: diff --git a/src/lagrangian/spray/clouds/baseClasses/sprayCloud/sprayCloud.H b/src/lagrangian/spray/clouds/baseClasses/sprayCloud/sprayCloud.H index 469aa48c3f78130d84611039cae104b6e3aff7e6..13e7dde0f84baf56ad3925f23f391da74b8b95fd 100644 --- a/src/lagrangian/spray/clouds/baseClasses/sprayCloud/sprayCloud.H +++ b/src/lagrangian/spray/clouds/baseClasses/sprayCloud/sprayCloud.H @@ -50,11 +50,11 @@ class sprayCloud { // Private Member Functions - //- Disallow default bitwise copy construct - sprayCloud(const sprayCloud&); + //- No copy construct + sprayCloud(const sprayCloud&) = delete; - //- Disallow default bitwise assignment - void operator=(const sprayCloud&); + //- No copy assignment + void operator=(const sprayCloud&) = delete; public: diff --git a/src/lumpedPointMotion/lumpedPointIOMovement.H b/src/lumpedPointMotion/lumpedPointIOMovement.H index f1f121b74b85917be0e1c235d73c0e056a71415f..4592202c86cd7822cee73dc68b932a682a774059 100644 --- a/src/lumpedPointMotion/lumpedPointIOMovement.H +++ b/src/lumpedPointMotion/lumpedPointIOMovement.H @@ -60,10 +60,10 @@ class lumpedPointIOMovement { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct lumpedPointIOMovement(const lumpedPointIOMovement&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const lumpedPointIOMovement&) = delete; public: diff --git a/src/lumpedPointMotion/lumpedPointMovement.H b/src/lumpedPointMotion/lumpedPointMovement.H index 7587ec8378cf8d2e743b25e4d6c4f3a98bc0b070..997bb70cff5a6f767852dc8814c5b267c542c741 100644 --- a/src/lumpedPointMotion/lumpedPointMovement.H +++ b/src/lumpedPointMotion/lumpedPointMovement.H @@ -176,10 +176,10 @@ private: label threshold(scalar pos) const; - //- Disallow default bitwise copy constructor + //- No copy construct lumpedPointMovement(const lumpedPointMovement&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const lumpedPointMovement&) = delete; public: diff --git a/src/mesh/blockMesh/blockDescriptor/blockDescriptor.H b/src/mesh/blockMesh/blockDescriptor/blockDescriptor.H index e4d3b72cb91bfcb41c26fe084e76ec21152c96de..1a86c4ae78fb2788db4cbbb69e607ea648e47b2d 100644 --- a/src/mesh/blockMesh/blockDescriptor/blockDescriptor.H +++ b/src/mesh/blockMesh/blockDescriptor/blockDescriptor.H @@ -129,8 +129,8 @@ class blockDescriptor // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const blockDescriptor&); + //- No copy assignment + void operator=(const blockDescriptor&) = delete; public: diff --git a/src/mesh/blockMesh/blockEdges/BSplineEdge/BSpline.H b/src/mesh/blockMesh/blockEdges/BSplineEdge/BSpline.H index 116fba67daaf740ad76320c20482dc7c37472c74..fb7f098a901d596fe1546e4ae32321898f0fed4c 100644 --- a/src/mesh/blockMesh/blockEdges/BSplineEdge/BSpline.H +++ b/src/mesh/blockMesh/blockEdges/BSplineEdge/BSpline.H @@ -77,11 +77,11 @@ class BSpline { // Private Member Functions - //- Disallow default bitwise copy construct - BSpline(const BSpline&); + //- No copy construct + BSpline(const BSpline&) = delete; - //- Disallow default bitwise assignment - void operator=(const BSpline&); + //- No copy assignment + void operator=(const BSpline&) = delete; public: diff --git a/src/mesh/blockMesh/blockEdges/BSplineEdge/BSplineEdge.H b/src/mesh/blockMesh/blockEdges/BSplineEdge/BSplineEdge.H index 55b7ae98a05c3a74226f5566432d28ebd32d2bfb..055281c66eb9b558d77c0893f3ee4ee71417dd21 100644 --- a/src/mesh/blockMesh/blockEdges/BSplineEdge/BSplineEdge.H +++ b/src/mesh/blockMesh/blockEdges/BSplineEdge/BSplineEdge.H @@ -56,11 +56,11 @@ class BSplineEdge { // Private Member Functions - //- Disallow default bitwise copy construct - BSplineEdge(const BSplineEdge&); + //- No copy construct + BSplineEdge(const BSplineEdge&) = delete; - //- Disallow default bitwise assignment - void operator=(const BSplineEdge&); + //- No copy assignment + void operator=(const BSplineEdge&) = delete; public: diff --git a/src/mesh/blockMesh/blockEdges/arcEdge/arcEdge.H b/src/mesh/blockMesh/blockEdges/arcEdge/arcEdge.H index 1521bd0a01580f2100303c6168e8acf7a68a5cd2..078b8bd548cb5705f3ab078c0e950a2656763227 100644 --- a/src/mesh/blockMesh/blockEdges/arcEdge/arcEdge.H +++ b/src/mesh/blockMesh/blockEdges/arcEdge/arcEdge.H @@ -66,11 +66,11 @@ class arcEdge //- Calculate the coordinate system, angle and radius cylindricalCS calcAngle(); - //- Disallow default bitwise copy construct - arcEdge(const arcEdge&); + //- No copy construct + arcEdge(const arcEdge&) = delete; - //- Disallow default bitwise assignment - void operator=(const arcEdge&); + //- No copy assignment + void operator=(const arcEdge&) = delete; public: diff --git a/src/mesh/blockMesh/blockEdges/bezier/bezier.H b/src/mesh/blockMesh/blockEdges/bezier/bezier.H index 92c718e8045a788fd92d5ec7eb7ce368e839b471..ef7105a493063dae94e1cd3037cf0cb84c270bdf 100644 --- a/src/mesh/blockMesh/blockEdges/bezier/bezier.H +++ b/src/mesh/blockMesh/blockEdges/bezier/bezier.H @@ -69,11 +69,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - bezier(const bezier&); + //- No copy construct + bezier(const bezier&) = delete; - //- Disallow default bitwise assignment - void operator=(const bezier&); + //- No copy assignment + void operator=(const bezier&) = delete; public: diff --git a/src/mesh/blockMesh/blockEdges/polyLineEdge/polyLine.H b/src/mesh/blockMesh/blockEdges/polyLineEdge/polyLine.H index ab2927f413717e2a47684fcd0a36a9a2a4e052f0..90e9a094f38910bd7b4ed7d0a3cdfd547311f968 100644 --- a/src/mesh/blockMesh/blockEdges/polyLineEdge/polyLine.H +++ b/src/mesh/blockMesh/blockEdges/polyLineEdge/polyLine.H @@ -55,11 +55,11 @@ class polyLine { // Private Member Functions - //- Disallow default bitwise copy construct - polyLine(const polyLine&); + //- No copy construct + polyLine(const polyLine&) = delete; - //- Disallow default bitwise assignment - void operator=(const polyLine&); + //- No copy assignment + void operator=(const polyLine&) = delete; protected: diff --git a/src/mesh/blockMesh/blockEdges/polyLineEdge/polyLineEdge.H b/src/mesh/blockMesh/blockEdges/polyLineEdge/polyLineEdge.H index cb1165a7460be17e02263f3437fc136b7cb223e4..09431929f597b1b5f0b7b664e4bd55ef5c6c04e0 100644 --- a/src/mesh/blockMesh/blockEdges/polyLineEdge/polyLineEdge.H +++ b/src/mesh/blockMesh/blockEdges/polyLineEdge/polyLineEdge.H @@ -56,11 +56,11 @@ class polyLineEdge { // Private Member Functions - //- Disallow default bitwise copy construct - polyLineEdge(const polyLineEdge&); + //- No copy construct + polyLineEdge(const polyLineEdge&) = delete; - //- Disallow default bitwise assignment - void operator=(const polyLineEdge&); + //- No copy assignment + void operator=(const polyLineEdge&) = delete; public: diff --git a/src/mesh/blockMesh/blockEdges/projectCurveEdge/projectCurveEdge.H b/src/mesh/blockMesh/blockEdges/projectCurveEdge/projectCurveEdge.H index 27d7f7ffcac5bb860500e90cf912b86b5692c60a..02a9441a6c98b43e90c2b37fc67c9ede8dca48bf 100644 --- a/src/mesh/blockMesh/blockEdges/projectCurveEdge/projectCurveEdge.H +++ b/src/mesh/blockMesh/blockEdges/projectCurveEdge/projectCurveEdge.H @@ -63,11 +63,11 @@ class projectCurveEdge // Private Member Functions - //- Disallow default bitwise copy construct - projectCurveEdge(const projectCurveEdge&); + //- No copy construct + projectCurveEdge(const projectCurveEdge&) = delete; - //- Disallow default bitwise assignment - void operator=(const projectCurveEdge&); + //- No copy assignment + void operator=(const projectCurveEdge&) = delete; public: diff --git a/src/mesh/blockMesh/blockEdges/projectEdge/projectEdge.H b/src/mesh/blockMesh/blockEdges/projectEdge/projectEdge.H index 320f658eb57411b89e1ed39deb8ecf1163960534..5c50c1e4e08c2ed15f4aef5ff51c8b058b49ebdd 100644 --- a/src/mesh/blockMesh/blockEdges/projectEdge/projectEdge.H +++ b/src/mesh/blockMesh/blockEdges/projectEdge/projectEdge.H @@ -66,11 +66,11 @@ class projectEdge //- Single point find nearest void findNearest(const point&, point& near, pointConstraint&) const; - //- Disallow default bitwise copy construct - projectEdge(const projectEdge&); + //- No copy construct + projectEdge(const projectEdge&) = delete; - //- Disallow default bitwise assignment - void operator=(const projectEdge&); + //- No copy assignment + void operator=(const projectEdge&) = delete; public: diff --git a/src/mesh/blockMesh/blockEdges/splineEdge/CatmullRomSpline.H b/src/mesh/blockMesh/blockEdges/splineEdge/CatmullRomSpline.H index fda446f44fd2e2f5dcc269c6d6d3c6a3d27efa9b..a388b676133645292d7fdfaa14cb3260d50c1eb9 100644 --- a/src/mesh/blockMesh/blockEdges/splineEdge/CatmullRomSpline.H +++ b/src/mesh/blockMesh/blockEdges/splineEdge/CatmullRomSpline.H @@ -79,11 +79,11 @@ class CatmullRomSpline { // Private Member Functions - //- Disallow default bitwise copy construct - CatmullRomSpline(const CatmullRomSpline&); + //- No copy construct + CatmullRomSpline(const CatmullRomSpline&) = delete; - //- Disallow default bitwise assignment - void operator=(const CatmullRomSpline&); + //- No copy assignment + void operator=(const CatmullRomSpline&) = delete; public: diff --git a/src/mesh/blockMesh/blockEdges/splineEdge/splineEdge.H b/src/mesh/blockMesh/blockEdges/splineEdge/splineEdge.H index 3396166ca7b1b0f789fa7f1cfe451aa39c7a3c87..eeac0d74ed382ceb5806da4d0f7d1e36bd20cf91 100644 --- a/src/mesh/blockMesh/blockEdges/splineEdge/splineEdge.H +++ b/src/mesh/blockMesh/blockEdges/splineEdge/splineEdge.H @@ -56,11 +56,11 @@ class splineEdge { // Private Member Functions - //- Disallow default bitwise copy construct - splineEdge(const splineEdge&); + //- No copy construct + splineEdge(const splineEdge&) = delete; - //- Disallow default bitwise assignment - void operator=(const splineEdge&); + //- No copy assignment + void operator=(const splineEdge&) = delete; public: diff --git a/src/mesh/blockMesh/blockFaces/projectFace/projectFace.H b/src/mesh/blockMesh/blockFaces/projectFace/projectFace.H index 635318b05c27501c95bdb281a87a94e1f9f33409..67e3e7d0b4c0d4b90c1d7e47315c9998e7f3d996 100644 --- a/src/mesh/blockMesh/blockFaces/projectFace/projectFace.H +++ b/src/mesh/blockMesh/blockFaces/projectFace/projectFace.H @@ -83,11 +83,11 @@ class projectFace scalarField& lambdaJ ) const; - //- Disallow default bitwise copy construct - projectFace(const projectFace&); + //- No copy construct + projectFace(const projectFace&) = delete; - //- Disallow default bitwise assignment - void operator=(const projectFace&); + //- No copy assignment + void operator=(const projectFace&) = delete; public: diff --git a/src/mesh/blockMesh/blockVertices/projectVertex/projectVertex.H b/src/mesh/blockMesh/blockVertices/projectVertex/projectVertex.H index d47dce6e8cbd89403986fce2f31f9b2c266bda3f..a82d740909c101e5e4c93811e12283d911b41661 100644 --- a/src/mesh/blockMesh/blockVertices/projectVertex/projectVertex.H +++ b/src/mesh/blockMesh/blockVertices/projectVertex/projectVertex.H @@ -63,11 +63,11 @@ class projectVertex // Private Member Functions - //- Disallow default bitwise copy construct - projectVertex(const projectVertex&); + //- No copy construct + projectVertex(const projectVertex&) = delete; - //- Disallow default bitwise assignment - void operator=(const projectVertex&); + //- No copy assignment + void operator=(const projectVertex&) = delete; public: diff --git a/src/mesh/blockMesh/blocks/block/block.H b/src/mesh/blockMesh/blocks/block/block.H index 9f3e0f6e7e8165fbedd52cc6515da526895d75e4..c0150a9c3aef193f56252abcd0871a72524de981 100644 --- a/src/mesh/blockMesh/blocks/block/block.H +++ b/src/mesh/blockMesh/blocks/block/block.H @@ -82,11 +82,11 @@ class block //- Creates boundary patch faces for the block void createBoundary(); - //- Disallow default bitwise copy construct - block(const block&); + //- No copy construct + block(const block&) = delete; - //- Disallow default bitwise assignment - void operator=(const block&); + //- No copy assignment + void operator=(const block&) = delete; public: diff --git a/src/mesh/extrudeModel/extrudeModel/extrudeModel.H b/src/mesh/extrudeModel/extrudeModel/extrudeModel.H index f107206cc06227e8fe657c15a571c407b29713eb..0b2871b48a857fbcdb52abc05b092cecd7207cab 100644 --- a/src/mesh/extrudeModel/extrudeModel/extrudeModel.H +++ b/src/mesh/extrudeModel/extrudeModel/extrudeModel.H @@ -66,11 +66,11 @@ protected: // Private Member Functions - //- Disallow default bitwise copy construct - extrudeModel(const extrudeModel&); + //- No copy construct + extrudeModel(const extrudeModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const extrudeModel&); + //- No copy assignment + void operator=(const extrudeModel&) = delete; public: diff --git a/src/mesh/snappyHexMesh/externalDisplacementMeshMover/displacementMeshMoverMotionSolver.H b/src/mesh/snappyHexMesh/externalDisplacementMeshMover/displacementMeshMoverMotionSolver.H index bac6d13233adfbdaef9a7e4a072c65f5cf702b49..9dc14cbe3168cb576729e8bfba3a617a362d4bc6 100644 --- a/src/mesh/snappyHexMesh/externalDisplacementMeshMover/displacementMeshMoverMotionSolver.H +++ b/src/mesh/snappyHexMesh/externalDisplacementMeshMover/displacementMeshMoverMotionSolver.H @@ -59,14 +59,14 @@ class displacementMeshMoverMotionSolver // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct displacementMeshMoverMotionSolver ( const displacementMeshMoverMotionSolver& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const displacementMeshMoverMotionSolver&); + //- No copy assignment + void operator=(const displacementMeshMoverMotionSolver&) = delete; public: diff --git a/src/mesh/snappyHexMesh/externalDisplacementMeshMover/externalDisplacementMeshMover.H b/src/mesh/snappyHexMesh/externalDisplacementMeshMover/externalDisplacementMeshMover.H index 4e1cf14b23ab6afcc02829e29c7bae4dd9120862..f9d65ef82517ac2251a3b858b3824cdbe8d799b5 100644 --- a/src/mesh/snappyHexMesh/externalDisplacementMeshMover/externalDisplacementMeshMover.H +++ b/src/mesh/snappyHexMesh/externalDisplacementMeshMover/externalDisplacementMeshMover.H @@ -84,14 +84,14 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct externalDisplacementMeshMover ( const externalDisplacementMeshMover& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const externalDisplacementMeshMover&); + //- No copy assignment + void operator=(const externalDisplacementMeshMover&) = delete; public: diff --git a/src/mesh/snappyHexMesh/externalDisplacementMeshMover/fieldSmoother/fieldSmoother.H b/src/mesh/snappyHexMesh/externalDisplacementMeshMover/fieldSmoother/fieldSmoother.H index d5b09e496965c0f4dc9f8ea683086a6bad2e4610..1ed4ac7d16ca1b2d78deafa2ab1aac89a47f0756 100644 --- a/src/mesh/snappyHexMesh/externalDisplacementMeshMover/fieldSmoother/fieldSmoother.H +++ b/src/mesh/snappyHexMesh/externalDisplacementMeshMover/fieldSmoother/fieldSmoother.H @@ -56,11 +56,11 @@ class fieldSmoother // Private Member Functions - //- Disallow default bitwise copy construct - fieldSmoother(const fieldSmoother&); + //- No copy construct + fieldSmoother(const fieldSmoother&) = delete; - //- Disallow default bitwise assignment - void operator=(const fieldSmoother&); + //- No copy assignment + void operator=(const fieldSmoother&) = delete; public: diff --git a/src/mesh/snappyHexMesh/externalDisplacementMeshMover/medialAxisMeshMover.H b/src/mesh/snappyHexMesh/externalDisplacementMeshMover/medialAxisMeshMover.H index 4cfbca42c333be5c0eff9960e809829568e85a92..6fa9a02405abd3f50de1b05a0b26966bcf1a132c 100644 --- a/src/mesh/snappyHexMesh/externalDisplacementMeshMover/medialAxisMeshMover.H +++ b/src/mesh/snappyHexMesh/externalDisplacementMeshMover/medialAxisMeshMover.H @@ -186,11 +186,11 @@ class medialAxisMeshMover labelList& checkFaces ); - //- Disallow default bitwise copy construct - medialAxisMeshMover(const medialAxisMeshMover&); + //- No copy construct + medialAxisMeshMover(const medialAxisMeshMover&) = delete; - //- Disallow default bitwise assignment - void operator=(const medialAxisMeshMover&); + //- No copy assignment + void operator=(const medialAxisMeshMover&) = delete; public: diff --git a/src/mesh/snappyHexMesh/meshRefinement/meshRefinement.H b/src/mesh/snappyHexMesh/meshRefinement/meshRefinement.H index 2ae2f5634cac4eb6d9b910356a8799b6ec4a6a6a..0c1214338488b6aedd4103dd050c4efb167b9013 100644 --- a/src/mesh/snappyHexMesh/meshRefinement/meshRefinement.H +++ b/src/mesh/snappyHexMesh/meshRefinement/meshRefinement.H @@ -785,11 +785,11 @@ private: ) const; - //- Disallow default bitwise copy construct - meshRefinement(const meshRefinement&); + //- No copy construct + meshRefinement(const meshRefinement&) = delete; - //- Disallow default bitwise assignment - void operator=(const meshRefinement&); + //- No copy assignment + void operator=(const meshRefinement&) = delete; public: diff --git a/src/mesh/snappyHexMesh/refinementSurfaces/refinementSurfaces.H b/src/mesh/snappyHexMesh/refinementSurfaces/refinementSurfaces.H index 4a985dc9513d6e4710e40d175098f08db7d535a1..d3939c763e46082a771399dd34db2fce44d9be42 100644 --- a/src/mesh/snappyHexMesh/refinementSurfaces/refinementSurfaces.H +++ b/src/mesh/snappyHexMesh/refinementSurfaces/refinementSurfaces.H @@ -111,11 +111,11 @@ class refinementSurfaces const labelList& surfaceLevel ) const; - //- Disallow default bitwise copy construct - refinementSurfaces(const refinementSurfaces&); + //- No copy construct + refinementSurfaces(const refinementSurfaces&) = delete; - //- Disallow default bitwise assignment - void operator=(const refinementSurfaces&); + //- No copy assignment + void operator=(const refinementSurfaces&) = delete; public: diff --git a/src/mesh/snappyHexMesh/refinementSurfaces/surfaceZonesInfo.H b/src/mesh/snappyHexMesh/refinementSurfaces/surfaceZonesInfo.H index 94ce042ab35e95eac5b3561d7f1a13d457254c23..84c399f80c285cfe1c0774b95dba21dbeecaa403 100644 --- a/src/mesh/snappyHexMesh/refinementSurfaces/surfaceZonesInfo.H +++ b/src/mesh/snappyHexMesh/refinementSurfaces/surfaceZonesInfo.H @@ -106,8 +106,8 @@ private: // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const surfaceZonesInfo&); + //- No copy assignment + void operator=(const surfaceZonesInfo&) = delete; public: diff --git a/src/mesh/snappyHexMesh/snappyHexMeshDriver/layerParameters/layerParameters.H b/src/mesh/snappyHexMesh/snappyHexMeshDriver/layerParameters/layerParameters.H index 7f23280e5a8d66c05d5e4ba194bd009232db0435..34a9e813ec682dcdc5ea906c9c50c6b0ffa7ae9e 100644 --- a/src/mesh/snappyHexMesh/snappyHexMeshDriver/layerParameters/layerParameters.H +++ b/src/mesh/snappyHexMesh/snappyHexMeshDriver/layerParameters/layerParameters.H @@ -143,11 +143,11 @@ private: const scalar totalOverFirst ) const; - //- Disallow default bitwise copy construct - layerParameters(const layerParameters&); + //- No copy construct + layerParameters(const layerParameters&) = delete; - //- Disallow default bitwise assignment - void operator=(const layerParameters&); + //- No copy assignment + void operator=(const layerParameters&) = delete; public: diff --git a/src/mesh/snappyHexMesh/snappyHexMeshDriver/refinementParameters/refinementParameters.H b/src/mesh/snappyHexMesh/snappyHexMeshDriver/refinementParameters/refinementParameters.H index 6ac70dc47fe673b1668ead088f4024c727847593..a6475c00d4b8642a67f687a46c2513007cc0c912 100644 --- a/src/mesh/snappyHexMesh/snappyHexMeshDriver/refinementParameters/refinementParameters.H +++ b/src/mesh/snappyHexMesh/snappyHexMeshDriver/refinementParameters/refinementParameters.H @@ -111,11 +111,11 @@ class refinementParameters // Private Member Functions - //- Disallow default bitwise copy construct - refinementParameters(const refinementParameters&); + //- No copy construct + refinementParameters(const refinementParameters&) = delete; - //- Disallow default bitwise assignment - void operator=(const refinementParameters&); + //- No copy assignment + void operator=(const refinementParameters&) = delete; public: diff --git a/src/mesh/snappyHexMesh/snappyHexMeshDriver/snapParameters/snapParameters.H b/src/mesh/snappyHexMesh/snappyHexMeshDriver/snapParameters/snapParameters.H index a3d97a3d43aa62dece5aadbe2b74a1f6d775a4fc..c81b889999c7cde166d5fe1bd0278b37574bfcaf 100644 --- a/src/mesh/snappyHexMesh/snappyHexMeshDriver/snapParameters/snapParameters.H +++ b/src/mesh/snappyHexMesh/snappyHexMeshDriver/snapParameters/snapParameters.H @@ -97,11 +97,11 @@ class snapParameters // Private Member Functions - //- Disallow default bitwise copy construct - snapParameters(const snapParameters&); + //- No copy construct + snapParameters(const snapParameters&) = delete; - //- Disallow default bitwise assignment - void operator=(const snapParameters&); + //- No copy assignment + void operator=(const snapParameters&) = delete; public: diff --git a/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappyLayerDriver.H b/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappyLayerDriver.H index 0dae6abac134cdfd6429fea42376dcbe737d3a18..9c663cf70b9f0cb7a2e2056ebddfd908737659c4 100644 --- a/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappyLayerDriver.H +++ b/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappyLayerDriver.H @@ -599,11 +599,11 @@ private: - //- Disallow default bitwise copy construct - snappyLayerDriver(const snappyLayerDriver&); + //- No copy construct + snappyLayerDriver(const snappyLayerDriver&) = delete; - //- Disallow default bitwise assignment - void operator=(const snappyLayerDriver&); + //- No copy assignment + void operator=(const snappyLayerDriver&) = delete; public: diff --git a/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappyRefineDriver.H b/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappyRefineDriver.H index 3ac28db62b0cbaab5e9625e00947988ca0b41f87..3e86f08b6492d72d33820a4d1791a7753c745c71 100644 --- a/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappyRefineDriver.H +++ b/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappyRefineDriver.H @@ -185,11 +185,11 @@ class snappyRefineDriver const dictionary& motionDict ); - //- Disallow default bitwise copy construct - snappyRefineDriver(const snappyRefineDriver&); + //- No copy construct + snappyRefineDriver(const snappyRefineDriver&) = delete; - //- Disallow default bitwise assignment - void operator=(const snappyRefineDriver&); + //- No copy assignment + void operator=(const snappyRefineDriver&) = delete; public: diff --git a/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappySnapDriver.H b/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappySnapDriver.H index 7072ba0683350f599cd90f0e079d9b54b7f5f43e..7d7f9c4056599a5edce5f0a51cd17aa31f3b77b4 100644 --- a/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappySnapDriver.H +++ b/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappySnapDriver.H @@ -650,11 +650,11 @@ class snappySnapDriver ) const; - //- Disallow default bitwise copy construct - snappySnapDriver(const snappySnapDriver&); + //- No copy construct + snappySnapDriver(const snappySnapDriver&) = delete; - //- Disallow default bitwise assignment - void operator=(const snappySnapDriver&); + //- No copy assignment + void operator=(const snappySnapDriver&) = delete; public: diff --git a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.H b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.H index 7723262779a78855b9b7051e492c7413060e6c2c..c47938ca84a8e80893ddbe5c24ef5bffbdf43c7d 100644 --- a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.H +++ b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.H @@ -170,11 +170,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - AMIInterpolation(const AMIInterpolation&); + //- No copy construct + AMIInterpolation(const AMIInterpolation&) = delete; - //- Disallow default bitwise assignment - void operator=(const AMIInterpolation&); + //- No copy assignment + void operator=(const AMIInterpolation&) = delete; // Parallel functionality diff --git a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/AMIMethod/AMIMethod.H b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/AMIMethod/AMIMethod.H index 6e2a73c5b92a65235fe71fd92b13cfe141036293..3261e37141554ec4ac8de038ad843b066f8f62f8 100644 --- a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/AMIMethod/AMIMethod.H +++ b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/AMIMethod/AMIMethod.H @@ -62,11 +62,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - AMIMethod(const AMIMethod&); + //- No copy construct + AMIMethod(const AMIMethod&) = delete; - //- Disallow default bitwise assignment - void operator=(const AMIMethod&); + //- No copy assignment + void operator=(const AMIMethod&) = delete; protected: diff --git a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/directAMI/directAMI.H b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/directAMI/directAMI.H index 5a002836160ce665733abeb6043d3ac76d18907f..86c9667258f0b08ecae52650ab7eec27a7535642 100644 --- a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/directAMI/directAMI.H +++ b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/directAMI/directAMI.H @@ -56,11 +56,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - directAMI(const directAMI&); + //- No copy construct + directAMI(const directAMI&) = delete; - //- Disallow default bitwise assignment - void operator=(const directAMI&); + //- No copy assignment + void operator=(const directAMI&) = delete; // Marching front diff --git a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/faceAreaWeightAMI/faceAreaWeightAMI.H b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/faceAreaWeightAMI/faceAreaWeightAMI.H index e98d1f609319ff25a384fba3f2e3f28f8eda210b..7ab28ea61e3104a4a6973bab753bd9ce8ffd874c 100644 --- a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/faceAreaWeightAMI/faceAreaWeightAMI.H +++ b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/faceAreaWeightAMI/faceAreaWeightAMI.H @@ -63,11 +63,11 @@ protected: // Protected Member Functions - //- Disallow default bitwise copy construct - faceAreaWeightAMI(const faceAreaWeightAMI&); + //- No copy construct + faceAreaWeightAMI(const faceAreaWeightAMI&) = delete; - //- Disallow default bitwise assignment - void operator=(const faceAreaWeightAMI&); + //- No copy assignment + void operator=(const faceAreaWeightAMI&) = delete; // Marching front diff --git a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/mapNearestAMI/mapNearestAMI.H b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/mapNearestAMI/mapNearestAMI.H index 372ee66dc423f7803aed7e0f02f8d764fb5c1161..9faa7ea599323df24aa857b415f95bd1f29bc03b 100644 --- a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/mapNearestAMI/mapNearestAMI.H +++ b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/mapNearestAMI/mapNearestAMI.H @@ -56,11 +56,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - mapNearestAMI(const mapNearestAMI&); + //- No copy construct + mapNearestAMI(const mapNearestAMI&) = delete; - //- Disallow default bitwise assignment - void operator=(const mapNearestAMI&); + //- No copy assignment + void operator=(const mapNearestAMI&) = delete; // Marching front diff --git a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/partialFaceAreaWeightAMI/partialFaceAreaWeightAMI.H b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/partialFaceAreaWeightAMI/partialFaceAreaWeightAMI.H index 19f7f63bc33978a2c92e07aa1d77f552c4e79243..89bef39e0b00db964510e369e574d4a11bea605f 100644 --- a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/partialFaceAreaWeightAMI/partialFaceAreaWeightAMI.H +++ b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/partialFaceAreaWeightAMI/partialFaceAreaWeightAMI.H @@ -56,11 +56,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - partialFaceAreaWeightAMI(const partialFaceAreaWeightAMI&); + //- No copy construct + partialFaceAreaWeightAMI(const partialFaceAreaWeightAMI&) = delete; - //- Disallow default bitwise assignment - void operator=(const partialFaceAreaWeightAMI&); + //- No copy assignment + void operator=(const partialFaceAreaWeightAMI&) = delete; // Marching front diff --git a/src/meshTools/AMIInterpolation/GAMG/interfaceFields/cyclicACMIGAMGInterfaceField/cyclicACMIGAMGInterfaceField.H b/src/meshTools/AMIInterpolation/GAMG/interfaceFields/cyclicACMIGAMGInterfaceField/cyclicACMIGAMGInterfaceField.H index 76bc6171341cc0ab7862559223e9f6c7600f8ed5..9269751106665664cb17b1c6f87d3f2876786251 100644 --- a/src/meshTools/AMIInterpolation/GAMG/interfaceFields/cyclicACMIGAMGInterfaceField/cyclicACMIGAMGInterfaceField.H +++ b/src/meshTools/AMIInterpolation/GAMG/interfaceFields/cyclicACMIGAMGInterfaceField/cyclicACMIGAMGInterfaceField.H @@ -68,11 +68,14 @@ class cyclicACMIGAMGInterfaceField // Private Member Functions - //- Disallow default bitwise copy construct - cyclicACMIGAMGInterfaceField(const cyclicACMIGAMGInterfaceField&); + //- No copy construct + cyclicACMIGAMGInterfaceField + ( + const cyclicACMIGAMGInterfaceField& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const cyclicACMIGAMGInterfaceField&); + //- No copy assignment + void operator=(const cyclicACMIGAMGInterfaceField&) = delete; public: diff --git a/src/meshTools/AMIInterpolation/GAMG/interfaceFields/cyclicAMIGAMGInterfaceField/cyclicAMIGAMGInterfaceField.H b/src/meshTools/AMIInterpolation/GAMG/interfaceFields/cyclicAMIGAMGInterfaceField/cyclicAMIGAMGInterfaceField.H index 73074fa189c08e6dbb73668bcd55e46d46da46ef..b7de951756341ac81425023eb17c118b6bfc3c80 100644 --- a/src/meshTools/AMIInterpolation/GAMG/interfaceFields/cyclicAMIGAMGInterfaceField/cyclicAMIGAMGInterfaceField.H +++ b/src/meshTools/AMIInterpolation/GAMG/interfaceFields/cyclicAMIGAMGInterfaceField/cyclicAMIGAMGInterfaceField.H @@ -67,11 +67,14 @@ class cyclicAMIGAMGInterfaceField // Private Member Functions - //- Disallow default bitwise copy construct - cyclicAMIGAMGInterfaceField(const cyclicAMIGAMGInterfaceField&); + //- No copy construct + cyclicAMIGAMGInterfaceField + ( + const cyclicAMIGAMGInterfaceField& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const cyclicAMIGAMGInterfaceField&); + //- No copy assignment + void operator=(const cyclicAMIGAMGInterfaceField&) = delete; public: diff --git a/src/meshTools/AMIInterpolation/GAMG/interfaces/cyclicACMIGAMGInterface/cyclicACMIGAMGInterface.H b/src/meshTools/AMIInterpolation/GAMG/interfaces/cyclicACMIGAMGInterface/cyclicACMIGAMGInterface.H index 821743a97527c60f36de09816e8c18733eac355e..fbc11b9e7bd8fc531fa80f3b42abe1c78e29797f 100644 --- a/src/meshTools/AMIInterpolation/GAMG/interfaces/cyclicACMIGAMGInterface/cyclicACMIGAMGInterface.H +++ b/src/meshTools/AMIInterpolation/GAMG/interfaces/cyclicACMIGAMGInterface/cyclicACMIGAMGInterface.H @@ -64,11 +64,11 @@ class cyclicACMIGAMGInterface // Private Member Functions - //- Disallow default bitwise copy construct - cyclicACMIGAMGInterface(const cyclicACMIGAMGInterface&); + //- No copy construct + cyclicACMIGAMGInterface(const cyclicACMIGAMGInterface&) = delete; - //- Disallow default bitwise assignment - void operator=(const cyclicACMIGAMGInterface&); + //- No copy assignment + void operator=(const cyclicACMIGAMGInterface&) = delete; public: diff --git a/src/meshTools/AMIInterpolation/GAMG/interfaces/cyclicAMIGAMGInterface/cyclicAMIGAMGInterface.H b/src/meshTools/AMIInterpolation/GAMG/interfaces/cyclicAMIGAMGInterface/cyclicAMIGAMGInterface.H index 1e2d3241e23ce3b2fd4c6bcb8dc69c64db98420d..c4bb15b4acc7f8b0455d062ddc4a463295aeb072 100644 --- a/src/meshTools/AMIInterpolation/GAMG/interfaces/cyclicAMIGAMGInterface/cyclicAMIGAMGInterface.H +++ b/src/meshTools/AMIInterpolation/GAMG/interfaces/cyclicAMIGAMGInterface/cyclicAMIGAMGInterface.H @@ -64,11 +64,11 @@ class cyclicAMIGAMGInterface // Private Member Functions - //- Disallow default bitwise copy construct - cyclicAMIGAMGInterface(const cyclicAMIGAMGInterface&); + //- No copy construct + cyclicAMIGAMGInterface(const cyclicAMIGAMGInterface&) = delete; - //- Disallow default bitwise assignment - void operator=(const cyclicAMIGAMGInterface&); + //- No copy assignment + void operator=(const cyclicAMIGAMGInterface&) = delete; public: diff --git a/src/meshTools/AMIInterpolation/patches/cyclicACMI/cyclicACMIPointPatch/cyclicACMIPointPatch.H b/src/meshTools/AMIInterpolation/patches/cyclicACMI/cyclicACMIPointPatch/cyclicACMIPointPatch.H index 9994fdf308dc90b629dea5dd83ff4dac824efb1a..6d0612774a9ed9fe93acbe88a6cb1664c11b999f 100644 --- a/src/meshTools/AMIInterpolation/patches/cyclicACMI/cyclicACMIPointPatch/cyclicACMIPointPatch.H +++ b/src/meshTools/AMIInterpolation/patches/cyclicACMI/cyclicACMIPointPatch/cyclicACMIPointPatch.H @@ -60,11 +60,11 @@ class cyclicACMIPointPatch // Private Member Functions - //- Disallow default construct as copy - cyclicACMIPointPatch(const cyclicACMIPointPatch&); + //- No copy construct + cyclicACMIPointPatch(const cyclicACMIPointPatch&) = delete; - //- Disallow default assignment - void operator=(const cyclicACMIPointPatch&); + //- No copy assignment + void operator=(const cyclicACMIPointPatch&) = delete; protected: diff --git a/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPointPatch/cyclicAMIPointPatch.H b/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPointPatch/cyclicAMIPointPatch.H index eeb26ebe2618957d0ccd89f23ec08be612f4fcb7..5a24a8e08c70ce864861eb90b2438c863fe6c653 100644 --- a/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPointPatch/cyclicAMIPointPatch.H +++ b/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPointPatch/cyclicAMIPointPatch.H @@ -60,11 +60,11 @@ class cyclicAMIPointPatch // Private Member Functions - //- Disallow default construct as copy - cyclicAMIPointPatch(const cyclicAMIPointPatch&); + //- No copy construct + cyclicAMIPointPatch(const cyclicAMIPointPatch&) = delete; - //- Disallow default assignment - void operator=(const cyclicAMIPointPatch&); + //- No copy assignment + void operator=(const cyclicAMIPointPatch&) = delete; protected: diff --git a/src/meshTools/algorithms/MeshWave/MeshWave.H b/src/meshTools/algorithms/MeshWave/MeshWave.H index f522a30bd05b43e35332bd8fda566814ced99baa..05dbfd2a8ac8a4b937bdeac90b243341d868f795 100644 --- a/src/meshTools/algorithms/MeshWave/MeshWave.H +++ b/src/meshTools/algorithms/MeshWave/MeshWave.H @@ -71,11 +71,11 @@ class MeshWave // Private Member Functions - //- Disallow default bitwise copy construct - MeshWave(const MeshWave&); + //- No copy construct + MeshWave(const MeshWave&) = delete; - //- Disallow default bitwise assignment - void operator=(const MeshWave&); + //- No copy assignment + void operator=(const MeshWave&) = delete; // Private static data diff --git a/src/meshTools/algorithms/PatchEdgeFaceWave/PatchEdgeFaceWave.H b/src/meshTools/algorithms/PatchEdgeFaceWave/PatchEdgeFaceWave.H index 176aaded9d7a21313937c27dadbd9410cafd7ee8..9a62840037e8dda3a76236f05dabe04af07fa904 100644 --- a/src/meshTools/algorithms/PatchEdgeFaceWave/PatchEdgeFaceWave.H +++ b/src/meshTools/algorithms/PatchEdgeFaceWave/PatchEdgeFaceWave.H @@ -151,11 +151,11 @@ class PatchEdgeFaceWave //- Update coupled edges void syncEdges(); - //- Disallow default bitwise copy construct - PatchEdgeFaceWave(const PatchEdgeFaceWave&); + //- No copy construct + PatchEdgeFaceWave(const PatchEdgeFaceWave&) = delete; - //- Disallow default bitwise assignment - void operator=(const PatchEdgeFaceWave&); + //- No copy assignment + void operator=(const PatchEdgeFaceWave&) = delete; public: diff --git a/src/meshTools/algorithms/PointEdgeWave/PointEdgeWave.H b/src/meshTools/algorithms/PointEdgeWave/PointEdgeWave.H index ad85976f01271e828333189922e097600f0e7ccf..94797a859b84428ac2c8737a469a15827d8824ba 100644 --- a/src/meshTools/algorithms/PointEdgeWave/PointEdgeWave.H +++ b/src/meshTools/algorithms/PointEdgeWave/PointEdgeWave.H @@ -210,11 +210,11 @@ class PointEdgeWave label handleCollocatedPoints(); - //- Disallow default bitwise copy construct - PointEdgeWave(const PointEdgeWave&); + //- No copy construct + PointEdgeWave(const PointEdgeWave&) = delete; - //- Disallow default bitwise assignment - void operator=(const PointEdgeWave&); + //- No copy assignment + void operator=(const PointEdgeWave&) = delete; public: diff --git a/src/meshTools/cellDist/cellDistFuncs.H b/src/meshTools/cellDist/cellDistFuncs.H index e9ead169bbd518bc9b06deb26c67a46fb5966ad5..15f360a2bf0c45570ae467c425d59c8c62de8a18 100644 --- a/src/meshTools/cellDist/cellDistFuncs.H +++ b/src/meshTools/cellDist/cellDistFuncs.H @@ -73,11 +73,11 @@ class cellDistFuncs static label findIndex(const label n, const labelList&, const label); - //- Disallow default bitwise copy construct - cellDistFuncs(const cellDistFuncs&); + //- No copy construct + cellDistFuncs(const cellDistFuncs&) = delete; - //- Disallow default bitwise assignment - void operator=(const cellDistFuncs&); + //- No copy assignment + void operator=(const cellDistFuncs&) = delete; public: diff --git a/src/meshTools/cellFeatures/cellFeatures.H b/src/meshTools/cellFeatures/cellFeatures.H index 3964c01202fde972c204a3fa2d5110c9b18cde98..f2627e7944821be1e77ef18ca0422589a20bade3 100644 --- a/src/meshTools/cellFeatures/cellFeatures.H +++ b/src/meshTools/cellFeatures/cellFeatures.H @@ -105,11 +105,11 @@ class cellFeatures void calcSuperFaces() const; - //- Disallow default bitwise copy construct - cellFeatures(const cellFeatures&); + //- No copy construct + cellFeatures(const cellFeatures&) = delete; - //- Disallow default bitwise assignment - void operator=(const cellFeatures&); + //- No copy assignment + void operator=(const cellFeatures&) = delete; public: diff --git a/src/meshTools/cellQuality/cellQuality.H b/src/meshTools/cellQuality/cellQuality.H index 420efc774081ee3e7877db6b24173d463915e740..225db35666c9cbefb1a1cff7ef6aa5763115fb59 100644 --- a/src/meshTools/cellQuality/cellQuality.H +++ b/src/meshTools/cellQuality/cellQuality.H @@ -57,11 +57,11 @@ class cellQuality // Private Member Functions - //- Disallow default bitwise copy construct - cellQuality(const cellQuality&); + //- No copy construct + cellQuality(const cellQuality&) = delete; - //- Disallow default bitwise assignment - void operator=(const cellQuality&); + //- No copy assignment + void operator=(const cellQuality&) = delete; public: diff --git a/src/meshTools/coordinateSystems/coordinateSystems.H b/src/meshTools/coordinateSystems/coordinateSystems.H index cd15f0f97f0cb2db1bd7b089ade13d50e91b9a15..1e429b97c284b444322b8aba93c372eb6883eb7d 100644 --- a/src/meshTools/coordinateSystems/coordinateSystems.H +++ b/src/meshTools/coordinateSystems/coordinateSystems.H @@ -76,10 +76,10 @@ class coordinateSystems { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct coordinateSystems(const coordinateSystems&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const coordinateSystems&) = delete; diff --git a/src/meshTools/edgeMesh/edgeMeshFormats/edgeMesh/edgeMeshFormat.H b/src/meshTools/edgeMesh/edgeMeshFormats/edgeMesh/edgeMeshFormat.H index 3a39a1d5f5468c71a9d03c8cda963d9050d621ba..e5aeb7105532d83c03c6e5cde6445ca5ab502464 100644 --- a/src/meshTools/edgeMesh/edgeMeshFormats/edgeMesh/edgeMeshFormat.H +++ b/src/meshTools/edgeMesh/edgeMeshFormats/edgeMesh/edgeMeshFormat.H @@ -59,11 +59,11 @@ class edgeMeshFormat { // Private Member Functions - //- Disallow default bitwise copy construct - edgeMeshFormat(const edgeMeshFormat&); + //- No copy construct + edgeMeshFormat(const edgeMeshFormat&) = delete; - //- Disallow default bitwise assignment - void operator=(const edgeMeshFormat&); + //- No copy assignment + void operator=(const edgeMeshFormat&) = delete; protected: diff --git a/src/meshTools/edgeMesh/edgeMeshFormats/extendedFeatureEdgeMesh/extendedFeatureEdgeMeshFormat.H b/src/meshTools/edgeMesh/edgeMeshFormats/extendedFeatureEdgeMesh/extendedFeatureEdgeMeshFormat.H index 876140ff5e0e5e4520d2f58a7399ac4be822c251..9b9439ead3f27c5eab718573e2d86d50404605f3 100644 --- a/src/meshTools/edgeMesh/edgeMeshFormats/extendedFeatureEdgeMesh/extendedFeatureEdgeMeshFormat.H +++ b/src/meshTools/edgeMesh/edgeMeshFormats/extendedFeatureEdgeMesh/extendedFeatureEdgeMeshFormat.H @@ -54,11 +54,14 @@ class extendedFeatureEdgeMeshFormat { // Private Member Functions - //- Disallow default bitwise copy construct - extendedFeatureEdgeMeshFormat(const extendedFeatureEdgeMeshFormat&); - - //- Disallow default bitwise assignment - void operator=(const extendedFeatureEdgeMeshFormat&); + //- No copy construct + extendedFeatureEdgeMeshFormat + ( + const extendedFeatureEdgeMeshFormat& + ) = delete; + + //- No copy assignment + void operator=(const extendedFeatureEdgeMeshFormat&) = delete; public: diff --git a/src/meshTools/edgeMesh/edgeMeshFormats/nas/NASedgeFormat.H b/src/meshTools/edgeMesh/edgeMeshFormats/nas/NASedgeFormat.H index d5cd410c9d0a069ba2c91963f549ed50da3559e6..f7ff5a3b7ad55bd51a5b5bdce4de04ebdc7fb1db 100644 --- a/src/meshTools/edgeMesh/edgeMeshFormats/nas/NASedgeFormat.H +++ b/src/meshTools/edgeMesh/edgeMeshFormats/nas/NASedgeFormat.H @@ -63,10 +63,10 @@ class NASedgeFormat { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct NASedgeFormat(const NASedgeFormat&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const NASedgeFormat&) = delete; public: diff --git a/src/meshTools/edgeMesh/edgeMeshFormats/obj/OBJedgeFormat.H b/src/meshTools/edgeMesh/edgeMeshFormats/obj/OBJedgeFormat.H index 1b7ff59b9ae1afcae7aee92a2bea0ad1b5ad2ca0..4a8cf3651b11ced01a3f2352d415268250f0ca47 100644 --- a/src/meshTools/edgeMesh/edgeMeshFormats/obj/OBJedgeFormat.H +++ b/src/meshTools/edgeMesh/edgeMeshFormats/obj/OBJedgeFormat.H @@ -58,10 +58,10 @@ class OBJedgeFormat { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct OBJedgeFormat(const OBJedgeFormat&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const OBJedgeFormat&) = delete; diff --git a/src/meshTools/edgeMesh/edgeMeshFormats/starcd/STARCDedgeFormat.H b/src/meshTools/edgeMesh/edgeMeshFormats/starcd/STARCDedgeFormat.H index 246028b1fa5987bf01b99b9a7ada2cec06c055b8..ef825e4aec82665196a5ceaedc76a13bf0660515 100644 --- a/src/meshTools/edgeMesh/edgeMeshFormats/starcd/STARCDedgeFormat.H +++ b/src/meshTools/edgeMesh/edgeMeshFormats/starcd/STARCDedgeFormat.H @@ -68,10 +68,10 @@ class STARCDedgeFormat static inline void writeLines(Ostream&, const edgeList&); - //- Disallow default bitwise copy construct + //- No copy construct STARCDedgeFormat(const STARCDedgeFormat&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const STARCDedgeFormat&) = delete; diff --git a/src/meshTools/edgeMesh/edgeMeshFormats/vtk/VTKedgeFormat.H b/src/meshTools/edgeMesh/edgeMeshFormats/vtk/VTKedgeFormat.H index 3cbe13b8124cf8bf2c4d7bbf447090cc44c495cd..7304c5e91081221ac18e3a73fe89a88f2a888c48 100644 --- a/src/meshTools/edgeMesh/edgeMeshFormats/vtk/VTKedgeFormat.H +++ b/src/meshTools/edgeMesh/edgeMeshFormats/vtk/VTKedgeFormat.H @@ -54,11 +54,11 @@ class VTKedgeFormat { // Private Member Functions - //- Disallow default bitwise copy construct - VTKedgeFormat(const VTKedgeFormat&); + //- No copy construct + VTKedgeFormat(const VTKedgeFormat&) = delete; - //- Disallow default bitwise assignment - void operator=(const VTKedgeFormat&); + //- No copy assignment + void operator=(const VTKedgeFormat&) = delete; protected: diff --git a/src/meshTools/edgeMesh/extendedEdgeMesh/extendedEdgeMeshFormats/extendedEdgeMeshFormat/extendedEdgeMeshFormat.H b/src/meshTools/edgeMesh/extendedEdgeMesh/extendedEdgeMeshFormats/extendedEdgeMeshFormat/extendedEdgeMeshFormat.H index 8c3e2d95bc491fbcba954ecb966fcbe1f47cf39f..6329d344500c16f826ad32692c310e6865caef2d 100644 --- a/src/meshTools/edgeMesh/extendedEdgeMesh/extendedEdgeMeshFormats/extendedEdgeMeshFormat/extendedEdgeMeshFormat.H +++ b/src/meshTools/edgeMesh/extendedEdgeMesh/extendedEdgeMeshFormats/extendedEdgeMeshFormat/extendedEdgeMeshFormat.H @@ -55,11 +55,11 @@ class extendedEdgeMeshFormat { // Private Member Functions - //- Disallow default bitwise copy construct - extendedEdgeMeshFormat(const extendedEdgeMeshFormat&); + //- No copy construct + extendedEdgeMeshFormat(const extendedEdgeMeshFormat&) = delete; - //- Disallow default bitwise assignment - void operator=(const extendedEdgeMeshFormat&); + //- No copy assignment + void operator=(const extendedEdgeMeshFormat&) = delete; public: diff --git a/src/meshTools/meshSearch/meshSearch.H b/src/meshTools/meshSearch/meshSearch.H index fca4846009b1fe85dc63c9fcb5f2eef2a62d3422..7ac1bca5cc0a66da916d5bdaf8ca9bd56dd20ebf 100644 --- a/src/meshTools/meshSearch/meshSearch.H +++ b/src/meshTools/meshSearch/meshSearch.H @@ -145,11 +145,11 @@ class meshSearch ) const; - //- Disallow default bitwise copy construct - meshSearch(const meshSearch&); + //- No copy construct + meshSearch(const meshSearch&) = delete; - //- Disallow default bitwise assignment - void operator=(const meshSearch&); + //- No copy assignment + void operator=(const meshSearch&) = delete; public: diff --git a/src/meshTools/regionCoupled/GAMG/interfaceFields/regionCoupledGAMGInterfaceField/regionCoupledGAMGInterfaceField.H b/src/meshTools/regionCoupled/GAMG/interfaceFields/regionCoupledGAMGInterfaceField/regionCoupledGAMGInterfaceField.H index 6701e2b7bc5b4abf53a1502788053a2505a1f4d9..270f1ad81aac9c7fcea2c8143c2f5b8c7dad19d2 100644 --- a/src/meshTools/regionCoupled/GAMG/interfaceFields/regionCoupledGAMGInterfaceField/regionCoupledGAMGInterfaceField.H +++ b/src/meshTools/regionCoupled/GAMG/interfaceFields/regionCoupledGAMGInterfaceField/regionCoupledGAMGInterfaceField.H @@ -60,14 +60,14 @@ class regionCoupledGAMGInterfaceField // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct regionCoupledGAMGInterfaceField ( const regionCoupledGAMGInterfaceField& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const regionCoupledGAMGInterfaceField&); + //- No copy assignment + void operator=(const regionCoupledGAMGInterfaceField&) = delete; public: diff --git a/src/meshTools/regionCoupled/GAMG/interfaceFields/regionCoupledGAMGInterfaceField/regionCoupledWallGAMGInterfaceField.H b/src/meshTools/regionCoupled/GAMG/interfaceFields/regionCoupledGAMGInterfaceField/regionCoupledWallGAMGInterfaceField.H index ca8c0b9b68f94d0ff627aee2e521b95c9183ab2e..194093736a8f25ecdd8181c71e55dede5add2654 100644 --- a/src/meshTools/regionCoupled/GAMG/interfaceFields/regionCoupledGAMGInterfaceField/regionCoupledWallGAMGInterfaceField.H +++ b/src/meshTools/regionCoupled/GAMG/interfaceFields/regionCoupledGAMGInterfaceField/regionCoupledWallGAMGInterfaceField.H @@ -60,14 +60,14 @@ class regionCoupledWallGAMGInterfaceField // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct regionCoupledWallGAMGInterfaceField ( const regionCoupledWallGAMGInterfaceField& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const regionCoupledWallGAMGInterfaceField&); + //- No copy assignment + void operator=(const regionCoupledWallGAMGInterfaceField&) = delete; public: diff --git a/src/meshTools/regionCoupled/GAMG/interfaces/regionCoupledGAMGInterface/regionCoupledBaseGAMGInterface.H b/src/meshTools/regionCoupled/GAMG/interfaces/regionCoupledGAMGInterface/regionCoupledBaseGAMGInterface.H index 7fb7206cb152d4d2fc76a3ce009237f2240aac44..797cd73bdbdc3f0480370793f244aac383b85b62 100644 --- a/src/meshTools/regionCoupled/GAMG/interfaces/regionCoupledGAMGInterface/regionCoupledBaseGAMGInterface.H +++ b/src/meshTools/regionCoupled/GAMG/interfaces/regionCoupledGAMGInterface/regionCoupledBaseGAMGInterface.H @@ -65,11 +65,14 @@ class regionCoupledBaseGAMGInterface // Private Member Functions - //- Disallow default bitwise copy construct - regionCoupledBaseGAMGInterface(const regionCoupledBaseGAMGInterface&); + //- No copy construct + regionCoupledBaseGAMGInterface + ( + const regionCoupledBaseGAMGInterface& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const regionCoupledBaseGAMGInterface&); + //- No copy assignment + void operator=(const regionCoupledBaseGAMGInterface&) = delete; public: diff --git a/src/meshTools/regionCoupled/GAMG/interfaces/regionCoupledGAMGInterface/regionCoupledGAMGInterface.H b/src/meshTools/regionCoupled/GAMG/interfaces/regionCoupledGAMGInterface/regionCoupledGAMGInterface.H index 88fb90db28463b3ac5121b04967c235aee028335..0ab13240bfb15d94970e02abc68469a49bf2afcf 100644 --- a/src/meshTools/regionCoupled/GAMG/interfaces/regionCoupledGAMGInterface/regionCoupledGAMGInterface.H +++ b/src/meshTools/regionCoupled/GAMG/interfaces/regionCoupledGAMGInterface/regionCoupledGAMGInterface.H @@ -53,11 +53,11 @@ class regionCoupledGAMGInterface // Private Member Functions - //- Disallow default bitwise copy construct - regionCoupledGAMGInterface(const regionCoupledGAMGInterface&); + //- No copy construct + regionCoupledGAMGInterface(const regionCoupledGAMGInterface&) = delete; - //- Disallow default bitwise assignment - void operator=(const regionCoupledGAMGInterface&); + //- No copy assignment + void operator=(const regionCoupledGAMGInterface&) = delete; public: diff --git a/src/meshTools/regionCoupled/GAMG/interfaces/regionCoupledGAMGInterface/regionCoupledWallGAMGInterface.H b/src/meshTools/regionCoupled/GAMG/interfaces/regionCoupledGAMGInterface/regionCoupledWallGAMGInterface.H index fe283c6152a281c07dc8da4ee0d4f451b51271eb..cef3a1ed07fc38416546dc06d9cbb71532a19328 100644 --- a/src/meshTools/regionCoupled/GAMG/interfaces/regionCoupledGAMGInterface/regionCoupledWallGAMGInterface.H +++ b/src/meshTools/regionCoupled/GAMG/interfaces/regionCoupledGAMGInterface/regionCoupledWallGAMGInterface.H @@ -54,11 +54,14 @@ class regionCoupledWallGAMGInterface // Private Member Functions - //- Disallow default bitwise copy construct - regionCoupledWallGAMGInterface(const regionCoupledWallGAMGInterface&); + //- No copy construct + regionCoupledWallGAMGInterface + ( + const regionCoupledWallGAMGInterface& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const regionCoupledWallGAMGInterface&); + //- No copy assignment + void operator=(const regionCoupledWallGAMGInterface&) = delete; public: diff --git a/src/meshTools/regionSplit2D/regionSplit2D.H b/src/meshTools/regionSplit2D/regionSplit2D.H index 651e428923e9089608b1eb231665d87a56128d68..60129f8260986b70b2845c92203cbb4d960dbb79 100644 --- a/src/meshTools/regionSplit2D/regionSplit2D.H +++ b/src/meshTools/regionSplit2D/regionSplit2D.H @@ -67,11 +67,11 @@ class regionSplit2D // Private Member Functions - //- Disallow default bitwise copy construct - regionSplit2D(const regionSplit2D&); + //- No copy construct + regionSplit2D(const regionSplit2D&) = delete; - //- Disallow default bitwise assignment - void operator=(const regionSplit2D&); + //- No copy assignment + void operator=(const regionSplit2D&) = delete; public: diff --git a/src/meshTools/searchableSurfaces/closedTriSurfaceMesh/closedTriSurfaceMesh.H b/src/meshTools/searchableSurfaces/closedTriSurfaceMesh/closedTriSurfaceMesh.H index 8212f906c4b0476f9a044f7078603d991d333ce0..3d53f3e4b65b6b246b5f95fff66c79ebc8e6ce18 100644 --- a/src/meshTools/searchableSurfaces/closedTriSurfaceMesh/closedTriSurfaceMesh.H +++ b/src/meshTools/searchableSurfaces/closedTriSurfaceMesh/closedTriSurfaceMesh.H @@ -54,11 +54,11 @@ class closedTriSurfaceMesh { private: - //- Disallow default bitwise copy construct - closedTriSurfaceMesh(const closedTriSurfaceMesh&); + //- No copy construct + closedTriSurfaceMesh(const closedTriSurfaceMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const closedTriSurfaceMesh&); + //- No copy assignment + void operator=(const closedTriSurfaceMesh&) = delete; public: diff --git a/src/meshTools/searchableSurfaces/searchableBox/searchableBox.H b/src/meshTools/searchableSurfaces/searchableBox/searchableBox.H index 9162e253c5b4e41947c37f4a1df279a83feb97c4..be85f6bf7dc4993f12b7bad635f6b8c72d9c84cd 100644 --- a/src/meshTools/searchableSurfaces/searchableBox/searchableBox.H +++ b/src/meshTools/searchableSurfaces/searchableBox/searchableBox.H @@ -83,11 +83,11 @@ private: ) const; - //- Disallow default bitwise copy construct - searchableBox(const searchableBox&); + //- No copy construct + searchableBox(const searchableBox&) = delete; - //- Disallow default bitwise assignment - void operator=(const searchableBox&); + //- No copy assignment + void operator=(const searchableBox&) = delete; public: diff --git a/src/meshTools/searchableSurfaces/searchableCone/searchableCone.H b/src/meshTools/searchableSurfaces/searchableCone/searchableCone.H index 81636f597533e4b8bb2fc7faec77a49e588ed2f4..25ad87f5c0c31fcb72c4bb60d96b7d85521bfb0b 100644 --- a/src/meshTools/searchableSurfaces/searchableCone/searchableCone.H +++ b/src/meshTools/searchableSurfaces/searchableCone/searchableCone.H @@ -135,11 +135,11 @@ class searchableCone //- Return the boundBox of the cylinder boundBox calcBounds() const; - //- Disallow default bitwise copy construct - searchableCone(const searchableCone&); + //- No copy construct + searchableCone(const searchableCone&) = delete; - //- Disallow default bitwise assignment - void operator=(const searchableCone&); + //- No copy assignment + void operator=(const searchableCone&) = delete; public: diff --git a/src/meshTools/searchableSurfaces/searchableCylinder/searchableCylinder.H b/src/meshTools/searchableSurfaces/searchableCylinder/searchableCylinder.H index df46a18c48151375635bbf97249a04bacc1f033a..9c44b8bb78a3b6abb412f937967ab84688c5dbdc 100644 --- a/src/meshTools/searchableSurfaces/searchableCylinder/searchableCylinder.H +++ b/src/meshTools/searchableSurfaces/searchableCylinder/searchableCylinder.H @@ -100,11 +100,11 @@ private: //- Return the boundBox of the cylinder boundBox calcBounds() const; - //- Disallow default bitwise copy construct - searchableCylinder(const searchableCylinder&); + //- No copy construct + searchableCylinder(const searchableCylinder&) = delete; - //- Disallow default bitwise assignment - void operator=(const searchableCylinder&); + //- No copy assignment + void operator=(const searchableCylinder&) = delete; public: diff --git a/src/meshTools/searchableSurfaces/searchableDisk/searchableDisk.H b/src/meshTools/searchableSurfaces/searchableDisk/searchableDisk.H index 5cebb1cede55a7cac16ca449d747fa940f97e2c4..1f66f47fa95a2071ec1ec28e473284d861677d49 100644 --- a/src/meshTools/searchableSurfaces/searchableDisk/searchableDisk.H +++ b/src/meshTools/searchableSurfaces/searchableDisk/searchableDisk.H @@ -89,11 +89,11 @@ private: pointIndexHit& ) const; - //- Disallow default bitwise copy construct - searchableDisk(const searchableDisk&); + //- No copy construct + searchableDisk(const searchableDisk&) = delete; - //- Disallow default bitwise assignment - void operator=(const searchableDisk&); + //- No copy assignment + void operator=(const searchableDisk&) = delete; public: diff --git a/src/meshTools/searchableSurfaces/searchableExtrudedCircle/searchableExtrudedCircle.H b/src/meshTools/searchableSurfaces/searchableExtrudedCircle/searchableExtrudedCircle.H index 83f537ab65980fae099035e8c52231cba466ef2e..83ac445ed401f96becd596b6780a54ed679a4ad9 100644 --- a/src/meshTools/searchableSurfaces/searchableExtrudedCircle/searchableExtrudedCircle.H +++ b/src/meshTools/searchableSurfaces/searchableExtrudedCircle/searchableExtrudedCircle.H @@ -73,11 +73,11 @@ class searchableExtrudedCircle // Private Member Functions - //- Disallow default bitwise copy construct - searchableExtrudedCircle(const searchableExtrudedCircle&); + //- No copy construct + searchableExtrudedCircle(const searchableExtrudedCircle&) = delete; - //- Disallow default bitwise assignment - void operator=(const searchableExtrudedCircle&); + //- No copy assignment + void operator=(const searchableExtrudedCircle&) = delete; public: diff --git a/src/meshTools/searchableSurfaces/searchablePlane/searchablePlane.H b/src/meshTools/searchableSurfaces/searchablePlane/searchablePlane.H index 0e782a0198d8a4f6a7a6c6fa036d23143d7fbece..66e63c4de95555cb88d5cd4582b22696a65ed959 100644 --- a/src/meshTools/searchableSurfaces/searchablePlane/searchablePlane.H +++ b/src/meshTools/searchableSurfaces/searchablePlane/searchablePlane.H @@ -72,11 +72,11 @@ private: //- Return the boundBox of the plane boundBox calcBounds() const; - //- Disallow default bitwise copy construct - searchablePlane(const searchablePlane&); + //- No copy construct + searchablePlane(const searchablePlane&) = delete; - //- Disallow default bitwise assignment - void operator=(const searchablePlane&); + //- No copy assignment + void operator=(const searchablePlane&) = delete; public: diff --git a/src/meshTools/searchableSurfaces/searchablePlate/searchablePlate.H b/src/meshTools/searchableSurfaces/searchablePlate/searchablePlate.H index 944179e0cb901006a16764bec5009afd839d7ca7..6d85baeb743beef31110187c383d37e91fb3180f 100644 --- a/src/meshTools/searchableSurfaces/searchablePlate/searchablePlate.H +++ b/src/meshTools/searchableSurfaces/searchablePlate/searchablePlate.H @@ -95,11 +95,11 @@ private: const point& end ) const; - //- Disallow default bitwise copy construct - searchablePlate(const searchablePlate&); + //- No copy construct + searchablePlate(const searchablePlate&) = delete; - //- Disallow default bitwise assignment - void operator=(const searchablePlate&); + //- No copy assignment + void operator=(const searchablePlate&) = delete; public: diff --git a/src/meshTools/searchableSurfaces/searchableRotatedBox/searchableRotatedBox.H b/src/meshTools/searchableSurfaces/searchableRotatedBox/searchableRotatedBox.H index cca6444c06a9ee8c92d26ec92c4b3477f7ec19e2..9ac77123ba7a213b9d85bb4382f9d79280fc37c5 100644 --- a/src/meshTools/searchableSurfaces/searchableRotatedBox/searchableRotatedBox.H +++ b/src/meshTools/searchableSurfaces/searchableRotatedBox/searchableRotatedBox.H @@ -80,11 +80,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - searchableRotatedBox(const searchableRotatedBox&); + //- No copy construct + searchableRotatedBox(const searchableRotatedBox&) = delete; - //- Disallow default bitwise assignment - void operator=(const searchableRotatedBox&); + //- No copy assignment + void operator=(const searchableRotatedBox&) = delete; public: diff --git a/src/meshTools/searchableSurfaces/searchableSphere/searchableSphere.H b/src/meshTools/searchableSurfaces/searchableSphere/searchableSphere.H index 1346df359b6ce7b02490bebb4b59618959a4f042..214343ea589986246cdec6417ea36444501b8b5a 100644 --- a/src/meshTools/searchableSurfaces/searchableSphere/searchableSphere.H +++ b/src/meshTools/searchableSurfaces/searchableSphere/searchableSphere.H @@ -89,11 +89,11 @@ private: ) const; - //- Disallow default bitwise copy construct - searchableSphere(const searchableSphere&); + //- No copy construct + searchableSphere(const searchableSphere&) = delete; - //- Disallow default bitwise assignment - void operator=(const searchableSphere&); + //- No copy assignment + void operator=(const searchableSphere&) = delete; public: diff --git a/src/meshTools/searchableSurfaces/searchableSurface/searchableSurface.H b/src/meshTools/searchableSurfaces/searchableSurface/searchableSurface.H index 38f9d0226bc6137cb96f8be80b6f4bd0b344cd37..2a5579f221e9670081a3ec5b6de0e0c8e2018e28 100644 --- a/src/meshTools/searchableSurfaces/searchableSurface/searchableSurface.H +++ b/src/meshTools/searchableSurfaces/searchableSurface/searchableSurface.H @@ -77,11 +77,11 @@ class searchableSurface // Private Member Functions - //- Disallow default bitwise copy construct - searchableSurface(const searchableSurface&); + //- No copy construct + searchableSurface(const searchableSurface&) = delete; - //- Disallow default bitwise assignment - void operator=(const searchableSurface&); + //- No copy assignment + void operator=(const searchableSurface&) = delete; public: diff --git a/src/meshTools/searchableSurfaces/searchableSurfaceCollection/searchableSurfaceCollection.H b/src/meshTools/searchableSurfaces/searchableSurfaceCollection/searchableSurfaceCollection.H index 79456389073b4e1638a4d96df41612dd82c304d4..222c1477e14ebe1019c9966392a9a4c2ae50776c 100644 --- a/src/meshTools/searchableSurfaces/searchableSurfaceCollection/searchableSurfaceCollection.H +++ b/src/meshTools/searchableSurfaces/searchableSurfaceCollection/searchableSurfaceCollection.H @@ -108,11 +108,14 @@ class searchableSurfaceCollection ) const; - //- Disallow default bitwise copy construct - searchableSurfaceCollection(const searchableSurfaceCollection&); + //- No copy construct + searchableSurfaceCollection + ( + const searchableSurfaceCollection& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const searchableSurfaceCollection&); + //- No copy assignment + void operator=(const searchableSurfaceCollection&) = delete; public: diff --git a/src/meshTools/searchableSurfaces/searchableSurfaceWithGaps/searchableSurfaceWithGaps.H b/src/meshTools/searchableSurfaces/searchableSurfaceWithGaps/searchableSurfaceWithGaps.H index 8faf3308786b60a42fb4ea7e461f446029071c2e..fd0ad48be218445861f2dc4a3789bbaaa1309d9f 100644 --- a/src/meshTools/searchableSurfaces/searchableSurfaceWithGaps/searchableSurfaceWithGaps.H +++ b/src/meshTools/searchableSurfaces/searchableSurfaceWithGaps/searchableSurfaceWithGaps.H @@ -114,11 +114,11 @@ private: ); - //- Disallow default bitwise copy construct - searchableSurfaceWithGaps(const searchableSurfaceWithGaps&); + //- No copy construct + searchableSurfaceWithGaps(const searchableSurfaceWithGaps&) = delete; - //- Disallow default bitwise assignment - void operator=(const searchableSurfaceWithGaps&); + //- No copy assignment + void operator=(const searchableSurfaceWithGaps&) = delete; public: diff --git a/src/meshTools/searchableSurfaces/searchableSurfaces/searchableSurfaces.H b/src/meshTools/searchableSurfaces/searchableSurfaces/searchableSurfaces.H index 26fe024b590328a31a9817c0f7acb51031162b9b..bcec55ed07aa921e37a6b2bc3d383c186cc3f0fa 100644 --- a/src/meshTools/searchableSurfaces/searchableSurfaces/searchableSurfaces.H +++ b/src/meshTools/searchableSurfaces/searchableSurfaces/searchableSurfaces.H @@ -78,11 +78,11 @@ class searchableSurfaces ); - //- Disallow default bitwise copy construct - searchableSurfaces(const searchableSurfaces&); + //- No copy construct + searchableSurfaces(const searchableSurfaces&) = delete; - //- Disallow default bitwise assignment - void operator=(const searchableSurfaces&); + //- No copy assignment + void operator=(const searchableSurfaces&) = delete; public: diff --git a/src/meshTools/searchableSurfaces/triSurfaceMesh/triSurfaceMesh.H b/src/meshTools/searchableSurfaces/triSurfaceMesh/triSurfaceMesh.H index 54af373a33dc3ffab6be29320c76232cf2faf997..7d5d2fcb2aba823a3bec8d549e7f49ab94c8a5b8 100644 --- a/src/meshTools/searchableSurfaces/triSurfaceMesh/triSurfaceMesh.H +++ b/src/meshTools/searchableSurfaces/triSurfaceMesh/triSurfaceMesh.H @@ -134,11 +134,11 @@ class triSurfaceMesh DynamicList<pointIndexHit>& hits ); - //- Disallow default bitwise copy construct - triSurfaceMesh(const triSurfaceMesh&); + //- No copy construct + triSurfaceMesh(const triSurfaceMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const triSurfaceMesh&); + //- No copy assignment + void operator=(const triSurfaceMesh&) = delete; public: diff --git a/src/meshTools/sets/topoSetSource/topoSetSource.H b/src/meshTools/sets/topoSetSource/topoSetSource.H index 5ec704141114dfbf9b6a74342eaf89ef097c6fd1..46042fe3496d9be6929e55554003076d2cf9547c 100644 --- a/src/meshTools/sets/topoSetSource/topoSetSource.H +++ b/src/meshTools/sets/topoSetSource/topoSetSource.H @@ -139,10 +139,10 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct topoSetSource(const topoSetSource&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const topoSetSource&) = delete; diff --git a/src/meshTools/sets/topoSets/cellSet.H b/src/meshTools/sets/topoSets/cellSet.H index adb7f8edb1d718bd7e7aa64b4f2d944788556b89..7d47e9ec01739f17c6c5e227b9797eec48feb9b4 100644 --- a/src/meshTools/sets/topoSets/cellSet.H +++ b/src/meshTools/sets/topoSets/cellSet.H @@ -52,7 +52,7 @@ class cellSet { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct cellSet(const cellSet&) = delete; diff --git a/src/meshTools/sets/topoSets/topoSet.H b/src/meshTools/sets/topoSets/topoSet.H index 034989429813422122031fe0a3c6bade88fc9730..82ca3e42ee9f4520a6e3a1793f20be93b8d98bf3 100644 --- a/src/meshTools/sets/topoSets/topoSet.H +++ b/src/meshTools/sets/topoSets/topoSet.H @@ -106,7 +106,7 @@ protected: ) const; - //- Disallow default bitwise copy construct + //- No copy construct topoSet(const topoSet&) = delete; diff --git a/src/meshTools/triSurface/triSurfaceLoader/triSurfaceLoader.H b/src/meshTools/triSurface/triSurfaceLoader/triSurfaceLoader.H index 9d2a827ea11dfdf4d099e42d172b797efc2574e6..91950fee2f753ecada5dc5453d286feed330362b 100644 --- a/src/meshTools/triSurface/triSurfaceLoader/triSurfaceLoader.H +++ b/src/meshTools/triSurface/triSurfaceLoader/triSurfaceLoader.H @@ -91,10 +91,10 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct triSurfaceLoader(const triSurfaceLoader&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const triSurfaceLoader&) = delete; public: diff --git a/src/meshTools/triSurface/triSurfaceSearch/triSurfaceRegionSearch.H b/src/meshTools/triSurface/triSurfaceSearch/triSurfaceRegionSearch.H index 1390bfa98f01a47f2bf48149b17c0021fa2dbfdf..3d42679c2a0bb6d8f724758a991b4b0b0176d6a8 100644 --- a/src/meshTools/triSurface/triSurfaceSearch/triSurfaceRegionSearch.H +++ b/src/meshTools/triSurface/triSurfaceSearch/triSurfaceRegionSearch.H @@ -83,11 +83,11 @@ class triSurfaceRegionSearch // Private Member Functions - //- Disallow default bitwise copy construct - triSurfaceRegionSearch(const triSurfaceRegionSearch&); + //- No copy construct + triSurfaceRegionSearch(const triSurfaceRegionSearch&) = delete; - //- Disallow default bitwise assignment - void operator=(const triSurfaceRegionSearch&); + //- No copy assignment + void operator=(const triSurfaceRegionSearch&) = delete; public: diff --git a/src/meshTools/triSurface/triSurfaceSearch/triSurfaceSearch.H b/src/meshTools/triSurface/triSurfaceSearch/triSurfaceSearch.H index d42806a563932ac684a64bb1bfce84af32c8adc9..8f12c58897ac32b10b4f495caa20d3397c6779bb 100644 --- a/src/meshTools/triSurface/triSurfaceSearch/triSurfaceSearch.H +++ b/src/meshTools/triSurface/triSurfaceSearch/triSurfaceSearch.H @@ -84,10 +84,10 @@ class triSurfaceSearch const vector& lineVec ) const; - //- Disallow default bitwise copy construct + //- No copy construct triSurfaceSearch(const triSurfaceSearch&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const triSurfaceSearch&) = delete; diff --git a/src/meshTools/twoDPointCorrector/twoDPointCorrector.H b/src/meshTools/twoDPointCorrector/twoDPointCorrector.H index 83d5483ee02acdb92e066fac6778eba3e1703c4c..faa1e61d3321961d8153e79f2b0a592e76abe5d5 100644 --- a/src/meshTools/twoDPointCorrector/twoDPointCorrector.H +++ b/src/meshTools/twoDPointCorrector/twoDPointCorrector.H @@ -86,11 +86,11 @@ class twoDPointCorrector // Private Member Functions - //- Disallow default bitwise copy construct - twoDPointCorrector(const twoDPointCorrector&); + //- No copy construct + twoDPointCorrector(const twoDPointCorrector&) = delete; - //- Disallow default bitwise assignment - void operator=(const twoDPointCorrector&); + //- No copy assignment + void operator=(const twoDPointCorrector&) = delete; //- Calculate addressing diff --git a/src/overset/cellCellStencil/cellCellStencil/cellCellStencil.H b/src/overset/cellCellStencil/cellCellStencil/cellCellStencil.H index 05a3d7cf590163ade3b6e00e012222808733222d..af415228b89111479624f4ca6e438c2bed571c98 100644 --- a/src/overset/cellCellStencil/cellCellStencil/cellCellStencil.H +++ b/src/overset/cellCellStencil/cellCellStencil/cellCellStencil.H @@ -96,11 +96,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - cellCellStencil(const cellCellStencil&); + //- No copy construct + cellCellStencil(const cellCellStencil&) = delete; - //- Disallow default bitwise assignment - void operator=(const cellCellStencil&); + //- No copy assignment + void operator=(const cellCellStencil&) = delete; public: diff --git a/src/overset/cellCellStencil/cellVolumeWeight/cellVolumeWeightCellCellStencil.H b/src/overset/cellCellStencil/cellVolumeWeight/cellVolumeWeightCellCellStencil.H index 6c1a8003be768d320d44c8a484d095a6e8d954af..321922a8a9d23ced3d044fbbeb99cbecd15ead42 100644 --- a/src/overset/cellCellStencil/cellVolumeWeight/cellVolumeWeightCellCellStencil.H +++ b/src/overset/cellCellStencil/cellVolumeWeight/cellVolumeWeightCellCellStencil.H @@ -156,11 +156,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - cellVolumeWeight(const cellVolumeWeight&); + //- No copy construct + cellVolumeWeight(const cellVolumeWeight&) = delete; - //- Disallow default bitwise assignment - void operator=(const cellVolumeWeight&); + //- No copy assignment + void operator=(const cellVolumeWeight&) = delete; public: diff --git a/src/overset/cellCellStencil/inverseDistance/inverseDistanceCellCellStencil.H b/src/overset/cellCellStencil/inverseDistance/inverseDistanceCellCellStencil.H index 9b140b4ce65d4ee680a4b5c81a6c6a3f1e41eca1..8d9b6cbb6fe9725f14844cc8e37858323eb90b34 100644 --- a/src/overset/cellCellStencil/inverseDistance/inverseDistanceCellCellStencil.H +++ b/src/overset/cellCellStencil/inverseDistance/inverseDistanceCellCellStencil.H @@ -250,11 +250,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - inverseDistance(const inverseDistance&); + //- No copy construct + inverseDistance(const inverseDistance&) = delete; - //- Disallow default bitwise assignment - void operator=(const inverseDistance&); + //- No copy assignment + void operator=(const inverseDistance&) = delete; public: diff --git a/src/overset/cellCellStencil/inverseDistance/waveMethod.H b/src/overset/cellCellStencil/inverseDistance/waveMethod.H index 9ab9635bcfe82018adea35476cc3259d305469c1..e26a920a6ad5781c98aa1e9542596ba0d43bcc21 100644 --- a/src/overset/cellCellStencil/inverseDistance/waveMethod.H +++ b/src/overset/cellCellStencil/inverseDistance/waveMethod.H @@ -52,11 +52,11 @@ class waveMethod { // Private member functions - //- Disallow default bitwise copy construct - waveMethod(const waveMethod&); + //- No copy construct + waveMethod(const waveMethod&) = delete; - //- Disallow default bitwise assignment - void operator=(const waveMethod&); + //- No copy assignment + void operator=(const waveMethod&) = delete; public: diff --git a/src/overset/cellCellStencil/leastSquares/leastSquaresCellCellStencil.H b/src/overset/cellCellStencil/leastSquares/leastSquaresCellCellStencil.H index 4d9b88eb0fe31347c5dc844fe31d208b950f79d3..e206b2236b365a0b221d40266a250ff7dad7d6ce 100644 --- a/src/overset/cellCellStencil/leastSquares/leastSquaresCellCellStencil.H +++ b/src/overset/cellCellStencil/leastSquares/leastSquaresCellCellStencil.H @@ -60,11 +60,11 @@ class leastSquares { // Private Member Functions - //- Disallow default bitwise copy construct - leastSquares(const leastSquares&); + //- No copy construct + leastSquares(const leastSquares&) = delete; - //- Disallow default bitwise assignment - void operator=(const leastSquares&); + //- No copy assignment + void operator=(const leastSquares&) = delete; public: diff --git a/src/overset/cellCellStencil/trackingInverseDistance/trackingInverseDistanceCellCellStencil.H b/src/overset/cellCellStencil/trackingInverseDistance/trackingInverseDistanceCellCellStencil.H index bcc49000c445110fcedb022929d6af609261abc5..d5951c2e22a5ac1e8ba124884ebbebbf3e1d68db 100644 --- a/src/overset/cellCellStencil/trackingInverseDistance/trackingInverseDistanceCellCellStencil.H +++ b/src/overset/cellCellStencil/trackingInverseDistance/trackingInverseDistanceCellCellStencil.H @@ -120,11 +120,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - trackingInverseDistance(const trackingInverseDistance&); + //- No copy construct + trackingInverseDistance(const trackingInverseDistance&) = delete; - //- Disallow default bitwise assignment - void operator=(const trackingInverseDistance&); + //- No copy assignment + void operator=(const trackingInverseDistance&) = delete; public: diff --git a/src/overset/dynamicOversetFvMesh/dynamicOversetFvMesh.H b/src/overset/dynamicOversetFvMesh/dynamicOversetFvMesh.H index 3f8d9782f4846f6f855e417cf07a1ba5b37ef20e..e04061788478191f741bbb2e6a0f443ea7e477e4 100644 --- a/src/overset/dynamicOversetFvMesh/dynamicOversetFvMesh.H +++ b/src/overset/dynamicOversetFvMesh/dynamicOversetFvMesh.H @@ -127,11 +127,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - dynamicOversetFvMesh(const dynamicOversetFvMesh&); + //- No copy construct + dynamicOversetFvMesh(const dynamicOversetFvMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const dynamicOversetFvMesh&); + //- No copy assignment + void operator=(const dynamicOversetFvMesh&) = delete; public: diff --git a/src/overset/fvMeshPrimitiveLduAddressing/fvMeshPrimitiveLduAddressing.H b/src/overset/fvMeshPrimitiveLduAddressing/fvMeshPrimitiveLduAddressing.H index 19662b761f456050308151710fc6c1e054299ab7..0988d2dd591d0fb59da8f10abd2f3c142b48b849 100644 --- a/src/overset/fvMeshPrimitiveLduAddressing/fvMeshPrimitiveLduAddressing.H +++ b/src/overset/fvMeshPrimitiveLduAddressing/fvMeshPrimitiveLduAddressing.H @@ -74,11 +74,14 @@ class fvMeshPrimitiveLduAddressing // Private Member Functions - //- Disallow default bitwise copy construct - fvMeshPrimitiveLduAddressing(const fvMeshPrimitiveLduAddressing&); + //- No copy construct + fvMeshPrimitiveLduAddressing + ( + const fvMeshPrimitiveLduAddressing& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const fvMeshPrimitiveLduAddressing&); + //- No copy assignment + void operator=(const fvMeshPrimitiveLduAddressing&) = delete; public: diff --git a/src/overset/lduPrimitiveProcessorInterface/lduPrimitiveProcessorInterface.H b/src/overset/lduPrimitiveProcessorInterface/lduPrimitiveProcessorInterface.H index 7f1f5d1dfff71871841dd0508f5f40b18eb9d049..bba5075cadda5dab983d32c32b6eef919d582fc3 100644 --- a/src/overset/lduPrimitiveProcessorInterface/lduPrimitiveProcessorInterface.H +++ b/src/overset/lduPrimitiveProcessorInterface/lduPrimitiveProcessorInterface.H @@ -75,11 +75,14 @@ class lduPrimitiveProcessorInterface // Private Member Functions - //- Disallow default bitwise copy construct - lduPrimitiveProcessorInterface(const lduPrimitiveProcessorInterface&); + //- No copy construct + lduPrimitiveProcessorInterface + ( + const lduPrimitiveProcessorInterface& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const lduPrimitiveProcessorInterface&); + //- No copy assignment + void operator=(const lduPrimitiveProcessorInterface&) = delete; public: diff --git a/src/overset/oversetPolyPatch/oversetGAMGInterface.H b/src/overset/oversetPolyPatch/oversetGAMGInterface.H index 477368a2e61a1fe76a82af46b826e8dd2986f1c1..c8ddf07cb46a8208f9c41a7fa99e735efee23b21 100644 --- a/src/overset/oversetPolyPatch/oversetGAMGInterface.H +++ b/src/overset/oversetPolyPatch/oversetGAMGInterface.H @@ -78,11 +78,11 @@ class oversetGAMGInterface // Private Member Functions - //- Disallow default bitwise copy construct - oversetGAMGInterface(const oversetGAMGInterface&); + //- No copy construct + oversetGAMGInterface(const oversetGAMGInterface&) = delete; - //- Disallow default bitwise assignment - void operator=(const oversetGAMGInterface&); + //- No copy assignment + void operator=(const oversetGAMGInterface&) = delete; public: diff --git a/src/overset/oversetPolyPatch/oversetGAMGInterfaceField.H b/src/overset/oversetPolyPatch/oversetGAMGInterfaceField.H index e706be9c14ebba645885a1a125abeef519f15a18..146ae73948af74d08c83b99665648f935d2ce784 100644 --- a/src/overset/oversetPolyPatch/oversetGAMGInterfaceField.H +++ b/src/overset/oversetPolyPatch/oversetGAMGInterfaceField.H @@ -64,11 +64,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - oversetGAMGInterfaceField(const oversetGAMGInterfaceField&); + //- No copy construct + oversetGAMGInterfaceField(const oversetGAMGInterfaceField&) = delete; - //- Disallow default bitwise assignment - void operator=(const oversetGAMGInterfaceField&); + //- No copy assignment + void operator=(const oversetGAMGInterfaceField&) = delete; public: diff --git a/src/overset/oversetPolyPatch/semiImplicitOversetGAMGInterfaceField.H b/src/overset/oversetPolyPatch/semiImplicitOversetGAMGInterfaceField.H index c80bb384575b688deb970a5665cba0a03c521cd4..ea24871b655ed3264f427df5aff85fe005265749 100644 --- a/src/overset/oversetPolyPatch/semiImplicitOversetGAMGInterfaceField.H +++ b/src/overset/oversetPolyPatch/semiImplicitOversetGAMGInterfaceField.H @@ -52,14 +52,14 @@ class semiImplicitOversetGAMGInterfaceField { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct semiImplicitOversetGAMGInterfaceField ( const semiImplicitOversetGAMGInterfaceField& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const semiImplicitOversetGAMGInterfaceField&); + //- No copy assignment + void operator=(const semiImplicitOversetGAMGInterfaceField&) = delete; public: diff --git a/src/parallel/decompose/decompose/decompositionInformation.H b/src/parallel/decompose/decompose/decompositionInformation.H index c0f24bb2cf38429c394198273b7e932761eb9741..63ef7eeede9504e3121012980a2c419147185ee8 100644 --- a/src/parallel/decompose/decompose/decompositionInformation.H +++ b/src/parallel/decompose/decompose/decompositionInformation.H @@ -88,8 +88,10 @@ class decompositionInformation const label nDomains ); - //- Disallow default bitwise copy construct and assignment + //- No copy construct decompositionInformation(const decompositionInformation&) = delete; + + //- No copy assignment void operator=(const decompositionInformation&) = delete; diff --git a/src/parallel/decompose/decompose/fvFieldDecomposer.H b/src/parallel/decompose/decompose/fvFieldDecomposer.H index b4193edc97adced5649596aba0bad02edc5cbe1d..4798a8c890d8df244ff97123601f5ec0ee28681a 100644 --- a/src/parallel/decompose/decompose/fvFieldDecomposer.H +++ b/src/parallel/decompose/decompose/fvFieldDecomposer.H @@ -229,11 +229,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - fvFieldDecomposer(const fvFieldDecomposer&); + //- No copy construct + fvFieldDecomposer(const fvFieldDecomposer&) = delete; - //- Disallow default bitwise assignment - void operator=(const fvFieldDecomposer&); + //- No copy assignment + void operator=(const fvFieldDecomposer&) = delete; public: diff --git a/src/parallel/distributed/distributedTriSurfaceMesh/distributedTriSurfaceMesh.H b/src/parallel/distributed/distributedTriSurfaceMesh/distributedTriSurfaceMesh.H index 8f91f9612d4dbcd05c2ed559ea4fdc4503786305..178169fd13522a6db797cf289cb96e4636b6150f 100644 --- a/src/parallel/distributed/distributedTriSurfaceMesh/distributedTriSurfaceMesh.H +++ b/src/parallel/distributed/distributedTriSurfaceMesh/distributedTriSurfaceMesh.H @@ -292,11 +292,11 @@ private: void distributeFields(const mapDistribute& map); - //- Disallow default bitwise copy construct - distributedTriSurfaceMesh(const distributedTriSurfaceMesh&); + //- No copy construct + distributedTriSurfaceMesh(const distributedTriSurfaceMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const distributedTriSurfaceMesh&); + //- No copy assignment + void operator=(const distributedTriSurfaceMesh&) = delete; public: diff --git a/src/parallel/reconstruct/reconstruct/fvFieldReconstructor.H b/src/parallel/reconstruct/reconstruct/fvFieldReconstructor.H index b2454dc1007e90d3e1fd8996012bb47155c48d0f..ee4c4236d1ba2d935a758f825ecb0a6f0859a84e 100644 --- a/src/parallel/reconstruct/reconstruct/fvFieldReconstructor.H +++ b/src/parallel/reconstruct/reconstruct/fvFieldReconstructor.H @@ -77,11 +77,11 @@ class fvFieldReconstructor // Private Member Functions - //- Disallow default bitwise copy construct - fvFieldReconstructor(const fvFieldReconstructor&); + //- No copy construct + fvFieldReconstructor(const fvFieldReconstructor&) = delete; - //- Disallow default bitwise assignment - void operator=(const fvFieldReconstructor&); + //- No copy assignment + void operator=(const fvFieldReconstructor&) = delete; public: diff --git a/src/parallel/reconstruct/reconstruct/pointFieldReconstructor.H b/src/parallel/reconstruct/reconstruct/pointFieldReconstructor.H index 03ba97dc51a9d4ce72a16d125d9aa3db685a29a0..1181cc781258bc3d947f4e5ea41ade3acef589ef 100644 --- a/src/parallel/reconstruct/reconstruct/pointFieldReconstructor.H +++ b/src/parallel/reconstruct/reconstruct/pointFieldReconstructor.H @@ -74,11 +74,11 @@ class pointFieldReconstructor // Private Member Functions - //- Disallow default bitwise copy construct - pointFieldReconstructor(const pointFieldReconstructor&); + //- No copy construct + pointFieldReconstructor(const pointFieldReconstructor&) = delete; - //- Disallow default bitwise assignment - void operator=(const pointFieldReconstructor&); + //- No copy assignment + void operator=(const pointFieldReconstructor&) = delete; public: diff --git a/src/parallel/reconstruct/reconstruct/processorMeshes.H b/src/parallel/reconstruct/reconstruct/processorMeshes.H index 4f33212656e94c536227d0277954b8daeaa976bd..b900728daf7afd5f908ec796f08b3de42e5069ee 100644 --- a/src/parallel/reconstruct/reconstruct/processorMeshes.H +++ b/src/parallel/reconstruct/reconstruct/processorMeshes.H @@ -80,11 +80,11 @@ class processorMeshes //- Read all meshes void read(); - //- Disallow default bitwise copy construct - processorMeshes(const processorMeshes&); + //- No copy construct + processorMeshes(const processorMeshes&) = delete; - //- Disallow default bitwise assignment - void operator=(const processorMeshes&); + //- No copy assignment + void operator=(const processorMeshes&) = delete; public: diff --git a/src/randomProcesses/noise/noiseModels/noiseModel/noiseModel.H b/src/randomProcesses/noise/noiseModels/noiseModel/noiseModel.H index 336f46ca8637335510aa9347ec911a741fac74c2..02e403cf1898ec936fb9853faa5666686433b7b6 100644 --- a/src/randomProcesses/noise/noiseModels/noiseModel/noiseModel.H +++ b/src/randomProcesses/noise/noiseModels/noiseModel/noiseModel.H @@ -97,11 +97,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - noiseModel(const noiseModel&); + //- No copy construct + noiseModel(const noiseModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const noiseModel&); + //- No copy assignment + void operator=(const noiseModel&) = delete; protected: diff --git a/src/regionModels/pyrolysisModels/noPyrolysis/noPyrolysis.H b/src/regionModels/pyrolysisModels/noPyrolysis/noPyrolysis.H index 67cec6fdc0ab8dde0c1e1c6a278669115a0860b5..86c5164b743d543242aa431d3b5e87e12a42fb7e 100644 --- a/src/regionModels/pyrolysisModels/noPyrolysis/noPyrolysis.H +++ b/src/regionModels/pyrolysisModels/noPyrolysis/noPyrolysis.H @@ -61,11 +61,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - noPyrolysis(const noPyrolysis&); + //- No copy construct + noPyrolysis(const noPyrolysis&) = delete; - //- Disallow default bitwise assignment - void operator=(const noPyrolysis&); + //- No copy assignment + void operator=(const noPyrolysis&) = delete; protected: diff --git a/src/regionModels/pyrolysisModels/pyrolysisModel/pyrolysisModel.H b/src/regionModels/pyrolysisModels/pyrolysisModel/pyrolysisModel.H index 79af2752cd075afd039c70ecff62fa35501c7553..5c7b0672fa98d3331c85606c1b762b00f550c09c 100644 --- a/src/regionModels/pyrolysisModels/pyrolysisModel/pyrolysisModel.H +++ b/src/regionModels/pyrolysisModels/pyrolysisModel/pyrolysisModel.H @@ -72,11 +72,11 @@ private: //- Read pyrolysis controls void readPyrolysisControls(); - //- Disallow default bitwise copy construct - pyrolysisModel(const pyrolysisModel&); + //- No copy construct + pyrolysisModel(const pyrolysisModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const pyrolysisModel&); + //- No copy assignment + void operator=(const pyrolysisModel&) = delete; protected: diff --git a/src/regionModels/pyrolysisModels/pyrolysisModel/pyrolysisModelCollection.H b/src/regionModels/pyrolysisModels/pyrolysisModel/pyrolysisModelCollection.H index c91e727bf466cb83fe2513b4f96daabd70346cba..e8518629b5696709ab9e6340101a615927fe8e93 100644 --- a/src/regionModels/pyrolysisModels/pyrolysisModel/pyrolysisModelCollection.H +++ b/src/regionModels/pyrolysisModels/pyrolysisModel/pyrolysisModelCollection.H @@ -64,11 +64,11 @@ class pyrolysisModelCollection { // Private Member Functions - //- Disallow default bitwise copy construct - pyrolysisModelCollection(const pyrolysisModelCollection&); + //- No copy construct + pyrolysisModelCollection(const pyrolysisModelCollection&) = delete; - //- Disallow default bitwise assignment - void operator=(const pyrolysisModelCollection&); + //- No copy assignment + void operator=(const pyrolysisModelCollection&) = delete; public: diff --git a/src/regionModels/pyrolysisModels/reactingOneDim/reactingOneDim.H b/src/regionModels/pyrolysisModels/reactingOneDim/reactingOneDim.H index 09feafa3206c0857fdb5c0ab05d59c7ca44d183b..19f1f3d95db809ee8876895d05201b7a0ba585fe 100644 --- a/src/regionModels/pyrolysisModels/reactingOneDim/reactingOneDim.H +++ b/src/regionModels/pyrolysisModels/reactingOneDim/reactingOneDim.H @@ -63,11 +63,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - reactingOneDim(const reactingOneDim&); + //- No copy construct + reactingOneDim(const reactingOneDim&) = delete; - //- Disallow default bitwise assignment - void operator=(const reactingOneDim&); + //- No copy assignment + void operator=(const reactingOneDim&) = delete; //- Read model controls void readReactingOneDimControls(); diff --git a/src/regionModels/pyrolysisModels/thermo/thermo.H b/src/regionModels/pyrolysisModels/thermo/thermo.H index ef06fc4dd274fa2c076b812733b57ec2d1f64b39..45f182feb5fdcc2b39132a09439a1875ea84b4af 100644 --- a/src/regionModels/pyrolysisModels/thermo/thermo.H +++ b/src/regionModels/pyrolysisModels/thermo/thermo.H @@ -62,11 +62,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - thermo(const thermo&); + //- No copy construct + thermo(const thermo&) = delete; - //- Disallow default bitwise assignment - void operator=(const thermo&); + //- No copy assignment + void operator=(const thermo&) = delete; protected: diff --git a/src/regionModels/regionModel/regionModel/regionModel.H b/src/regionModels/regionModel/regionModel/regionModel.H index 3c30cb0f1c7010dd4bac2d26991ee583368104c7..0285d024daf2a98ad27b90d03bee00b6beb2b721 100644 --- a/src/regionModels/regionModel/regionModel/regionModel.H +++ b/src/regionModels/regionModel/regionModel/regionModel.H @@ -64,11 +64,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - regionModel(const regionModel&); + //- No copy construct + regionModel(const regionModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const regionModel&); + //- No copy assignment + void operator=(const regionModel&) = delete; //- Construct region mesh and fields void constructMeshObjects(); diff --git a/src/regionModels/regionModel/regionModel1D/regionModel1D.H b/src/regionModels/regionModel/regionModel1D/regionModel1D.H index 84a8e2cba772ca344bd565ae3df0fda7ad5cae1a..2b45798f38defec08f48d02df5c4c1d4e8695d3b 100644 --- a/src/regionModels/regionModel/regionModel1D/regionModel1D.H +++ b/src/regionModels/regionModel/regionModel1D/regionModel1D.H @@ -56,11 +56,11 @@ class regionModel1D { // Private Member Functions - //- Disallow default bitwise copy construct - regionModel1D(const regionModel1D&); + //- No copy construct + regionModel1D(const regionModel1D&) = delete; - //- Disallow default bitwise assignment - void operator=(const regionModel1D&); + //- No copy assignment + void operator=(const regionModel1D&) = delete; //- Construct region mesh and fields void constructMeshObjects(); diff --git a/src/regionModels/regionModel/regionProperties/regionProperties.H b/src/regionModels/regionModel/regionProperties/regionProperties.H index 54e703344c8cfce1f5cd098e5958850306081d66..579a8a0e1f5697b9bdfbfd1ce330702d2e7364d3 100644 --- a/src/regionModels/regionModel/regionProperties/regionProperties.H +++ b/src/regionModels/regionModel/regionProperties/regionProperties.H @@ -56,10 +56,10 @@ class regionProperties public HashTable<wordList> { - //- Disallow default bitwise copy construct + //- No copy construct regionProperties(const regionProperties&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const regionProperties&) = delete; public: diff --git a/src/regionModels/regionModel/singleLayerRegion/singleLayerRegion.H b/src/regionModels/regionModel/singleLayerRegion/singleLayerRegion.H index 4dbb1eda9744b45298215478c9cfd3405642c75b..fe344d69645e830db6723fa21c613c0b65726777 100644 --- a/src/regionModels/regionModel/singleLayerRegion/singleLayerRegion.H +++ b/src/regionModels/regionModel/singleLayerRegion/singleLayerRegion.H @@ -54,11 +54,11 @@ class singleLayerRegion { // Private Member Functions - //- Disallow default bitwise copy construct - singleLayerRegion(const singleLayerRegion&); + //- No copy construct + singleLayerRegion(const singleLayerRegion&) = delete; - //- Disallow default bitwise assignment - void operator=(const singleLayerRegion&); + //- No copy assignment + void operator=(const singleLayerRegion&) = delete; //- Construct region mesh and fields void constructMeshObjects(); diff --git a/src/regionModels/surfaceFilmModels/kinematicSingleLayer/kinematicSingleLayer.H b/src/regionModels/surfaceFilmModels/kinematicSingleLayer/kinematicSingleLayer.H index d839fe7da0574147989586a653dd58f3e50673c8..61abe43a2b71995b82c7c481adfe42f5090ea321 100644 --- a/src/regionModels/surfaceFilmModels/kinematicSingleLayer/kinematicSingleLayer.H +++ b/src/regionModels/surfaceFilmModels/kinematicSingleLayer/kinematicSingleLayer.H @@ -70,11 +70,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - kinematicSingleLayer(const kinematicSingleLayer&); + //- No copy construct + kinematicSingleLayer(const kinematicSingleLayer&) = delete; - //- Disallow default bitwise assignment - void operator=(const kinematicSingleLayer&); + //- No copy assignment + void operator=(const kinematicSingleLayer&) = delete; protected: diff --git a/src/regionModels/surfaceFilmModels/noFilm/noFilm.H b/src/regionModels/surfaceFilmModels/noFilm/noFilm.H index ce1fd77b69fea4cebbc38ab41bf2eb81ea1c5cc4..19f45020921d30a32d64322307be8a279ff052bb 100644 --- a/src/regionModels/surfaceFilmModels/noFilm/noFilm.H +++ b/src/regionModels/surfaceFilmModels/noFilm/noFilm.H @@ -63,11 +63,11 @@ class noFilm // Private member functions - //- Disallow default bitwise copy construct - noFilm(const noFilm&); + //- No copy construct + noFilm(const noFilm&) = delete; - //- Disallow default bitwise assignment - void operator=(const noFilm&); + //- No copy assignment + void operator=(const noFilm&) = delete; public: diff --git a/src/regionModels/surfaceFilmModels/submodels/kinematic/filmThermoModel/constantFilmThermo/constantFilmThermo.H b/src/regionModels/surfaceFilmModels/submodels/kinematic/filmThermoModel/constantFilmThermo/constantFilmThermo.H index 0156fc1fd9d81d43255510d45058b47c1da9353a..f7ac7a13cd665b60a7493d0c67af775cb7526662 100644 --- a/src/regionModels/surfaceFilmModels/submodels/kinematic/filmThermoModel/constantFilmThermo/constantFilmThermo.H +++ b/src/regionModels/surfaceFilmModels/submodels/kinematic/filmThermoModel/constantFilmThermo/constantFilmThermo.H @@ -122,11 +122,11 @@ private: //- Initialise thermoData object void init(thermoData& td); - //- Disallow default bitwise copy construct - constantFilmThermo(const constantFilmThermo&); + //- No copy construct + constantFilmThermo(const constantFilmThermo&) = delete; - //- Disallow default bitwise assignment - void operator=(const constantFilmThermo&); + //- No copy assignment + void operator=(const constantFilmThermo&) = delete; public: diff --git a/src/regionModels/surfaceFilmModels/submodels/kinematic/filmThermoModel/filmThermoModel/filmThermoModel.H b/src/regionModels/surfaceFilmModels/submodels/kinematic/filmThermoModel/filmThermoModel/filmThermoModel.H index b54af005a3518a4011c31d2ee0aebc9fee3b7298..59c6a256a40ba901c837f0d51364506ee2d513fd 100644 --- a/src/regionModels/surfaceFilmModels/submodels/kinematic/filmThermoModel/filmThermoModel/filmThermoModel.H +++ b/src/regionModels/surfaceFilmModels/submodels/kinematic/filmThermoModel/filmThermoModel/filmThermoModel.H @@ -60,11 +60,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - filmThermoModel(const filmThermoModel&); + //- No copy construct + filmThermoModel(const filmThermoModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const filmThermoModel&); + //- No copy assignment + void operator=(const filmThermoModel&) = delete; public: diff --git a/src/regionModels/surfaceFilmModels/submodels/kinematic/filmThermoModel/liquidFilmThermo/liquidFilmThermo.H b/src/regionModels/surfaceFilmModels/submodels/kinematic/filmThermoModel/liquidFilmThermo/liquidFilmThermo.H index 336d35843da26b2bc1734f6598bc59d0347f1d6e..a5d4c0d6380c022f6f446b4521e5d6ebb0a9ea50 100644 --- a/src/regionModels/surfaceFilmModels/submodels/kinematic/filmThermoModel/liquidFilmThermo/liquidFilmThermo.H +++ b/src/regionModels/surfaceFilmModels/submodels/kinematic/filmThermoModel/liquidFilmThermo/liquidFilmThermo.H @@ -89,11 +89,11 @@ protected: //- Initialise the liquid pointer void initLiquid(const dictionary& dict); - //- Disallow default bitwise copy construct - liquidFilmThermo(const liquidFilmThermo&); + //- No copy construct + liquidFilmThermo(const liquidFilmThermo&) = delete; - //- Disallow default bitwise assignment - void operator=(const liquidFilmThermo&); + //- No copy assignment + void operator=(const liquidFilmThermo&) = delete; public: diff --git a/src/regionModels/surfaceFilmModels/submodels/kinematic/filmTurbulenceModel/filmTurbulenceModel/filmTurbulenceModel.H b/src/regionModels/surfaceFilmModels/submodels/kinematic/filmTurbulenceModel/filmTurbulenceModel/filmTurbulenceModel.H index 0b56b56ef62315f4d5ed3c9deacefade7d7706f0..14bbe00a6ea14662c8ab1f2562938301f2e70eab 100644 --- a/src/regionModels/surfaceFilmModels/submodels/kinematic/filmTurbulenceModel/filmTurbulenceModel/filmTurbulenceModel.H +++ b/src/regionModels/surfaceFilmModels/submodels/kinematic/filmTurbulenceModel/filmTurbulenceModel/filmTurbulenceModel.H @@ -62,11 +62,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - filmTurbulenceModel(const filmTurbulenceModel&); + //- No copy construct + filmTurbulenceModel(const filmTurbulenceModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const filmTurbulenceModel&); + //- No copy assignment + void operator=(const filmTurbulenceModel&) = delete; public: diff --git a/src/regionModels/surfaceFilmModels/submodels/kinematic/filmTurbulenceModel/laminar/laminar.H b/src/regionModels/surfaceFilmModels/submodels/kinematic/filmTurbulenceModel/laminar/laminar.H index 315922c591c762357511d14f331fade466d9934c..491ea2b9651b5542bafcf142bce0ba6a669021ca 100644 --- a/src/regionModels/surfaceFilmModels/submodels/kinematic/filmTurbulenceModel/laminar/laminar.H +++ b/src/regionModels/surfaceFilmModels/submodels/kinematic/filmTurbulenceModel/laminar/laminar.H @@ -64,11 +64,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - laminar(const laminar&); + //- No copy construct + laminar(const laminar&) = delete; - //- Disallow default bitwise assignment - void operator=(const laminar&); + //- No copy assignment + void operator=(const laminar&) = delete; public: diff --git a/src/regionModels/surfaceFilmModels/submodels/kinematic/force/contactAngleForces/contactAngleForce/contactAngleForce.H b/src/regionModels/surfaceFilmModels/submodels/kinematic/force/contactAngleForces/contactAngleForce/contactAngleForce.H index 3637959658f7aa90bdd9c97cea1aa2c5b5bbaa09..44a7246cb3b1c8057534d696c6355a0846a009bf 100644 --- a/src/regionModels/surfaceFilmModels/submodels/kinematic/force/contactAngleForces/contactAngleForce/contactAngleForce.H +++ b/src/regionModels/surfaceFilmModels/submodels/kinematic/force/contactAngleForces/contactAngleForce/contactAngleForce.H @@ -71,11 +71,11 @@ class contactAngleForce //- Initialise void initialise(); - //- Disallow default bitwise copy construct - contactAngleForce(const contactAngleForce&); + //- No copy construct + contactAngleForce(const contactAngleForce&) = delete; - //- Disallow default bitwise assignment - void operator=(const contactAngleForce&); + //- No copy assignment + void operator=(const contactAngleForce&) = delete; protected: diff --git a/src/regionModels/surfaceFilmModels/submodels/kinematic/force/contactAngleForces/distribution/distributionContactAngleForce.H b/src/regionModels/surfaceFilmModels/submodels/kinematic/force/contactAngleForces/distribution/distributionContactAngleForce.H index 8e98ae99dca851265bcf80f5ad0022b9541d2d43..c93f9ff6340db56db762db08875fdfd2f84f4f11 100644 --- a/src/regionModels/surfaceFilmModels/submodels/kinematic/force/contactAngleForces/distribution/distributionContactAngleForce.H +++ b/src/regionModels/surfaceFilmModels/submodels/kinematic/force/contactAngleForces/distribution/distributionContactAngleForce.H @@ -71,11 +71,14 @@ class distributionContactAngleForce // Private member functions - //- Disallow default bitwise copy construct - distributionContactAngleForce(const distributionContactAngleForce&); + //- No copy construct + distributionContactAngleForce + ( + const distributionContactAngleForce& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const distributionContactAngleForce&); + //- No copy assignment + void operator=(const distributionContactAngleForce&) = delete; protected: diff --git a/src/regionModels/surfaceFilmModels/submodels/kinematic/force/contactAngleForces/perturbedTemperatureDependent/perturbedTemperatureDependentContactAngleForce.H b/src/regionModels/surfaceFilmModels/submodels/kinematic/force/contactAngleForces/perturbedTemperatureDependent/perturbedTemperatureDependentContactAngleForce.H index 63924ff5da00c0ae75bf969ffced59a8f622f143..91df378170c1bc979a50e1287f3d9969c6a7ff01 100644 --- a/src/regionModels/surfaceFilmModels/submodels/kinematic/force/contactAngleForces/perturbedTemperatureDependent/perturbedTemperatureDependentContactAngleForce.H +++ b/src/regionModels/surfaceFilmModels/submodels/kinematic/force/contactAngleForces/perturbedTemperatureDependent/perturbedTemperatureDependentContactAngleForce.H @@ -84,14 +84,17 @@ class perturbedTemperatureDependentContactAngleForce // Private member functions - //- Disallow default bitwise copy construct + //- No copy construct perturbedTemperatureDependentContactAngleForce ( const perturbedTemperatureDependentContactAngleForce& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const perturbedTemperatureDependentContactAngleForce&); + //- No copy assignment + void operator= + ( + const perturbedTemperatureDependentContactAngleForce& + ) = delete; protected: diff --git a/src/regionModels/surfaceFilmModels/submodels/kinematic/force/contactAngleForces/temperatureDependent/temperatureDependentContactAngleForce.H b/src/regionModels/surfaceFilmModels/submodels/kinematic/force/contactAngleForces/temperatureDependent/temperatureDependentContactAngleForce.H index ce4abb57caedd254d5c01794368f47064bad14dc..716c3ed6308d0c9bbe68df92cf415197b923b63e 100644 --- a/src/regionModels/surfaceFilmModels/submodels/kinematic/force/contactAngleForces/temperatureDependent/temperatureDependentContactAngleForce.H +++ b/src/regionModels/surfaceFilmModels/submodels/kinematic/force/contactAngleForces/temperatureDependent/temperatureDependentContactAngleForce.H @@ -70,14 +70,14 @@ class temperatureDependentContactAngleForce // Private member functions - //- Disallow default bitwise copy construct + //- No copy construct temperatureDependentContactAngleForce ( const temperatureDependentContactAngleForce& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const temperatureDependentContactAngleForce&); + //- No copy assignment + void operator=(const temperatureDependentContactAngleForce&) = delete; protected: diff --git a/src/regionModels/surfaceFilmModels/submodels/kinematic/force/force/force.H b/src/regionModels/surfaceFilmModels/submodels/kinematic/force/force/force.H index 545f41ed5cfcfd74306d1417f94aaaddd39d22bb..3db7fb7d2f4cb6f950d9aa0608d91506d68c1542 100644 --- a/src/regionModels/surfaceFilmModels/submodels/kinematic/force/force/force.H +++ b/src/regionModels/surfaceFilmModels/submodels/kinematic/force/force/force.H @@ -61,11 +61,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - force(const force&); + //- No copy construct + force(const force&) = delete; - //- Disallow default bitwise assignment - void operator=(const force&); + //- No copy assignment + void operator=(const force&) = delete; public: diff --git a/src/regionModels/surfaceFilmModels/submodels/kinematic/force/thermocapillaryForce/thermocapillaryForce.H b/src/regionModels/surfaceFilmModels/submodels/kinematic/force/thermocapillaryForce/thermocapillaryForce.H index 50ab68052703d277e071944057eff9f4d08953ab..15368062a58e07757ee0eacb532d799eabe18c42 100644 --- a/src/regionModels/surfaceFilmModels/submodels/kinematic/force/thermocapillaryForce/thermocapillaryForce.H +++ b/src/regionModels/surfaceFilmModels/submodels/kinematic/force/thermocapillaryForce/thermocapillaryForce.H @@ -58,11 +58,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - thermocapillaryForce(const thermocapillaryForce&); + //- No copy construct + thermocapillaryForce(const thermocapillaryForce&) = delete; - //- Disallow default bitwise assignment - void operator=(const thermocapillaryForce&); + //- No copy assignment + void operator=(const thermocapillaryForce&) = delete; public: diff --git a/src/regionModels/surfaceFilmModels/submodels/kinematic/injectionModel/BrunDrippingInjection/BrunDrippingInjection.H b/src/regionModels/surfaceFilmModels/submodels/kinematic/injectionModel/BrunDrippingInjection/BrunDrippingInjection.H index e875b98dd089df54fb791c89d85a0e4654d62caf..e896668207a918e1c70f5f0c383731bf2ce0e691 100644 --- a/src/regionModels/surfaceFilmModels/submodels/kinematic/injectionModel/BrunDrippingInjection/BrunDrippingInjection.H +++ b/src/regionModels/surfaceFilmModels/submodels/kinematic/injectionModel/BrunDrippingInjection/BrunDrippingInjection.H @@ -78,11 +78,11 @@ class BrunDrippingInjection { // Private member functions - //- Disallow default bitwise copy construct - BrunDrippingInjection(const BrunDrippingInjection&); + //- No copy construct + BrunDrippingInjection(const BrunDrippingInjection&) = delete; - //- Disallow default bitwise assignment - void operator=(const BrunDrippingInjection&); + //- No copy assignment + void operator=(const BrunDrippingInjection&) = delete; protected: diff --git a/src/regionModels/surfaceFilmModels/submodels/kinematic/injectionModel/curvatureSeparation/curvatureSeparation.H b/src/regionModels/surfaceFilmModels/submodels/kinematic/injectionModel/curvatureSeparation/curvatureSeparation.H index cdbca326b97c3b1c379d2170a63a0a9c3313e02f..2301bf1e03f07116a372ae822e51ecbe6f2bf53d 100644 --- a/src/regionModels/surfaceFilmModels/submodels/kinematic/injectionModel/curvatureSeparation/curvatureSeparation.H +++ b/src/regionModels/surfaceFilmModels/submodels/kinematic/injectionModel/curvatureSeparation/curvatureSeparation.H @@ -72,11 +72,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - curvatureSeparation(const curvatureSeparation&); + //- No copy construct + curvatureSeparation(const curvatureSeparation&) = delete; - //- Disallow default bitwise assignment - void operator=(const curvatureSeparation&); + //- No copy assignment + void operator=(const curvatureSeparation&) = delete; protected: diff --git a/src/regionModels/surfaceFilmModels/submodels/kinematic/injectionModel/drippingInjection/drippingInjection.H b/src/regionModels/surfaceFilmModels/submodels/kinematic/injectionModel/drippingInjection/drippingInjection.H index 8e311e417cf105b3b83e6499b677aefe63e3f6b5..fadc74927250e8544f80781e99f207093da7c5a4 100644 --- a/src/regionModels/surfaceFilmModels/submodels/kinematic/injectionModel/drippingInjection/drippingInjection.H +++ b/src/regionModels/surfaceFilmModels/submodels/kinematic/injectionModel/drippingInjection/drippingInjection.H @@ -65,11 +65,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - drippingInjection(const drippingInjection&); + //- No copy construct + drippingInjection(const drippingInjection&) = delete; - //- Disallow default bitwise assignment - void operator=(const drippingInjection&); + //- No copy assignment + void operator=(const drippingInjection&) = delete; protected: diff --git a/src/regionModels/surfaceFilmModels/submodels/kinematic/injectionModel/injectionModel/injectionModel.H b/src/regionModels/surfaceFilmModels/submodels/kinematic/injectionModel/injectionModel/injectionModel.H index 173bb01fe4b0a3085d211504ae5b9a7f042e569c..b88b6024f79485c9b41203afbc4dc86ffd472db4 100644 --- a/src/regionModels/surfaceFilmModels/submodels/kinematic/injectionModel/injectionModel/injectionModel.H +++ b/src/regionModels/surfaceFilmModels/submodels/kinematic/injectionModel/injectionModel/injectionModel.H @@ -66,11 +66,11 @@ class injectionModel // Private Member Functions - //- Disallow default bitwise copy construct - injectionModel(const injectionModel&); + //- No copy construct + injectionModel(const injectionModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const injectionModel&); + //- No copy assignment + void operator=(const injectionModel&) = delete; protected: diff --git a/src/regionModels/surfaceFilmModels/submodels/kinematic/injectionModel/injectionModelList/injectionModelList.H b/src/regionModels/surfaceFilmModels/submodels/kinematic/injectionModel/injectionModelList/injectionModelList.H index c20269c20ffe9f8277c308287897f1efbe94501f..c71c42f0222094bf0aefee64fa3714adfd0a6c45 100644 --- a/src/regionModels/surfaceFilmModels/submodels/kinematic/injectionModel/injectionModelList/injectionModelList.H +++ b/src/regionModels/surfaceFilmModels/submodels/kinematic/injectionModel/injectionModelList/injectionModelList.H @@ -67,11 +67,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - injectionModelList(const injectionModelList&); + //- No copy construct + injectionModelList(const injectionModelList&) = delete; - //- Disallow default bitwise assignment - void operator=(const injectionModelList&); + //- No copy assignment + void operator=(const injectionModelList&) = delete; public: diff --git a/src/regionModels/surfaceFilmModels/submodels/kinematic/injectionModel/patchInjection/patchInjection.H b/src/regionModels/surfaceFilmModels/submodels/kinematic/injectionModel/patchInjection/patchInjection.H index 7b3b33c08e8d8f059e820cf5023b5e52fc80a4b8..f8e1d57ced0bd32a9dc44761a2a20cd9d030657e 100644 --- a/src/regionModels/surfaceFilmModels/submodels/kinematic/injectionModel/patchInjection/patchInjection.H +++ b/src/regionModels/surfaceFilmModels/submodels/kinematic/injectionModel/patchInjection/patchInjection.H @@ -57,11 +57,11 @@ class patchInjection { // Private member functions - //- Disallow default bitwise copy construct - patchInjection(const patchInjection&); + //- No copy construct + patchInjection(const patchInjection&) = delete; - //- Disallow default bitwise assignment - void operator=(const patchInjection&); + //- No copy assignment + void operator=(const patchInjection&) = delete; protected: diff --git a/src/regionModels/surfaceFilmModels/submodels/kinematic/transferModels/transferModel/transferModel.H b/src/regionModels/surfaceFilmModels/submodels/kinematic/transferModels/transferModel/transferModel.H index c965f231e1f11be7f953778475253f0f8ac03da0..c074a6a3ab1474bfc5a80d9dbb780870c24c9519 100644 --- a/src/regionModels/surfaceFilmModels/submodels/kinematic/transferModels/transferModel/transferModel.H +++ b/src/regionModels/surfaceFilmModels/submodels/kinematic/transferModels/transferModel/transferModel.H @@ -66,11 +66,11 @@ class transferModel // Private Member Functions - //- Disallow default bitwise copy construct - transferModel(const transferModel&); + //- No copy construct + transferModel(const transferModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const transferModel&); + //- No copy assignment + void operator=(const transferModel&) = delete; protected: diff --git a/src/regionModels/surfaceFilmModels/submodels/kinematic/transferModels/transferModelList/transferModelList.H b/src/regionModels/surfaceFilmModels/submodels/kinematic/transferModels/transferModelList/transferModelList.H index 9af147c8d5043f1de7dc2e4e91097c8e10d7e4c6..89acf58b3749ae9b4a52cdcbbf3d254b5e826f44 100644 --- a/src/regionModels/surfaceFilmModels/submodels/kinematic/transferModels/transferModelList/transferModelList.H +++ b/src/regionModels/surfaceFilmModels/submodels/kinematic/transferModels/transferModelList/transferModelList.H @@ -65,11 +65,11 @@ class transferModelList // Private Member Functions - //- Disallow default bitwise copy construct - transferModelList(const transferModelList&); + //- No copy construct + transferModelList(const transferModelList&) = delete; - //- Disallow default bitwise assignment - void operator=(const transferModelList&); + //- No copy assignment + void operator=(const transferModelList&) = delete; public: diff --git a/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/constantRadiation/constantRadiation.H b/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/constantRadiation/constantRadiation.H index 759f57af30af2ed05653cf29c15ffc70768764e4..cbcfa4783c9dfa9037e7b5c05f0d69cfc513f355 100644 --- a/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/constantRadiation/constantRadiation.H +++ b/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/constantRadiation/constantRadiation.H @@ -80,11 +80,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - constantRadiation(const constantRadiation&); + //- No copy construct + constantRadiation(const constantRadiation&) = delete; - //- Disallow default bitwise assignment - void operator=(const constantRadiation&); + //- No copy assignment + void operator=(const constantRadiation&) = delete; public: diff --git a/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/filmRadiationModel/filmRadiationModel.H b/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/filmRadiationModel/filmRadiationModel.H index acaf6b1476ba67681658a304a3e9444836f22fe2..8fc836af23baa781e6b0b09cbcbd5b255079b3c3 100644 --- a/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/filmRadiationModel/filmRadiationModel.H +++ b/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/filmRadiationModel/filmRadiationModel.H @@ -60,11 +60,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - filmRadiationModel(const filmRadiationModel&); + //- No copy construct + filmRadiationModel(const filmRadiationModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const filmRadiationModel&); + //- No copy assignment + void operator=(const filmRadiationModel&) = delete; public: diff --git a/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/noRadiation/noRadiation.H b/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/noRadiation/noRadiation.H index 6fd82b69798a6871590ddaf827548de079079380..d65292f989fb836c0e1618f53e5c13f99975927d 100644 --- a/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/noRadiation/noRadiation.H +++ b/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/noRadiation/noRadiation.H @@ -59,11 +59,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - noRadiation(const noRadiation&); + //- No copy construct + noRadiation(const noRadiation&) = delete; - //- Disallow default bitwise assignment - void operator=(const noRadiation&); + //- No copy assignment + void operator=(const noRadiation&) = delete; public: diff --git a/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/primaryRadiation/primaryRadiation.H b/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/primaryRadiation/primaryRadiation.H index 919ecd2e864bb6388de0c4074cb57b7f3ae8bc67..13a6409051dffd8de0f4d2d43ace18de70ae6711 100644 --- a/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/primaryRadiation/primaryRadiation.H +++ b/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/primaryRadiation/primaryRadiation.H @@ -66,11 +66,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - primaryRadiation(const primaryRadiation&); + //- No copy construct + primaryRadiation(const primaryRadiation&) = delete; - //- Disallow default bitwise assignment - void operator=(const primaryRadiation&); + //- No copy assignment + void operator=(const primaryRadiation&) = delete; public: diff --git a/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/standardRadiation/standardRadiation.C b/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/standardRadiation/standardRadiation.C index c64c2f5abebff9f2066bd0d21863fa191a95713b..eff356e63aa20a5caefb1008854fcd2d065009cf 100644 --- a/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/standardRadiation/standardRadiation.C +++ b/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/standardRadiation/standardRadiation.C @@ -90,12 +90,6 @@ standardRadiation::standardRadiation {} -// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // - -standardRadiation::~standardRadiation() -{} - - // * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * * // void standardRadiation::correct() diff --git a/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/standardRadiation/standardRadiation.H b/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/standardRadiation/standardRadiation.H index 3c6e8a4a1d578ca2a05935519ebae7883df23f62..860b9af1b25714696479179d80fa8b2281247817 100644 --- a/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/standardRadiation/standardRadiation.H +++ b/src/regionModels/surfaceFilmModels/submodels/thermo/filmRadiationModel/standardRadiation/standardRadiation.H @@ -77,11 +77,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - standardRadiation(const standardRadiation&); + //- No copy construct + standardRadiation(const standardRadiation&) = delete; - //- Disallow default bitwise assignment - void operator=(const standardRadiation&); + //- No copy assignment + void operator=(const standardRadiation&) = delete; public: @@ -101,7 +101,7 @@ public: //- Destructor - virtual ~standardRadiation(); + virtual ~standardRadiation() = default; // Member Functions diff --git a/src/regionModels/surfaceFilmModels/submodels/thermo/filmViscosityModel/ArrheniusViscosity/ArrheniusViscosity.H b/src/regionModels/surfaceFilmModels/submodels/thermo/filmViscosityModel/ArrheniusViscosity/ArrheniusViscosity.H index d0f32bf758fd1affa53fa2e26e1d5abacef6d0bf..0eedacbb0a710041469d039e1e52fa267feebd26 100644 --- a/src/regionModels/surfaceFilmModels/submodels/thermo/filmViscosityModel/ArrheniusViscosity/ArrheniusViscosity.H +++ b/src/regionModels/surfaceFilmModels/submodels/thermo/filmViscosityModel/ArrheniusViscosity/ArrheniusViscosity.H @@ -65,11 +65,11 @@ class ArrheniusViscosity { // Private member functions - //- Disallow default bitwise copy construct - ArrheniusViscosity(const ArrheniusViscosity&); + //- No copy construct + ArrheniusViscosity(const ArrheniusViscosity&) = delete; - //- Disallow default bitwise assignment - void operator=(const ArrheniusViscosity&); + //- No copy assignment + void operator=(const ArrheniusViscosity&) = delete; protected: diff --git a/src/regionModels/surfaceFilmModels/submodels/thermo/filmViscosityModel/constantViscosity/constantViscosity.H b/src/regionModels/surfaceFilmModels/submodels/thermo/filmViscosityModel/constantViscosity/constantViscosity.H index c517030bf2007a350d472931073f27d7dfc6b287..2c1109e6b8200db97a5e3521aa04b8ab4555f43c 100644 --- a/src/regionModels/surfaceFilmModels/submodels/thermo/filmViscosityModel/constantViscosity/constantViscosity.H +++ b/src/regionModels/surfaceFilmModels/submodels/thermo/filmViscosityModel/constantViscosity/constantViscosity.H @@ -56,11 +56,11 @@ class constantViscosity { // Private member functions - //- Disallow default bitwise copy construct - constantViscosity(const constantViscosity&); + //- No copy construct + constantViscosity(const constantViscosity&) = delete; - //- Disallow default bitwise assignment - void operator=(const constantViscosity&); + //- No copy assignment + void operator=(const constantViscosity&) = delete; protected: diff --git a/src/regionModels/surfaceFilmModels/submodels/thermo/filmViscosityModel/filmViscosityModel/filmViscosityModel.H b/src/regionModels/surfaceFilmModels/submodels/thermo/filmViscosityModel/filmViscosityModel/filmViscosityModel.H index 3826f1d98281989fac90b621739ec83fbc09d83a..c9b0e3c94c4973dbaafd6cbb0275becdc6aa6db0 100644 --- a/src/regionModels/surfaceFilmModels/submodels/thermo/filmViscosityModel/filmViscosityModel/filmViscosityModel.H +++ b/src/regionModels/surfaceFilmModels/submodels/thermo/filmViscosityModel/filmViscosityModel/filmViscosityModel.H @@ -61,11 +61,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - filmViscosityModel(const filmViscosityModel&); + //- No copy construct + filmViscosityModel(const filmViscosityModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const filmViscosityModel&); + //- No copy assignment + void operator=(const filmViscosityModel&) = delete; protected: diff --git a/src/regionModels/surfaceFilmModels/submodels/thermo/filmViscosityModel/function1Viscosity/function1Viscosity.H b/src/regionModels/surfaceFilmModels/submodels/thermo/filmViscosityModel/function1Viscosity/function1Viscosity.H index 7584d2a5f4ca34730f72420ed4985c79cfe9b826..239b4b41c2c77318c8d655da91488af5af8c4467 100644 --- a/src/regionModels/surfaceFilmModels/submodels/thermo/filmViscosityModel/function1Viscosity/function1Viscosity.H +++ b/src/regionModels/surfaceFilmModels/submodels/thermo/filmViscosityModel/function1Viscosity/function1Viscosity.H @@ -58,11 +58,11 @@ class function1Viscosity { // Private member functions - //- Disallow default bitwise copy construct - function1Viscosity(const function1Viscosity&); + //- No copy construct + function1Viscosity(const function1Viscosity&) = delete; - //- Disallow default bitwise assignment - void operator=(const function1Viscosity&); + //- No copy assignment + void operator=(const function1Viscosity&) = delete; protected: diff --git a/src/regionModels/surfaceFilmModels/submodels/thermo/filmViscosityModel/liquidViscosity/liquidViscosity.H b/src/regionModels/surfaceFilmModels/submodels/thermo/filmViscosityModel/liquidViscosity/liquidViscosity.H index f89be106fd53e79fded2d02cedd49c2c37722e12..e5132f2f708b1c381cf4821f2bdab4f2f5fcfdb4 100644 --- a/src/regionModels/surfaceFilmModels/submodels/thermo/filmViscosityModel/liquidViscosity/liquidViscosity.H +++ b/src/regionModels/surfaceFilmModels/submodels/thermo/filmViscosityModel/liquidViscosity/liquidViscosity.H @@ -58,11 +58,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - liquidViscosity(const liquidViscosity&); + //- No copy construct + liquidViscosity(const liquidViscosity&) = delete; - //- Disallow default bitwise assignment - void operator=(const liquidViscosity&); + //- No copy assignment + void operator=(const liquidViscosity&) = delete; protected: diff --git a/src/regionModels/surfaceFilmModels/submodels/thermo/filmViscosityModel/thixotropicViscosity/thixotropicViscosity.H b/src/regionModels/surfaceFilmModels/submodels/thermo/filmViscosityModel/thixotropicViscosity/thixotropicViscosity.H index 6dbf50ba666ba647bdcf09e102beee457d429c48..e9b0e25fcc2e396829778202978cc4ff7b8e538d 100644 --- a/src/regionModels/surfaceFilmModels/submodels/thermo/filmViscosityModel/thixotropicViscosity/thixotropicViscosity.H +++ b/src/regionModels/surfaceFilmModels/submodels/thermo/filmViscosityModel/thixotropicViscosity/thixotropicViscosity.H @@ -91,11 +91,11 @@ class thixotropicViscosity { // Private member functions - //- Disallow default bitwise copy construct - thixotropicViscosity(const thixotropicViscosity&); + //- No copy construct + thixotropicViscosity(const thixotropicViscosity&) = delete; - //- Disallow default bitwise assignment - void operator=(const thixotropicViscosity&); + //- No copy assignment + void operator=(const thixotropicViscosity&) = delete; protected: diff --git a/src/regionModels/surfaceFilmModels/submodels/thermo/heatTransferModel/constantHeatTransfer/constantHeatTransfer.H b/src/regionModels/surfaceFilmModels/submodels/thermo/heatTransferModel/constantHeatTransfer/constantHeatTransfer.H index 5603e5ddd35e55b59dd4782c16bef99fc5941595..7fda3a5f2585474d2507e48abf54804f5b7a1e97 100644 --- a/src/regionModels/surfaceFilmModels/submodels/thermo/heatTransferModel/constantHeatTransfer/constantHeatTransfer.H +++ b/src/regionModels/surfaceFilmModels/submodels/thermo/heatTransferModel/constantHeatTransfer/constantHeatTransfer.H @@ -65,11 +65,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - constantHeatTransfer(const constantHeatTransfer&); + //- No copy construct + constantHeatTransfer(const constantHeatTransfer&) = delete; - //- Disallow default bitwise assignment - void operator=(const constantHeatTransfer&); + //- No copy assignment + void operator=(const constantHeatTransfer&) = delete; public: diff --git a/src/regionModels/surfaceFilmModels/submodels/thermo/heatTransferModel/heatTransferModel/heatTransferModel.H b/src/regionModels/surfaceFilmModels/submodels/thermo/heatTransferModel/heatTransferModel/heatTransferModel.H index 3b9e9118635a4ea48835d1d16ffc8b26b533331e..f31ea31fcc3b6f5dcf3b9582b743cc4ed6a539c0 100644 --- a/src/regionModels/surfaceFilmModels/submodels/thermo/heatTransferModel/heatTransferModel/heatTransferModel.H +++ b/src/regionModels/surfaceFilmModels/submodels/thermo/heatTransferModel/heatTransferModel/heatTransferModel.H @@ -60,11 +60,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - heatTransferModel(const heatTransferModel&); + //- No copy construct + heatTransferModel(const heatTransferModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const heatTransferModel&); + //- No copy assignment + void operator=(const heatTransferModel&) = delete; public: diff --git a/src/regionModels/surfaceFilmModels/submodels/thermo/heatTransferModel/mappedConvectiveHeatTransfer/mappedConvectiveHeatTransfer.H b/src/regionModels/surfaceFilmModels/submodels/thermo/heatTransferModel/mappedConvectiveHeatTransfer/mappedConvectiveHeatTransfer.H index 26d66f42b33a39b657c158dfb74f118e5c173188..c91b39187a1e92b849bb188752413bb6f943f5b5 100644 --- a/src/regionModels/surfaceFilmModels/submodels/thermo/heatTransferModel/mappedConvectiveHeatTransfer/mappedConvectiveHeatTransfer.H +++ b/src/regionModels/surfaceFilmModels/submodels/thermo/heatTransferModel/mappedConvectiveHeatTransfer/mappedConvectiveHeatTransfer.H @@ -71,11 +71,14 @@ private: // Private member functions - //- Disallow default bitwise copy construct - mappedConvectiveHeatTransfer(const mappedConvectiveHeatTransfer&); + //- No copy construct + mappedConvectiveHeatTransfer + ( + const mappedConvectiveHeatTransfer& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const mappedConvectiveHeatTransfer&); + //- No copy assignment + void operator=(const mappedConvectiveHeatTransfer&) = delete; public: diff --git a/src/regionModels/surfaceFilmModels/submodels/thermo/phaseChangeModel/noPhaseChange/noPhaseChange.H b/src/regionModels/surfaceFilmModels/submodels/thermo/phaseChangeModel/noPhaseChange/noPhaseChange.H index bca13b63c1971e0fb250d0a0bb8929c2e1794abd..ee089d509a99a6dbb4e5bf90bef325f079b16c0f 100644 --- a/src/regionModels/surfaceFilmModels/submodels/thermo/phaseChangeModel/noPhaseChange/noPhaseChange.H +++ b/src/regionModels/surfaceFilmModels/submodels/thermo/phaseChangeModel/noPhaseChange/noPhaseChange.H @@ -58,11 +58,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - noPhaseChange(const noPhaseChange&); + //- No copy construct + noPhaseChange(const noPhaseChange&) = delete; - //- Disallow default bitwise assignment - void operator=(const noPhaseChange&); + //- No copy assignment + void operator=(const noPhaseChange&) = delete; public: diff --git a/src/regionModels/surfaceFilmModels/submodels/thermo/phaseChangeModel/phaseChangeModel/phaseChangeModel.H b/src/regionModels/surfaceFilmModels/submodels/thermo/phaseChangeModel/phaseChangeModel/phaseChangeModel.H index d544259159eccb65c1269d34ac29308212be45a7..375bf5dc7fa050c260fce5a07af9a5d1aa26118e 100644 --- a/src/regionModels/surfaceFilmModels/submodels/thermo/phaseChangeModel/phaseChangeModel/phaseChangeModel.H +++ b/src/regionModels/surfaceFilmModels/submodels/thermo/phaseChangeModel/phaseChangeModel/phaseChangeModel.H @@ -61,11 +61,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - phaseChangeModel(const phaseChangeModel&); + //- No copy construct + phaseChangeModel(const phaseChangeModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const phaseChangeModel&); + //- No copy assignment + void operator=(const phaseChangeModel&) = delete; protected: diff --git a/src/regionModels/surfaceFilmModels/submodels/thermo/phaseChangeModel/solidification/solidification.H b/src/regionModels/surfaceFilmModels/submodels/thermo/phaseChangeModel/solidification/solidification.H index baf115767baab0841e26abb4a40a6a97c79b9b62..eb1ed51c7283b10ebaaf49297c1794feacaa949f 100644 --- a/src/regionModels/surfaceFilmModels/submodels/thermo/phaseChangeModel/solidification/solidification.H +++ b/src/regionModels/surfaceFilmModels/submodels/thermo/phaseChangeModel/solidification/solidification.H @@ -58,11 +58,11 @@ class solidification { // Private member functions - //- Disallow default bitwise copy construct - solidification(const solidification&); + //- No copy construct + solidification(const solidification&) = delete; - //- Disallow default bitwise assignment - void operator=(const solidification&); + //- No copy assignment + void operator=(const solidification&) = delete; protected: diff --git a/src/regionModels/surfaceFilmModels/submodels/thermo/phaseChangeModel/standardPhaseChange/standardPhaseChange.C b/src/regionModels/surfaceFilmModels/submodels/thermo/phaseChangeModel/standardPhaseChange/standardPhaseChange.C index 128b529e11e0710eb6904539a64239d40eaf6f98..4c9a09d1748564e35162d12f073e3e359101df37 100644 --- a/src/regionModels/surfaceFilmModels/submodels/thermo/phaseChangeModel/standardPhaseChange/standardPhaseChange.C +++ b/src/regionModels/surfaceFilmModels/submodels/thermo/phaseChangeModel/standardPhaseChange/standardPhaseChange.C @@ -81,12 +81,6 @@ standardPhaseChange::standardPhaseChange {} -// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // - -standardPhaseChange::~standardPhaseChange() -{} - - // * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * * // void standardPhaseChange::correctModel diff --git a/src/regionModels/surfaceFilmModels/submodels/thermo/phaseChangeModel/standardPhaseChange/standardPhaseChange.H b/src/regionModels/surfaceFilmModels/submodels/thermo/phaseChangeModel/standardPhaseChange/standardPhaseChange.H index 55007cc6c6aa6a8f82e4970c9217cef52ec1b5e6..03b861c04d8eb94a694465f8daa3a486b65ef03d 100644 --- a/src/regionModels/surfaceFilmModels/submodels/thermo/phaseChangeModel/standardPhaseChange/standardPhaseChange.H +++ b/src/regionModels/surfaceFilmModels/submodels/thermo/phaseChangeModel/standardPhaseChange/standardPhaseChange.H @@ -54,17 +54,6 @@ class standardPhaseChange : public phaseChangeModel { -private: - - // Private member functions - - //- Disallow default bitwise copy construct - standardPhaseChange(const standardPhaseChange&); - - //- Disallow default bitwise assignment - void operator=(const standardPhaseChange&); - - protected: // Protected data @@ -85,6 +74,12 @@ protected: //- Return Sherwood number as a function of Reynolds and Schmidt numbers scalar Sh(const scalar Re, const scalar Sc) const; + //- No copy construct + standardPhaseChange(const standardPhaseChange&) = delete; + + //- No copy assignment + void operator=(const standardPhaseChange&) = delete; + public: @@ -103,7 +98,7 @@ public: //- Destructor - virtual ~standardPhaseChange(); + virtual ~standardPhaseChange() = default; // Member Functions diff --git a/src/regionModels/surfaceFilmModels/surfaceFilmModel/surfaceFilmModel.H b/src/regionModels/surfaceFilmModels/surfaceFilmModel/surfaceFilmModel.H index 2e72e8d6b05634e040802a002018371f2c939c54..81255e09e3ac2baca2d19dac8dbad6f8c44d27f4 100644 --- a/src/regionModels/surfaceFilmModels/surfaceFilmModel/surfaceFilmModel.H +++ b/src/regionModels/surfaceFilmModels/surfaceFilmModel/surfaceFilmModel.H @@ -55,11 +55,11 @@ class surfaceFilmModel { // Private Member Functions - //- Disallow default bitwise copy construct - surfaceFilmModel(const surfaceFilmModel&); + //- No copy construct + surfaceFilmModel(const surfaceFilmModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const surfaceFilmModel&); + //- No copy assignment + void operator=(const surfaceFilmModel&) = delete; public: diff --git a/src/regionModels/surfaceFilmModels/surfaceFilmRegionModel/surfaceFilmRegionModel.H b/src/regionModels/surfaceFilmModels/surfaceFilmRegionModel/surfaceFilmRegionModel.H index 526fc3ed8b87929bc9094dad372659ebbb031826..28cc1ba5b19ad95075d0eb83cdc7c121a1fea1ce 100644 --- a/src/regionModels/surfaceFilmModels/surfaceFilmRegionModel/surfaceFilmRegionModel.H +++ b/src/regionModels/surfaceFilmModels/surfaceFilmRegionModel/surfaceFilmRegionModel.H @@ -58,11 +58,11 @@ class surfaceFilmRegionModel { // Private Member Functions - //- Disallow default bitwise copy construct - surfaceFilmRegionModel(const surfaceFilmRegionModel&); + //- No copy construct + surfaceFilmRegionModel(const surfaceFilmRegionModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const surfaceFilmRegionModel&); + //- No copy assignment + void operator=(const surfaceFilmRegionModel&) = delete; protected: diff --git a/src/regionModels/surfaceFilmModels/thermoSingleLayer/thermoSingleLayer.H b/src/regionModels/surfaceFilmModels/thermoSingleLayer/thermoSingleLayer.H index a2059ecc62e1d0683ba91424536f2c1f24304217..39807e9f64efdb67a275075c0ef45c5cac316e01 100644 --- a/src/regionModels/surfaceFilmModels/thermoSingleLayer/thermoSingleLayer.H +++ b/src/regionModels/surfaceFilmModels/thermoSingleLayer/thermoSingleLayer.H @@ -69,11 +69,11 @@ class thermoSingleLayer { // Private member functions - //- Disallow default bitwise copy construct - thermoSingleLayer(const thermoSingleLayer&); + //- No copy construct + thermoSingleLayer(const thermoSingleLayer&) = delete; - //- Disallow default bitwise assignment - void operator=(const thermoSingleLayer&); + //- No copy assignment + void operator=(const thermoSingleLayer&) = delete; //- Return boundary types for sensible enthalpy field wordList hsBoundaryTypes(); diff --git a/src/regionModels/thermalBaffleModels/noThermo/noThermo.H b/src/regionModels/thermalBaffleModels/noThermo/noThermo.H index bf1a4d83387f4044050246dace32082c57849d7a..9b733085c44459e08122873966cd7031e70cf695 100644 --- a/src/regionModels/thermalBaffleModels/noThermo/noThermo.H +++ b/src/regionModels/thermalBaffleModels/noThermo/noThermo.H @@ -59,11 +59,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - noThermo(const noThermo&); + //- No copy construct + noThermo(const noThermo&) = delete; - //- Disallow default bitwise assignment - void operator=(const noThermo&); + //- No copy assignment + void operator=(const noThermo&) = delete; protected: diff --git a/src/regionModels/thermalBaffleModels/thermalBaffle/thermalBaffle.H b/src/regionModels/thermalBaffleModels/thermalBaffle/thermalBaffle.H index 9016284b6052a49e8b25bf5ab7d5ddddc504e3de..7c781dac86ba699ece6a61a920e120436ffed1b0 100644 --- a/src/regionModels/thermalBaffleModels/thermalBaffle/thermalBaffle.H +++ b/src/regionModels/thermalBaffleModels/thermalBaffle/thermalBaffle.H @@ -62,11 +62,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - thermalBaffle(const thermalBaffle&); + //- No copy construct + thermalBaffle(const thermalBaffle&) = delete; - //- Disallow default bitwise assignment - void operator=(const thermalBaffle&); + //- No copy assignment + void operator=(const thermalBaffle&) = delete; //- Initialize thermalBaffle void init(); diff --git a/src/regionModels/thermalBaffleModels/thermalBaffleModel/thermalBaffleModel.H b/src/regionModels/thermalBaffleModels/thermalBaffleModel/thermalBaffleModel.H index 2084de8b021169013125c6b6adaba7f199647e18..975726a3f2a9e2c5063f4de872adeef1ce6e85bf 100644 --- a/src/regionModels/thermalBaffleModels/thermalBaffleModel/thermalBaffleModel.H +++ b/src/regionModels/thermalBaffleModels/thermalBaffleModel/thermalBaffleModel.H @@ -64,11 +64,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - thermalBaffleModel(const thermalBaffleModel&); + //- No copy construct + thermalBaffleModel(const thermalBaffleModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const thermalBaffleModel&); + //- No copy assignment + void operator=(const thermalBaffleModel&) = delete; //- Initialize thermal Baffle void init(); diff --git a/src/renumber/SloanRenumber/SloanRenumber.H b/src/renumber/SloanRenumber/SloanRenumber.H index 528319b8fedebf4acfcf056cdd2a1551094f46dd..3ec304d99d2f8b802aaff446d429074e6e60ff0b 100644 --- a/src/renumber/SloanRenumber/SloanRenumber.H +++ b/src/renumber/SloanRenumber/SloanRenumber.H @@ -58,9 +58,11 @@ class SloanRenumber // Private Member Functions - //- Disallow default bitwise copy construct and assignment - void operator=(const SloanRenumber&); - SloanRenumber(const SloanRenumber&); + //- No copy construct + SloanRenumber(const SloanRenumber&) = delete; + + //- No copy assignment + void operator=(const SloanRenumber&) = delete; public: diff --git a/src/renumber/renumberMethods/CuthillMcKeeRenumber/CuthillMcKeeRenumber.H b/src/renumber/renumberMethods/CuthillMcKeeRenumber/CuthillMcKeeRenumber.H index a48e393365287b221a4df70caa7406ccf91adf76..2285193dd692c73ff14e9deaf04d9e92c9b7a7eb 100644 --- a/src/renumber/renumberMethods/CuthillMcKeeRenumber/CuthillMcKeeRenumber.H +++ b/src/renumber/renumberMethods/CuthillMcKeeRenumber/CuthillMcKeeRenumber.H @@ -56,9 +56,11 @@ class CuthillMcKeeRenumber // Private Member Functions - //- Disallow default bitwise copy construct and assignment - void operator=(const CuthillMcKeeRenumber&); - CuthillMcKeeRenumber(const CuthillMcKeeRenumber&); + //- No copy construct + CuthillMcKeeRenumber(const CuthillMcKeeRenumber&) = delete; + + //- No copy assignment + void operator=(const CuthillMcKeeRenumber&) = delete; public: @@ -74,8 +76,7 @@ public: //- Destructor - virtual ~CuthillMcKeeRenumber() - {} + virtual ~CuthillMcKeeRenumber() = default; // Member Functions diff --git a/src/renumber/renumberMethods/manualRenumber/manualRenumber.H b/src/renumber/renumberMethods/manualRenumber/manualRenumber.H index 7a8e5f1ebedf2f6e0230c15d9ea2972488a591dd..b9cdb2919e58de4b8019c0e2d9e2e3f512c70884 100644 --- a/src/renumber/renumberMethods/manualRenumber/manualRenumber.H +++ b/src/renumber/renumberMethods/manualRenumber/manualRenumber.H @@ -55,10 +55,11 @@ class manualRenumber // Private Member Functions - //- Disallow default bitwise copy construct and assignment - void operator=(const manualRenumber&); - manualRenumber(const manualRenumber&); + //- No copy construct + manualRenumber(const manualRenumber&) = delete; + //- No copy assignment + void operator=(const manualRenumber&) = delete; public: @@ -73,8 +74,7 @@ public: //- Destructor - virtual ~manualRenumber() - {} + virtual ~manualRenumber() = default; // Member Functions diff --git a/src/renumber/renumberMethods/randomRenumber/randomRenumber.H b/src/renumber/renumberMethods/randomRenumber/randomRenumber.H index 571efc28334708a3af80f8d1f3d8a92d8e02163a..4c5bd27a2173d223de6bb0c9f44c9eba4e3e4319 100644 --- a/src/renumber/renumberMethods/randomRenumber/randomRenumber.H +++ b/src/renumber/renumberMethods/randomRenumber/randomRenumber.H @@ -50,9 +50,11 @@ class randomRenumber { // Private Member Functions - //- Disallow default bitwise copy construct and assignment - void operator=(const randomRenumber&); - randomRenumber(const randomRenumber&); + //- No copy construct + randomRenumber(const randomRenumber&) = delete; + + //- No copy assignment + void operator=(const randomRenumber&) = delete; public: @@ -68,8 +70,7 @@ public: //- Destructor - virtual ~randomRenumber() - {} + virtual ~randomRenumber() = default; // Member Functions diff --git a/src/renumber/renumberMethods/renumberMethod/renumberMethod.H b/src/renumber/renumberMethods/renumberMethod/renumberMethod.H index deb11ce1d7d53c997e72ab613151855f08f4e4f7..4978e59e7b1012ed15d4c4de6a028609e9e7a35b 100644 --- a/src/renumber/renumberMethods/renumberMethod/renumberMethod.H +++ b/src/renumber/renumberMethods/renumberMethod/renumberMethod.H @@ -59,9 +59,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct and assignment - renumberMethod(const renumberMethod&); - void operator=(const renumberMethod&); + //- No copy construct + renumberMethod(const renumberMethod&) = delete; + + //- No copy assignment + void operator=(const renumberMethod&) = delete; public: @@ -103,8 +105,7 @@ public: //- Destructor - virtual ~renumberMethod() - {} + virtual ~renumberMethod() = default; // Member Functions diff --git a/src/renumber/renumberMethods/springRenumber/springRenumber.H b/src/renumber/renumberMethods/springRenumber/springRenumber.H index 5e394372572c2a8570a96dd686959e307140e980..bb94ba0a4e48125e495338bbe535c8050d3f06b9 100644 --- a/src/renumber/renumberMethods/springRenumber/springRenumber.H +++ b/src/renumber/renumberMethods/springRenumber/springRenumber.H @@ -71,9 +71,11 @@ class springRenumber // Private Member Functions - //- Disallow default bitwise copy construct and assignment - void operator=(const springRenumber&); - springRenumber(const springRenumber&); + //- No copy construct + springRenumber(const springRenumber&) = delete; + + //- No copy assignment + void operator=(const springRenumber&) = delete; public: @@ -89,8 +91,7 @@ public: //- Destructor - virtual ~springRenumber() - {} + virtual ~springRenumber() = default; // Member Functions diff --git a/src/renumber/renumberMethods/structuredRenumber/structuredRenumber.H b/src/renumber/renumberMethods/structuredRenumber/structuredRenumber.H index 3f65eb2eab198e140353a9e6ccf8478b16acdb47..65ad63fe198179f779d877ba266db6270fac1a2b 100644 --- a/src/renumber/renumberMethods/structuredRenumber/structuredRenumber.H +++ b/src/renumber/renumberMethods/structuredRenumber/structuredRenumber.H @@ -102,10 +102,12 @@ public: // Private Member Functions - //- Disallow default bitwise copy construct and assignment - void operator=(const structuredRenumber&) = delete; + //- No copy construct structuredRenumber(const structuredRenumber&) = delete; + //- No copy assignment + void operator=(const structuredRenumber&) = delete; + public: diff --git a/src/renumber/zoltanRenumber/zoltanRenumber.H b/src/renumber/zoltanRenumber/zoltanRenumber.H index 4baffafe72bdbbb04806023ee33cdb539413ca1a..7c35dfc8913f04428d24bd63e4323f5404968335 100644 --- a/src/renumber/zoltanRenumber/zoltanRenumber.H +++ b/src/renumber/zoltanRenumber/zoltanRenumber.H @@ -56,9 +56,11 @@ class zoltanRenumber // Private Member Functions - //- Disallow default bitwise copy construct and assignment - void operator=(const zoltanRenumber&); - zoltanRenumber(const zoltanRenumber&); + //- No copy construct + zoltanRenumber(const zoltanRenumber&) = delete; + + //- No copy assignment + void operator=(const zoltanRenumber&) = delete; public: @@ -74,8 +76,7 @@ public: //- Destructor - virtual ~zoltanRenumber() - {} + virtual ~zoltanRenumber() = default; // Member Functions diff --git a/src/rigidBodyDynamics/rigidBodyMotion/rigidBodyMotion.H b/src/rigidBodyDynamics/rigidBodyMotion/rigidBodyMotion.H index d065d9797c21fefba1a657b105030d60b5c7858b..0d5a460c5a9637f12a2c4efe828dc9c71d6fcd5d 100644 --- a/src/rigidBodyDynamics/rigidBodyMotion/rigidBodyMotion.H +++ b/src/rigidBodyDynamics/rigidBodyMotion/rigidBodyMotion.H @@ -100,11 +100,11 @@ class rigidBodyMotion //- Initialize the body-state void initialize(); - //- Disallow copy construct - rigidBodyMotion(const rigidBodyMotion&); + //- No copy construct + rigidBodyMotion(const rigidBodyMotion&) = delete; - //- Disallow default bitwise assignment - void operator=(const rigidBodyMotion&); + //- No copy assignment + void operator=(const rigidBodyMotion&) = delete; public: diff --git a/src/rigidBodyMeshMotion/rigidBodyMeshMotion/rigidBodyMeshMotion.H b/src/rigidBodyMeshMotion/rigidBodyMeshMotion/rigidBodyMeshMotion.H index 99c374b064dddf64f8d7fb43c10fe8e5aa028931..8972db8bffd4c3ee7ffd4a0cc72bb3164e1cea7a 100644 --- a/src/rigidBodyMeshMotion/rigidBodyMeshMotion/rigidBodyMeshMotion.H +++ b/src/rigidBodyMeshMotion/rigidBodyMeshMotion/rigidBodyMeshMotion.H @@ -128,10 +128,10 @@ class rigidBodyMeshMotion // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct rigidBodyMeshMotion(const rigidBodyMeshMotion&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const rigidBodyMeshMotion&) = delete; diff --git a/src/rigidBodyMeshMotion/rigidBodyMeshMotionSolver/rigidBodyMeshMotionSolver.H b/src/rigidBodyMeshMotion/rigidBodyMeshMotionSolver/rigidBodyMeshMotionSolver.H index d7e77c79bb2506101a551b3ba6e7f1b429c4bae7..4e8e16572664682ea97e9e1f3daf2359377f076e 100644 --- a/src/rigidBodyMeshMotion/rigidBodyMeshMotionSolver/rigidBodyMeshMotionSolver.H +++ b/src/rigidBodyMeshMotion/rigidBodyMeshMotionSolver/rigidBodyMeshMotionSolver.H @@ -115,14 +115,14 @@ class rigidBodyMeshMotionSolver // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct rigidBodyMeshMotionSolver ( const rigidBodyMeshMotionSolver& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const rigidBodyMeshMotionSolver&); + //- No copy assignment + void operator=(const rigidBodyMeshMotionSolver&) = delete; public: diff --git a/src/sampling/meshToMesh/calcMethod/cellVolumeWeight/cellVolumeWeightMethod.H b/src/sampling/meshToMesh/calcMethod/cellVolumeWeight/cellVolumeWeightMethod.H index 1576dcdb3b08649f8c3d23eaae96daf777be69c7..132d317fa219c3e7279c072523cacbf407635fba 100644 --- a/src/sampling/meshToMesh/calcMethod/cellVolumeWeight/cellVolumeWeightMethod.H +++ b/src/sampling/meshToMesh/calcMethod/cellVolumeWeight/cellVolumeWeightMethod.H @@ -98,11 +98,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - cellVolumeWeightMethod(const cellVolumeWeightMethod&); + //- No copy construct + cellVolumeWeightMethod(const cellVolumeWeightMethod&) = delete; - //- Disallow default bitwise assignment - void operator=(const cellVolumeWeightMethod&); + //- No copy assignment + void operator=(const cellVolumeWeightMethod&) = delete; public: diff --git a/src/sampling/meshToMesh/calcMethod/correctedCellVolumeWeight/correctedCellVolumeWeightMethod.H b/src/sampling/meshToMesh/calcMethod/correctedCellVolumeWeight/correctedCellVolumeWeightMethod.H index 7c38c4dee3b18813981a176a1a44cae11cea96c0..ef316a75ff8c44b4f5caa5b8ee985ce663a91b79 100644 --- a/src/sampling/meshToMesh/calcMethod/correctedCellVolumeWeight/correctedCellVolumeWeightMethod.H +++ b/src/sampling/meshToMesh/calcMethod/correctedCellVolumeWeight/correctedCellVolumeWeightMethod.H @@ -72,11 +72,14 @@ protected: label& startSeedI ); - //- Disallow default bitwise copy construct - correctedCellVolumeWeightMethod(const correctedCellVolumeWeightMethod&); + //- No copy construct + correctedCellVolumeWeightMethod + ( + const correctedCellVolumeWeightMethod& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const correctedCellVolumeWeightMethod&); + //- No copy assignment + void operator=(const correctedCellVolumeWeightMethod&) = delete; public: diff --git a/src/sampling/meshToMesh/calcMethod/direct/directMethod.H b/src/sampling/meshToMesh/calcMethod/direct/directMethod.H index fcb9615145210941c34aafd42d413fef7ef6b96f..e5081668e079eb7ddce56f4b40af1517366288fd 100644 --- a/src/sampling/meshToMesh/calcMethod/direct/directMethod.H +++ b/src/sampling/meshToMesh/calcMethod/direct/directMethod.H @@ -103,11 +103,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - directMethod(const directMethod&); + //- No copy construct + directMethod(const directMethod&) = delete; - //- Disallow default bitwise assignment - void operator=(const directMethod&); + //- No copy assignment + void operator=(const directMethod&) = delete; public: diff --git a/src/sampling/meshToMesh/calcMethod/mapNearest/mapNearestMethod.H b/src/sampling/meshToMesh/calcMethod/mapNearest/mapNearestMethod.H index 87877c474715050489bab2b9b9fc32d5303e8967..278a156a1cae79c4102c660f49980c36f555d9f8 100644 --- a/src/sampling/meshToMesh/calcMethod/mapNearest/mapNearestMethod.H +++ b/src/sampling/meshToMesh/calcMethod/mapNearest/mapNearestMethod.H @@ -111,11 +111,11 @@ protected: const List<DynamicList<label>>& tgtToSrc ) const; - //- Disallow default bitwise copy construct - mapNearestMethod(const mapNearestMethod&); + //- No copy construct + mapNearestMethod(const mapNearestMethod&) = delete; - //- Disallow default bitwise assignment - void operator=(const mapNearestMethod&); + //- No copy assignment + void operator=(const mapNearestMethod&) = delete; public: diff --git a/src/sampling/meshToMesh/calcMethod/meshToMeshMethod/meshToMeshMethod.H b/src/sampling/meshToMesh/calcMethod/meshToMeshMethod/meshToMeshMethod.H index 244011d423b9e4f766086f7d48537eaa163318c7..6bbb84fad98d8e0a7d952aeef8474af2b45a1d4c 100644 --- a/src/sampling/meshToMesh/calcMethod/meshToMeshMethod/meshToMeshMethod.H +++ b/src/sampling/meshToMesh/calcMethod/meshToMeshMethod/meshToMeshMethod.H @@ -114,11 +114,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - meshToMeshMethod(const meshToMeshMethod&); + //- No copy construct + meshToMeshMethod(const meshToMeshMethod&) = delete; - //- Disallow default bitwise assignment - void operator=(const meshToMeshMethod&); + //- No copy assignment + void operator=(const meshToMeshMethod&) = delete; public: diff --git a/src/sampling/meshToMesh/meshToMesh.H b/src/sampling/meshToMesh/meshToMesh.H index ab737f3a9565b1975e07f2f295610894869ac41e..e1567c18a4bf029691473d285c497a4c891b8b7b 100644 --- a/src/sampling/meshToMesh/meshToMesh.H +++ b/src/sampling/meshToMesh/meshToMesh.H @@ -282,11 +282,11 @@ private: ) const; - //- Disallow default bitwise copy construct - meshToMesh(const meshToMesh&); + //- No copy construct + meshToMesh(const meshToMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const meshToMesh&); + //- No copy assignment + void operator=(const meshToMesh&) = delete; public: diff --git a/src/sampling/probes/patchProbes.H b/src/sampling/probes/patchProbes.H index 02ec2b4b2597f01c319821565b6f36310e643f04..9344c99376c59b40a7d4b1fbe59c352939117818 100644 --- a/src/sampling/probes/patchProbes.H +++ b/src/sampling/probes/patchProbes.H @@ -147,11 +147,11 @@ protected: private: - //- Disallow default bitwise copy construct - patchProbes(const patchProbes&); + //- No copy construct + patchProbes(const patchProbes&) = delete; - //- Disallow default bitwise assignment - void operator=(const patchProbes&); + //- No copy assignment + void operator=(const patchProbes&) = delete; public: diff --git a/src/sampling/probes/probes.H b/src/sampling/probes/probes.H index 0bfe06abb3b70cd7ac29228e786675d43eb7e55e..bc73ce8f90d0bab72ce0628bcda4af78297a9371 100644 --- a/src/sampling/probes/probes.H +++ b/src/sampling/probes/probes.H @@ -227,10 +227,10 @@ private: template<class Type> void sampleAndWriteSurfaceFields(const fieldGroup<Type>&); - //- Disallow default bitwise copy construct + //- No copy construct probes(const probes&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const probes&) = delete; diff --git a/src/sampling/sampledSet/sampledSets/sampledSets.H b/src/sampling/sampledSet/sampledSets/sampledSets.H index 9769ee3d6a65efd76f67d2777d3c81ef68d8c576..9ae1bd01f29c28c1f6f158b6e6721a6156e8e9a4 100644 --- a/src/sampling/sampledSet/sampledSets/sampledSets.H +++ b/src/sampling/sampledSet/sampledSets/sampledSets.H @@ -240,8 +240,10 @@ class sampledSets void sampleAndWrite(fieldGroup<Type>& fields); - //- Disallow default bitwise copy construct and assignment + //- No copy construct sampledSets(const sampledSets&) = delete; + + //- No copy assignment void operator=(const sampledSets&) = delete; diff --git a/src/sixDoFRigidBodyMotion/sixDoFRigidBodyMotionSolver/sixDoFRigidBodyMotionSolver.H b/src/sixDoFRigidBodyMotion/sixDoFRigidBodyMotionSolver/sixDoFRigidBodyMotionSolver.H index 9a8103976c5aafa8b868ddd9a5bf8dcf4ab0b1ec..040ce0077c08f07d3f7485b14ed3bb2550430ee4 100644 --- a/src/sixDoFRigidBodyMotion/sixDoFRigidBodyMotionSolver/sixDoFRigidBodyMotionSolver.H +++ b/src/sixDoFRigidBodyMotion/sixDoFRigidBodyMotionSolver/sixDoFRigidBodyMotionSolver.H @@ -94,14 +94,14 @@ class sixDoFRigidBodyMotionSolver // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct sixDoFRigidBodyMotionSolver ( const sixDoFRigidBodyMotionSolver& - ); + ) = delete; - //- Disallow default bitwise assignment - void operator=(const sixDoFRigidBodyMotionSolver&); + //- No copy assignment + void operator=(const sixDoFRigidBodyMotionSolver&) = delete; public: diff --git a/src/sixDoFRigidBodyState/sixDoFRigidBodyState.H b/src/sixDoFRigidBodyState/sixDoFRigidBodyState.H index c260dbb4d04d3e3519bed09e8c27c55317cb2e94..e33161d3be13366a3b8d2511322a2cd327ac410d 100644 --- a/src/sixDoFRigidBodyState/sixDoFRigidBodyState.H +++ b/src/sixDoFRigidBodyState/sixDoFRigidBodyState.H @@ -96,11 +96,11 @@ class sixDoFRigidBodyState // Private Member Functions - //- Disallow default bitwise copy construct - sixDoFRigidBodyState(const sixDoFRigidBodyState&); + //- No copy construct + sixDoFRigidBodyState(const sixDoFRigidBodyState&) = delete; - //- Disallow default bitwise assignment - void operator=(const sixDoFRigidBodyState&); + //- No copy assignment + void operator=(const sixDoFRigidBodyState&) = delete; protected: diff --git a/src/surfMesh/mergedSurf/mergedSurf.H b/src/surfMesh/mergedSurf/mergedSurf.H index b4d63a0ba9bb6b4e9fe1031788818b9c578092da..fea99158a2def90cc592294efecbca5ffc1e579d 100644 --- a/src/surfMesh/mergedSurf/mergedSurf.H +++ b/src/surfMesh/mergedSurf/mergedSurf.H @@ -55,7 +55,7 @@ class mergedSurf labelList zones_; labelList pointsMap_; - //- Disallow default bitwise copy construct + //- No copy construct mergedSurf(const mergedSurf&) = delete; // Assignment is needed for lists diff --git a/src/surfMesh/meshedSurf/meshedSurfRef.H b/src/surfMesh/meshedSurf/meshedSurfRef.H index a0a15b8df05953eb096b77643fa8f04712be97e7..cd60394e19d7a378612e7acd609ff53a7da087b4 100644 --- a/src/surfMesh/meshedSurf/meshedSurfRef.H +++ b/src/surfMesh/meshedSurf/meshedSurfRef.H @@ -57,7 +57,7 @@ class meshedSurfRef //- No copy construct meshedSurfRef(const meshedSurfRef&) = delete; - //- No copy construct assignment + //- No copy assignment void operator=(const meshedSurfRef&) = delete; public: diff --git a/src/surfMesh/surfaceFormats/ac3d/AC3DsurfaceFormat.H b/src/surfMesh/surfaceFormats/ac3d/AC3DsurfaceFormat.H index 1617d8c3de07999775a372bfa80861c343bd0d27..85b932e4eab61132792acae547d27a864b5074f7 100644 --- a/src/surfMesh/surfaceFormats/ac3d/AC3DsurfaceFormat.H +++ b/src/surfMesh/surfaceFormats/ac3d/AC3DsurfaceFormat.H @@ -66,10 +66,10 @@ class AC3DsurfaceFormat { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct AC3DsurfaceFormat(const AC3DsurfaceFormat<Face>&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const AC3DsurfaceFormat<Face>&) = delete; diff --git a/src/surfMesh/surfaceFormats/fire/FLMAsurfaceFormat.H b/src/surfMesh/surfaceFormats/fire/FLMAsurfaceFormat.H index d4acfc6b7f8935b73c064b8fc7b938e8f61a2f0c..4d3de24f58358e82bd97d9d59408b63b8b1c9b86 100644 --- a/src/surfMesh/surfaceFormats/fire/FLMAsurfaceFormat.H +++ b/src/surfMesh/surfaceFormats/fire/FLMAsurfaceFormat.H @@ -61,10 +61,10 @@ class FLMAsurfaceFormat static inline void writeShell(OSstream& os, const Face& f); static inline void writeType(OSstream& os, const Face& f); - //- Disallow default bitwise copy construct + //- No copy construct FLMAsurfaceFormat(const FLMAsurfaceFormat<Face>&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const FLMAsurfaceFormat<Face>&) = delete; @@ -138,10 +138,10 @@ class FLMAZsurfaceFormat { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct FLMAZsurfaceFormat(const FLMAZsurfaceFormat<Face>&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const FLMAZsurfaceFormat<Face>&) = delete; diff --git a/src/surfMesh/surfaceFormats/gts/GTSsurfaceFormat.H b/src/surfMesh/surfaceFormats/gts/GTSsurfaceFormat.H index 6e6b656723c3e123bc8e0b6efb38b5526c82e00b..bb113f625c4a4ce5442bd01f27f3f8e3a53528c4 100644 --- a/src/surfMesh/surfaceFormats/gts/GTSsurfaceFormat.H +++ b/src/surfMesh/surfaceFormats/gts/GTSsurfaceFormat.H @@ -64,10 +64,10 @@ class GTSsurfaceFormat // Triangulating on-the-fly is otherwise too annoying static bool checkIfTriangulated(const UList<Face>& faceLst); - //- Disallow default bitwise copy construct + //- No copy construct GTSsurfaceFormat(const GTSsurfaceFormat<Face>&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const GTSsurfaceFormat<Face>&) = delete; diff --git a/src/surfMesh/surfaceFormats/nas/NASsurfaceFormat.H b/src/surfMesh/surfaceFormats/nas/NASsurfaceFormat.H index 69c9240ed3651c31d3daeef843825d3caf28d150..6220af3a50c2e8b58ffaae00e86936cb16fd6f84 100644 --- a/src/surfMesh/surfaceFormats/nas/NASsurfaceFormat.H +++ b/src/surfMesh/surfaceFormats/nas/NASsurfaceFormat.H @@ -76,10 +76,10 @@ class NASsurfaceFormat label elementId ); - //- Disallow default bitwise copy construct + //- No copy construct NASsurfaceFormat(const NASsurfaceFormat<Face>&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const NASsurfaceFormat<Face>&) = delete; diff --git a/src/surfMesh/surfaceFormats/obj/OBJsurfaceFormat.H b/src/surfMesh/surfaceFormats/obj/OBJsurfaceFormat.H index 61529c4fdd065247f57d219bbe83653f0e710d08..65f4ef2885127a395537894fe1df642c89d23135 100644 --- a/src/surfMesh/surfaceFormats/obj/OBJsurfaceFormat.H +++ b/src/surfMesh/surfaceFormats/obj/OBJsurfaceFormat.H @@ -59,10 +59,10 @@ class OBJsurfaceFormat { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct OBJsurfaceFormat(const OBJsurfaceFormat<Face>&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const OBJsurfaceFormat<Face>&) = delete; diff --git a/src/surfMesh/surfaceFormats/off/OFFsurfaceFormat.H b/src/surfMesh/surfaceFormats/off/OFFsurfaceFormat.H index bfff7e1b15d588d631e00979ff617c0475049019..1eab499a6c3c758a94c682a2b96df545ea7cc53f 100644 --- a/src/surfMesh/surfaceFormats/off/OFFsurfaceFormat.H +++ b/src/surfMesh/surfaceFormats/off/OFFsurfaceFormat.H @@ -66,10 +66,10 @@ class OFFsurfaceFormat { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct OFFsurfaceFormat(const OFFsurfaceFormat&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const OFFsurfaceFormat&) = delete; diff --git a/src/surfMesh/surfaceFormats/smesh/SMESHsurfaceFormat.H b/src/surfMesh/surfaceFormats/smesh/SMESHsurfaceFormat.H index 18b40854b32dc4f42381601a3b86e36395451e9a..9286e25df1d8464ca6794b8ef9180a577322098f 100644 --- a/src/surfMesh/surfaceFormats/smesh/SMESHsurfaceFormat.H +++ b/src/surfMesh/surfaceFormats/smesh/SMESHsurfaceFormat.H @@ -63,10 +63,10 @@ class SMESHsurfaceFormat { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct SMESHsurfaceFormat(const SMESHsurfaceFormat<Face>&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const SMESHsurfaceFormat<Face>&) = delete; diff --git a/src/surfMesh/surfaceFormats/starcd/STARCDsurfaceFormat.H b/src/surfMesh/surfaceFormats/starcd/STARCDsurfaceFormat.H index c8a1f99543ac41f8a1fbb308253989bea6f73f31..e54db0cb35deaf5758dca034837b9d2049aedc9a 100644 --- a/src/surfMesh/surfaceFormats/starcd/STARCDsurfaceFormat.H +++ b/src/surfMesh/surfaceFormats/starcd/STARCDsurfaceFormat.H @@ -73,10 +73,10 @@ class STARCDsurfaceFormat const label cellTableId ); - //- Disallow default bitwise copy construct + //- No copy construct STARCDsurfaceFormat(const STARCDsurfaceFormat<Face>&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const STARCDsurfaceFormat<Face>&) = delete; diff --git a/src/surfMesh/surfaceFormats/tri/TRIReader.H b/src/surfMesh/surfaceFormats/tri/TRIReader.H index 00c117f58c78360aa9aad33756df485223c55796..e66e783cb1befa3fbdb2041cfd517f7c94032142 100644 --- a/src/surfMesh/surfaceFormats/tri/TRIReader.H +++ b/src/surfMesh/surfaceFormats/tri/TRIReader.H @@ -78,10 +78,10 @@ class TRIReader bool readFile(const fileName& filename); - //- Disallow default bitwise copy construct + //- No copy construct TRIReader(const TRIReader&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment TRIReader& operator=(const TRIReader&) = delete; diff --git a/src/surfMesh/surfaceFormats/tri/TRIsurfaceFormat.H b/src/surfMesh/surfaceFormats/tri/TRIsurfaceFormat.H index 93159041343374fa37b110c5c041149a377be246..74e4a077333235ca048b2d98c2177719f49b4bd3 100644 --- a/src/surfMesh/surfaceFormats/tri/TRIsurfaceFormat.H +++ b/src/surfMesh/surfaceFormats/tri/TRIsurfaceFormat.H @@ -69,10 +69,10 @@ class TRIsurfaceFormat const label zoneI ); - //- Disallow default bitwise copy construct + //- No copy construct TRIsurfaceFormat(const TRIsurfaceFormat<Face>&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const TRIsurfaceFormat<Face>&) = delete; diff --git a/src/surfMesh/surfaceFormats/vtk/VTKsurfaceFormat.H b/src/surfMesh/surfaceFormats/vtk/VTKsurfaceFormat.H index 932a40a3f1d058f7b2f62aa674df40b8ffa37097..5463ca4eee44206963c103d12d2c963d7f651333 100644 --- a/src/surfMesh/surfaceFormats/vtk/VTKsurfaceFormat.H +++ b/src/surfMesh/surfaceFormats/vtk/VTKsurfaceFormat.H @@ -69,10 +69,10 @@ class VTKsurfaceFormat ); - //- Disallow default bitwise copy construct + //- No copy construct VTKsurfaceFormat(const VTKsurfaceFormat<Face>&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const VTKsurfaceFormat<Face>&) = delete; diff --git a/src/surfMesh/surfaceFormats/vtp/VTPsurfaceFormat.H b/src/surfMesh/surfaceFormats/vtp/VTPsurfaceFormat.H index de8fbe4cc005e2611312f71644c948d05851f9e5..259f2fffc0d6d1f82df6163fdab7e7d6012d913c 100644 --- a/src/surfMesh/surfaceFormats/vtp/VTPsurfaceFormat.H +++ b/src/surfMesh/surfaceFormats/vtp/VTPsurfaceFormat.H @@ -69,10 +69,10 @@ class VTPsurfaceFormat ); - //- Disallow default bitwise copy construct + //- No copy construct VTPsurfaceFormat(const VTPsurfaceFormat<Face>&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const VTPsurfaceFormat<Face>&) = delete; diff --git a/src/surfMesh/surfaceFormats/x3d/X3DsurfaceFormat.H b/src/surfMesh/surfaceFormats/x3d/X3DsurfaceFormat.H index 8cb11eec441e9e38bdac34e5334fa83466081849..d03b7fd6e4b0828c22e7a8959b33e0b8f655d70c 100644 --- a/src/surfMesh/surfaceFormats/x3d/X3DsurfaceFormat.H +++ b/src/surfMesh/surfaceFormats/x3d/X3DsurfaceFormat.H @@ -59,10 +59,10 @@ class X3DsurfaceFormat { // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct X3DsurfaceFormat(const X3DsurfaceFormat<Face>&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment void operator=(const X3DsurfaceFormat<Face>&) = delete; public: diff --git a/src/surfMesh/surfaceRegistry/surfaceRegistry.H b/src/surfMesh/surfaceRegistry/surfaceRegistry.H index f412f1d03cfff1514ae62820955170c3f37e0927..a2566ccba0d04a692c158ceb829b9d729b23b12e 100644 --- a/src/surfMesh/surfaceRegistry/surfaceRegistry.H +++ b/src/surfMesh/surfaceRegistry/surfaceRegistry.H @@ -53,10 +53,10 @@ class surfaceRegistry // Private Member Functions - //- Disallow default bitwise copy construct + //- No copy construct surfaceRegistry(const surfaceRegistry&) = delete; - //- Disallow default bitwise assignment + //- No copy assignment surfaceRegistry& operator=(const surfaceRegistry&) = delete; diff --git a/src/thermophysicalModels/barotropicCompressibilityModel/barotropicCompressibilityModel/barotropicCompressibilityModel.H b/src/thermophysicalModels/barotropicCompressibilityModel/barotropicCompressibilityModel/barotropicCompressibilityModel.H index cd83bc84f380cf14656c7abc2c74289268d45500..1082f370e16a371422d2979a7fe0589224da9ec2 100644 --- a/src/thermophysicalModels/barotropicCompressibilityModel/barotropicCompressibilityModel/barotropicCompressibilityModel.H +++ b/src/thermophysicalModels/barotropicCompressibilityModel/barotropicCompressibilityModel/barotropicCompressibilityModel.H @@ -74,11 +74,14 @@ protected: // Private Member Functions - //- Disallow copy construct - barotropicCompressibilityModel(const barotropicCompressibilityModel&); + //- No copy construct + barotropicCompressibilityModel + ( + const barotropicCompressibilityModel& + ) = delete; - //- Disallow default bitwise assignment - void operator=(const barotropicCompressibilityModel&); + //- No copy assignment + void operator=(const barotropicCompressibilityModel&) = delete; public: diff --git a/src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/TDACChemistryModel.H b/src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/TDACChemistryModel.H index ac8c6a6228f8f33691a85f5af1dd098275c60116..aa09391f2efd11e27d2cc3d2a85662b18cf3a156 100644 --- a/src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/TDACChemistryModel.H +++ b/src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/TDACChemistryModel.H @@ -129,11 +129,11 @@ class TDACChemistryModel // Private Member Functions - //- Disallow copy constructor - TDACChemistryModel(const TDACChemistryModel&); + //- No copy construct + TDACChemistryModel(const TDACChemistryModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const TDACChemistryModel&); + //- No copy assignment + void operator=(const TDACChemistryModel&) = delete; //- Solve the reaction system for the given time step // of given type and return the characteristic time diff --git a/src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/tabulation/ISAT/ISAT.H b/src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/tabulation/ISAT/ISAT.H index 83a0ddbad31043931cd5fe95c8ec895b2b604959..8f87e9ca35a001e89cc5cb85e153230aba585f79 100644 --- a/src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/tabulation/ISAT/ISAT.H +++ b/src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/tabulation/ISAT/ISAT.H @@ -118,8 +118,8 @@ class ISAT // Private Member Functions - //- Disallow default bitwise copy construct - ISAT(const ISAT&); + //- No copy construct + ISAT(const ISAT&) = delete; //- Add a chemPoint to the MRU list void addToMRU(chemPointISAT<CompType, ThermoType>* phi0); diff --git a/src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/tabulation/noChemistryTabulation/noChemistryTabulation.H b/src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/tabulation/noChemistryTabulation/noChemistryTabulation.H index 9b780013861d9102a7c07eac3ab132c29013440b..a02cf7fa5b99e97c8f0f4f1147d93d026bda4775 100644 --- a/src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/tabulation/noChemistryTabulation/noChemistryTabulation.H +++ b/src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/tabulation/noChemistryTabulation/noChemistryTabulation.H @@ -51,8 +51,8 @@ class none { // Private Member Functions - //- Disallow default bitwise copy construct - none(const none&); + //- No copy construct + none(const none&) = delete; public: diff --git a/src/thermophysicalModels/chemistryModel/chemistryModel/basicChemistryModel/basicChemistryModel.H b/src/thermophysicalModels/chemistryModel/chemistryModel/basicChemistryModel/basicChemistryModel.H index 4ced57f8ed4d2899b1225d2961dee0a554c0aa6e..eb6bf75739b03f65e2d754712c060fe963a6242c 100644 --- a/src/thermophysicalModels/chemistryModel/chemistryModel/basicChemistryModel/basicChemistryModel.H +++ b/src/thermophysicalModels/chemistryModel/chemistryModel/basicChemistryModel/basicChemistryModel.H @@ -62,8 +62,8 @@ class basicChemistryModel //- Construct as copy (not implemented) basicChemistryModel(const basicChemistryModel&); - //- Disallow default bitwise assignment - void operator=(const basicChemistryModel&); + //- No copy assignment + void operator=(const basicChemistryModel&) = delete; protected: diff --git a/src/thermophysicalModels/chemistryModel/chemistryModel/chemistryModel/chemistryModel.H b/src/thermophysicalModels/chemistryModel/chemistryModel/chemistryModel/chemistryModel.H index a19d7fdcdfec35bd010d669819d5ba737da4bdce..9d05b4c10cd301e5c302fe05206cdb5004e41c9f 100644 --- a/src/thermophysicalModels/chemistryModel/chemistryModel/chemistryModel/chemistryModel.H +++ b/src/thermophysicalModels/chemistryModel/chemistryModel/chemistryModel/chemistryModel.H @@ -68,11 +68,11 @@ class chemistryModel template<class DeltaTType> scalar solve(const DeltaTType& deltaT); - //- Disallow copy constructor - chemistryModel(const chemistryModel&); + //- No copy construct + chemistryModel(const chemistryModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const chemistryModel&); + //- No copy assignment + void operator=(const chemistryModel&) = delete; protected: diff --git a/src/thermophysicalModels/chemistryModel/chemistryModel/psiChemistryModel/psiChemistryModel.H b/src/thermophysicalModels/chemistryModel/chemistryModel/psiChemistryModel/psiChemistryModel.H index 132999f78b28848c23974a4f0f9500083dae3e09..34641ddad8d79d3d48350130bda2ba04c39bc4fc 100644 --- a/src/thermophysicalModels/chemistryModel/chemistryModel/psiChemistryModel/psiChemistryModel.H +++ b/src/thermophysicalModels/chemistryModel/chemistryModel/psiChemistryModel/psiChemistryModel.H @@ -63,8 +63,8 @@ class psiChemistryModel //- Construct as copy (not implemented) psiChemistryModel(const psiChemistryModel&); - //- Disallow default bitwise assignment - void operator=(const psiChemistryModel&); + //- No copy assignment + void operator=(const psiChemistryModel&) = delete; protected: diff --git a/src/thermophysicalModels/chemistryModel/chemistryModel/rhoChemistryModel/rhoChemistryModel.H b/src/thermophysicalModels/chemistryModel/chemistryModel/rhoChemistryModel/rhoChemistryModel.H index 3d160fa024c6fd41e5042a314d7ea62ca6768efa..aafe3e327c054a3c7c557e226ef6908ea423564d 100644 --- a/src/thermophysicalModels/chemistryModel/chemistryModel/rhoChemistryModel/rhoChemistryModel.H +++ b/src/thermophysicalModels/chemistryModel/chemistryModel/rhoChemistryModel/rhoChemistryModel.H @@ -63,8 +63,8 @@ class rhoChemistryModel //- Construct as copy (not implemented) rhoChemistryModel(const rhoChemistryModel&); - //- Disallow default bitwise assignment - void operator=(const rhoChemistryModel&); + //- No copy assignment + void operator=(const rhoChemistryModel&) = delete; protected: diff --git a/src/thermophysicalModels/chemistryModel/functionObjects/specieReactionRates/specieReactionRates.H b/src/thermophysicalModels/chemistryModel/functionObjects/specieReactionRates/specieReactionRates.H index 7b61a0aeefd2a4c93aec9111e60bd74096b8c693..5e89180183f2bb9892ad6ceebee1f2cf7bed8c5f 100644 --- a/src/thermophysicalModels/chemistryModel/functionObjects/specieReactionRates/specieReactionRates.H +++ b/src/thermophysicalModels/chemistryModel/functionObjects/specieReactionRates/specieReactionRates.H @@ -76,11 +76,11 @@ class specieReactionRates //- File header information virtual void writeFileHeader(Ostream& os) const; - //- Disallow default bitwise copy construct - specieReactionRates(const specieReactionRates&); + //- No copy construct + specieReactionRates(const specieReactionRates&) = delete; - //- Disallow default bitwise assignment - void operator=(const specieReactionRates&); + //- No copy assignment + void operator=(const specieReactionRates&) = delete; public: diff --git a/src/thermophysicalModels/radiation/fvOptions/radiation/radiation.H b/src/thermophysicalModels/radiation/fvOptions/radiation/radiation.H index 26be2ff2f0a60377ae38842d4911b607376e11f5..5caccc174c977c0141dc4ad4248eb1fd58da1c80 100644 --- a/src/thermophysicalModels/radiation/fvOptions/radiation/radiation.H +++ b/src/thermophysicalModels/radiation/fvOptions/radiation/radiation.H @@ -71,11 +71,11 @@ class radiation // Private Member Functions - //- Disallow default bitwise copy construct - radiation(const radiation&); + //- No copy construct + radiation(const radiation&) = delete; - //- Disallow default bitwise assignment - void operator=(const radiation&); + //- No copy assignment + void operator=(const radiation&) = delete; public: diff --git a/src/thermophysicalModels/radiation/radiationModels/P1/P1.H b/src/thermophysicalModels/radiation/radiationModels/P1/P1.H index 6532f8223c447088dda81fef85e040baef59997a..cb07f44255dfd5df98d593d87489454f105110b0 100644 --- a/src/thermophysicalModels/radiation/radiationModels/P1/P1.H +++ b/src/thermophysicalModels/radiation/radiationModels/P1/P1.H @@ -82,11 +82,11 @@ class P1 // Private Member Functions - //- Disallow default bitwise copy construct - P1(const P1&); + //- No copy construct + P1(const P1&) = delete; - //- Disallow default bitwise assignment - void operator=(const P1&); + //- No copy assignment + void operator=(const P1&) = delete; public: diff --git a/src/thermophysicalModels/radiation/radiationModels/fvDOM/fvDOM/fvDOM.H b/src/thermophysicalModels/radiation/radiationModels/fvDOM/fvDOM/fvDOM.H index 048479b50de390bdacadcf193fa0c25ee08c990b..7642b652ff2b46801b9717d3dc54ec8f83b49480 100644 --- a/src/thermophysicalModels/radiation/radiationModels/fvDOM/fvDOM/fvDOM.H +++ b/src/thermophysicalModels/radiation/radiationModels/fvDOM/fvDOM/fvDOM.H @@ -160,11 +160,11 @@ class fvDOM //- Initialise void initialise(); - //- Disallow default bitwise copy construct - fvDOM(const fvDOM&); + //- No copy construct + fvDOM(const fvDOM&) = delete; - //- Disallow default bitwise assignment - void operator=(const fvDOM&); + //- No copy assignment + void operator=(const fvDOM&) = delete; //- Update black body emission void updateBlackBodyEmission(); diff --git a/src/thermophysicalModels/radiation/radiationModels/fvDOM/radiativeIntensityRay/radiativeIntensityRay.H b/src/thermophysicalModels/radiation/radiationModels/fvDOM/radiativeIntensityRay/radiativeIntensityRay.H index d60d0a7bfe2967bb6c6594d6f6ae36ed8813b320..87cb15782be66765dffa11c217ed331138af90a3 100644 --- a/src/thermophysicalModels/radiation/radiationModels/fvDOM/radiativeIntensityRay/radiativeIntensityRay.H +++ b/src/thermophysicalModels/radiation/radiationModels/fvDOM/radiativeIntensityRay/radiativeIntensityRay.H @@ -118,11 +118,11 @@ private: // Private Member Functions - //- Disallow default bitwise copy construct - radiativeIntensityRay(const radiativeIntensityRay&); + //- No copy construct + radiativeIntensityRay(const radiativeIntensityRay&) = delete; - //- Disallow default bitwise assignment - void operator=(const radiativeIntensityRay&); + //- No copy assignment + void operator=(const radiativeIntensityRay&) = delete; public: diff --git a/src/thermophysicalModels/radiation/radiationModels/noRadiation/noRadiation.H b/src/thermophysicalModels/radiation/radiationModels/noRadiation/noRadiation.H index c3640623b2031e1745f0cdbcb29675519db0783d..c63613eefd00220eb677291cf404061e5190809d 100644 --- a/src/thermophysicalModels/radiation/radiationModels/noRadiation/noRadiation.H +++ b/src/thermophysicalModels/radiation/radiationModels/noRadiation/noRadiation.H @@ -58,11 +58,11 @@ class noRadiation { // Private Member Functions - //- Disallow default bitwise copy construct - noRadiation(const noRadiation&); + //- No copy construct + noRadiation(const noRadiation&) = delete; - //- Disallow default bitwise assignment - void operator=(const noRadiation&); + //- No copy assignment + void operator=(const noRadiation&) = delete; public: diff --git a/src/thermophysicalModels/radiation/radiationModels/opaqueSolid/opaqueSolid.H b/src/thermophysicalModels/radiation/radiationModels/opaqueSolid/opaqueSolid.H index d477df60ce6d0e5590aa17bf9c4bc5d23977322f..36d6509e5f3720db8e491ba3308162c2d02d8b96 100644 --- a/src/thermophysicalModels/radiation/radiationModels/opaqueSolid/opaqueSolid.H +++ b/src/thermophysicalModels/radiation/radiationModels/opaqueSolid/opaqueSolid.H @@ -59,11 +59,11 @@ class opaqueSolid { // Private Member Functions - //- Disallow default bitwise copy construct - opaqueSolid(const opaqueSolid&); + //- No copy construct + opaqueSolid(const opaqueSolid&) = delete; - //- Disallow default bitwise assignment - void operator=(const opaqueSolid&); + //- No copy assignment + void operator=(const opaqueSolid&) = delete; public: diff --git a/src/thermophysicalModels/radiation/radiationModels/radiationModel/radiationModel.H b/src/thermophysicalModels/radiation/radiationModels/radiationModel/radiationModel.H index 6b21a8dbb2ecc5e3dd28b2c22107e33655acd14d..0518aafdbdea02e9b75c7e30d3bf37fc0bd2517f 100644 --- a/src/thermophysicalModels/radiation/radiationModels/radiationModel/radiationModel.H +++ b/src/thermophysicalModels/radiation/radiationModels/radiationModel/radiationModel.H @@ -135,11 +135,11 @@ private: //- Initialise void initialise(); - //- Disallow default bitwise copy construct - radiationModel(const radiationModel&); + //- No copy construct + radiationModel(const radiationModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const radiationModel&); + //- No copy assignment + void operator=(const radiationModel&) = delete; public: diff --git a/src/thermophysicalModels/radiation/radiationModels/solarLoad/faceShading/faceShading.H b/src/thermophysicalModels/radiation/radiationModels/solarLoad/faceShading/faceShading.H index e2b426b24d24a8f9bf6dd5d866b3e766ca3c8ae1..97db3890eb5311822f69e6fad712eeeefb99f379 100644 --- a/src/thermophysicalModels/radiation/radiationModels/solarLoad/faceShading/faceShading.H +++ b/src/thermophysicalModels/radiation/radiationModels/solarLoad/faceShading/faceShading.H @@ -91,11 +91,11 @@ class faceShading const pointField& myFc ); - //- Disallow default bitwise copy construct - faceShading(const faceShading&); + //- No copy construct + faceShading(const faceShading&) = delete; - //- Disallow default bitwise assignment - void operator=(const faceShading&); + //- No copy assignment + void operator=(const faceShading&) = delete; public: diff --git a/src/thermophysicalModels/radiation/radiationModels/solarLoad/solarLoad.H b/src/thermophysicalModels/radiation/radiationModels/solarLoad/solarLoad.H index 815ba6d5ad8601c248e41ddbdfabbb56a8fb5e05..9b646352dec089844cdf490436bd506c3d0bbd57 100644 --- a/src/thermophysicalModels/radiation/radiationModels/solarLoad/solarLoad.H +++ b/src/thermophysicalModels/radiation/radiationModels/solarLoad/solarLoad.H @@ -187,11 +187,11 @@ private: //- Update absorptivity void updateAbsorptivity(const labelHashSet& includePatches); - //- Disallow default bitwise copy construct - solarLoad(const solarLoad&); + //- No copy construct + solarLoad(const solarLoad&) = delete; - //- Disallow default bitwise assignment - void operator=(const solarLoad&); + //- No copy assignment + void operator=(const solarLoad&) = delete; public: diff --git a/src/thermophysicalModels/radiation/radiationModels/viewFactor/viewFactor.H b/src/thermophysicalModels/radiation/radiationModels/viewFactor/viewFactor.H index 92ec802b4593bb297d309887bfb316462e8524df..6c70e4bee82512d87140ff9c28731d81182a2548 100644 --- a/src/thermophysicalModels/radiation/radiationModels/viewFactor/viewFactor.H +++ b/src/thermophysicalModels/radiation/radiationModels/viewFactor/viewFactor.H @@ -140,11 +140,11 @@ protected: scalarSquareMatrix& matrix ); - //- Disallow default bitwise copy construct - viewFactor(const viewFactor&); + //- No copy construct + viewFactor(const viewFactor&) = delete; - //- Disallow default bitwise assignment - void operator=(const viewFactor&); + //- No copy assignment + void operator=(const viewFactor&) = delete; public: diff --git a/src/thermophysicalModels/radiation/submodels/solarCalculator/solarCalculator.H b/src/thermophysicalModels/radiation/submodels/solarCalculator/solarCalculator.H index 719c2c6af62d60368dbfa4a2c2966d84a1804985..3160f4bb904753321f64e6f7693f98ab8def8f3e 100644 --- a/src/thermophysicalModels/radiation/submodels/solarCalculator/solarCalculator.H +++ b/src/thermophysicalModels/radiation/submodels/solarCalculator/solarCalculator.H @@ -194,11 +194,11 @@ private: scalar startTime_; - //- Disallow default bitwise copy construct - solarCalculator(const solarCalculator&); + //- No copy construct + solarCalculator(const solarCalculator&) = delete; - //- Disallow default bitwise assignment - void operator=(const solarCalculator&); + //- No copy assignment + void operator=(const solarCalculator&) = delete; // Private members diff --git a/src/thermophysicalModels/reactionThermo/chemistryReaders/chemistryReader/chemistryReader.H b/src/thermophysicalModels/reactionThermo/chemistryReaders/chemistryReader/chemistryReader.H index 91f786608167bfef42411ce87076269f4a92c9cb..c9a2e1fc6a4d004e660d256524c986a37fc3613b 100644 --- a/src/thermophysicalModels/reactionThermo/chemistryReaders/chemistryReader/chemistryReader.H +++ b/src/thermophysicalModels/reactionThermo/chemistryReaders/chemistryReader/chemistryReader.H @@ -61,11 +61,11 @@ class chemistryReader { // Private Member Functions - //- Disallow default bitwise copy construct - chemistryReader(const chemistryReader&); + //- No copy construct + chemistryReader(const chemistryReader&) = delete; - //- Disallow default bitwise assignment - void operator=(const chemistryReader&); + //- No copy assignment + void operator=(const chemistryReader&) = delete; public: diff --git a/src/thermophysicalModels/reactionThermo/chemistryReaders/chemkinReader/chemkinReader.H b/src/thermophysicalModels/reactionThermo/chemistryReaders/chemkinReader/chemkinReader.H index 73ae7e35f4725733ea090dd8643ee57ba85ab6bd..fc550d30637dc09bced5b59ca1f61bbba132a9a6 100644 --- a/src/thermophysicalModels/reactionThermo/chemistryReaders/chemkinReader/chemkinReader.H +++ b/src/thermophysicalModels/reactionThermo/chemistryReaders/chemkinReader/chemkinReader.H @@ -284,11 +284,11 @@ private: const fileName& transportFileName ); - //- Disallow default bitwise copy construct - chemkinReader(const chemkinReader&); + //- No copy construct + chemkinReader(const chemkinReader&) = delete; - //- Disallow default bitwise assignment - void operator=(const chemkinReader&); + //- No copy assignment + void operator=(const chemkinReader&) = delete; public: diff --git a/src/thermophysicalModels/reactionThermo/chemistryReaders/foamChemistryReader/foamChemistryReader.H b/src/thermophysicalModels/reactionThermo/chemistryReaders/foamChemistryReader/foamChemistryReader.H index 7fcba58a3ed7a08d4f3251fe6e76d631f1a8e218..4caa30ee3e70f1ccce959b38eb664c5bd46ac7db 100644 --- a/src/thermophysicalModels/reactionThermo/chemistryReaders/foamChemistryReader/foamChemistryReader.H +++ b/src/thermophysicalModels/reactionThermo/chemistryReaders/foamChemistryReader/foamChemistryReader.H @@ -93,11 +93,11 @@ class foamChemistryReader //- Read the species composition void readSpeciesComposition(); - //- Disallow default bitwise copy construct - foamChemistryReader(const foamChemistryReader&); + //- No copy construct + foamChemistryReader(const foamChemistryReader&) = delete; - //- Disallow default bitwise assignment - void operator=(const foamChemistryReader&); + //- No copy assignment + void operator=(const foamChemistryReader&) = delete; public: diff --git a/src/thermophysicalModels/reactionThermo/functionObjects/moleFractions/moleFractions.H b/src/thermophysicalModels/reactionThermo/functionObjects/moleFractions/moleFractions.H index d62f7a9bde2dcd8f28f7c01479c2274bd88b468d..d5ed4590f9668f63325128e456e63139ead355ef 100644 --- a/src/thermophysicalModels/reactionThermo/functionObjects/moleFractions/moleFractions.H +++ b/src/thermophysicalModels/reactionThermo/functionObjects/moleFractions/moleFractions.H @@ -90,11 +90,11 @@ class moleFractions //- Calculate the mole fraction fields virtual void calculateMoleFractions(); - //- Disallow default bitwise copy construct - moleFractions(const moleFractions&); + //- No copy construct + moleFractions(const moleFractions&) = delete; - //- Disallow default bitwise assignment - void operator=(const moleFractions&); + //- No copy assignment + void operator=(const moleFractions&) = delete; public: diff --git a/src/thermophysicalModels/reactionThermo/mixtures/reactingMixture/reactingMixture.H b/src/thermophysicalModels/reactionThermo/mixtures/reactingMixture/reactingMixture.H index e455909893ae17cc4ccb2678a5749158b6c2551e..963d7244b398abfe3342a1c196ba2733f929d24a 100644 --- a/src/thermophysicalModels/reactionThermo/mixtures/reactingMixture/reactingMixture.H +++ b/src/thermophysicalModels/reactionThermo/mixtures/reactingMixture/reactingMixture.H @@ -67,11 +67,11 @@ class reactingMixture // Private Member Functions - //- Disallow default bitwise copy construct - reactingMixture(const reactingMixture&); + //- No copy construct + reactingMixture(const reactingMixture&) = delete; - //- Disallow default bitwise assignment - void operator=(const reactingMixture&); + //- No copy assignment + void operator=(const reactingMixture&) = delete; public: diff --git a/src/thermophysicalModels/reactionThermo/mixtures/singleStepReactingMixture/singleStepReactingMixture.H b/src/thermophysicalModels/reactionThermo/mixtures/singleStepReactingMixture/singleStepReactingMixture.H index 10119b24f71439f2b51fb0f615c3a304a66738ed..a4120901454025fa1af0783317b6588f5d9c6276 100644 --- a/src/thermophysicalModels/reactionThermo/mixtures/singleStepReactingMixture/singleStepReactingMixture.H +++ b/src/thermophysicalModels/reactionThermo/mixtures/singleStepReactingMixture/singleStepReactingMixture.H @@ -104,11 +104,11 @@ private: // Private member functions - //- Disallow default bitwise copy construct - singleStepReactingMixture(const singleStepReactingMixture&); + //- No copy construct + singleStepReactingMixture(const singleStepReactingMixture&) = delete; - //- Disallow default bitwise assignment - void operator=(const singleStepReactingMixture&); + //- No copy assignment + void operator=(const singleStepReactingMixture&) = delete; public: diff --git a/src/thermophysicalModels/solidChemistryModel/basicSolidChemistryModel/basicSolidChemistryModel.H b/src/thermophysicalModels/solidChemistryModel/basicSolidChemistryModel/basicSolidChemistryModel.H index d8b2a19e3c4ba7032dc5fbd6e6456b9a0e9e9a1a..a0121bedd112db5c6a4bc2b5078702f7a48ece74 100644 --- a/src/thermophysicalModels/solidChemistryModel/basicSolidChemistryModel/basicSolidChemistryModel.H +++ b/src/thermophysicalModels/solidChemistryModel/basicSolidChemistryModel/basicSolidChemistryModel.H @@ -64,8 +64,8 @@ class basicSolidChemistryModel //- Construct as copy (not implemented) basicSolidChemistryModel(const basicSolidChemistryModel&); - //- Disallow default bitwise assignment - void operator=(const basicSolidChemistryModel&); + //- No copy assignment + void operator=(const basicSolidChemistryModel&) = delete; protected: diff --git a/src/thermophysicalModels/solidChemistryModel/pyrolysisChemistryModel/pyrolysisChemistryModel.H b/src/thermophysicalModels/solidChemistryModel/pyrolysisChemistryModel/pyrolysisChemistryModel.H index 8e1581fd0d888a96f63ce030949ae447e88d6b94..abd49c5bc6165370ecdb63b429fc4a67f7a188cd 100644 --- a/src/thermophysicalModels/solidChemistryModel/pyrolysisChemistryModel/pyrolysisChemistryModel.H +++ b/src/thermophysicalModels/solidChemistryModel/pyrolysisChemistryModel/pyrolysisChemistryModel.H @@ -60,8 +60,8 @@ class pyrolysisChemistryModel { // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const pyrolysisChemistryModel&); + //- No copy assignment + void operator=(const pyrolysisChemistryModel&) = delete; protected: diff --git a/src/thermophysicalModels/solidChemistryModel/solidChemistryModel/solidChemistryModel.H b/src/thermophysicalModels/solidChemistryModel/solidChemistryModel/solidChemistryModel.H index efa71e37be4a9f48d4f5679feb2e6e6f0076bbba..00a8a2ca53b094d48b25f572b3ef2ceccdc23277 100644 --- a/src/thermophysicalModels/solidChemistryModel/solidChemistryModel/solidChemistryModel.H +++ b/src/thermophysicalModels/solidChemistryModel/solidChemistryModel/solidChemistryModel.H @@ -65,11 +65,11 @@ class solidChemistryModel { // Private Member Functions - //- Disallow copy constructor - solidChemistryModel(const solidChemistryModel&); + //- No copy construct + solidChemistryModel(const solidChemistryModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const solidChemistryModel&); + //- No copy assignment + void operator=(const solidChemistryModel&) = delete; protected: diff --git a/src/thermophysicalModels/solidSpecie/reaction/Reactions/solidReaction/solidReaction.H b/src/thermophysicalModels/solidSpecie/reaction/Reactions/solidReaction/solidReaction.H index fb6eab6709a88809447f7be82b503926f1fc8057..f04d722fa09174031de1455bf56229cc5f0646a4 100644 --- a/src/thermophysicalModels/solidSpecie/reaction/Reactions/solidReaction/solidReaction.H +++ b/src/thermophysicalModels/solidSpecie/reaction/Reactions/solidReaction/solidReaction.H @@ -90,8 +90,8 @@ private: //- Return string representation of the right of the reaction void solidReactionStrRight(OStringStream&) const; - //- Disallow default bitwise assignment - void operator=(const solidReaction&); + //- No copy assignment + void operator=(const solidReaction&) = delete; public: diff --git a/src/thermophysicalModels/specie/reaction/Reactions/IrreversibleReaction/IrreversibleReaction.H b/src/thermophysicalModels/specie/reaction/Reactions/IrreversibleReaction/IrreversibleReaction.H index da4c282154f30d05eee00fa7aaeeb92fcfde9b41..e2959f163f98a47e29e3bf82aaf06133070f4cf0 100644 --- a/src/thermophysicalModels/specie/reaction/Reactions/IrreversibleReaction/IrreversibleReaction.H +++ b/src/thermophysicalModels/specie/reaction/Reactions/IrreversibleReaction/IrreversibleReaction.H @@ -67,7 +67,7 @@ class IrreversibleReaction // Private Member Functions - //- Disallow default bitwise assignment + //- No copy assignment void operator= ( const IrreversibleReaction @@ -76,7 +76,7 @@ class IrreversibleReaction ReactionThermo, ReactionRate >& - ); + ) = delete; public: diff --git a/src/thermophysicalModels/specie/reaction/Reactions/NonEquilibriumReversibleReaction/NonEquilibriumReversibleReaction.H b/src/thermophysicalModels/specie/reaction/Reactions/NonEquilibriumReversibleReaction/NonEquilibriumReversibleReaction.H index 47c3a5c1ce2fd87b99554b391800fb04bf6ad19d..a9024bac34a2f142a331e67fcaa260699d8cdf0e 100644 --- a/src/thermophysicalModels/specie/reaction/Reactions/NonEquilibriumReversibleReaction/NonEquilibriumReversibleReaction.H +++ b/src/thermophysicalModels/specie/reaction/Reactions/NonEquilibriumReversibleReaction/NonEquilibriumReversibleReaction.H @@ -68,12 +68,14 @@ class NonEquilibriumReversibleReaction // Private Member Functions - //- Disallow default bitwise assignment + //- No copy assignment void operator= ( const NonEquilibriumReversibleReaction - <ReactionType, ReactionThermo, ReactionRate>& - ); + < + ReactionType, ReactionThermo, ReactionRate + >& + ) = delete; public: diff --git a/src/thermophysicalModels/specie/reaction/Reactions/ReactionList/ReactionList.H b/src/thermophysicalModels/specie/reaction/Reactions/ReactionList/ReactionList.H index 6251fda9e4f328992fdf01a057691382cf235908..9af29ff07cd8a603a07650320612537adee34998 100644 --- a/src/thermophysicalModels/specie/reaction/Reactions/ReactionList/ReactionList.H +++ b/src/thermophysicalModels/specie/reaction/Reactions/ReactionList/ReactionList.H @@ -70,8 +70,8 @@ class ReactionList // Private Member Functions - //- Disallow default bitwise assignment - void operator=(const ReactionList&); + //- No copy assignment + void operator=(const ReactionList&) = delete; public: diff --git a/src/thermophysicalModels/specie/reaction/Reactions/ReversibleReaction/ReversibleReaction.H b/src/thermophysicalModels/specie/reaction/Reactions/ReversibleReaction/ReversibleReaction.H index f2d957bf85472a711845daf560737ccfe02f5f53..ab70a861502420bdfbae94bd2357fdf7fcc7bfb8 100644 --- a/src/thermophysicalModels/specie/reaction/Reactions/ReversibleReaction/ReversibleReaction.H +++ b/src/thermophysicalModels/specie/reaction/Reactions/ReversibleReaction/ReversibleReaction.H @@ -67,7 +67,7 @@ class ReversibleReaction // Private Member Functions - //- Disallow default bitwise assignment + //- No copy assignment void operator= ( const ReversibleReaction @@ -76,7 +76,7 @@ class ReversibleReaction ReactionThermo, ReactionRate >& - ); + ) = delete; public: diff --git a/src/topoChangerFvMesh/dynamicMotionSolverTopoFvMesh/dynamicMotionSolverTopoFvMesh.H b/src/topoChangerFvMesh/dynamicMotionSolverTopoFvMesh/dynamicMotionSolverTopoFvMesh.H index ad1cb71ba7efce75f4c28a17a0bf77615e28833e..e8bc1f1ae59b932c14f4d83537deccb46e74e51a 100644 --- a/src/topoChangerFvMesh/dynamicMotionSolverTopoFvMesh/dynamicMotionSolverTopoFvMesh.H +++ b/src/topoChangerFvMesh/dynamicMotionSolverTopoFvMesh/dynamicMotionSolverTopoFvMesh.H @@ -64,11 +64,14 @@ class dynamicMotionSolverTopoFvMesh // Private Member Functions - //- Disallow default bitwise copy construct - dynamicMotionSolverTopoFvMesh(const dynamicMotionSolverTopoFvMesh&); - - //- Disallow default bitwise assignment - void operator=(const dynamicMotionSolverTopoFvMesh&); + //- No copy construct + dynamicMotionSolverTopoFvMesh + ( + const dynamicMotionSolverTopoFvMesh& + ) = delete; + + //- No copy assignment + void operator=(const dynamicMotionSolverTopoFvMesh&) = delete; public: diff --git a/src/topoChangerFvMesh/linearValveFvMesh/linearValveFvMesh.H b/src/topoChangerFvMesh/linearValveFvMesh/linearValveFvMesh.H index 7fe9ac8f5f2e8754e64c2e8037b440487ba2d5f3..bb3b06850967d79cba7253f86e8a1e5d4ea00a2e 100644 --- a/src/topoChangerFvMesh/linearValveFvMesh/linearValveFvMesh.H +++ b/src/topoChangerFvMesh/linearValveFvMesh/linearValveFvMesh.H @@ -62,11 +62,11 @@ class linearValveFvMesh // Private Member Functions - //- Disallow default bitwise copy construct - linearValveFvMesh(const linearValveFvMesh&); + //- No copy construct + linearValveFvMesh(const linearValveFvMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const linearValveFvMesh&); + //- No copy assignment + void operator=(const linearValveFvMesh&) = delete; //- Add linearValve zones and modifiers diff --git a/src/topoChangerFvMesh/linearValveLayersFvMesh/linearValveLayersFvMesh.H b/src/topoChangerFvMesh/linearValveLayersFvMesh/linearValveLayersFvMesh.H index 5a9dd3d15cb12df005a55aa486303600ab4d6fcc..fc948395227733f86553af622a4761783f280aad 100644 --- a/src/topoChangerFvMesh/linearValveLayersFvMesh/linearValveLayersFvMesh.H +++ b/src/topoChangerFvMesh/linearValveLayersFvMesh/linearValveLayersFvMesh.H @@ -59,11 +59,11 @@ class linearValveLayersFvMesh // Private Member Functions - //- Disallow default bitwise copy construct - linearValveLayersFvMesh(const linearValveLayersFvMesh&); + //- No copy construct + linearValveLayersFvMesh(const linearValveLayersFvMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const linearValveLayersFvMesh&); + //- No copy assignment + void operator=(const linearValveLayersFvMesh&) = delete; //- Add linearValveLayers zones and modifiers diff --git a/src/topoChangerFvMesh/mixerFvMesh/mixerFvMesh.H b/src/topoChangerFvMesh/mixerFvMesh/mixerFvMesh.H index 8f4136f3c0e48071bb004fb423ffe004e42c6f3f..5d4eb0c27097269acb53a7da031df8793385e6e4 100644 --- a/src/topoChangerFvMesh/mixerFvMesh/mixerFvMesh.H +++ b/src/topoChangerFvMesh/mixerFvMesh/mixerFvMesh.H @@ -70,11 +70,11 @@ class mixerFvMesh // Private Member Functions - //- Disallow default bitwise copy construct - mixerFvMesh(const mixerFvMesh&); + //- No copy construct + mixerFvMesh(const mixerFvMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const mixerFvMesh&); + //- No copy assignment + void operator=(const mixerFvMesh&) = delete; //- Add mixer zones and modifiers diff --git a/src/topoChangerFvMesh/movingConeTopoFvMesh/movingConeTopoFvMesh.H b/src/topoChangerFvMesh/movingConeTopoFvMesh/movingConeTopoFvMesh.H index bc366a7032a04560ee293e670d0b5d2933300bf9..5ef48481e02fc0b649296efa3fbbb8f5452ae7de 100644 --- a/src/topoChangerFvMesh/movingConeTopoFvMesh/movingConeTopoFvMesh.H +++ b/src/topoChangerFvMesh/movingConeTopoFvMesh/movingConeTopoFvMesh.H @@ -83,11 +83,11 @@ class movingConeTopoFvMesh // Private Member Functions - //- Disallow default bitwise copy construct - movingConeTopoFvMesh(const movingConeTopoFvMesh&); + //- No copy construct + movingConeTopoFvMesh(const movingConeTopoFvMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const movingConeTopoFvMesh&); + //- No copy assignment + void operator=(const movingConeTopoFvMesh&) = delete; //- Add mixer zones and modifiers diff --git a/src/topoChangerFvMesh/rawTopoChangerFvMesh/rawTopoChangerFvMesh.H b/src/topoChangerFvMesh/rawTopoChangerFvMesh/rawTopoChangerFvMesh.H index 4a81430a7ea5cf03041363b76723c5c9ce367228..204bf0123e977d1eb55c6646442d0fd71a739193 100644 --- a/src/topoChangerFvMesh/rawTopoChangerFvMesh/rawTopoChangerFvMesh.H +++ b/src/topoChangerFvMesh/rawTopoChangerFvMesh/rawTopoChangerFvMesh.H @@ -70,11 +70,11 @@ class rawTopoChangerFvMesh template<class Type, template<class> class PatchField, class GeoMesh> void zeroUnmappedValues(const bitSet& mappedFace) const; - //- Disallow default bitwise copy construct - rawTopoChangerFvMesh(const rawTopoChangerFvMesh&); + //- No copy construct + rawTopoChangerFvMesh(const rawTopoChangerFvMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const rawTopoChangerFvMesh&); + //- No copy assignment + void operator=(const rawTopoChangerFvMesh&) = delete; public: diff --git a/src/topoChangerFvMesh/topoChangerFvMesh/topoChangerFvMesh.H b/src/topoChangerFvMesh/topoChangerFvMesh/topoChangerFvMesh.H index a47348f27cc25f81d726e8c5b3e2f44145fa77e7..059adc84055e7d478993f31eb6258164b185da42 100644 --- a/src/topoChangerFvMesh/topoChangerFvMesh/topoChangerFvMesh.H +++ b/src/topoChangerFvMesh/topoChangerFvMesh/topoChangerFvMesh.H @@ -54,11 +54,11 @@ class topoChangerFvMesh { // Private Member Functions - //- Disallow default bitwise copy construct - topoChangerFvMesh(const topoChangerFvMesh&); + //- No copy construct + topoChangerFvMesh(const topoChangerFvMesh&) = delete; - //- Disallow default bitwise assignment - void operator=(const topoChangerFvMesh&); + //- No copy assignment + void operator=(const topoChangerFvMesh&) = delete; protected: diff --git a/src/transportModels/compressible/compressibleTransportModel/compressibleTransportModel.H b/src/transportModels/compressible/compressibleTransportModel/compressibleTransportModel.H index 6b89ac6978c9b95b832d0332cc025310edd81128..b687e4768f821873d8522ec51f7d324221938446 100644 --- a/src/transportModels/compressible/compressibleTransportModel/compressibleTransportModel.H +++ b/src/transportModels/compressible/compressibleTransportModel/compressibleTransportModel.H @@ -53,11 +53,11 @@ class compressibleTransportModel { // Private Member Functions - //- Disallow copy construct - compressibleTransportModel(const compressibleTransportModel&); + //- No copy construct + compressibleTransportModel(const compressibleTransportModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const compressibleTransportModel&); + //- No copy assignment + void operator=(const compressibleTransportModel&) = delete; public: diff --git a/src/transportModels/incompressible/singlePhaseTransportModel/singlePhaseTransportModel.H b/src/transportModels/incompressible/singlePhaseTransportModel/singlePhaseTransportModel.H index 631108e16e26d587568998ea4e5559bd9b48aadc..3075dc5a2017720ed78be5754e38fc06227c416b 100644 --- a/src/transportModels/incompressible/singlePhaseTransportModel/singlePhaseTransportModel.H +++ b/src/transportModels/incompressible/singlePhaseTransportModel/singlePhaseTransportModel.H @@ -65,11 +65,11 @@ class singlePhaseTransportModel // Private Member Functions - //- Disallow copy construct - singlePhaseTransportModel(const singlePhaseTransportModel&); + //- No copy construct + singlePhaseTransportModel(const singlePhaseTransportModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const singlePhaseTransportModel&); + //- No copy assignment + void operator=(const singlePhaseTransportModel&) = delete; public: diff --git a/src/transportModels/incompressible/transportModel/transportModel.H b/src/transportModels/incompressible/transportModel/transportModel.H index 73d8612d68762aaf86e4cacbf95ac8b758ac322b..0402623c89a09ed108ee32ed516a7aaba8f102cc 100644 --- a/src/transportModels/incompressible/transportModel/transportModel.H +++ b/src/transportModels/incompressible/transportModel/transportModel.H @@ -53,11 +53,11 @@ class transportModel { // Private Member Functions - //- Disallow copy construct - transportModel(const transportModel&); + //- No copy construct + transportModel(const transportModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const transportModel&); + //- No copy assignment + void operator=(const transportModel&) = delete; public: diff --git a/src/transportModels/incompressible/viscosityModels/viscosityModel/viscosityModel.H b/src/transportModels/incompressible/viscosityModels/viscosityModel/viscosityModel.H index 0ea74754c6ace58072660ada757476f5e3cebb9b..d73002b577f65d763838457d7e9095d36175fbd9 100644 --- a/src/transportModels/incompressible/viscosityModels/viscosityModel/viscosityModel.H +++ b/src/transportModels/incompressible/viscosityModels/viscosityModel/viscosityModel.H @@ -78,11 +78,11 @@ protected: // Private Member Functions - //- Disallow copy construct - viscosityModel(const viscosityModel&); + //- No copy construct + viscosityModel(const viscosityModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const viscosityModel&); + //- No copy assignment + void operator=(const viscosityModel&) = delete; public: diff --git a/src/transportModels/interfaceProperties/interfaceProperties.H b/src/transportModels/interfaceProperties/interfaceProperties.H index 88d0f823614fc6e803246443b717da346559b318..09b1fac4e59b25396f50a17c766322362a913a9f 100644 --- a/src/transportModels/interfaceProperties/interfaceProperties.H +++ b/src/transportModels/interfaceProperties/interfaceProperties.H @@ -77,9 +77,11 @@ class interfaceProperties // Private Member Functions - //- Disallow default bitwise copy construct and assignment - interfaceProperties(const interfaceProperties&); - void operator=(const interfaceProperties&); + //- No copy construct + interfaceProperties(const interfaceProperties&) = delete; + + //- No copy assignment + void operator=(const interfaceProperties&) = delete; //- Correction for the boundary condition on the unit normal nHat on // walls to produce the correct contact dynamic angle diff --git a/src/waveModels/waveGenerationModels/base/regularWaveModel/regularWaveModel.H b/src/waveModels/waveGenerationModels/base/regularWaveModel/regularWaveModel.H index 43a9a9096f6859dc63168fea33dfb35b2d62a358..6202635497e038d56a5732d0e41863acea2667f9 100644 --- a/src/waveModels/waveGenerationModels/base/regularWaveModel/regularWaveModel.H +++ b/src/waveModels/waveGenerationModels/base/regularWaveModel/regularWaveModel.H @@ -50,11 +50,11 @@ class regularWaveModel { // Private Member Functions - //- Disallow default bitwise copy construct - regularWaveModel(const regularWaveModel&); + //- No copy construct + regularWaveModel(const regularWaveModel&) = delete; - //- Disallow default bitwise assignment - void operator=(const regularWaveModel&); + //- No copy assignment + void operator=(const regularWaveModel&) = delete; protected: