From f9fe71815a328ed7e9cc75c7dcd5b2d4db6d1324 Mon Sep 17 00:00:00 2001 From: Mark Olesen <Mark.Olesen@esi-group.com> Date: Wed, 30 May 2018 12:03:17 +0200 Subject: [PATCH] STYLE: consistent use of '= delete' for removed constructors/assignments - make the purpose more explicit, and reduces some work for the compiler as well. --- .../basicXiSubXiEq/basicXiSubXiEq.H | 8 ++-- .../XiGModels/basicXiSubG/basicXiSubG.H | 8 ++-- .../dragModels/PDRDragModel/PDRDragModel.H | 8 ++-- .../PDRModels/dragModels/basic/basic.H | 8 ++-- .../XiModels/XiEqModels/Gulder/Gulder.H | 8 ++-- .../SCOPEBlendXiEq/SCOPEBlendXiEq.H | 8 ++-- .../XiModels/XiEqModels/SCOPEXiEq/SCOPEXiEq.H | 8 ++-- .../XiModels/XiEqModels/XiEqModel/XiEqModel.H | 8 ++-- .../instabilityXiEq/instabilityXiEq.H | 8 ++-- .../PDRFoam/XiModels/XiGModels/KTS/KTS.H | 8 ++-- .../XiModels/XiGModels/XiGModel/XiGModel.H | 8 ++-- .../XiGModels/instabilityG/instabilityG.H | 8 ++-- .../PDRFoam/XiModels/XiModel/XiModel.H | 8 ++-- .../PDRFoam/XiModels/algebraic/algebraic.H | 8 ++-- .../combustion/PDRFoam/XiModels/fixed/fixed.H | 8 ++-- .../PDRFoam/XiModels/transport/transport.H | 8 ++-- .../VoFPatchTransfer/VoFPatchTransfer.H | 8 ++-- .../VoFSolidificationMeltingSource.H | 11 ++++-- .../mixtureViscosityModel.H | 8 ++-- .../relativeVelocityModel.H | 8 ++-- .../temperaturePhaseChangeTwoPhaseMixture.H | 8 ++-- .../threePhaseInterfaceProperties.H | 12 ++++-- .../phaseChangeTwoPhaseMixture.H | 8 ++-- .../saturationModel/saturationModel.H | 8 ++-- .../wallDependentModel/wallDependentModel.H | 8 ++-- .../BlendedInterfacialModel.H | 11 ++++-- .../departureDiameterModel.H | 8 ++-- .../departureFrequencyModel.H | 8 ++-- .../nucleationSiteModel/nucleationSiteModel.H | 8 ++-- .../partitioningModel/partitioningModel.H | 8 ++-- .../conductivityModel/conductivityModel.H | 8 ++-- .../frictionalStressModel.H | 8 ++-- .../granularPressureModel.H | 8 ++-- .../kineticTheoryModel/kineticTheoryModel.H | 8 ++-- .../radialModel/radialModel/radialModel.H | 8 ++-- .../viscosityModel/viscosityModel.H | 8 ++-- .../phasePressureModel/phasePressureModel.H | 8 ++-- .../wallDependentModel/wallDependentModel.H | 8 ++-- .../conductivityModel/conductivityModel.H | 8 ++-- .../frictionalStressModel.H | 8 ++-- .../granularPressureModel.H | 8 ++-- .../kineticTheoryModel/kineticTheoryModel.H | 8 ++-- .../radialModel/radialModel/radialModel.H | 8 ++-- .../viscosityModel/viscosityModel.H | 8 ++-- .../phasePressureModel/phasePressureModel.H | 8 ++-- .../BlendedInterfacialModel.H | 11 ++++-- .../test/dictionaryTokens/dictionaryTokens.H | 12 ++++-- applications/test/router/router.H | 8 ++-- .../mesh/advanced/modifyMesh/cellSplitter.H | 8 ++-- .../mesh/advanced/selectCells/edgeStats.H | 8 ++-- .../mesh/conversion/cfx4ToFoam/hexBlock.H | 8 ++-- .../mesh/conversion/plot3dToFoam/hexBlock.H | 8 ++-- .../extrudeMesh/extrudedMesh/extrudedMesh.H | 4 +- .../extrude2DMesh/extrude2DMesh.H | 8 ++-- .../patchToPoly2DMesh/patchToPoly2DMesh.H | 8 ++-- .../cv2DControls/cv2DControls.H | 8 ++-- .../DelaunayMesh/DelaunayMesh.H | 8 ++-- .../DelaunayMesh/DistributedDelaunayMesh.H | 11 ++++-- .../PrintTable/PrintTable.C | 18 --------- .../PrintTable/PrintTable.H | 6 +-- .../PrintTable/PrintTableI.H | 6 +-- .../backgroundMeshDecomposition.H | 11 ++++-- .../cellAspectRatioControl.H | 8 ++-- .../cellShapeControl/cellShapeControl.H | 8 ++-- .../cellShapeControlMesh.H | 8 ++-- .../cellSizeAndAlignmentControl.H | 11 ++++-- .../cellSizeAndAlignmentControls.H | 11 ++++-- .../fileControl/fileControl.H | 8 ++-- .../searchableSurfaceControl.H | 8 ++-- .../controlMeshRefinement.H | 8 ++-- .../smoothAlignmentSolver.H | 8 ++-- .../cellSizeFunction/cellSizeFunction.H | 8 ++-- .../cellSizeCalculationType.H | 8 ++-- .../surfaceCellSizeFunction.H | 8 ++-- .../conformalVoronoiMesh.H | 8 ++-- .../featurePointConformer.H | 8 ++-- .../conformationSurfaces.H | 8 ++-- .../cvControls/cvControls.H | 8 ++-- .../faceAreaWeightModel/faceAreaWeightModel.H | 8 ++-- .../initialPointsMethod/initialPointsMethod.H | 8 ++-- .../relaxationModel/relaxationModel.H | 8 ++-- .../searchableBoxFeatures.H | 8 ++-- .../searchablePlateFeatures.H | 8 ++-- .../searchableSurfaceFeatures.H | 8 ++-- .../triSurfaceMeshFeatures.H | 8 ++-- .../generation/foamyMesh/foamyQuadMesh/CV2D.H | 8 ++-- .../foamyQuadMesh/shortEdgeFilter2D.H | 8 ++-- .../manipulation/mergeMeshes/mergePolyMesh.H | 4 +- .../manipulation/mirrorMesh/mirrorFvMesh.H | 4 +- .../manipulation/polyDualMesh/meshDualiser.H | 8 ++-- .../decomposePar/dimFieldDecomposer.H | 8 ++-- .../decomposePar/faFieldDecomposer.H | 8 ++-- .../decomposePar/lagrangianFieldDecomposer.H | 8 ++-- .../decomposePar/pointFieldDecomposer.H | 8 ++-- .../reconstructPar/faFieldReconstructor.H | 8 ++-- .../reconstructPar/processorFaMeshes.H | 8 ++-- .../redistributePar/parFvFieldReconstructor.H | 8 ++-- .../parLagrangianRedistributor.H | 8 ++-- .../passivePositionParticleCloud.H | 11 ++++-- .../foamToVTK/foamVtkLagrangianWriter.H | 4 +- .../PVFoamReader/pqFoamReaderControls.h | 4 +- .../PVReaders/PVFoamReader/vtkPVFoamReader.h | 4 +- .../pqFoamBlockMeshControls.h | 4 +- .../PVblockMeshReader/vtkPVblockMeshReader.h | 4 +- .../PVReaders/vtkPVblockMesh/vtkPVblockMesh.H | 4 +- .../miscellaneous/postChannel/channelIndex.H | 8 ++-- .../PolyhedronReader/PolyhedronReader.H | 8 ++-- src/ODE/ODESolvers/ODESolver/ODESolver.H | 8 ++-- src/OSspecific/POSIX/cpuInfo/cpuInfo.H | 8 ++-- src/OSspecific/POSIX/endian.H | 4 +- src/OSspecific/POSIX/fileMonitor.H | 8 ++-- src/OpenFOAM/algorithms/subCycle/subCycle.H | 4 +- .../linkTypes/DLListBase/DLListBase.H | 4 +- .../linkTypes/SLListBase/SLListBase.H | 4 +- .../containers/Lists/Histogram/Histogram.H | 8 ++-- .../Lists/IndirectList/IndirectList.H | 8 ++-- src/OpenFOAM/containers/Lists/List/List.H | 13 ++++--- src/OpenFOAM/containers/Lists/UList/UList.H | 2 +- src/OpenFOAM/db/Callback/Callback.H | 4 +- .../db/CallbackRegistry/CallbackRegistry.H | 8 ++-- src/OpenFOAM/db/IOstreams/Pstreams/UPstream.H | 8 ++-- .../db/IOstreams/hashes/base64Layer.H | 4 +- src/OpenFOAM/db/IOstreams/token/token.H | 4 +- src/OpenFOAM/db/Time/subLoopTime.H | 4 +- .../dictionaryEntry/dictionaryEntry.H | 2 +- .../dictionaryListEntry/dictionaryListEntry.H | 2 +- .../functionEntries/codeStream/codeStream.H | 4 +- .../functionEntry/functionEntry.H | 4 +- .../db/dynamicLibrary/codedBase/codedBase.H | 4 +- .../dlLibraryTable/dlLibraryTable.H | 8 ++-- .../functionObject/functionObject.H | 4 +- .../functionObjectList/functionObjectList.H | 4 +- .../db/functionObjects/logFiles/logFiles.H | 8 ++-- .../regionFunctionObject.H | 4 +- .../stateFunctionObject/stateFunctionObject.H | 4 +- .../functionObjects/timeControl/timeControl.H | 8 ++-- .../timeControl/timeControlFunctionObject.H | 8 ++-- .../db/functionObjects/writeFile/writeFile.H | 8 ++-- .../db/objectRegistry/objectRegistry.H | 4 +- src/OpenFOAM/db/regIOobject/regIOobject.H | 4 +- .../SlicedGeometricField.H | 21 ++++++---- src/OpenFOAM/fields/cloud/cloud.H | 4 +- .../pointPatchFieldMapperPatchRef.H | 11 ++++-- src/OpenFOAM/global/profiling/profiling.H | 4 +- .../interpolationWeights.H | 8 ++-- .../PatchToPatchInterpolation.H | 8 ++-- .../PrimitivePatchInterpolation.H | 11 ++++-- .../uniformInterpolationTable.H | 4 +- .../LUscalarMatrix/procLduInterface.H | 4 +- .../matrices/LUscalarMatrix/procLduMatrix.H | 4 +- .../LduInterfaceField/LduInterfaceField.H | 8 ++-- .../DiagonalPreconditioner.H | 8 ++-- .../NoPreconditioner/NoPreconditioner.H | 8 ++-- .../Solvers/DiagonalSolver/DiagonalSolver.H | 8 ++-- .../LduMatrix/Solvers/PBiCCCG/PBiCCCG.H | 8 ++-- .../LduMatrix/Solvers/PBiCICG/PBiCICG.H | 8 ++-- .../matrices/LduMatrix/Solvers/PCICG/PCICG.H | 8 ++-- .../lduMatrix/lduAddressing/lduAddressing.H | 8 ++-- .../lduAddressing/lduInterface/lduInterface.H | 8 ++-- .../lduInterfaceField/lduInterfaceField.H | 8 ++-- .../FDICPreconditioner/FDICPreconditioner.H | 8 ++-- .../diagonalPreconditioner.H | 8 ++-- .../noPreconditioner/noPreconditioner.H | 8 ++-- .../GAMGAgglomeration/GAMGAgglomeration.H | 8 ++-- .../dummyAgglomeration/dummyAgglomeration.H | 8 ++-- .../pairGAMGAgglomeration.H | 8 ++-- .../GAMGProcAgglomeration.H | 8 ++-- .../eagerGAMGProcAgglomeration.H | 8 ++-- .../manualGAMGProcAgglomeration.H | 8 ++-- .../masterCoarsestGAMGProcAgglomeration.H | 8 ++-- .../noneGAMGProcAgglomeration.H | 8 ++-- .../procFacesGAMGProcAgglomeration.H | 8 ++-- .../GAMGInterfaceField/GAMGInterfaceField.H | 8 ++-- .../cyclicGAMGInterfaceField.H | 8 ++-- .../processorCyclicGAMGInterfaceField.H | 8 ++-- .../processorGAMGInterfaceField.H | 11 ++++-- .../interfaces/GAMGInterface/GAMGInterface.H | 8 ++-- .../cyclicGAMGInterface/cyclicGAMGInterface.H | 8 ++-- .../processorCyclicGAMGInterface.H | 11 ++++-- .../processorGAMGInterface.H | 8 ++-- .../matrices/lduMatrix/solvers/PBiCG/PBiCG.H | 8 ++-- .../lduMatrix/solvers/PBiCGStab/PBiCGStab.H | 8 ++-- .../matrices/lduMatrix/solvers/PCG/PCG.H | 8 ++-- .../solvers/diagonalSolver/diagonalSolver.H | 8 ++-- .../matrices/scalarMatrices/SVD/SVD.H | 8 ++-- src/OpenFOAM/matrices/solution/solution.H | 8 ++-- src/OpenFOAM/matrices/tolerances/tolerances.H | 8 ++-- src/OpenFOAM/memory/autoPtr/autoPtr.H | 2 +- src/OpenFOAM/memory/tmp/tmp.H | 2 +- src/OpenFOAM/meshes/data/data.H | 4 +- .../meshes/lduMesh/lduPrimitiveMesh.H | 8 ++-- .../meshShapes/cellMatcher/cellMatcher.H | 4 +- .../meshShapes/cellMatcher/hexMatcher.H | 4 +- .../meshShapes/cellMatcher/prismMatcher.H | 4 +- .../meshShapes/cellMatcher/pyrMatcher.H | 4 +- .../meshShapes/cellMatcher/tetMatcher.H | 4 +- .../meshShapes/cellMatcher/tetWedgeMatcher.H | 4 +- .../meshShapes/cellMatcher/wedgeMatcher.H | 4 +- .../pointBoundaryMesh/pointBoundaryMesh.H | 8 ++-- .../pointMeshMapper/pointBoundaryMeshMapper.H | 8 ++-- .../pointMesh/pointMeshMapper/pointMapper.H | 8 ++-- .../pointMeshMapper/pointMeshMapper.H | 8 ++-- .../pointMeshMapper/pointPatchMapper.H | 11 ++---- .../basic/coupled/coupledPointPatch.H | 8 ++-- .../constraint/cyclic/cyclicPointPatch.H | 8 ++-- .../processor/processorPointPatch.H | 8 ++-- .../processorCyclicPointPatch.H | 8 ++-- .../derived/coupled/coupledFacePointPatch.H | 8 ++-- .../facePointPatch/facePointPatch.H | 8 ++-- .../pointPatches/pointPatch/pointPatch.H | 8 ++-- .../polyMesh/globalMeshData/globalMeshData.H | 8 ++-- .../polyMesh/globalMeshData/globalPoints.H | 8 ++-- .../mapPolyMesh/cellMapper/cellMapper.H | 8 ++-- .../mapPolyMesh/faceMapper/faceMapper.H | 8 ++-- .../mapDistribute/mapDistributePolyMesh.H | 2 +- .../meshes/polyMesh/mapPolyMesh/mapPolyMesh.H | 8 ++-- .../polyBoundaryMesh/polyBoundaryMesh.H | 4 +- src/OpenFOAM/meshes/polyMesh/polyMesh.H | 4 +- .../meshes/polyMesh/zones/ZoneMesh/ZoneMesh.H | 4 +- .../meshes/polyMesh/zones/cellZone/cellZone.H | 2 +- .../meshes/polyMesh/zones/faceZone/faceZone.H | 4 +- .../polyMesh/zones/pointZone/pointZone.H | 2 +- .../meshes/polyMesh/zones/zone/zone.H | 2 +- .../meshes/primitiveMesh/primitiveMesh.H | 8 ++-- .../primitiveMesh/primitivePatch/walkPatch.H | 8 ++-- src/OpenFOAM/primitives/enums/Enum.H | 4 +- src/OpenFOAM/primitives/enums/NamedEnum.H | 4 +- .../primitives/functions/Function1/CSV/CSV.H | 2 +- .../functions/Function1/Constant/Constant.H | 2 +- .../functions/Function1/One/OneConstant.H | 2 +- .../PolynomialEntry/PolynomialEntry.H | 2 +- .../functions/Function1/Scale/Scale.H | 2 +- .../functions/Function1/Sine/Sine.H | 2 +- .../functions/Function1/Square/Square.H | 2 +- .../functions/Function1/Table/Table.H | 2 +- .../functions/Function1/Table/TableBase.H | 2 +- .../functions/Function1/TableFile/TableFile.H | 2 +- .../functions/Function1/Uniform/Uniform.H | 4 +- .../functions/Function1/Zero/ZeroConstant.H | 2 +- .../Function1/halfCosineRamp/halfCosineRamp.H | 2 +- .../Function1/linearRamp/linearRamp.H | 2 +- .../Function1/quadraticRamp/quadraticRamp.H | 2 +- .../quarterCosineRamp/quarterCosineRamp.H | 2 +- .../quarterSineRamp/quarterSineRamp.H | 2 +- .../functions/Function1/ramp/ramp.H | 2 +- .../functions/Polynomial/polynomialFunction.H | 4 +- .../globalIndexAndTransform.H | 8 ++-- .../primitives/nullObject/nullObject.H | 4 +- .../primitives/strings/lists/CStringList.H | 4 +- .../primitives/subModelBase/subModelBase.H | 4 +- .../RAS/buoyantKEpsilon/buoyantKEpsilon.H | 8 ++-- .../compressibleTurbulenceModel.H | 11 ++++-- .../incompressibleTurbulenceModel.H | 11 ++++-- .../RAS/LamBremhorstKE/LamBremhorstKE.H | 8 ++-- .../phaseCompressible/LES/Niceno/NicenoKEqn.H | 8 ++-- .../LES/SmagorinskyZhang/SmagorinskyZhang.H | 8 ++-- .../LES/continuousGasKEqn/continuousGasKEqn.H | 8 ++-- .../RAS/LaheyKEpsilon/LaheyKEpsilon.H | 8 ++-- .../continuousGasKEpsilon.H | 8 ++-- .../RAS/kOmegaSSTSato/kOmegaSSTSato.H | 8 ++-- .../RAS/mixtureKEpsilon/mixtureKEpsilon.H | 8 ++-- .../schemes/DEShybrid/DEShybrid.H | 8 ++-- .../Base/kOmegaSST/kOmegaSSTBase.H | 8 ++-- .../turbulenceModels/DES/DESModel/DESModel.H | 8 ++-- .../SpalartAllmarasDDES/SpalartAllmarasDDES.H | 8 ++-- .../SpalartAllmarasDES/SpalartAllmarasDES.H | 8 ++-- .../SpalartAllmarasIDDES.H | 8 ++-- .../DES/kOmegaSSTDDES/kOmegaSSTDDES.H | 8 ++-- .../DES/kOmegaSSTDES/kOmegaSSTDES.H | 8 ++-- .../DES/kOmegaSSTIDDES/kOmegaSSTIDDES.H | 8 ++-- .../DeardorffDiffStress/DeardorffDiffStress.H | 8 ++-- .../turbulenceModels/LES/LESModel/LESModel.H | 8 ++-- .../LES/LESdeltas/IDDESDelta/IDDESDelta.H | 8 ++-- .../LES/LESdeltas/LESdelta/LESdelta.H | 10 ++--- .../LES/LESdeltas/PrandtlDelta/PrandtlDelta.H | 8 ++-- .../cubeRootVolDelta/cubeRootVolDelta.H | 12 +++--- .../LES/LESdeltas/maxDeltaxyz/maxDeltaxyz.H | 11 +++--- .../maxDeltaxyzCubeRootLESDelta.H | 14 ++++--- .../LES/LESdeltas/smoothDelta/smoothDelta.H | 8 ++-- .../LESdeltas/vanDriestDelta/vanDriestDelta.H | 8 ++-- .../LES/LESeddyViscosity/LESeddyViscosity.H | 8 ++-- .../LES/LESfilters/LESfilter/LESfilter.H | 8 ++-- .../anisotropicFilter/anisotropicFilter.H | 8 ++-- .../LESfilters/laplaceFilter/laplaceFilter.H | 11 +++--- .../LESfilters/simpleFilter/simpleFilter.H | 11 +++--- .../LES/Smagorinsky/Smagorinsky.H | 8 ++-- .../turbulenceModels/LES/WALE/WALE.H | 8 ++-- .../LES/dynamicKEqn/dynamicKEqn.H | 8 ++-- .../LES/dynamicLagrangian/dynamicLagrangian.H | 8 ++-- .../turbulenceModels/LES/kEqn/kEqn.H | 14 +++---- .../turbulenceModels/RAS/LRR/LRR.H | 8 ++-- .../RAS/LaunderSharmaKE/LaunderSharmaKE.H | 8 ++-- .../turbulenceModels/RAS/RASModel/RASModel.H | 8 ++-- .../RAS/RNGkEpsilon/RNGkEpsilon.H | 8 ++-- .../turbulenceModels/RAS/SSG/SSG.H | 8 ++-- .../RAS/SpalartAllmaras/SpalartAllmaras.H | 8 ++-- .../turbulenceModels/RAS/kEpsilon/kEpsilon.H | 8 ++-- .../RAS/kOmegaSST/kOmegaSST.H | 8 ++-- .../RAS/kOmegaSSTLM/kOmegaSSTLM.H | 8 ++-- .../RAS/kOmegaSSTSAS/kOmegaSSTSAS.H | 8 ++-- .../TurbulenceModel/TurbulenceModel.H | 8 ++-- .../laminar/laminarModel/laminarModel.H | 8 ++-- .../turbulenceModels/turbulenceModel.H | 8 ++-- src/combustionModels/EDC/EDC.H | 8 ++-- src/combustionModels/FSD/FSD.H | 8 ++-- .../consumptionSpeed/consumptionSpeed.H | 8 ++-- .../reactionRateFlameArea.H | 8 ++-- .../relaxation/relaxation.H | 8 ++-- src/combustionModels/PaSR/PaSR.H | 8 ++-- .../combustionModel/combustionModel.H | 8 ++-- src/combustionModels/diffusion/diffusion.H | 8 ++-- .../diffusionMulticomponent.H | 8 ++-- .../eddyDissipationDiffusionModel.H | 11 ++++-- .../eddyDissipationModelBase.H | 8 ++-- .../infinitelyFastChemistry.H | 8 ++-- src/combustionModels/laminar/laminar.H | 8 ++-- .../noCombustion/noCombustion.H | 8 ++-- .../psiChemistryCombustion.H | 4 +- .../psiCombustionModel/psiCombustionModel.H | 4 +- .../psiThermoCombustion/psiThermoCombustion.H | 4 +- .../rhoChemistryCombustion.H | 4 +- .../rhoCombustionModel/rhoCombustionModel.H | 4 +- .../rhoThermoCombustion/rhoThermoCombustion.H | 4 +- .../singleStepCombustion.H | 8 ++-- .../zoneCombustion/zoneCombustion.H | 8 ++-- src/conversion/ccm/common/ccmBase.H | 4 +- src/conversion/ccm/reader/ccmReader.H | 4 +- src/conversion/ccm/writer/ccmWriter.H | 4 +- src/conversion/common/reader/meshReader.H | 4 +- src/conversion/common/tables/boundaryRegion.H | 2 +- src/conversion/common/tables/cellTable.H | 2 +- src/conversion/common/writer/meshWriter.H | 4 +- src/conversion/ensight/mesh/ensightMesh.H | 4 +- src/conversion/ensight/output/ensightOutput.H | 5 +-- .../ensight/output/ensightSerialOutput.H | 4 +- src/conversion/ensight/part/ensightPart.H | 4 +- .../ensight/part/ensightPartCells.H | 4 +- .../ensight/part/ensightPartFaces.H | 4 +- src/conversion/ensight/part/ensightParts.H | 4 +- src/conversion/fire/FIREMeshWriter.H | 4 +- src/conversion/polyDualMesh/polyDualMesh.H | 8 ++-- src/conversion/starcd/STARCDMeshReader.H | 4 +- src/conversion/starcd/STARCDMeshWriter.H | 4 +- .../vtk/output/foamVtkInternalWriter.H | 4 +- .../vtk/output/foamVtkPatchWriter.H | 4 +- .../vtk/output/foamVtkSurfaceMeshWriter.H | 4 +- src/conversion/vtk/part/foamVtuCells.H | 4 +- .../dynamicFvMesh/dynamicFvMesh.H | 4 +- .../dynamicInkJetFvMesh/dynamicInkJetFvMesh.H | 8 ++-- .../dynamicMotionSolverFvMesh.H | 8 ++-- .../dynamicMotionSolverListFvMesh.H | 13 ++++--- .../dynamicMultiMotionSolverFvMesh.H | 13 ++++--- .../dynamicRefineFvMesh/dynamicRefineFvMesh.H | 8 ++-- src/dynamicFvMesh/staticFvMesh/staticFvMesh.H | 8 ++-- src/dynamicMesh/attachDetach/attachDetach.H | 8 ++-- src/dynamicMesh/boundaryMesh/boundaryMesh.H | 8 ++-- .../createShellMesh/createShellMesh.H | 8 ++-- .../fvMeshDistribute/fvMeshDistribute.H | 8 ++-- src/dynamicMesh/fvMeshSubset/fvMeshSubset.H | 8 ++-- .../layerAdditionRemoval.H | 8 ++-- src/dynamicMesh/meshCut/cellCuts/cellCuts.H | 8 ++-- .../meshCut/cellLooper/cellLooper.H | 8 ++-- .../meshCut/cellLooper/geomCellLooper.H | 8 ++-- .../meshCut/cellLooper/hexCellLooper.H | 8 ++-- .../meshCut/cellLooper/topoCellLooper.H | 8 ++-- .../meshCut/directions/directions.H | 8 ++-- .../meshCut/edgeVertex/edgeVertex.H | 8 ++-- .../boundaryCutter/boundaryCutter.H | 8 ++-- .../meshCutAndRemove/meshCutAndRemove.H | 8 ++-- .../meshModifiers/meshCutter/meshCutter.H | 8 ++-- .../multiDirRefinement/multiDirRefinement.H | 8 ++-- .../undoableMeshCutter/undoableMeshCutter.H | 8 ++-- src/dynamicMesh/meshCut/splitCell/splitCell.H | 8 ++-- .../meshSubsetHelper/meshSubsetHelper.H | 4 +- .../motionSmoother/motionSmootherAlgo.H | 8 ++-- .../componentDisplacementMotionSolver.H | 8 ++-- .../componentVelocityMotionSolver.H | 9 ++--- .../displacement/displacementMotionSolver.H | 8 ++-- .../displacementInterpolationMotionSolver.H | 8 ++-- .../displacementLayeredMotionMotionSolver.H | 8 ++-- .../points0/points0MotionSolver.H | 8 ++-- .../solidBody/multiSolidBodyMotionSolver.H | 8 ++-- .../solidBodyMotionFunctions/SDA/SDA.H | 8 ++-- .../axisRotationMotion/axisRotationMotion.H | 8 ++-- .../linearMotion/linearMotion.H | 8 ++-- .../multiMotion/multiMotion.H | 8 ++-- .../oscillatingLinearMotion.H | 8 ++-- .../oscillatingRotatingMotion.H | 8 ++-- .../rotatingMotion/rotatingMotion.H | 8 ++-- .../solidBodyMotionFunction.H | 8 ++-- .../tabulated6DoFMotion/tabulated6DoFMotion.H | 8 ++-- .../solidBody/solidBodyMotionSolver.H | 8 ++-- .../velocityDisplacementMotionSolver.H | 8 ++-- .../velocity/velocityMotionSolver.H | 11 ++---- .../perfectInterface/perfectInterface.H | 8 ++-- .../pointPatchDist/pointPatchDist.H | 8 ++-- .../polyMeshFilter/polyMeshFilter.H | 8 ++-- .../attachPolyTopoChanger.H | 8 ++-- .../polyMeshModifier/polyMeshModifier.H | 8 ++-- .../polyTopoChange/addPatchCellLayer.H | 8 ++-- .../polyTopoChange/combineFaces.H | 8 ++-- .../polyTopoChange/duplicatePoints.H | 8 ++-- .../polyTopoChange/edgeCollapser.H | 8 ++-- .../polyTopoChange/faceCollapser.H | 8 ++-- .../polyTopoChange/hexRef8/hexRef8.H | 8 ++-- .../polyTopoChange/hexRef8/hexRef8Data.H | 8 ++-- .../polyTopoChange/removeFaces.H | 8 ++-- .../polyTopoChange/removePoints.H | 8 ++-- .../polyTopoChange/tetDecomposer.H | 8 ++-- .../polyTopoChanger/polyTopoChanger.H | 4 +- .../repatchPolyTopoChanger.H | 8 ++-- src/dynamicMesh/setUpdater/setUpdater.H | 8 ++-- .../enrichedPatch/enrichedPatch.H | 4 +- .../slidingInterface/slidingInterface.H | 8 ++-- src/engine/engineMesh/engineMesh/engineMesh.H | 8 ++-- .../fvMotionSolverEngineMesh.H | 8 ++-- .../layeredEngineMesh/layeredEngineMesh.H | 8 ++-- .../staticEngineMesh/staticEngineMesh.H | 8 ++-- src/engine/enginePiston/enginePiston.H | 8 ++-- src/engine/engineTime/engineTime.H | 8 ++-- src/engine/engineValve/engineValve.H | 8 ++-- src/engine/engineValve/valveBank.H | 8 ++-- src/engine/ignition/ignition.H | 8 ++-- src/fileFormats/ensight/file/ensightFile.H | 7 ++-- src/fileFormats/ensight/file/ensightGeoFile.H | 8 ++-- src/fileFormats/ensight/part/ensightCells.H | 2 +- src/fileFormats/ensight/part/ensightFaces.H | 2 +- .../ensight/read/ensightReadFile.H | 8 ++-- .../vtk/format/foamVtkAppendBase64Formatter.H | 4 +- .../vtk/format/foamVtkAppendRawFormatter.H | 4 +- .../vtk/format/foamVtkAsciiFormatter.H | 4 +- .../vtk/format/foamVtkBase64Formatter.H | 4 +- .../vtk/format/foamVtkBase64Layer.H | 4 +- .../vtk/format/foamVtkLegacyAsciiFormatter.H | 4 +- .../vtk/format/foamVtkLegacyRawFormatter.H | 4 +- .../vtk/read/vtkUnstructuredReader.H | 4 +- .../faMesh/faBoundaryMesh/faBoundaryMesh.H | 8 ++-- .../faGlobalMeshData/faGlobalMeshData.H | 8 ++-- src/finiteArea/faMesh/faMesh.H | 8 ++-- src/finiteArea/faMesh/faMeshLduAddressing.H | 8 ++-- .../faMesh/faMeshMapper/faAreaMapper.H | 8 ++-- .../faMeshMapper/faBoundaryMeshMapper.H | 8 ++-- .../faMesh/faMeshMapper/faEdgeMapper.H | 8 ++-- .../faMesh/faMeshMapper/faMeshMapper.H | 8 ++-- .../faMesh/faMeshMapper/faPatchMapper.H | 8 ++-- src/finiteArea/faSolution/faSolution.H | 8 ++-- .../faPatchField/faPatchFieldMapperPatchRef.H | 8 ++-- .../faConvectionScheme/faConvectionScheme.H | 4 +- .../gaussFaConvectionScheme.H | 8 ++-- .../EulerFaD2dt2Scheme/EulerFaD2dt2Scheme.H | 8 ++-- .../faD2dt2Scheme/faD2dt2Scheme.H | 8 ++-- .../EulerFaDdtScheme/EulerFaDdtScheme.H | 8 ++-- .../backwardFaDdtScheme/backwardFaDdtScheme.H | 4 +- .../boundedBackwardFaDdtScheme.H | 8 ++-- .../ddtSchemes/faDdtScheme/faDdtScheme.H | 8 ++-- .../steadyStateFaDdtScheme.H | 4 +- .../divSchemes/faDivScheme/faDivScheme.H | 8 ++-- .../gaussFaDivScheme/gaussFaDivScheme.H | 4 +- .../finiteArea/faSchemes/faSchemes.H | 8 ++-- .../gradSchemes/faGradScheme/faGradScheme.H | 4 +- .../gradSchemes/gaussFaGrad/gaussFaGrad.H | 4 +- .../leastSquaresFaGrad/leastSquaresFaGrad.H | 4 +- .../edgeLimitedFaGrad/edgeLimitedFaGrad.H | 8 ++-- .../faceLimitedFaGrad/faceLimitedFaGrad.H | 8 ++-- .../faLaplacianScheme/faLaplacianScheme.H | 8 ++-- .../gaussFaLaplacianScheme.H | 4 +- .../correctedLnGrad/correctedLnGrad.H | 2 +- .../lnGradSchemes/fourthLnGrad/fourthLnGrad.H | 2 +- .../limitedLnGrad/limitedLnGrad.H | 4 +- .../lnGradSchemes/lnGradScheme/lnGradScheme.H | 2 +- .../edgeInterpolationScheme.H | 2 +- .../schemes/NVDscheme/faNVDscheme.H | 8 ++-- .../blended/blendedEdgeInterpolation.H | 8 ++-- .../schemes/linear/linearEdgeInterpolation.H | 4 +- .../schemes/upwind/upwindEdgeInterpolation.H | 4 +- .../volSurfaceMapping/volSurfaceMapping.H | 4 +- .../cfdTools/general/MRF/IOMRFZoneList.H | 8 ++-- .../cfdTools/general/MRF/MRFZone.H | 8 ++-- .../cfdTools/general/MRF/MRFZoneList.H | 8 ++-- .../general/SRF/SRFModel/SRFModel/SRFModel.H | 8 ++-- .../cfdTools/general/SRF/SRFModel/rpm/rpm.H | 8 ++-- .../general/coupling/externalFileCoupler.H | 4 +- .../cfdTools/general/fvOptions/fvOptionList.H | 8 ++-- .../cfdTools/general/fvOptions/fvOptions.H | 8 ++-- .../DarcyForchheimer/DarcyForchheimer.H | 8 ++-- .../porosityModel/fixedCoeff/fixedCoeff.H | 8 ++-- .../porosityModel/IOporosityModelList.H | 8 ++-- .../porosityModel/porosityModel.H | 8 ++-- .../porosityModel/porosityModelList.H | 8 ++-- .../general/porosityModel/powerLaw/powerLaw.H | 8 ++-- .../solidification/solidification.H | 8 ++-- .../pimpleControl/pimpleControl.H | 4 +- .../solutionControl/pisoControl/pisoControl.H | 8 ++-- .../simpleControl/simpleControl.H | 4 +- .../solutionControl/solutionControl.H | 4 +- .../boundedConvectionScheme.H | 8 ++-- .../gaussConvectionScheme.H | 8 ++-- .../EulerD2dt2Scheme/EulerD2dt2Scheme.H | 8 ++-- .../steadyStateD2dt2Scheme.H | 8 ++-- .../CoEulerDdtScheme/CoEulerDdtScheme.H | 8 ++-- .../CrankNicolsonDdtScheme.H | 4 +- .../EulerDdtScheme/EulerDdtScheme.H | 8 ++-- .../ddtSchemes/SLTSDdtScheme/SLTSDdtScheme.H | 8 ++-- .../backwardDdtScheme/backwardDdtScheme.H | 8 ++-- .../boundedDdtScheme/boundedDdtScheme.H | 8 ++-- .../localEulerDdtScheme/localEulerDdtScheme.H | 8 ++-- .../steadyStateDdtScheme.H | 8 ++-- .../gaussDivScheme/gaussDivScheme.H | 8 ++-- .../finiteVolume/fvSchemes/fvSchemes.H | 8 ++-- .../finiteVolume/fvSolution/fvSolution.H | 8 ++-- .../LeastSquaresGrad/LeastSquaresGrad.H | 8 ++-- .../gradSchemes/fourthGrad/fourthGrad.H | 8 ++-- .../gradSchemes/gaussGrad/gaussGrad.H | 8 ++-- .../leastSquaresGrad/leastSquaresGrad.H | 8 ++-- .../cellLimitedGrad/cellLimitedGrad.H | 8 ++-- .../cellMDLimitedGrad/cellMDLimitedGrad.H | 8 ++-- .../faceLimitedGrad/faceLimitedGrad.H | 8 ++-- .../faceMDLimitedGrad/faceMDLimitedGrad.H | 8 ++-- .../gaussLaplacianScheme.H | 8 ++-- .../CentredFitSnGrad/CentredFitSnGradScheme.H | 8 ++-- .../correctedSnGrad/correctedSnGrad.H | 4 +- .../faceCorrectedSnGrad/faceCorrectedSnGrad.H | 4 +- .../limitedSnGrad/limitedSnGrad.H | 4 +- .../orthogonalSnGrad/orthogonalSnGrad.H | 4 +- .../uncorrectedSnGrad/uncorrectedSnGrad.H | 4 +- .../fieldSelection/fieldSelection.H | 2 +- .../fieldSelection/fileFieldSelection.H | 2 +- .../fieldSelection/solverFieldSelection.H | 2 +- .../fieldSelection/volFieldSelection.H | 2 +- .../fvMeshFunctionObject.H | 4 +- .../isoAdvection/isoAdvection/isoAdvection.H | 8 ++-- .../extendedCentredCellToCellStencil.H | 8 ++-- .../extendedCentredCellToFaceStencil.H | 8 ++-- .../extendedUpwindCellToFaceStencil.H | 11 ++++-- .../extendedCentredFaceToCellStencil.H | 8 ++-- .../fvMesh/fvBoundaryMesh/fvBoundaryMesh.H | 8 ++-- src/finiteVolume/fvMesh/fvMesh.H | 4 +- src/finiteVolume/fvMesh/fvMeshLduAddressing.H | 8 ++-- .../fvMeshMapper/fvBoundaryMeshMapper.H | 8 ++-- .../fvMesh/fvMeshMapper/fvMeshMapper.H | 8 ++-- .../fvMesh/fvMeshMapper/fvPatchMapper.H | 11 ++---- .../fvMesh/fvMeshMapper/fvSurfaceMapper.H | 8 ++-- .../fvMesh/fvPatches/fvPatch/fvPatch.H | 8 ++-- .../singleCellFvMesh/singleCellFvMesh.H | 8 ++-- .../wallDist/nearWallDist/nearWallDist.H | 8 ++-- .../nearWallDist/nearWallDistNoSearch.H | 8 ++-- .../Poisson/PoissonPatchDistMethod.H | 8 ++-- .../advectionDiffusionPatchDistMethod.H | 8 ++-- .../meshWave/meshWavePatchDistMethod.H | 8 ++-- .../meshWave/wallDistData/wallDistData.H | 8 ++-- .../patchDistMethod/patchDistMethod.H | 8 ++-- .../fvMesh/wallDist/wallDist/wallDist.H | 8 ++-- .../LimitedScheme/LimitedScheme.H | 8 ++-- .../limitedSchemes/PhiScheme/PhiScheme.H | 8 ++-- .../limitedSchemes/blended/blended.H | 8 ++-- .../limitedSchemes/limitWith/limitWith.H | 8 ++-- .../limitedSurfaceInterpolationScheme.H | 8 ++-- .../limitedSchemes/upwind/upwind.H | 4 +- .../multivariateIndependentScheme.H | 11 ++++-- .../multivariateScheme/multivariateScheme.H | 8 ++-- .../multivariateSelectionScheme.H | 11 ++++-- .../upwind/multivariateUpwind.H | 8 ++-- .../CentredFitScheme/CentredFitScheme.H | 8 ++-- .../schemes/CoBlended/CoBlended.H | 8 ++-- .../surfaceInterpolation/schemes/LUST/LUST.H | 8 ++-- .../PureUpwindFitScheme/PureUpwindFitScheme.H | 8 ++-- .../schemes/UpwindFitScheme/UpwindFitScheme.H | 8 ++-- .../schemes/cellCoBlended/cellCoBlended.H | 8 ++-- .../schemes/clippedLinear/clippedLinear.H | 4 +- .../schemes/cubic/cubic.H | 8 ++-- .../deferredCorrection/deferredCorrection.H | 4 +- .../schemes/downwind/downwind.H | 4 +- .../schemes/fixedBlended/fixedBlended.H | 8 ++-- .../schemes/harmonic/harmonic.H | 4 +- .../schemes/limiterBlended/limiterBlended.H | 8 ++-- .../schemes/linear/linear.H | 4 +- .../schemes/linearUpwind/linearUpwind.H | 8 ++-- .../schemes/linearUpwind/linearUpwindV.H | 8 ++-- .../schemes/localBlended/localBlended.H | 8 ++-- .../schemes/localMax/localMax.H | 4 +- .../schemes/localMin/localMin.H | 4 +- .../schemes/midPoint/midPoint.H | 4 +- .../outletStabilised/outletStabilised.H | 8 ++-- .../schemes/pointLinear/pointLinear.H | 8 ++-- .../schemes/reverseLinear/reverseLinear.H | 4 +- .../schemes/skewCorrected/skewCorrected.H | 8 ++-- .../schemes/weighted/weighted.H | 4 +- .../volPointInterpolation/pointConstraints.H | 8 ++-- src/functionObjects/field/Curle/Curle.H | 4 +- .../field/DESModelRegions/DESModelRegions.H | 4 +- .../field/XiReactionRate/XiReactionRate.H | 8 ++-- src/functionObjects/field/ddt2/ddt2.H | 4 +- .../field/externalCoupled/externalCoupled.H | 4 +- .../extractEulerianParticles.H | 8 ++-- .../field/fieldAverage/fieldAverage.H | 4 +- .../field/fieldExpression/fieldExpression.H | 8 ++-- .../field/fieldMinMax/fieldMinMax.H | 4 +- .../field/fieldsExpression/fieldsExpression.H | 8 ++-- .../field/fluxSummary/fluxSummary.H | 4 +- .../heatTransferCoeff/heatTransferCoeff.H | 4 +- .../ReynoldsAnalogy/ReynoldsAnalogy.H | 4 +- .../fixedReferenceTemperature.H | 4 +- .../heatTransferCoeffModel.H | 4 +- .../localReferenceTemperature.H | 4 +- .../field/histogram/histogram.H | 8 ++-- .../field/mapFields/mapFields.H | 4 +- .../field/nearWallFields/nearWallFields.H | 8 ++-- .../particleDistribution.H | 4 +- .../field/processorField/processorField.H | 8 ++-- .../reactionsSensitivityAnalysis.H | 11 ++++-- .../field/readFields/readFields.H | 8 ++-- .../regionSizeDistribution.H | 8 ++-- .../field/streamLine/streamLine.H | 4 +- .../streamLine/streamLineParticleCloud.H | 8 ++-- .../surfaceInterpolate/surfaceInterpolate.H | 8 ++-- .../field/turbulenceFields/turbulenceFields.H | 4 +- .../field/valueAverage/valueAverage.H | 4 +- .../wallBoundedStreamLine.H | 4 +- .../wallBoundedStreamLineParticleCloud.H | 8 ++-- .../field/wallHeatFlux/wallHeatFlux.H | 8 ++-- .../field/wallShearStress/wallShearStress.H | 8 ++-- .../field/writeCellCentres/writeCellCentres.H | 8 ++-- .../field/writeCellVolumes/writeCellVolumes.H | 8 ++-- src/functionObjects/field/yPlus/yPlus.H | 8 ++-- .../field/zeroGradient/zeroGradient.H | 4 +- .../forces/forceCoeffs/forceCoeffs.H | 8 ++-- src/functionObjects/forces/forces/forces.H | 8 ++-- .../fieldVisualisationBase.H | 8 ++-- .../functionObjectBase.H | 8 ++-- .../functionObjectCloud.H | 4 +- .../functionObjectLine.H | 4 +- .../functionObjectSurface.H | 4 +- .../runTimePostProcessing/geometryBase.H | 8 ++-- .../runTimePostProcessing/geometrySurface.H | 4 +- .../graphics/runTimePostProcessing/pathline.H | 4 +- .../runTimePostProcessing/pointData.H | 4 +- .../graphics/runTimePostProcessing/scene.H | 8 ++-- .../graphics/runTimePostProcessing/surface.H | 4 +- .../graphics/runTimePostProcessing/text.H | 4 +- .../lagrangian/cloudInfo/cloudInfo.H | 8 ++-- .../lagrangian/dsmcFields/dsmcFields.H | 8 ++-- .../icoUncoupledKinematicCloud.H | 8 ++-- .../solvers/energyTransport/energyTransport.H | 4 +- .../solvers/scalarTransport/scalarTransport.H | 4 +- src/functionObjects/utilities/abort/abort.H | 4 +- .../codedFunctionObject/codedFunctionObject.H | 8 ++-- .../removeRegisteredObject.H | 8 ++-- .../utilities/residuals/residuals.H | 4 +- .../utilities/runTimeControl/runTimeControl.H | 8 ++-- .../setTimeStep/setTimeStepFunctionObject.H | 8 ++-- .../utilities/systemCall/systemCall.H | 4 +- .../thermoCoupleProbes/thermoCoupleProbes.H | 8 ++-- .../timeActivatedFileUpdate.H | 8 ++-- .../writeDictionary/writeDictionary.H | 8 ++-- .../utilities/writeObjects/writeObjects.H | 4 +- .../MGridGenGAMGAgglomeration.H | 8 ++-- .../pairPatchAgglomeration.H | 8 ++-- ...lacementComponentLaplacianFvMotionSolver.H | 11 ++++-- ...velocityComponentLaplacianFvMotionSolver.H | 11 ++++-- .../displacementSBRStressFvMotionSolver.H | 8 ++-- .../displacementLaplacianFvMotionSolver.H | 8 ++-- ...dBodyDisplacementLaplacianFvMotionSolver.H | 13 ++++--- .../surfaceAlignedSBRStressFvMotionSolver.H | 8 ++-- .../velocityLaplacianFvMotionSolver.H | 8 ++-- .../directional/directionalDiffusivity.H | 8 ++-- .../motionDiffusivity/file/fileDiffusivity.H | 8 ++-- .../inverseDistanceDiffusivity.H | 8 ++-- .../inverseFaceDistanceDiffusivity.H | 13 ++++--- .../inversePointDistanceDiffusivity.H | 13 ++++--- .../inverseVolume/inverseVolumeDiffusivity.H | 8 ++-- .../exponential/exponentialDiffusivity.H | 8 ++-- .../quadratic/quadraticDiffusivity.H | 8 ++-- .../motionDirectionalDiffusivity.H | 13 ++++--- .../uniform/uniformDiffusivity.H | 8 ++-- .../motionInterpolation/motionInterpolation.H | 8 ++-- ...surfaceDisplacementPointPatchVectorField.H | 7 +++- ...aceSlipDisplacementPointPatchVectorField.H | 7 +++- .../fixedTemperatureConstraint.H | 8 ++-- .../velocityDampingConstraint.H | 8 ++-- .../limitTemperature/limitTemperature.H | 8 ++-- .../corrections/limitVelocity/limitVelocity.H | 8 ++-- .../acousticDampingSource.H | 6 +-- .../actuationDiskSource/actuationDiskSource.H | 8 ++-- .../derived/buoyancyEnergy/buoyancyEnergy.H | 8 ++-- .../derived/buoyancyForce/buoyancyForce.H | 8 ++-- ...irectionalPressureGradientExplicitSource.H | 11 ++++-- .../effectivenessHeatExchangerSource.H | 8 ++-- .../explicitPorositySource.H | 8 ++-- .../jouleHeatingSource/jouleHeatingSource.H | 8 ++-- .../meanVelocityForce/meanVelocityForce.H | 8 ++-- .../patchMeanVelocityForce.H | 8 ++-- .../radialActuationDiskSource.H | 8 ++-- .../solidificationMeltingSource.H | 11 ++++-- .../tabulated6DoFAcceleration.H | 8 ++-- .../tabulatedAccelerationSource.H | 11 ++++-- .../viscousDissipation/viscousDissipation.H | 4 +- .../interRegionExplicitPorositySource.H | 8 ++-- .../clouds/Templates/DSMCCloud/DSMCCloud.H | 8 ++-- .../baseClasses/DSMCBaseCloud/DSMCBaseCloud.H | 8 ++-- .../basic/InteractionLists/InteractionLists.H | 8 ++-- .../indexedParticle/indexedParticleCloud.H | 8 ++-- .../injectedParticle/injectedParticleCloud.H | 8 ++-- .../passiveParticle/passiveParticleCloud.H | 8 ++-- .../IntegrationScheme/IntegrationScheme.H | 4 +- .../Templates/CollidingCloud/CollidingCloud.H | 8 ++-- .../Templates/KinematicCloud/KinematicCloud.H | 8 ++-- .../cloudSolution/cloudSolution.H | 4 +- .../clouds/Templates/MPPICCloud/MPPICCloud.H | 8 ++-- .../Templates/ReactingCloud/ReactingCloud.H | 8 ++-- .../ReactingMultiphaseCloud.H | 8 ++-- .../Templates/ThermoCloud/ThermoCloud.H | 8 ++-- .../kinematicCloud/kinematicCloud.H | 8 ++-- .../baseClasses/reactingCloud/reactingCloud.H | 8 ++-- .../reactingMultiphaseCloud.H | 8 ++-- .../baseClasses/thermoCloud/thermoCloud.H | 8 ++-- .../CorrectionLimitingMethod.H | 4 +- .../ParticleStressModel/ParticleStressModel.H | 4 +- .../TimeScaleModel/TimeScaleModel.H | 4 +- .../correlationFunction/correlationFunction.H | 8 ++-- .../molecule/moleculeCloud/moleculeCloud.H | 8 ++-- .../molecule/reducedUnits/reducedUnits.C | 28 +------------- .../molecule/reducedUnits/reducedUnits.H | 38 ++++++++----------- .../basic/energyScalingFunction.H | 8 ++-- .../pairPotential/basic/pairPotential.H | 8 ++-- .../pairPotentialList/pairPotentialList.H | 8 ++-- .../potential/potential/potential.H | 8 ++-- .../tetherPotential/basic/tetherPotential.H | 8 ++-- .../tetherPotentialList/tetherPotentialList.H | 8 ++-- .../solidParticle/solidParticleCloud.H | 8 ++-- .../clouds/Templates/SprayCloud/SprayCloud.H | 8 ++-- .../baseClasses/sprayCloud/sprayCloud.H | 8 ++-- src/lumpedPointMotion/lumpedPointIOMovement.H | 4 +- src/lumpedPointMotion/lumpedPointMovement.H | 4 +- .../blockDescriptor/blockDescriptor.H | 4 +- .../blockEdges/BSplineEdge/BSpline.H | 8 ++-- .../blockEdges/BSplineEdge/BSplineEdge.H | 8 ++-- .../blockMesh/blockEdges/arcEdge/arcEdge.H | 8 ++-- src/mesh/blockMesh/blockEdges/bezier/bezier.H | 8 ++-- .../blockEdges/polyLineEdge/polyLine.H | 8 ++-- .../blockEdges/polyLineEdge/polyLineEdge.H | 8 ++-- .../projectCurveEdge/projectCurveEdge.H | 8 ++-- .../blockEdges/projectEdge/projectEdge.H | 8 ++-- .../blockEdges/splineEdge/CatmullRomSpline.H | 8 ++-- .../blockEdges/splineEdge/splineEdge.H | 8 ++-- .../blockFaces/projectFace/projectFace.H | 8 ++-- .../projectVertex/projectVertex.H | 8 ++-- src/mesh/blockMesh/blocks/block/block.H | 8 ++-- .../extrudeModel/extrudeModel/extrudeModel.H | 8 ++-- .../displacementMeshMoverMotionSolver.H | 8 ++-- .../externalDisplacementMeshMover.H | 8 ++-- .../fieldSmoother/fieldSmoother.H | 8 ++-- .../medialAxisMeshMover.H | 8 ++-- .../meshRefinement/meshRefinement.H | 8 ++-- .../refinementSurfaces/refinementSurfaces.H | 8 ++-- .../refinementSurfaces/surfaceZonesInfo.H | 4 +- .../layerParameters/layerParameters.H | 8 ++-- .../refinementParameters.H | 8 ++-- .../snapParameters/snapParameters.H | 8 ++-- .../snappyHexMeshDriver/snappyLayerDriver.H | 8 ++-- .../snappyHexMeshDriver/snappyRefineDriver.H | 8 ++-- .../snappyHexMeshDriver/snappySnapDriver.H | 8 ++-- .../AMIInterpolation/AMIInterpolation.H | 8 ++-- .../AMIMethod/AMIMethod/AMIMethod.H | 8 ++-- .../AMIMethod/directAMI/directAMI.H | 8 ++-- .../faceAreaWeightAMI/faceAreaWeightAMI.H | 8 ++-- .../AMIMethod/mapNearestAMI/mapNearestAMI.H | 8 ++-- .../partialFaceAreaWeightAMI.H | 8 ++-- .../cyclicACMIGAMGInterfaceField.H | 11 ++++-- .../cyclicAMIGAMGInterfaceField.H | 11 ++++-- .../cyclicACMIGAMGInterface.H | 8 ++-- .../cyclicAMIGAMGInterface.H | 8 ++-- .../cyclicACMIPointPatch.H | 8 ++-- .../cyclicAMIPointPatch/cyclicAMIPointPatch.H | 8 ++-- src/meshTools/algorithms/MeshWave/MeshWave.H | 8 ++-- .../PatchEdgeFaceWave/PatchEdgeFaceWave.H | 8 ++-- .../algorithms/PointEdgeWave/PointEdgeWave.H | 8 ++-- src/meshTools/cellDist/cellDistFuncs.H | 8 ++-- src/meshTools/cellFeatures/cellFeatures.H | 8 ++-- src/meshTools/cellQuality/cellQuality.H | 8 ++-- .../coordinateSystems/coordinateSystems.H | 4 +- .../edgeMeshFormats/edgeMesh/edgeMeshFormat.H | 8 ++-- .../extendedFeatureEdgeMeshFormat.H | 13 ++++--- .../edgeMeshFormats/nas/NASedgeFormat.H | 4 +- .../edgeMeshFormats/obj/OBJedgeFormat.H | 4 +- .../edgeMeshFormats/starcd/STARCDedgeFormat.H | 4 +- .../edgeMeshFormats/vtk/VTKedgeFormat.H | 8 ++-- .../extendedEdgeMeshFormat.H | 8 ++-- src/meshTools/meshSearch/meshSearch.H | 8 ++-- .../regionCoupledGAMGInterfaceField.H | 8 ++-- .../regionCoupledWallGAMGInterfaceField.H | 8 ++-- .../regionCoupledBaseGAMGInterface.H | 11 ++++-- .../regionCoupledGAMGInterface.H | 8 ++-- .../regionCoupledWallGAMGInterface.H | 11 ++++-- src/meshTools/regionSplit2D/regionSplit2D.H | 8 ++-- .../closedTriSurfaceMesh.H | 8 ++-- .../searchableBox/searchableBox.H | 8 ++-- .../searchableCone/searchableCone.H | 8 ++-- .../searchableCylinder/searchableCylinder.H | 8 ++-- .../searchableDisk/searchableDisk.H | 8 ++-- .../searchableExtrudedCircle.H | 8 ++-- .../searchablePlane/searchablePlane.H | 8 ++-- .../searchablePlate/searchablePlate.H | 8 ++-- .../searchableRotatedBox.H | 8 ++-- .../searchableSphere/searchableSphere.H | 8 ++-- .../searchableSurface/searchableSurface.H | 8 ++-- .../searchableSurfaceCollection.H | 11 ++++-- .../searchableSurfaceWithGaps.H | 8 ++-- .../searchableSurfaces/searchableSurfaces.H | 8 ++-- .../triSurfaceMesh/triSurfaceMesh.H | 8 ++-- .../sets/topoSetSource/topoSetSource.H | 4 +- src/meshTools/sets/topoSets/cellSet.H | 2 +- src/meshTools/sets/topoSets/topoSet.H | 2 +- .../triSurfaceLoader/triSurfaceLoader.H | 4 +- .../triSurfaceSearch/triSurfaceRegionSearch.H | 8 ++-- .../triSurfaceSearch/triSurfaceSearch.H | 4 +- .../twoDPointCorrector/twoDPointCorrector.H | 8 ++-- .../cellCellStencil/cellCellStencil.H | 8 ++-- .../cellVolumeWeightCellCellStencil.H | 8 ++-- .../inverseDistanceCellCellStencil.H | 8 ++-- .../inverseDistance/waveMethod.H | 8 ++-- .../leastSquaresCellCellStencil.H | 8 ++-- .../trackingInverseDistanceCellCellStencil.H | 8 ++-- .../dynamicOversetFvMesh.H | 8 ++-- .../fvMeshPrimitiveLduAddressing.H | 11 ++++-- .../lduPrimitiveProcessorInterface.H | 11 ++++-- .../oversetPolyPatch/oversetGAMGInterface.H | 8 ++-- .../oversetGAMGInterfaceField.H | 8 ++-- .../semiImplicitOversetGAMGInterfaceField.H | 8 ++-- .../decompose/decompositionInformation.H | 4 +- .../decompose/decompose/fvFieldDecomposer.H | 8 ++-- .../distributedTriSurfaceMesh.H | 8 ++-- .../reconstruct/fvFieldReconstructor.H | 8 ++-- .../reconstruct/pointFieldReconstructor.H | 8 ++-- .../reconstruct/reconstruct/processorMeshes.H | 8 ++-- .../noise/noiseModels/noiseModel/noiseModel.H | 8 ++-- .../pyrolysisModels/noPyrolysis/noPyrolysis.H | 8 ++-- .../pyrolysisModel/pyrolysisModel.H | 8 ++-- .../pyrolysisModel/pyrolysisModelCollection.H | 8 ++-- .../reactingOneDim/reactingOneDim.H | 8 ++-- .../pyrolysisModels/thermo/thermo.H | 8 ++-- .../regionModel/regionModel/regionModel.H | 8 ++-- .../regionModel/regionModel1D/regionModel1D.H | 8 ++-- .../regionProperties/regionProperties.H | 4 +- .../singleLayerRegion/singleLayerRegion.H | 8 ++-- .../kinematicSingleLayer.H | 8 ++-- .../surfaceFilmModels/noFilm/noFilm.H | 8 ++-- .../constantFilmThermo/constantFilmThermo.H | 8 ++-- .../filmThermoModel/filmThermoModel.H | 8 ++-- .../liquidFilmThermo/liquidFilmThermo.H | 8 ++-- .../filmTurbulenceModel/filmTurbulenceModel.H | 8 ++-- .../filmTurbulenceModel/laminar/laminar.H | 8 ++-- .../contactAngleForce/contactAngleForce.H | 8 ++-- .../distributionContactAngleForce.H | 11 ++++-- ...bedTemperatureDependentContactAngleForce.H | 11 ++++-- .../temperatureDependentContactAngleForce.H | 8 ++-- .../submodels/kinematic/force/force/force.H | 8 ++-- .../thermocapillaryForce.H | 8 ++-- .../BrunDrippingInjection.H | 8 ++-- .../curvatureSeparation/curvatureSeparation.H | 8 ++-- .../drippingInjection/drippingInjection.H | 8 ++-- .../injectionModel/injectionModel.H | 8 ++-- .../injectionModelList/injectionModelList.H | 8 ++-- .../patchInjection/patchInjection.H | 8 ++-- .../transferModel/transferModel.H | 8 ++-- .../transferModelList/transferModelList.H | 8 ++-- .../constantRadiation/constantRadiation.H | 8 ++-- .../filmRadiationModel/filmRadiationModel.H | 8 ++-- .../noRadiation/noRadiation.H | 8 ++-- .../primaryRadiation/primaryRadiation.H | 8 ++-- .../standardRadiation/standardRadiation.C | 6 --- .../standardRadiation/standardRadiation.H | 10 ++--- .../ArrheniusViscosity/ArrheniusViscosity.H | 8 ++-- .../constantViscosity/constantViscosity.H | 8 ++-- .../filmViscosityModel/filmViscosityModel.H | 8 ++-- .../function1Viscosity/function1Viscosity.H | 8 ++-- .../liquidViscosity/liquidViscosity.H | 8 ++-- .../thixotropicViscosity.H | 8 ++-- .../constantHeatTransfer.H | 8 ++-- .../heatTransferModel/heatTransferModel.H | 8 ++-- .../mappedConvectiveHeatTransfer.H | 11 ++++-- .../noPhaseChange/noPhaseChange.H | 8 ++-- .../phaseChangeModel/phaseChangeModel.H | 8 ++-- .../solidification/solidification.H | 8 ++-- .../standardPhaseChange/standardPhaseChange.C | 6 --- .../standardPhaseChange/standardPhaseChange.H | 19 ++++------ .../surfaceFilmModel/surfaceFilmModel.H | 8 ++-- .../surfaceFilmRegionModel.H | 8 ++-- .../thermoSingleLayer/thermoSingleLayer.H | 8 ++-- .../thermalBaffleModels/noThermo/noThermo.H | 8 ++-- .../thermalBaffle/thermalBaffle.H | 8 ++-- .../thermalBaffleModel/thermalBaffleModel.H | 8 ++-- src/renumber/SloanRenumber/SloanRenumber.H | 8 ++-- .../CuthillMcKeeRenumber.H | 11 +++--- .../manualRenumber/manualRenumber.H | 10 ++--- .../randomRenumber/randomRenumber.H | 11 +++--- .../renumberMethod/renumberMethod.H | 11 +++--- .../springRenumber/springRenumber.H | 11 +++--- .../structuredRenumber/structuredRenumber.H | 6 ++- src/renumber/zoltanRenumber/zoltanRenumber.H | 11 +++--- .../rigidBodyMotion/rigidBodyMotion.H | 8 ++-- .../rigidBodyMeshMotion/rigidBodyMeshMotion.H | 4 +- .../rigidBodyMeshMotionSolver.H | 8 ++-- .../cellVolumeWeight/cellVolumeWeightMethod.H | 8 ++-- .../correctedCellVolumeWeightMethod.H | 11 ++++-- .../calcMethod/direct/directMethod.H | 8 ++-- .../calcMethod/mapNearest/mapNearestMethod.H | 8 ++-- .../meshToMeshMethod/meshToMeshMethod.H | 8 ++-- src/sampling/meshToMesh/meshToMesh.H | 8 ++-- src/sampling/probes/patchProbes.H | 8 ++-- src/sampling/probes/probes.H | 4 +- .../sampledSet/sampledSets/sampledSets.H | 4 +- .../sixDoFRigidBodyMotionSolver.H | 8 ++-- .../sixDoFRigidBodyState.H | 8 ++-- src/surfMesh/mergedSurf/mergedSurf.H | 2 +- src/surfMesh/meshedSurf/meshedSurfRef.H | 2 +- .../surfaceFormats/ac3d/AC3DsurfaceFormat.H | 4 +- .../surfaceFormats/fire/FLMAsurfaceFormat.H | 8 ++-- .../surfaceFormats/gts/GTSsurfaceFormat.H | 4 +- .../surfaceFormats/nas/NASsurfaceFormat.H | 4 +- .../surfaceFormats/obj/OBJsurfaceFormat.H | 4 +- .../surfaceFormats/off/OFFsurfaceFormat.H | 4 +- .../surfaceFormats/smesh/SMESHsurfaceFormat.H | 4 +- .../starcd/STARCDsurfaceFormat.H | 4 +- src/surfMesh/surfaceFormats/tri/TRIReader.H | 4 +- .../surfaceFormats/tri/TRIsurfaceFormat.H | 4 +- .../surfaceFormats/vtk/VTKsurfaceFormat.H | 4 +- .../surfaceFormats/vtp/VTPsurfaceFormat.H | 4 +- .../surfaceFormats/x3d/X3DsurfaceFormat.H | 4 +- .../surfaceRegistry/surfaceRegistry.H | 4 +- .../barotropicCompressibilityModel.H | 11 ++++-- .../TDACChemistryModel/TDACChemistryModel.H | 8 ++-- .../TDACChemistryModel/tabulation/ISAT/ISAT.H | 4 +- .../noChemistryTabulation.H | 4 +- .../basicChemistryModel/basicChemistryModel.H | 4 +- .../chemistryModel/chemistryModel.H | 8 ++-- .../psiChemistryModel/psiChemistryModel.H | 4 +- .../rhoChemistryModel/rhoChemistryModel.H | 4 +- .../specieReactionRates/specieReactionRates.H | 8 ++-- .../radiation/fvOptions/radiation/radiation.H | 8 ++-- .../radiation/radiationModels/P1/P1.H | 8 ++-- .../radiationModels/fvDOM/fvDOM/fvDOM.H | 8 ++-- .../radiativeIntensityRay.H | 8 ++-- .../radiationModels/noRadiation/noRadiation.H | 8 ++-- .../radiationModels/opaqueSolid/opaqueSolid.H | 8 ++-- .../radiationModel/radiationModel.H | 8 ++-- .../solarLoad/faceShading/faceShading.H | 8 ++-- .../radiationModels/solarLoad/solarLoad.H | 8 ++-- .../radiationModels/viewFactor/viewFactor.H | 8 ++-- .../solarCalculator/solarCalculator.H | 8 ++-- .../chemistryReader/chemistryReader.H | 8 ++-- .../chemkinReader/chemkinReader.H | 8 ++-- .../foamChemistryReader/foamChemistryReader.H | 8 ++-- .../moleFractions/moleFractions.H | 8 ++-- .../reactingMixture/reactingMixture.H | 8 ++-- .../singleStepReactingMixture.H | 8 ++-- .../basicSolidChemistryModel.H | 4 +- .../pyrolysisChemistryModel.H | 4 +- .../solidChemistryModel/solidChemistryModel.H | 8 ++-- .../Reactions/solidReaction/solidReaction.H | 4 +- .../IrreversibleReaction.H | 4 +- .../NonEquilibriumReversibleReaction.H | 8 ++-- .../Reactions/ReactionList/ReactionList.H | 4 +- .../ReversibleReaction/ReversibleReaction.H | 4 +- .../dynamicMotionSolverTopoFvMesh.H | 13 ++++--- .../linearValveFvMesh/linearValveFvMesh.H | 8 ++-- .../linearValveLayersFvMesh.H | 8 ++-- .../mixerFvMesh/mixerFvMesh.H | 8 ++-- .../movingConeTopoFvMesh.H | 8 ++-- .../rawTopoChangerFvMesh.H | 8 ++-- .../topoChangerFvMesh/topoChangerFvMesh.H | 8 ++-- .../compressibleTransportModel.H | 8 ++-- .../singlePhaseTransportModel.H | 8 ++-- .../transportModel/transportModel.H | 8 ++-- .../viscosityModel/viscosityModel.H | 8 ++-- .../interfaceProperties/interfaceProperties.H | 8 ++-- .../base/regularWaveModel/regularWaveModel.H | 8 ++-- 976 files changed, 3613 insertions(+), 3426 deletions(-) diff --git a/applications/solvers/combustion/PDRFoam/PDRModels/XiEqModels/basicXiSubXiEq/basicXiSubXiEq.H b/applications/solvers/combustion/PDRFoam/PDRModels/XiEqModels/basicXiSubXiEq/basicXiSubXiEq.H index ccec0b0e84a..12cfaf2664b 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 cb9ee61b09c..fabbd53eb53 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 7c06ab6e79d..66c1abb44a7 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 b9596072bc1..316c55a2733 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 72fd9bb8aee..2b4368f635a 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 79e68edb206..49444c2ca0e 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 6679553a4de..3d2efc313de 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 55dbd0fa2bb..fa11f2ccbda 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 1a287c7ce36..a5b50670744 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 88b6e81d1a6..c23dd73caa6 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 49bc8aa1961..c9eef267ef5 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 bffe08d60ef..8246bb0db6e 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 ce468553841..aef02f427ab 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 ea954677f3c..9c3e243992a 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 d2bca735c05..42b26a3558e 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 698b1714627..29cb41487f4 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 f521672bb72..cf69c5f91ba 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 2749528e59b..9b206420385 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 a3de318510b..208088c86ee 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 420a7c3e8ae..cf726165020 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 9d748fd7374..719497c6a13 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 482a8a1a8ea..52735dfacc0 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 dedc97a9e9c..010d2abc7b7 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 8b76f13c560..b6accd4197d 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 8f23f6881e1..9378d96512a 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 c51599d58cc..6e403330062 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 5a7375e0616..f4e6f1bf9b8 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 282df0b1231..8ea72dc63ae 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 fc26b7f9ecf..b68e5007287 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 c9f635624fc..428b2183bde 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 6e44f6457a0..76c5b5c1a11 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 20feced2344..bb554aa5df5 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 06160f6c0ac..bf4acfd01eb 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 03f323e519e..f382ac2d914 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 de73a227474..12f4d919a2f 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 e0bc93cc796..0f3404ea384 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 ab5e38effee..48957ebeb82 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 44ff9015310..c33dac56822 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 6e44f6457a0..76c5b5c1a11 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 20feced2344..bb554aa5df5 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 06160f6c0ac..bf4acfd01eb 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 03f323e519e..f382ac2d914 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 de73a227474..12f4d919a2f 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 e0bc93cc796..0f3404ea384 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 c148e3c40a6..f927e6194a8 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 c53894f45cc..c997d063873 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 f6866335679..0fe43a515f6 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 cbddd9a35bc..46a1bd111f9 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 cf7df6963b0..29527a486fe 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 00d20f1e634..fc0d001da86 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 adec113adfe..ddb9a8b0ba3 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 f7a1f82ee79..71f1ba0067d 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 39f2d42cb99..5f27cea07ff 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 99d69412c96..7036549c269 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 05ee8873970..1c94cf1b0ac 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 24de053055e..db77984acfe 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 7c92f8acff0..3eae6061028 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 07954827b89..605e403ac08 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 7be15695bc1..11bcd4d3520 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 175d2908d54..ce51a650ff6 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 77f40bc2470..62bb0f1166f 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 864822e088a..d518bdf4c69 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 0d1c318004d..80d5bd98f0a 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 44a6557d520..78888d92f3f 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 507809ce760..adcc0333f1e 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 adda0867a15..6d048549215 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 14221dc70ab..e01d10e2d85 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 4fab414db61..6bf8de4fa77 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 27aecc90f0a..9933057a81b 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 5f34fd5637f..2b0d5f268f2 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 19cc6ea665c..1d8fe85403e 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 a6d802523bb..095021d0a07 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 2db1163d9f3..f645e8a7861 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 2f51cecb886..27f88db21c4 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 497d64796bf..25c32eafe17 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 249c8d8cbad..78edf6ee38f 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 09c351bd0ae..f2bf237fb9c 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 8d86f756801..97a87a3c5f4 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 acf3b95dcf7..ab98f27599c 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 5c7a940996a..a7c40743729 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 f083bab0b88..364427a0e94 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 fde23719f7d..f4accf0302d 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 46c33e4c4e0..d89199ebfd5 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 f42e974f0a0..8627f8c489f 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 3a743e3be1e..f728d973a42 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 88569485c90..c0e0e48987e 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 66f055a377e..ccea783ccfa 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 94a934b22bc..b0696f80aa9 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 99794622adf..10ab1d93891 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 ce631f4ad03..6534a834c99 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 ee4fc1d7771..a7d8858f17c 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 08f9b4a3855..c426be343e9 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 aca0672296a..5506e51cc24 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 d912ca8d9fe..a5ddfdb583d 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 3b15fc31e91..d7a4c42e789 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 dd179adaa2d..8d82d3505ba 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 9c0d0617b9a..88d84d41e7d 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 3dc1e85ce08..b8e05c1b128 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 f9a91d0f426..388e6b19ddc 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 bbfbb6e4db1..05a9aeb8f77 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 ba0a7a9f671..1aa1cce617a 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 1b1f4f3962a..948532bc3a3 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 89d7e945db9..edb94585c30 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 f881d3c4ed7..c3d4534ede4 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 1a85c655298..146370ae038 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 36e7764c4d3..1c8aafe4ab9 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 bf1abc1e2aa..feb30b0d0ca 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 d016c26cd11..42ce0d9f5aa 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 27d7364f909..444ce72ffd4 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 6edff65e88e..cce070c1978 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 6a9cc1245e6..fc7c51586d4 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 692146f8c08..fed81fe9afa 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 fcac9d9cf6f..c538e147e21 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 f74e29c504a..7b364137ba7 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 5b4b5a9b222..737e1b2cb0d 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 042c2044d96..6cb2dc576e2 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 fba0a559e53..c7830f50ebe 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 1189d6725a3..7bba6587a4f 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 b68e13e1e6c..bddb4ba9654 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 e2481e64732..b5786d3ff73 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 ea72f84912c..fed6fca24f2 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 4eaaf87e83e..3456aa2e13f 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 1cf8143719f..48d5cde8727 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 c8deb680e88..ce56da15446 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 06976c789b0..65b4f73c6db 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 2e575713b9d..7aaded38d1d 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 c91f724a879..4326d10e708 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 32dd4785962..e58bf9f25d7 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 f1d6a965c1e..75c527cb549 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 1f3936c5798..b40c4c49539 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 7150594c3db..9f042bd2315 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 0a4fa5aaa21..5d4597ed7cc 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 2a44d38b3e3..5ec4e53a637 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 2e2e28f2622..8ce0f95b864 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 d5230429104..5cab13a16d9 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 86b91b2466e..d6e90868659 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 18a3e51461c..38e657b98e7 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 918d86a1335..75160c7d8d5 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 b0471ef9ba4..eb45cc670c5 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 1a41c759c18..4fab477d568 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 66b15b65b86..e67a94688fb 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 eab0f390422..bd2e73f746a 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 dc94e43fecd..ea9ce1a3ee1 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 db7aa681ef8..44b07ec7c0b 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 131cfeb93fe..8c67e39aa72 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 9af12426f05..71b1c643050 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 5b08d82f2ca..4e91cf12682 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 680999cbc6d..7a0e2003955 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 cad2a869541..235c97086e9 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 86667001607..d6a0b53b0b7 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 e1fd26b6c1c..a5eb8aa32f1 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 f35342aa8b9..ab2fd98a52e 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 856b4673f97..2bd99d91d46 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 cd771ed8bac..4b596242965 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 1e7c85e41e1..9d03eccfd01 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 8f4dd950daf..fefdcf16f6b 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 7a6d01ff500..7e4572ced90 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 fa405d37382..7930f881578 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 36c9df42739..c60cbd078e3 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 3ce8c096d66..1c17e844253 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 a42c9a8b2a9..15a30b2d63a 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 20552e66fdf..083f64d0a47 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 549f873a960..762d5c9f552 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 ee426f2746f..9a8bb8c05c7 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 03a6b53e45d..0fa8498a842 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 02d6c5f1c44..283b8c86ea6 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 3bcd7d14fe7..4afe1b1e8af 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 99bc37941c0..d2c26945a8e 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 a7cdae8e4e6..c2c06536c75 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 fef6b3519c8..5718d5fad64 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 253784ba25f..f458fb3bce0 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 5c574c41581..e0bd3f15d0a 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 cb2c9fecf13..bddead5838f 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 896db1bc9aa..74356805172 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 fd651355862..f2159ecebaf 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 4d5b65a05cb..a5ef5ad8e0b 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 c1b8009f29d..08490b3ab9b 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 b5bb64b4525..dbaf98dbdba 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 4f59e6b964a..853d4e0656c 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 4a1aa9454c2..003635087b2 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 6e404e9e831..f680aa4e4dc 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 44d9045a4b2..a7dde7e2800 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 92b1b02d60f..5e0731214bf 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 ea0a754bb17..c4ae6d523b1 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 a384f229201..83c4e6ea9ba 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 78d6bb2ea80..3c07ad5e772 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 2c02c29a7ac..be32a9df5fe 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 a46ba0d0d1d..0d88f1b61bd 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 736a7c4ccac..b315ed34efc 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 9671fe30202..c24334928ff 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 3c62577e4a5..12a60773dce 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 3e2fcad6b23..02c0e48367e 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 8959092c574..e52ba279142 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 5d4b8cfe35f..c4c292f71fa 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 b6ddc60fc2b..a24b5cac58f 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 e1d3627d386..7fef5769f37 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 7da0e6ed1e3..5e8b012360d 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 5ec42255c8c..c61e90e5340 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 f07b03ea9a0..f0abdc3beb9 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 00331499ca3..9680a6c7d7a 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 b48c7cb238b..33a99585dff 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 f53aa431c40..980aadcfc4a 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 54d89cbdefe..8205263795e 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 f1d07d79b98..d8e306732d5 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 ffafe9447e0..8831eecbf81 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 494d995fbfa..8e1f5603d7b 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 3d2ec76decb..b1a882afca8 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 91db5fc8737..0d8f3ada86f 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 f5958be5e04..b7dddb59e8a 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 4921d7fc4b9..51705844bf9 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 26b5763d372..5b0db8f9cac 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 cfb4f53eea7..18c77b533c2 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 03da8e0821b..197d9850d77 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 199481ea710..545a9bb4fb7 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 2756e15395a..63cc7eaf2a9 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 5fd06739848..992219d7297 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 139e4fdbfb4..c7f5ef70c5c 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 da538b05f11..b7c0b5cbf2b 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 0179ae6de6f..94a8aa483c5 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 ac6b10a9a46..2de745493c6 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 770e018b108..384b55777c6 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 ac11398afe7..d2b5691cf6b 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 8d415054dba..7c352356039 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 c4d3b34f464..5e1f71275aa 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 bd1443a1240..c7673f4efd8 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 3329aa12842..5de96faaa94 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 ff7a0050acb..61d0eaf9794 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 ec2d1a67196..1f49b2788ed 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 7fa5f0acb80..8a99e33c842 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 a13100cdf36..19b607bdbd3 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 46348ac3d00..f9ebeadc937 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 ed66ef249e3..d26c7abf63c 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 e4962dbf254..0c43ee37983 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 38e5a33d090..d1c3abdffd9 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 931835cb26e..ae7066f96e5 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 d897be830d9..260d2318ff4 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 f4b70c9bd1a..98a68c39fd6 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 836e82dfc87..620f141d56a 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 a85772e21c5..b1626545ef3 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 c326718c090..335f5805d4c 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 926a672d18a..b62a2fb198e 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 3ccecd449ac..2f4dd3e1ca7 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 5cfb47b560e..70a7e188d6f 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 88b301402a1..03d4969213d 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 b386880ed5f..37ff30c7498 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 500469d94f5..223b91dc70c 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 e53a9f71d62..ff982a66079 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 d2316fa5d37..b6cae6fb522 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 8ff63775898..55c48c3f9cf 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 a2c194ac2b0..c130cb03b66 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 b92b3557bd6..3a871cf131e 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 a952fbeadc8..97d26d860d2 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 99528cfb187..2c060041045 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 d45950335a1..f24ddf1d98b 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 70503dbdd88..3ce71c75036 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 e243ba689fd..a79b434a0a4 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 fdf2d237387..ded941e4feb 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 86dbf0d6da0..93dc4bc73ff 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 778a6f7dcb4..a8953e6996c 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 ac42f2a7777..7d95f518b1a 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 09313c1106b..5f0f38b371f 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 645670e9bda..749348005c5 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 3aec24ea695..a9c84051e4f 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 a05e3b49d43..d3864adab81 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 e0346cd1f68..ea50d5e6a7e 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 f84f39ec2e3..da0bdfd6c40 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 e7243d77087..29a950ca282 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 80ee1b93111..f61c201210a 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 0f3cda9a9f0..c4a10917f7e 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 e3ae10a2a3a..7cb7f31d218 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 fd6b47ca50b..26f1907ba2f 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 b3a57319aa8..d4a4a6322f2 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 7b9769a948f..a5a65147bda 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 b4cef870732..014b3b71f6b 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 59bd48f4f3e..745aeb25325 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 916049ea462..59b1a1df710 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 f981aaf6eab..34df52afa53 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 a52fe7b78fd..62919588c29 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 5c21dd21df7..1933303a0f4 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 81feca5793c..8271ccd8aed 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 b98c95e3c17..e3430d123e0 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 11c366356d9..2c06fa1313d 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 aac332e3a5b..754c8754526 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 bb7ad27eec4..5d18a7067ad 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 f14af21b21c..5e11d29cfb1 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 7fb9654a4ae..9a4f2df77ab 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 34f796d1647..b16252d033a 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 cc2bf38e42c..b013a6b764f 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 5b4580e8692..6d0d5d9f544 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 c5e6ecbd66e..92b8efce861 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 08ac25e6f08..befe39dca03 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 f919a54435e..98b6d9a3872 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 cf862ef5e39..cbba812d8b7 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 374a74bfc77..623a03c0cb8 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 2e3b52a5ee6..d736844d527 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 47694e4ab1b..c59d277387f 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 a4126d2efc2..3f48fa2d7c5 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 0210d661141..b3b49b98765 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 88626ff1ed9..3af5d4d7dee 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 19b9db63c72..6a86a933eb9 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 61e0ac3d7f7..8a820626e2c 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 ad5466e0fff..dbfb440c228 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 43b848b23f0..51b10d16d5a 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 a59fc55bcfc..ba57803084a 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 42854d7b2db..edbc46d31f7 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 c7f35d0c7de..b6eafce5252 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 2efeed191c6..5d05f705057 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 33cead008ce..3646c4c8f21 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 e83b3eb52e3..05310867b94 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 bfb46167b11..7f3361e09ad 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 2a01905b0c1..ded506ef69e 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 14bfd7b89f1..3f7a79c924f 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 44246287880..a4f2785c95d 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 6803551d851..8714d37f5fc 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 8c899b76d5b..0dfcacd32de 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 073cd101e51..dcc562630fd 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 0438c62121c..b9f2663c3ff 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 6da44966597..29bfdf4c354 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 ae4a75c41b6..060b4fae9b6 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 f922e1a44d8..25c6ca53632 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 93d4731026c..d5eb3822432 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 2e261a5b98c..3a8a9175b43 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 43041d46010..1362bcead4e 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 b7c5cb5c565..17219906d58 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 351b40cab07..d728732e1d7 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 05daec336e2..4724fac3488 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 d7790ededab..7d8427631ba 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 c7b71c6311d..12a3d544ae6 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 1af44e4d043..0512fa5348d 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 1cb736b84c3..97df61930b4 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 45cbadccc57..4ab85b92443 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 e01a9ad6a23..4b139bde44c 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 0c16af5f0a8..ee4bed65ed0 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 168b11d5e0b..2649fd5b769 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 22c47bf3be5..5fa1c359d36 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 0a7f8d26799..57ddcf5efca 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 f256a4800f0..0936f90ca6c 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 bdb6c062c8b..71572d3183c 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 e51e5313578..d68b21e8a3c 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 2ead656b529..d4dfe98edee 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 fb332f7f210..de9524038b3 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 048e3091281..16abef7a10c 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 f7ad1d45019..5838c2b9403 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 f793adab1f6..802ec4c6e10 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 e7bcd15dbe6..86f1676a461 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 feb241f134f..2963e3c665f 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 3c79ce8a33b..67381ed60e7 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 a65a8160b7a..402fe7719e6 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 e2e0d0b6275..3455ef0578c 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 5c36dc13fc3..84fd7b56497 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 e638bf63b4e..136de99e03b 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 d4906ed40d9..b2525708ea7 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 8010b57bd1d..dc3443e9c14 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 88120aef5c9..f43029b5e52 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 6a5c03c27c7..e6af62b6d66 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 4e07939dd20..4e0701ddae7 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 ab6b4cbefc0..bff1bac2c60 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 752dab30459..38e79de250a 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 8e49da9f1f9..0abe59a12ad 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 edb3218eaeb..2a2e14c259c 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 473a4a15b71..526a1cf80a9 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 0309557b503..1daebc81702 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 e34450e98eb..59a60ca2aa4 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 41cb01a8387..405f9d3bbf4 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 fbe3417287d..a81be0b7962 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 b667aeb7f24..be018c8b252 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 711b5c81941..6286ff0a985 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 e3c75c5511c..00bdfc1e26c 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 a73123c5db2..dbd9a5581ed 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 b48d57d2602..68778054415 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 bf148149802..e8c475cdc77 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 d9b5ca2f154..d0da1a8eed1 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 717e1700ffc..3f246d93287 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 f531535e79c..0244d098e32 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 b979ba08db7..b6b85974fe5 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 8f960cbb8e6..96eca5e7884 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 cbc7ab3a9ee..4171cedc9ab 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 eb6e585f29e..6dcfa2f4455 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 785aa25ccaf..41d0e012eaa 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 99986a19d81..98e1e691550 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 18041f268f3..70d5da30899 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 14232574ac1..a15528f09b8 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 9c294be8056..bc8dc4025bb 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 8cbd3e8ce68..1faba27914d 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 afc90d74422..fac465bd51d 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 47ce23cc5ab..7f9556ebfd2 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 ef0ea54fd8c..9bd4a2498b3 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 198796c6133..6400622fa56 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 720f46ad666..586259cb1d7 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 232ce1b4ccd..5609af24b8b 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 4c6c05b4f1f..7a8125880fb 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 4b36558c2c3..dd300a7e2bc 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 75788868718..4773b33c14b 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 e675b87d73b..ce20a299940 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 4003e2fe171..8adbb7fd553 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 6a806fa46d5..02ed70ca729 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 86278389949..2a6896d4abc 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 ca13143c99b..e73b4cf68d5 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 aadf811f3e3..a658b3297dc 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 9e6e2235cca..b4180802990 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 c02b26a3366..d137b2cb871 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 8db358ac62a..5cb77f2a819 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 6bf2faeb305..e85055d8443 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 4e610928c81..c84028eceb1 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 3f4292d527e..0f57a51f8c7 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 48c50db72e3..913e46b5f3f 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 a4ccf9b1548..a598c6a3bda 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 25f4c7dad47..9f4530e121f 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 2de77c48c93..7bc338f331b 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 94ff7bea97c..44611cf4605 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 5f0e6c46377..2afb9982a0f 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 f9d14353d04..31fbe18dd7b 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 12430c03e63..5de26b91849 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 c7f03839427..0747f4e3417 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 cdd32c1fdeb..d9fdf359ef8 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 a8094ce231a..93c142ed964 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 c22388ede49..cd256cfa9ab 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 e87dc355a2e..79f3dee7429 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 1cf9c5bde7d..03c2291216e 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 2ccb142a126..90a3385e331 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 be702aa9e88..e34b88f65f8 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 b5046bf9be4..8bd0c276739 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 eae3fda3276..3982a07ad20 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 78b09904e10..4d2592521dd 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 6b60c6e4195..eb83526c658 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 cef7c4b2edd..8dd096dd870 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 fc9fb996589..abea086e3ba 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 aa6723352bc..680056f27fd 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 2df2e8ce508..77e3c5ee675 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 758fa8d93d9..4f6d58336a4 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 bbedc55e91e..588d80b58a8 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 df27f23087b..94a009da999 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 6bfa3652d4d..79b5397ea59 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 7301ef98540..f298a545f6f 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 3f24f05cb07..26333286767 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 bee79496c65..159fbdb7309 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 bf7580c20c8..f5a7c51b802 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 acfef27d3c4..fe96b59aa66 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 733dde6898e..91d64fdab2d 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 fbee4ceba82..f1077c32e19 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 a12d87a6eaa..e73dff11aac 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 304eb3d456b..e9bdf9ba875 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 a34c0988061..d9c5a9a4703 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 529b60c0623..cfc0eb256ca 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 f8937ed8e2b..2358f73262f 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 3deec19fced..7b25aa465c2 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 a20479d391e..b7c1c56e26f 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 701bc954eaa..6ef43d937c2 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 54dcd9669f7..55ee923cd6d 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 8f026fe2b88..8d57b6649e1 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 c7c062eaa91..e9a09f27170 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 6b43631ebbb..e42e243db46 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 491702eebc5..d567aae2ffc 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 5da5eb5c164..fb9ba0b8251 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 bffede5eb8e..c20b2d5213d 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 cba87dbdf45..b4ec92dae8b 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 d12cc699bc1..c637120a6c8 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 6b9fe229456..b11aa563fc4 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 f074b41367f..04add430409 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 96c14095de8..3c4ef878964 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 d99e0b13420..e942a7bdb54 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 442fa0ebc70..764ded6bcec 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 7aae1bdd1a2..ab6cf391a66 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 34694584a34..dc65d82b951 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 4c74c4b0a22..8f17992a96e 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 ea2fe817e7a..2273a8bdd88 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 f2419115cc4..b7738b1d401 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 820aa873849..bafd6aa84a1 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 d5f275f721a..0a6e73b1c02 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 49fe89dd37d..d4dc1d93486 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 5b7336eda63..22bcf977208 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 27a33733f39..b8e7fd34a80 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 47502218757..c7ce4fd70b5 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 46a126d8191..f760e4edcae 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 c437f576549..cec45b68053 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 e48955ff909..a4c78a71000 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 09b65913136..709768a2e9c 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 1b86589daf6..2296e803bb2 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 fb36e689ea3..f9f50e09c9b 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 763584dcd24..82d71d52e92 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 1adaed982b6..658c4d0bf40 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 76375bca0ba..ec961499fbd 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 78df2901e18..cd2654ec770 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 1493b328b4b..4dcdbb028f1 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 363f739bde8..96bcd160c64 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 e9ca67327f3..af67f523d4b 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 e9e534926ab..62502570d12 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 bc7c496dd61..d7da01a82df 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 3e953c30ef5..fb487946626 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 33db437908a..3d97f2786fb 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 119ba568053..3922d547754 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 73134cdaabb..1604ef38c33 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 eede038374f..2f152cff014 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 36849c75976..cb76794bf4f 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 921fbcd2580..966a754ae0b 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 0573ef4fc2b..eecf8469db3 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 20f20341815..6188fdd4e8a 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 0ce4c7d220a..cb343f9d9e6 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 76fe1160b3f..8f56584203d 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 403ccb3d0fa..c8f904e4b3f 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 e7538c451db..97516f3ecea 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 e83543364ba..1a64a077229 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 f31b6d3d557..06f94c3fbb4 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 0d7e9174d9a..04b304cd06f 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 f6b51cbbfff..83539db19e4 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 1d6841aaa18..7b15d2253a1 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 a3300fe801e..777092b1cd0 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 86ff5f95a1b..7cd178d9cf3 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 839ae4e7240..4768eb772fd 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 9eb17f405ca..3e43380820a 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 fd2cd40d207..da65363ae5c 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 203515bafa4..46cc21823bb 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 925392952e7..5f92df68878 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 103a5de4c85..85e762502f5 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 8b31b5d97b7..3bc7d42c103 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 f208a8c5da8..e469ed3246d 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 99730edc8f0..25daa2bd0f0 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 981bcdf84a2..7ab32b22fb9 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 1197edb8c35..61cc3eaac29 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 282637232c1..da3d1ee4ba2 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 6f0f4af757b..bddb7d81f42 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 3fdc7e9dbc3..3d5ef599a24 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 eeeebef1aae..eb4e5fc94f6 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 80ca7f4f172..56439124548 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 ea903ad9685..fd32983b815 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 1ff154ec3b9..72af300dbc6 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 8a3f1160a12..cb94ce10b8e 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 55d860a1995..7473c9e536e 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 cad0440bd73..4dca6608e37 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 7dff1ae3cfa..92c16daab26 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 e0c6a3e9ae7..3e9db7f573f 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 6197c86f35e..0759b25ae41 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 01053a0cb7e..b03feec1a10 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 3f082e8761a..fd4f6bfdc37 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 12eca38a4d9..e8b87281dc4 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 cf9ee4c35f8..2fe892bd646 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 16b4e11b81e..a2bd7e403cc 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 7b3267ba24d..a8dd315aabf 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 7e2dacdbdb5..55868e324e7 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 41d049bbb6d..74654dd44e7 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 25fa68e8116..23c15186f47 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 6a333c0a71d..c6b6346fef3 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 33a7e649413..9ff33bad110 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 f439b425a4b..e42c51168ef 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 f67a20aae6e..8b2da1d9795 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 e9933660eb7..f235ceb9ab6 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 b2be9da2b66..bdfa34669c4 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 cd2113d6735..1cabb77a9d4 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 0ed9aef4f70..8e4512b2f0e 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 3c1052fab78..43eabdea771 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 573a1a45399..555c88cad19 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 11a17c3d332..e3300aca741 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 d9d8e1a6fdf..5d600ddc82f 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 ca7fb074b9b..32c14cda682 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 f74b56df9d2..5dfbc49bf62 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 0fdbd575674..42f722a0a19 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 816de8ab7b2..460f4af5e87 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 8d8b07f76f7..81c463a4d6a 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 d255170cfe7..ead28d79f43 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 0cce900c4cf..08818bcbb0c 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 fec04468e40..9dd723c6de7 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 848f1bae52f..97e138f5fb9 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 48f3675b40a..b1e96e5960b 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 f311c7b60f0..8d2de37c9df 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 00802267c34..5750784d218 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 ede33e22173..ce6975c3b4b 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 5e2b771ba2b..72eb61e6aa5 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 c8982913b17..02bf60416a6 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 5e71b0b184b..718095badd3 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 e9c5a201be2..8eb1367e0f5 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 af69763d86c..bd218851413 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 6b47c137505..583b494dde7 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 97582173f38..5e976f7fb44 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 70e75e6b02f..83fe7f36cba 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 3c1da4dea00..26a3ffe5361 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 9ad5de4f5ae..486bbead340 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 9d73a61b032..6998208a63e 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 99277ccb6d0..63d4ca0a79a 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 b185728b2ea..8478a929394 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 075bc29c732..84f4bb25862 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 e077a5f0c69..b46d829e47f 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 d326787bc41..467f1306d9b 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 93cd27b9aaf..e7e37e28aa3 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 56cc893dd89..c83885be415 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 f157e0d0d46..17527c64525 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 5503048f597..69b64870e3c 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 f390d817513..7900901958a 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 f34ae6f304e..c98a7af6d91 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 e79525b21af..a236a3d1acb 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 c10f9f0e515..8119b9d738b 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 7e2fb564c60..a8c93c8b3b1 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 ea0043d5189..cf50a8c1f2d 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 6a1a566d345..d049aa1f05a 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 4953795e61e..412a722080d 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 b169bfa0512..49a03b05724 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 8f1e263efc9..5c219f4d376 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 f92c1972c1d..40e392f7ed1 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 da99ee331ea..b17b7dda371 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 8c5a3a5a755..1677d826a01 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 7496854c8fd..2ad6e399578 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 ac68ddfd80e..648211db45f 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 6e5c72903a8..96b1c5eacc1 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 b9ec3ee02a7..b8efd0849a1 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 2b1431d3405..711196c5e31 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 38c6bf9aed5..2cd206784a8 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 69ff1b15eb1..fa5fc85151a 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 85c67d9b2da..d8a7efd0502 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 4e7765e1b1e..d4b5a352c24 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 807d8f14c85..eacb0a8f60e 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 69bfce7ffb7..e6142548e2d 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 1dfb662d5d7..50bb32bdeaf 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 86d4c938cc5..1ab6800d10e 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 f26af7c8007..169c2313492 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 dfe1461a7e9..46fc7401e27 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 136c6e39d6d..853a0ce9fa8 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 a4ae31d1997..21bf9dffae9 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 cb6ae974bea..6aeb6b5a844 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 dbec1b53e83..f4e70b88c66 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 dc270ffa0d8..968c379d2ba 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 bfa33269569..51d2e72123a 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 b61ffac8c2e..34ce7f990d8 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 2c3aca1b18a..ecb4035f01d 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 d1db19be848..0cd68f8b9be 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 76881db50e4..5aa36967227 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 4747b2bf55e..04f610648c8 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 78fa3a68e15..9c8e16e12eb 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 41d4aa6b6f1..d8998412583 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 3df00661a1e..4f8341a6198 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 09515f32806..b04e44bb9bc 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 35645965bc5..e40489ef143 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 f16dc25547e..f4e31d0d959 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 2ae627a6bf4..f8176288c0c 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 0e4bda758c7..2ed82fe9c9f 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 7aaf3af17ab..634a5e4877d 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 fb4893cb7ee..7b452b48ebf 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 73f7b5f61d1..7d81b5cca37 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 ebf4694096e..713831bd099 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 3913087aa8d..ce988972502 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 6d492d7b1b9..551fcf6b7c6 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 8660d7d7082..d4dad2889cd 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 4a2a676e6ac..b2ce2a9adb5 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 0244d177ee7..37f0072d98e 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 20fc5690344..b9091869c6f 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 7633017c4aa..df11dabe423 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 ce88b6264cd..10c14675577 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 289043c15f1..9a909f26133 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 9a4024e3fde..42d3fe3282a 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 02e2db2843c..63b43e5fc9a 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 0b1daf34784..e3367ebbe68 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 f331073336a..fdeb447d0e7 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 17f2c72f660..638fcf3bf03 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 47047b5183d..7998b1f992d 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 18db47c80aa..421ee18148e 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 6f719601b04..8c53f6ae605 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 3b1bf7b1213..ec25a9308ab 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 34fe51a0342..1051120b75f 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 cbe74ac2221..10c575bd612 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 012cb6fd36d..4b766053e36 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 591c275dde8..094af903c52 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 7bd9737556f..a33b39c780b 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 0c2fcef937a..9158bcf27e6 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 2f768b51f72..5702f983296 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 0ef3b44abfa..49db1d392b4 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 b4b302951a9..4f848e5f3c8 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 2e83b373491..06383ec29d7 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 8269bf449b1..4b7082910b2 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 4a2a13fa309..38081ef9090 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 0a5b6809ad8..4336f341a7e 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 86f485dfbac..b306fa81f3f 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 ee395f979f1..c0684b9701f 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 c9a7ea47a6a..6e10e41e72d 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 05f0b3390cc..267feedbade 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 02925d9a069..efa91998199 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 e0da293f710..4ad4c39dd0e 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 3dc56983ab2..7775523c3ca 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 652794efa79..5ea535a8e5e 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 d6de719e545..007cfcf990e 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 00c83396eb2..2fde4bda9a8 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 cfc69515f8e..3c8fda46727 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 338a6554d96..e92e89f72ca 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 15ff1a8b6a6..b3d192fa8a7 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 02a283bf2de..08aaba80894 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 c8fb363781f..36747410cf4 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 192290494d5..c7e1d8c933e 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 6bc681d0345..a2799a5a644 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 d4cfaf63a89..f541089ca9c 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 e64bfce4296..b6c68b90175 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 576fac6843e..8cad83e0c50 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 2d125c77033..4842cfa1edc 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 5f2cb2648cc..fac0740aedb 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 75b175def6c..a894757066b 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 3f0329e4057..55e8fa9b4fd 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 7c3b576a30a..256142c8c15 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 80f956efcf9..af7a4bcc252 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 0a9b5619553..3c8d8b1eb1e 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 5902080125e..ef1497f1a97 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 e42e29d3dbf..36884d260bd 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 d03a26f53f5..5041b5d5f33 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 674774af375..56b0b19fca7 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 f44a17ead53..b7f8a550a4d 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 270dcfe1d37..9ad85aa9f93 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 4c171fad9b3..927a3de1956 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 3817b8c6347..84e47c78deb 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 88326f8c2b9..feb5f4e0d6b 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 84a2b287661..a3a5e555735 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 fdfb60c0870..5e91cb2fc09 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 36915ca2899..e39743348f3 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 6ac4cd073e3..28d272c8f43 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 22ab3b5b38c..7f6f29cf7f5 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 66dd19b9d2f..86335508efe 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 158d8a849ab..89dd19e6762 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 675f09e6bdc..2230ff697c4 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 72461bb2c9d..eef644846b2 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 d7c0dea283a..074dcc56c0b 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 2743f57cf8c..8f52deebd3a 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 151bdd3384a..b0328f2d406 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 a27c863bd06..093ae508f5e 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 e77db57f0b0..50f3513e182 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 99647b4c2ab..be990d7671c 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 4dda921e89c..15b269ff120 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 5ce30a1d605..2f424424bb6 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 51c713a5b31..53c5c6ccd61 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 4bdea8fb948..91ca39af0cd 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 cafa9a49a3c..c950acd8cd4 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 553c2789845..f19f61d8f8b 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 b75644195eb..c37fd2b45fc 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 6fdfca091e2..0e56e270131 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 dfbfc855a01..9d60fc2887c 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 13f9d7fc3f5..d891127c71c 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 6c0fa9f44f8..6df5d85dc77 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 469aa48c3f7..13e7dde0f84 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 f1f121b74b8..4592202c86c 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 7587ec8378c..997bb70cff5 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 e4d3b72cb91..1a86c4ae78f 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 116fba67daa..fb7f098a901 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 55b7ae98a05..055281c66eb 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 1521bd0a015..078b8bd548c 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 92c718e8045..ef7105a4930 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 ab2927f4137..90e9a094f38 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 cb1165a7460..09431929f59 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 27d7f7ffcac..02a9441a6c9 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 320f658eb57..5c50c1e4e08 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 fda446f44fd..a388b676133 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 3396166ca7b..eeac0d74ed3 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 635318b05c2..67e3e7d0b4c 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 d47dce6e8cb..a82d740909c 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 9f3e0f6e7e8..c0150a9c3ae 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 f107206cc06..0b2871b48a8 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 bac6d13233a..9dc14cbe316 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 4e1cf14b23a..f9d65ef8251 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 d5b09e49696..1ed4ac7d16c 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 4cfbca42c33..6fa9a02405a 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 2ae2f5634ca..0c121433848 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 4a985dc9513..d3939c763e4 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 94ce042ab35..84c399f80c2 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 7f23280e5a8..34a9e813ec6 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 6ac70dc47fe..a6475c00d4b 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 a3d97a3d43a..c81b889999c 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 0dae6abac13..9c663cf70b9 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 3ac28db62b0..3e86f08b649 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 7072ba06833..7d7f9c40565 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 7723262779a..c47938ca84a 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 6e2a73c5b92..3261e371415 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 5a002836160..86c9667258f 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 e98d1f60931..7ab28ea61e3 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 372ee66dc42..9faa7ea5993 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 19f7f63bc33..89bef39e0b0 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 76bc6171341..92697511066 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 73074fa189c..b7de9517563 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 821743a9752..fbc11b9e7bd 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 1e2d3241e23..c4bb15b4acc 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 9994fdf308d..6d0612774a9 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 eeb26ebe261..5a24a8e08c7 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 f522a30bd05..05dbfd2a8ac 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 176aaded9d7..9a62840037e 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 ad85976f012..94797a859b8 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 e9ead169bbd..15f360a2bf0 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 3964c01202f..f2627e79448 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 420efc77408..225db35666c 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 cd15f0f97f0..1e429b97c28 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 3a39a1d5f54..e5aeb710553 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 876140ff5e0..9b9439ead3f 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 d5cd410c9d0..f7ff5a3b7ad 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 1b7ff59b9ae..4a8cf3651b1 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 246028b1fa5..ef825e4aec8 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 3cbe13b8124..7304c5e9108 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 8c3e2d95bc4..6329d344500 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 fca4846009b..7ac1bca5cc0 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 6701e2b7bc5..270f1ad81aa 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 ca8c0b9b68f..194093736a8 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 7fb7206cb15..797cd73bdbd 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 88fb90db284..0ab13240bfb 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 fe283c6152a..cef3a1ed07f 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 651e428923e..60129f82609 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 8212f906c4b..3d53f3e4b65 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 9162e253c5b..be85f6bf7dc 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 81636f59753..25ad87f5c0c 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 df46a18c481..9c44b8bb78a 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 5cebb1cede5..1f66f47fa95 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 83f537ab659..83ac445ed40 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 0e782a0198d..66e63c4de95 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 944179e0cb9..6d85baeb743 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 cca6444c06a..9ac77123ba7 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 1346df359b6..214343ea589 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 38f9d0226bc..2a5579f221e 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 79456389073..222c1477e14 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 8faf3308786..fd0ad48be21 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 26fe024b590..bcec55ed07a 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 54af373a33d..7d5d2fcb2ab 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 5ec70414111..46042fe3496 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 adb7f8edb1d..7d47e9ec017 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 03498942981..82ca3e42ee9 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 9d2a827ea11..91950fee2f7 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 1390bfa98f0..3d42679c2a0 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 d42806a5639..8f12c58897a 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 83d5483ee02..faa1e61d332 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 05a3d7cf590..af415228b89 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 6c1a8003be7..321922a8a9d 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 9b140b4ce65..8d9b6cbb6fe 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 9ab9635bcfe..e26a920a6ad 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 4d9b88eb0fe..e206b2236b3 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 bcc49000c44..d5951c2e22a 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 3f8d9782f48..e0406178847 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 19662b761f4..0988d2dd591 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 7f1f5d1dfff..bba5075cadd 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 477368a2e61..c8ddf07cb46 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 e706be9c14e..146ae73948a 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 c80bb384575..ea24871b655 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 c0f24bb2cf3..63ef7eeede9 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 b4193edc97a..4798a8c890d 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 8f91f9612d4..178169fd135 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 b2454dc1007..ee4c4236d1b 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 03ba97dc51a..1181cc78125 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 4f33212656e..b900728daf7 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 336f46ca863..02e403cf189 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 67cec6fdc0a..86c5164b743 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 79af2752cd0..5c7b0672fa9 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 c91e727bf46..e8518629b56 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 09feafa3206..19f1f3d95db 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 ef06fc4dd27..45f182feb5f 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 3c30cb0f1c7..0285d024daf 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 84a8e2cba77..2b45798f38d 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 54e703344c8..579a8a0e1f5 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 4dbb1eda974..fe344d69645 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 d839fe7da05..61abe43a2b7 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 ce1fd77b69f..19f45020921 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 0156fc1fd9d..f7ac7a13cd6 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 b54af005a35..59c6a256a40 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 336d35843da..a5d4c0d6380 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 0b56b56ef62..14bbe00a6ea 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 315922c591c..491ea2b9651 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 3637959658f..44a7246cb3b 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 8e98ae99dca..c93f9ff6340 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 63924ff5da0..91df378170c 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 ce4abb57cae..716c3ed6308 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 545f41ed5cf..3db7fb7d2f4 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 50ab6805270..15368062a58 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 e875b98dd08..e896668207a 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 cdbca326b97..2301bf1e03f 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 8e311e417cf..fadc7492725 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 173bb01fe4b..b88b6024f79 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 c20269c20ff..c71c42f0222 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 7b3b33c08e8..f8e1d57ced0 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 c965f231e1f..c074a6a3ab1 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 9af147c8d50..89acf58b374 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 759f57af30a..cbcfa4783c9 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 acaf6b1476b..8fc836af23b 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 6fd82b69798..d65292f989f 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 919ecd2e864..13a6409051d 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 c64c2f5abeb..eff356e63aa 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 3c6e8a4a1d5..860b9af1b25 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 d0f32bf758f..0eedacbb0a7 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 c517030bf20..2c1109e6b82 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 3826f1d9828..c9b0e3c94c4 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 7584d2a5f4c..239b4b41c2c 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 f89be106fd5..e5132f2f708 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 6dbf50ba666..e9b0e25fcc2 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 5603e5ddd35..7fda3a5f258 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 3b9e9118635..f31ea31fcc3 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 26d66f42b33..c91b39187a1 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 bca13b63c19..ee089d509a9 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 d544259159e..375bf5dc7fa 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 baf115767ba..eb1ed51c728 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 128b529e11e..4c9a09d1748 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 55007cc6c6a..03b861c04d8 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 2e72e8d6b05..81255e09e3a 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 526fc3ed8b8..28cc1ba5b19 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 a2059ecc62e..39807e9f64e 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 bf1a4d83387..9b733085c44 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 9016284b605..7c781dac86b 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 2084de8b021..975726a3f2a 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 528319b8fed..3ec304d99d2 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 a48e3933652..2285193dd69 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 7a8e5f1ebed..b9cdb2919e5 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 571efc28334..4c5bd27a217 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 deb11ce1d7d..4978e59e7b1 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 5e394372572..bb94ba0a4e4 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 3f65eb2eab1..65ad63fe198 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 4baffafe72b..7c35dfc8913 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 d065d9797c2..0d5a460c5a9 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 99c374b064d..8972db8bffd 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 d7e77c79bb2..4e8e1657266 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 1576dcdb3b0..132d317fa21 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 7c38c4dee3b..ef316a75ff8 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 fcb96151452..e5081668e07 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 87877c47471..278a156a1ca 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 244011d423b..6bbb84fad98 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 ab737f3a956..e1567c18a4b 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 02ec2b4b259..9344c99376c 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 0bfe06abb3b..bc73ce8f90d 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 9769ee3d6a6..9ae1bd01f29 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 9a8103976c5..040ce0077c0 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 c260dbb4d04..e33161d3be1 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 b4d63a0ba9b..fea99158a2d 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 a0a15b8df05..cd60394e19d 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 1617d8c3de0..85b932e4eab 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 d4acfc6b7f8..4d3de24f583 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 6e6b656723c..bb113f625c4 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 69c9240ed36..6220af3a50c 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 61529c4fdd0..65f4ef28851 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 bfff7e1b15d..1eab499a6c3 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 18b40854b32..9286e25df1d 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 c8a1f99543a..e54db0cb35d 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 00c117f58c7..e66e783cb1b 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 93159041343..74e4a077333 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 932a40a3f1d..5463ca4eee4 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 de8fbe4cc00..259f2fffc0d 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 8cb11eec441..d03b7fd6e4b 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 f412f1d03cf..a2566ccba0d 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 cd83bc84f38..1082f370e16 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 ac8c6a6228f..aa09391f2ef 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 83a0ddbad31..8f87e9ca35a 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 9b780013861..a02cf7fa5b9 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 4ced57f8ed4..eb6bf75739b 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 a19d7fdcdfe..9d05b4c10cd 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 132999f78b2..34641ddad8d 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 3d160fa024c..aafe3e327c0 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 7b61a0aeefd..5e89180183f 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 26be2ff2f0a..5caccc174c9 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 6532f8223c4..cb07f44255d 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 048479b50de..7642b652ff2 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 d60d0a7bfe2..87cb15782be 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 c3640623b20..c63613eefd0 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 d477df60ce6..36d6509e5f3 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 6b21a8dbb2e..0518aafdbde 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 e2b426b24d2..97db3890eb5 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 815ba6d5ad8..9b646352dec 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 92ec802b459..6c70e4bee82 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 719c2c6af62..3160f4bb904 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 91f78660816..c9a2e1fc6a4 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 73ae7e35f47..fc550d30637 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 7fcba58a3ed..4caa30ee3e7 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 d62f7a9bde2..d5ed4590f96 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 e455909893a..963d7244b39 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 10119b24f71..a4120901454 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 d8b2a19e3c4..a0121bedd11 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 8e1581fd0d8..abd49c5bc61 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 efa71e37be4..00a8a2ca53b 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 fb6eab6709a..f04d722fa09 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 da4c282154f..e2959f163f9 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 47c3a5c1ce2..a9024bac34a 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 6251fda9e4f..9af29ff07cd 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 f2d957bf854..ab70a861502 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 ad1cb71ba7e..e8bc1f1ae59 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 7fe9ac8f5f2..bb3b0685096 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 5a9dd3d15cb..fc948395227 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 8f4136f3c0e..5d4eb0c2709 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 bc366a7032a..5ef48481e02 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 4a81430a7ea..204bf0123e9 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 a47348f27cc..059adc84055 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 6b89ac6978c..b687e4768f8 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 631108e16e2..3075dc5a201 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 73d8612d687..0402623c89a 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 0ea74754c6a..d73002b577f 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 88d0f823614..09b1fac4e59 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 43a9a9096f6..6202635497e 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: -- GitLab