From 25bc7d65f78f59de0f12018136498e6f9fc6e41b Mon Sep 17 00:00:00 2001 From: Mark Olesen <Mark.Olesen@esi-group.com> Date: Fri, 10 Mar 2023 13:44:46 +0000 Subject: [PATCH] STYLE: prefer REGISTER/NO_REGISTER instead of true/false for IOobject - self-documenting --- .../XiModels/XiEqModels/XiEqModel/XiEqModel.C | 2 +- .../combustion/chemFoam/createBaseFields.H | 6 +- .../heatTransfer/thermoFoam/createFields.H | 2 +- .../createMeshesPostProcess.H | 4 +- .../liquidPropertiesSurfaceTension.C | 2 +- .../laserDTRM/laserDTRM.C | 2 +- .../localDensityAbsorptionEmission.C | 6 +- ...temperaturePhaseChangeTwoPhaseMixtureNew.C | 2 +- .../interFoam/interMixingFoam/alphaEqn.H | 2 +- .../phaseChangeTwoPhaseMixtureNew.C | 2 +- .../test/CompactIOList/Test-CompactIOList.C | 8 +-- .../test/PatchFunction1/Test-PatchFunction1.C | 4 +- .../Test-checkDecomposePar.C | 2 +- .../Test-decomposedBlockData.C | 2 +- .../Test-fvSolutionCombine.C | 2 +- .../Test-mapDistributePolyMesh.C | 2 +- .../searchableSphere/Test-searchableSphere.C | 2 +- .../Test-surfaceMeshConvert.C | 2 +- .../makeFaMesh/findMeshDefinitionDict.H | 2 +- .../conversion/ccm/foamToCcm/getTimeIndex.H | 2 +- .../conversion/foamToFireMesh/getTimeIndex.H | 2 +- .../conversion/foamToStarMesh/getTimeIndex.H | 2 +- .../conversion/foamToSurface/getTimeIndex.H | 2 +- .../generation/PDRblockMesh/PDRblockMesh.C | 2 +- .../generation/blockMesh/findBlockMeshDict.H | 2 +- .../extrude/extrudeMesh/extrudeMesh.C | 4 +- .../extrudeToRegionMesh/extrudeToRegionMesh.C | 18 +++--- .../extrude2DMesh/extrude2DMeshApp.C | 4 +- .../backgroundMeshDecomposition.C | 2 +- .../cellShapeControlMesh.C | 4 +- .../fileControl/fileControl.C | 24 ++------ .../conformalVoronoiMeshIO.C | 10 ++-- .../foamyHexMeshBackgroundMesh.C | 4 +- .../foamyHexMeshSurfaceSimplify.C | 4 +- .../foamyHexMeshSurfaceSimplify_non_octree.C | 4 +- .../foamyMesh/foamyQuadMesh/foamyQuadMesh.C | 2 +- .../mesh/manipulation/checkMesh/writeFields.C | 60 +++++++++---------- .../manipulation/flattenMesh/flattenMesh.C | 2 +- .../mesh/manipulation/mirrorMesh/mirrorMesh.C | 2 +- .../manipulation/renumberMesh/renumberMesh.C | 12 ++-- .../mesh/manipulation/rotateMesh/rotateMesh.C | 2 +- .../splitMeshRegions/splitMeshRegions.C | 14 ++--- .../transformPoints/transformPoints.C | 2 +- .../foamFormatConvert/foamFormatConvert.C | 4 +- .../foamFormatConvert/writeMeshObject.H | 6 +- .../helpBoundary/helpBoundaryTemplates.C | 2 +- .../decomposePar/decomposePar.C | 12 ++-- .../decomposePar/domainDecomposition.C | 10 ++-- .../decomposePar/domainDecompositionDryRun.C | 2 +- .../domainDecompositionDryRunWrite.C | 2 +- .../decomposePar/domainDecompositionWrite.C | 2 +- .../reconstructPar/reconstructPar.C | 8 +-- .../reconstructParMesh/reconstructParMesh.C | 8 +-- .../parLagrangianDistributorTemplates.C | 10 ++-- .../redistributePar/redistributePar.C | 8 +-- .../foamToEnsight/checkMeshMoving.H | 2 +- .../foamToEnsight/getTimeIndex.H | 2 +- .../dataConversion/foamToEnsight/readFields.C | 2 +- .../dataConversion/foamToGMV/moveMesh.H | 2 +- .../profilingSummary/profilingSummary.C | 2 +- .../temporalInterpolate/temporalInterpolate.C | 2 +- .../cumulativeDisplacement/createFields.H | 2 +- .../applyBoundaryLayer/applyBoundaryLayer.C | 6 +- .../changeDictionary/changeDictionary.C | 4 +- .../createZeroDirectory/boundaryInfo.C | 5 +- .../createZeroDirectory/solverTemplate.C | 2 +- .../faceAgglomerate/faceAgglomerate.C | 2 +- .../foamUpgradeCyclics/foamUpgradeCyclics.C | 6 +- .../mapFields/MapLagrangianFields.H | 6 +- .../preProcessing/mapFields/mapFields.C | 4 +- .../mapFieldsPar/MapLagrangianFields.H | 6 +- .../preProcessing/mapFieldsPar/mapFieldsPar.C | 2 +- .../preProcessing/mdInitialise/mdInitialise.C | 2 +- .../writeMorpherCPs/writeMorpherCPs.C | 6 +- .../setExprBoundaryFields.C | 2 +- .../setExprFields/setExprFields.C | 2 +- .../setTurbulenceFields/setTurbulenceFields.C | 4 +- .../viewFactorsGen/viewFactorsGen.C | 6 +- .../surfaceBooleanFeatures.C | 2 +- .../surfaceFeatureExtract.C | 4 +- .../surfaceMeshConvert/surfaceMeshConvert.C | 2 +- .../surfaceMeshExport/surfaceMeshExport.C | 2 +- .../surfaceMeshImport/surfaceMeshImport.C | 2 +- .../equilibriumCO/equilibriumCO.C | 3 +- src/OpenFOAM/db/regIOobject/regIOobject.H | 2 +- .../turbulenceModels/LES/LESModel/LESModel.C | 4 +- .../turbulenceModels/RAS/RASModel/RASModel.C | 4 +- .../RAS/kEpsilonPhitF/kEpsilonPhitF.C | 2 +- .../TurbulenceModel/TurbulenceModel.C | 4 +- .../epsilonWallFunctionFvPatchScalarField.C | 2 +- ...UTabulatedWallFunctionFvPatchScalarField.C | 4 +- .../omegaWallFunctionFvPatchScalarField.C | 2 +- .../eddyViscosity/eddyViscosity.C | 2 +- .../turbulenceModels/laminar/Stokes/Stokes.C | 2 +- .../laminar/laminarModel/laminarModel.C | 14 ++--- .../turbulenceModels/RAS/kL/kL.C | 4 +- src/combustionModels/EDC/EDC.C | 2 +- .../combustionModelTemplates.C | 2 +- .../diffusionMulticomponent.C | 6 +- src/combustionModels/laminar/laminar.C | 2 +- .../noCombustion/noCombustion.C | 2 +- src/conversion/ccm/reader/ccmReader.C | 2 +- src/conversion/ccm/reader/ccmReaderAux.C | 10 ++-- src/conversion/ccm/writer/ccmWriterMesh.C | 4 +- src/conversion/ccm/writer/ccmWriterSolution.C | 4 +- src/conversion/common/reader/meshReaderAux.C | 8 +-- src/conversion/common/tables/boundaryRegion.C | 4 +- src/conversion/common/tables/cellTable.C | 4 +- src/conversion/starcd/STARCDMeshWriter.C | 2 +- .../dynamicFvMesh/dynamicFvMesh.C | 4 +- .../dynamicFvMesh/dynamicFvMeshNew.C | 2 +- .../dynamicInkJetFvMesh/dynamicInkJetFvMesh.C | 4 +- .../dynamicMotionSolverListFvMesh.C | 12 ++-- .../dynamicMultiMotionSolverFvMesh.C | 2 +- .../dynamicRefineFvMesh/dynamicRefineFvMesh.C | 12 ++-- .../simplifiedDynamicFvMesh.C | 2 +- .../multiDirRefinement/multiDirRefinement.C | 6 +- .../motionSmoother/motionSmootherAlgo.C | 2 +- .../motionSmootherAlgoTemplates.C | 2 +- .../componentDisplacementMotionSolver.C | 4 +- .../displacementInterpolationMotionSolver.C | 2 +- .../displacementLayeredMotionMotionSolver.C | 4 +- .../points0/points0MotionSolver.C | 4 +- ...yMotionDisplacementPointPatchVectorField.C | 2 +- .../polyMeshFilter/polyMeshFilter.C | 2 +- .../polyTopoChange/hexRef8/hexRef8.C | 2 +- .../engineMesh/engineMesh/engineMeshNew.C | 2 +- src/engine/engineTime/engineTime/engineTime.C | 2 +- .../edgeInterpolation/edgeInterpolation.C | 10 ++-- .../general/SRF/SRFModel/SRFModel/SRFModel.C | 2 +- .../SRF/SRFModel/SRFModel/SRFModelNew.C | 4 +- .../general/fvOptions/fvOptionListTemplates.C | 4 +- .../expressions/base/fvExprDriverI.H | 2 +- ...lectrostaticDepositionFvPatchScalarField.C | 2 +- .../CoEulerDdtScheme/CoEulerDdtScheme.C | 2 +- .../CrankNicolsonDdtScheme.C | 2 +- .../ddtSchemes/SLTSDdtScheme/SLTSDdtScheme.C | 2 +- .../backwardDdtScheme/backwardDdtScheme.C | 2 +- .../localEulerDdtScheme/localEulerDdtScheme.C | 2 +- .../steadyStateDdtScheme.C | 2 +- .../invDistLeastSquaresVectors.C | 4 +- .../leastSquaresGrad/leastSquaresVectors.C | 4 +- .../unweightedLeastSquaresVectors.C | 4 +- .../limitedSnGrad/limitedSnGrad.C | 4 +- .../solvers/MULES/CMULESTemplates.C | 4 +- .../fvMatrices/solvers/MULES/MULESTemplates.C | 4 +- .../extendedCellToFaceStencilTemplates.C | 2 +- ...extendedUpwindCellToFaceStencilTemplates.C | 2 +- .../basic/basicFvGeometryScheme.C | 8 +-- src/finiteVolume/fvMesh/fvMesh.C | 12 ++-- .../fvMesh/fvMeshTools/fvMeshTools.C | 8 +-- .../fvMesh/fvMeshTools/fvMeshToolsProcAddr.C | 4 +- .../constraint/cyclicACMI/cyclicACMIFvPatch.C | 2 +- .../columnFvMesh/columnFvMesh.C | 4 +- .../columnFvMesh/columnFvMeshTemplates.C | 2 +- .../advectionDiffusionPatchDistMethod.C | 2 +- .../directionalMeshWavePatchDistMethod.C | 2 +- .../limitedSchemes/blended/blended.H | 4 +- .../limitedSchemes/upwind/upwind.H | 2 +- .../schemes/cubic/cubic.H | 2 +- .../schemes/linearUpwind/linearUpwind.C | 4 +- .../schemes/linearUpwind/linearUpwindV.C | 2 +- .../schemes/midPoint/midPoint.H | 2 +- .../skewCorrected/skewCorrectionVectors.C | 2 +- .../field/DMD/DMDModels/derived/STDMD/STDMD.C | 4 +- .../DMDModels/derived/STDMD/STDMDTemplates.C | 4 +- src/functionObjects/field/age/age.C | 4 +- .../fieldCoordinateSystemTransform.C | 4 +- src/functionObjects/field/pressure/pressure.C | 2 +- .../resolutionIndexModel.C | 2 +- .../field/writeCellCentres/writeCellCentres.C | 4 +- .../field/writeCellVolumes/writeCellVolumes.C | 2 +- .../lagrangian/cloudInfo/cloudInfo.C | 2 +- .../lagrangian/dataCloud/dataCloud.C | 2 +- .../lagrangian/vtkCloud/vtkCloud.C | 2 +- .../electricPotential/electricPotential.C | 10 ++-- .../solvers/energyTransport/energyTransport.C | 8 +-- .../utilities/solverInfo/solverInfo.C | 2 +- .../writeDictionary/writeDictionary.C | 2 +- .../inverseVolume/inverseVolumeDiffusivity.C | 2 +- ...polatedDisplacementPointPatchVectorField.C | 2 +- .../jouleHeatingSource/jouleHeatingSource.C | 2 +- .../Templates/KinematicCloud/KinematicCloud.C | 8 +-- .../KinematicCloud/KinematicCloudI.H | 8 +-- .../Templates/ReactingCloud/ReactingCloud.C | 2 +- .../Templates/ReactingCloud/ReactingCloudI.H | 8 +-- .../Templates/ThermoCloud/ThermoCloud.C | 10 ++-- .../Templates/ThermoCloud/ThermoCloudI.H | 6 +- .../MPPIC/AveragingMethods/Basic/Basic.C | 2 +- .../cloudAbsorptionEmission.C | 6 +- .../scatter/cloudScatter/cloudScatter.C | 2 +- .../mdTools/createAutoCorrelationFunctions.H | 2 +- .../molecule/moleculeCloud/moleculeCloud.C | 2 +- .../potential/potential/potential.C | 4 +- .../blockMesh/blockMesh/blockMeshTopology.C | 2 +- .../displacementMotionSolverMeshMover.C | 4 +- .../medialAxisMeshMover.C | 8 +-- .../meshRefinement/meshRefinement.C | 8 +-- .../meshRefinement/meshRefinementBaffles.C | 4 +- .../meshRefinement/meshRefinementBlock.C | 13 ++-- .../refinementFeatures/refinementFeatures.C | 4 +- .../snappyHexMeshDriver/snappyLayerDriver.C | 12 ++-- .../cyclicACMIPolyPatch/cyclicACMIPolyPatch.C | 10 ++-- .../edgeFormats/edgeMesh/edgeMeshFormat.C | 4 +- .../edgeMesh/edgeFormats/vtk/VTKedgeFormat.C | 2 +- .../extendedEdgeMesh/extendedEdgeMeshFormat.C | 2 +- .../mappedPolyPatch/mappedPatchBaseI.H | 4 +- .../searchableExtrudedCircle.C | 2 +- .../cellSources/fieldToCell/fieldToCell.C | 4 +- .../faceSources/holeToFace/holeToFace.C | 8 +-- src/meshTools/topoSet/topoSets/topoBitSet.C | 4 +- src/meshTools/topoSet/topoSets/topoBoolSet.C | 4 +- .../displacementMethod/displacementMethod.C | 2 +- .../displacementMethoddisplacementLaplacian.C | 6 +- ...displacementMethodelasticityMotionSolver.C | 6 +- .../displacementMethodlaplacianMotionSolver.C | 6 +- .../displacementMethodvelocityLaplacian.C | 6 +- .../linearUpwindNormal/linearUpwindNormal.C | 2 +- .../adjointEikonalSolverIncompressible.C | 2 +- .../lineSearch/lineSearch/lineSearch.C | 2 +- .../optMeshMovementBezier.C | 2 +- ...ntVolumetricBSplinesExternalMotionSolver.C | 2 +- .../optimisationManager/optimisationManager.C | 4 +- .../shapeOptimisationIncompressible.C | 2 +- .../fromFile/fromFile.C | 2 +- .../volBSplinesBase/volBSplinesBase.C | 2 +- .../variablesSet/variablesSetTemplates.C | 4 +- .../adjointRASModel/adjointRASModel.C | 4 +- .../adjointTurbulenceModel.C | 4 +- .../RAS/RASModelVariables/RASModelVariables.C | 4 +- .../cellCellStencil/cellCellStencil.C | 2 +- .../cellCellStencilTemplates.C | 2 +- .../cellVolumeWeightCellCellStencil.C | 4 +- .../inverseDistanceCellCellStencil.C | 4 +- src/overset/oversetFvMesh/oversetFvMeshBase.C | 10 ++-- .../oversetFvMeshBaseTemplates.C | 2 +- .../decompose/decompose/decompositionModel.C | 2 +- .../decompose/dimFieldDecomposerTemplates.C | 2 +- .../decompose/fvFieldDecomposerTemplates.C | 2 +- .../lagrangianFieldDecomposerTemplates.C | 4 +- .../decompose/pointFieldDecomposerTemplates.C | 2 +- .../manualDecomp/manualDecomp.C | 27 +++++---- .../faDecompose/faMeshDecomposition.C | 6 +- .../faReconstruct/faMeshReconstructor.C | 2 +- .../reconstruct/reconstruct/processorMeshes.C | 2 +- .../dragModels/interface/interface.C | 2 +- .../multiphaseSystem/multiphaseSystemNew.C | 4 +- .../BlendedInterfacialModel.C | 4 +- .../multiphaseSystem/multiphaseSystemNew.C | 4 +- .../Schaeffer/SchaefferFrictionalStress.C | 4 +- .../twoPhaseSystem/twoPhaseSystemNew.C | 4 +- .../JohnsonJacksonSchaefferFrictionalStress.C | 2 +- .../Schaeffer/SchaefferFrictionalStress.C | 2 +- .../BlendedInterfacialModel.C | 10 ++-- .../constantDiameter/constantDiameter.C | 2 +- .../liftModels/noLift/noLift.C | 6 +- .../noTurbulentDispersion.C | 2 +- .../constantVirtualMassCoefficient.C | 2 +- .../noWallLubrication/noWallLubrication.C | 4 +- .../KirchhoffShell/KirchhoffShell.C | 2 +- .../thermalShell/thermalShell.C | 6 +- .../pyrolysisModel/pyrolysisModelNew.C | 2 +- .../functionObjects/filmFlux/filmFlux.C | 2 +- .../kinematicSingleLayer.C | 10 ++-- .../surfaceFilmModels/noFilm/noFilm.C | 6 +- .../contactAngleForce/contactAngleForce.C | 2 +- .../constantHeatTransfer.C | 2 +- .../waxSolventEvaporation.C | 4 +- .../surfaceFilmModel/surfaceFilmModelNew.C | 2 +- .../thermoSingleLayer/thermoSingleLayer.C | 10 ++-- .../thermalBaffleModels/noThermo/noThermo.C | 2 +- .../thermalBaffle/thermalBaffle.C | 2 +- .../thermalBaffleModelNew.C | 4 +- .../manualRenumber/manualRenumber.C | 30 +++++----- .../rigidBodyMeshMotion/rigidBodyMeshMotion.C | 6 +- .../rigidBodyMeshMotionSolver.C | 4 +- src/sampling/probes/probesTemplates.C | 2 +- .../sampledSet/sampledSets/sampledSetsImpl.C | 2 +- .../triSurfaceMeshPointSet.C | 2 +- .../isoSurface/sampledIsoSurface.C | 2 +- .../sampledCuttingPlane/sampledCuttingPlane.C | 4 +- .../sampledMeshedSurface.C | 2 +- .../sampledSurface/sampledSurfaceTemplates.C | 2 +- .../sampledThresholdCellFaces.C | 2 +- .../surface/cutting/cuttingPlaneCuts.C | 2 +- .../surface/cutting/cuttingSurfaceCuts.C | 4 +- .../surface/distanceSurface/distanceSurface.C | 4 +- .../surface/isoSurface/isoSurfaceCell.C | 2 +- .../surface/isoSurface/isoSurfacePoint.C | 4 +- .../isoSurface/isoSurfacePointTemplates.C | 2 +- .../surface/isoSurface/isoSurfaceTopo.C | 2 +- .../sixDoFRigidBodyMotionSolver.C | 6 +- src/surfMesh/MeshedSurface/MeshedSurface.C | 2 +- .../MeshedSurfaceProxy/MeshedSurfaceProxy.C | 6 +- src/surfMesh/surfMesh/surfMeshIO.C | 8 +-- .../surfaceFormats/vtk/VTKsurfaceFormat.C | 2 +- .../writers/debug/debugSurfaceWriter.C | 6 +- .../basic/basicThermo/basicThermoTemplates.C | 8 +-- .../basic/heThermo/heThermo.C | 16 ++--- .../StandardChemistryModel.C | 4 +- .../TDACChemistryModel/TDACChemistryModel.C | 2 +- .../basicChemistryModelTemplates.C | 2 +- .../laminarFlameSpeed/Gulders/Gulders.C | 4 +- .../laminarFlameSpeed/GuldersEGR/GuldersEGR.C | 4 +- .../RaviPetersen/RaviPetersen.C | 4 +- .../laminarFlameSpeed/constant/constant.C | 2 +- .../laminarFlameSpeed/laminarFlameSpeedNew.C | 2 +- .../createIncompressibleRadiationModel.H | 2 +- .../radiation/radiationModels/P1/P1.C | 2 +- .../radiationModels/fvDOM/fvDOM/fvDOM.C | 4 +- .../radiationModel/radiationModelNew.C | 4 +- .../solarLoad/faceShading/faceShading.C | 2 +- .../radiationModels/solarLoad/solarLoad.C | 4 +- .../radiationModels/viewFactor/viewFactor.C | 20 +++---- .../absorptionEmissionModel.C | 12 ++-- .../constantAbsorptionEmission.C | 6 +- .../boundaryRadiationProperties.C | 2 +- .../constantScatter/constantScatter.C | 2 +- .../scatterModel/noScatter/noScatter.C | 2 +- .../psiuReactionThermo/heheuPsiThermo.C | 10 ++-- .../basicSolidChemistryModelNew.C | 6 +- .../pyrolysisChemistryModel.C | 6 +- .../solidChemistryModel/solidChemistryModel.C | 2 +- .../linearValveFvMesh/linearValveFvMesh.C | 6 +- .../linearValveLayersFvMesh.C | 6 +- .../mixerFvMesh/mixerFvMesh.C | 6 +- .../movingConeTopoFvMesh.C | 6 +- .../rawTopoChangerFvMeshTemplates.C | 2 +- .../constant/constantSurfaceTension.C | 2 +- .../temperatureDependentSurfaceTension.C | 2 +- src/waveModels/waveModel/waveModelNew.C | 2 +- .../makePerturbation/makePerturbation.C | 2 +- .../laminar/sloshing2D/makeWave/makeWave.C | 2 +- 333 files changed, 706 insertions(+), 740 deletions(-) diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/XiEqModel.C b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/XiEqModel.C index 857f071c1d2..084ffc1aef6 100644 --- a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/XiEqModel.C +++ b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/XiEqModel.C @@ -109,7 +109,7 @@ Foam::XiEqModel::calculateSchelkinEffect(const scalar uPrimeCoef) const mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimensionedScalar(Nv.dimensions(), Zero) diff --git a/applications/solvers/combustion/chemFoam/createBaseFields.H b/applications/solvers/combustion/chemFoam/createBaseFields.H index 80dea2584b1..9431d042d28 100644 --- a/applications/solvers/combustion/chemFoam/createBaseFields.H +++ b/applications/solvers/combustion/chemFoam/createBaseFields.H @@ -12,7 +12,7 @@ Info<< "Creating base fields for time " << runTime.timeName() << endl; mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimensionedScalar("Ydefault", dimless, 1) @@ -29,7 +29,7 @@ Info<< "Creating base fields for time " << runTime.timeName() << endl; mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimensionedScalar("p", dimPressure, p0) @@ -46,7 +46,7 @@ Info<< "Creating base fields for time " << runTime.timeName() << endl; mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimensionedScalar("T", dimTemperature, T0) diff --git a/applications/solvers/heatTransfer/thermoFoam/createFields.H b/applications/solvers/heatTransfer/thermoFoam/createFields.H index 7c0a8b2c95a..7b12c487942 100644 --- a/applications/solvers/heatTransfer/thermoFoam/createFields.H +++ b/applications/solvers/heatTransfer/thermoFoam/createFields.H @@ -44,7 +44,7 @@ IOobject turbulencePropertiesHeader mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (turbulencePropertiesHeader.typeHeaderOk<IOdictionary>(false)) diff --git a/applications/solvers/lagrangian/reactingParcelFoam/createMeshesPostProcess.H b/applications/solvers/lagrangian/reactingParcelFoam/createMeshesPostProcess.H index 6dabcba73b8..0d5bb1c7ee1 100644 --- a/applications/solvers/lagrangian/reactingParcelFoam/createMeshesPostProcess.H +++ b/applications/solvers/lagrangian/reactingParcelFoam/createMeshesPostProcess.H @@ -9,7 +9,7 @@ IOobject io mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (io.typeHeaderOk<IOdictionary>()) @@ -32,4 +32,4 @@ if (io.typeHeaderOk<IOdictionary>()) ); } - +// ************************************************************************* // diff --git a/applications/solvers/multiphase/compressibleInterFoam/surfaceTensionModels/liquidProperties/liquidPropertiesSurfaceTension.C b/applications/solvers/multiphase/compressibleInterFoam/surfaceTensionModels/liquidProperties/liquidPropertiesSurfaceTension.C index 78a9e7ce453..f2f259dbc56 100644 --- a/applications/solvers/multiphase/compressibleInterFoam/surfaceTensionModels/liquidProperties/liquidPropertiesSurfaceTension.C +++ b/applications/solvers/multiphase/compressibleInterFoam/surfaceTensionModels/liquidProperties/liquidPropertiesSurfaceTension.C @@ -84,7 +84,7 @@ Foam::surfaceTensionModels::liquidProperties::sigma() const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimSigma diff --git a/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/laserDTRM/laserDTRM.C b/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/laserDTRM/laserDTRM.C index 422b4d364db..f27015326b6 100644 --- a/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/laserDTRM/laserDTRM.C +++ b/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/laserDTRM/laserDTRM.C @@ -724,7 +724,7 @@ Foam::tmp<Foam::volScalarField> Foam::radiation::laserDTRM::Rp() const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimPower/dimVolume/pow4(dimTemperature), Zero) diff --git a/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/laserDTRM/localDensityAbsorptionEmission/localDensityAbsorptionEmission.C b/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/laserDTRM/localDensityAbsorptionEmission/localDensityAbsorptionEmission.C index 98a663e22ed..11225dc2a15 100644 --- a/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/laserDTRM/localDensityAbsorptionEmission/localDensityAbsorptionEmission.C +++ b/applications/solvers/multiphase/icoReactingMultiphaseInterFoam/laserDTRM/localDensityAbsorptionEmission/localDensityAbsorptionEmission.C @@ -97,7 +97,7 @@ Foam::radiation::localDensityAbsorptionEmission::aCont(const label bandI) const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(inv(dimLength), Zero) @@ -130,7 +130,7 @@ Foam::radiation::localDensityAbsorptionEmission::eCont(const label bandI) const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(inv(dimLength), Zero) @@ -163,7 +163,7 @@ Foam::radiation::localDensityAbsorptionEmission::ECont(const label bandI) const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimMass/dimLength/pow3(dimTime), Zero) diff --git a/applications/solvers/multiphase/interCondensatingEvaporatingFoam/temperaturePhaseChangeTwoPhaseMixtures/temperaturePhaseChangeTwoPhaseMixtures/temperaturePhaseChangeTwoPhaseMixtureNew.C b/applications/solvers/multiphase/interCondensatingEvaporatingFoam/temperaturePhaseChangeTwoPhaseMixtures/temperaturePhaseChangeTwoPhaseMixtures/temperaturePhaseChangeTwoPhaseMixtureNew.C index 0de3d22ae38..686dce38ef7 100644 --- a/applications/solvers/multiphase/interCondensatingEvaporatingFoam/temperaturePhaseChangeTwoPhaseMixtures/temperaturePhaseChangeTwoPhaseMixtures/temperaturePhaseChangeTwoPhaseMixtureNew.C +++ b/applications/solvers/multiphase/interCondensatingEvaporatingFoam/temperaturePhaseChangeTwoPhaseMixtures/temperaturePhaseChangeTwoPhaseMixtures/temperaturePhaseChangeTwoPhaseMixtureNew.C @@ -46,7 +46,7 @@ Foam::temperaturePhaseChangeTwoPhaseMixture::New mesh, IOobject::MUST_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ) ); diff --git a/applications/solvers/multiphase/interFoam/interMixingFoam/alphaEqn.H b/applications/solvers/multiphase/interFoam/interMixingFoam/alphaEqn.H index 9c1017e617b..36c7aa00fe8 100644 --- a/applications/solvers/multiphase/interFoam/interMixingFoam/alphaEqn.H +++ b/applications/solvers/multiphase/interFoam/interMixingFoam/alphaEqn.H @@ -30,7 +30,7 @@ mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimless, diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/phaseChangeTwoPhaseMixtureNew.C b/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/phaseChangeTwoPhaseMixtureNew.C index db6564ffa17..46801b50536 100644 --- a/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/phaseChangeTwoPhaseMixtureNew.C +++ b/applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/phaseChangeTwoPhaseMixtureNew.C @@ -48,7 +48,7 @@ Foam::phaseChangeTwoPhaseMixture::New U.db(), IOobject::MUST_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ) ); diff --git a/applications/test/CompactIOList/Test-CompactIOList.C b/applications/test/CompactIOList/Test-CompactIOList.C index 66d5b8dd7ea..0db36f346c4 100644 --- a/applications/test/CompactIOList/Test-CompactIOList.C +++ b/applications/test/CompactIOList/Test-CompactIOList.C @@ -69,7 +69,7 @@ int main(int argc, char *argv[]) runTime, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), size ); @@ -101,7 +101,7 @@ int main(int argc, char *argv[]) runTime, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); @@ -125,7 +125,7 @@ int main(int argc, char *argv[]) runTime, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), size ); @@ -157,7 +157,7 @@ int main(int argc, char *argv[]) runTime, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/applications/test/PatchFunction1/Test-PatchFunction1.C b/applications/test/PatchFunction1/Test-PatchFunction1.C index 33343e76089..72ab0692a73 100644 --- a/applications/test/PatchFunction1/Test-PatchFunction1.C +++ b/applications/test/PatchFunction1/Test-PatchFunction1.C @@ -92,8 +92,8 @@ int main(int argc, char *argv[]) runTime.timeName(), mesh, IOobject::NO_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), mesh, dimensionedVector(Zero) diff --git a/applications/test/checkDecomposePar/Test-checkDecomposePar.C b/applications/test/checkDecomposePar/Test-checkDecomposePar.C index 5cc6bb23117..d616b013c71 100644 --- a/applications/test/checkDecomposePar/Test-checkDecomposePar.C +++ b/applications/test/checkDecomposePar/Test-checkDecomposePar.C @@ -103,7 +103,7 @@ int main(int argc, char *argv[]) runTime, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/applications/test/decomposedBlockData/Test-decomposedBlockData.C b/applications/test/decomposedBlockData/Test-decomposedBlockData.C index 81d62397cd7..42df38b7757 100644 --- a/applications/test/decomposedBlockData/Test-decomposedBlockData.C +++ b/applications/test/decomposedBlockData/Test-decomposedBlockData.C @@ -67,7 +67,7 @@ int main(int argc, char *argv[]) runTime, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/applications/test/fvSolutionCombine/Test-fvSolutionCombine.C b/applications/test/fvSolutionCombine/Test-fvSolutionCombine.C index 9a3e8b18109..ded4fe6062b 100644 --- a/applications/test/fvSolutionCombine/Test-fvSolutionCombine.C +++ b/applications/test/fvSolutionCombine/Test-fvSolutionCombine.C @@ -116,7 +116,7 @@ int main(int argc, char *argv[]) runTime, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/applications/test/mapDistributePolyMesh/Test-mapDistributePolyMesh.C b/applications/test/mapDistributePolyMesh/Test-mapDistributePolyMesh.C index 554dbce72bf..ea17c1a878a 100644 --- a/applications/test/mapDistributePolyMesh/Test-mapDistributePolyMesh.C +++ b/applications/test/mapDistributePolyMesh/Test-mapDistributePolyMesh.C @@ -63,7 +63,7 @@ int main(int argc, char *argv[]) mesh, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/applications/test/searchableSphere/Test-searchableSphere.C b/applications/test/searchableSphere/Test-searchableSphere.C index ae76fd437f5..672319706bd 100644 --- a/applications/test/searchableSphere/Test-searchableSphere.C +++ b/applications/test/searchableSphere/Test-searchableSphere.C @@ -204,7 +204,7 @@ int main(int argc, char *argv[]) *dummyTimePtr, IOobject::NO_READ, IOobject::NO_WRITE, - false // do not register + IOobject::NO_REGISTER ); Info<< "Testing searchable sphere" << endl; diff --git a/applications/test/surfaceMeshConvert/Test-surfaceMeshConvert.C b/applications/test/surfaceMeshConvert/Test-surfaceMeshConvert.C index ecfead0f7e0..fe7781ebeb0 100644 --- a/applications/test/surfaceMeshConvert/Test-surfaceMeshConvert.C +++ b/applications/test/surfaceMeshConvert/Test-surfaceMeshConvert.C @@ -510,7 +510,7 @@ int main(int argc, char *argv[]) runTime, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), std::move(surf) ); diff --git a/applications/utilities/finiteArea/makeFaMesh/findMeshDefinitionDict.H b/applications/utilities/finiteArea/makeFaMesh/findMeshDefinitionDict.H index a5697ea69e3..956b3e3bf7b 100644 --- a/applications/utilities/finiteArea/makeFaMesh/findMeshDefinitionDict.H +++ b/applications/utilities/finiteArea/makeFaMesh/findMeshDefinitionDict.H @@ -74,7 +74,7 @@ autoPtr<IOdictionary> meshDictPtr; runTime, IOobject::MUST_READ, IOobject::NO_WRITE, - false, // no registerObject + IOobject::NO_REGISTER, true // is globalObject ); diff --git a/applications/utilities/mesh/conversion/ccm/foamToCcm/getTimeIndex.H b/applications/utilities/mesh/conversion/ccm/foamToCcm/getTimeIndex.H index b8cb089b4b3..a0c02834616 100644 --- a/applications/utilities/mesh/conversion/ccm/foamToCcm/getTimeIndex.H +++ b/applications/utilities/mesh/conversion/ccm/foamToCcm/getTimeIndex.H @@ -16,7 +16,7 @@ runTime, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (io.typeHeaderOk<IOdictionary>(true)) diff --git a/applications/utilities/mesh/conversion/foamToFireMesh/getTimeIndex.H b/applications/utilities/mesh/conversion/foamToFireMesh/getTimeIndex.H index 8d6660c96ed..aff8a902698 100644 --- a/applications/utilities/mesh/conversion/foamToFireMesh/getTimeIndex.H +++ b/applications/utilities/mesh/conversion/foamToFireMesh/getTimeIndex.H @@ -16,7 +16,7 @@ runTime, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (io.typeHeaderOk<IOdictionary>(true)) diff --git a/applications/utilities/mesh/conversion/foamToStarMesh/getTimeIndex.H b/applications/utilities/mesh/conversion/foamToStarMesh/getTimeIndex.H index 8d6660c96ed..aff8a902698 100644 --- a/applications/utilities/mesh/conversion/foamToStarMesh/getTimeIndex.H +++ b/applications/utilities/mesh/conversion/foamToStarMesh/getTimeIndex.H @@ -16,7 +16,7 @@ runTime, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (io.typeHeaderOk<IOdictionary>(true)) diff --git a/applications/utilities/mesh/conversion/foamToSurface/getTimeIndex.H b/applications/utilities/mesh/conversion/foamToSurface/getTimeIndex.H index 8d6660c96ed..aff8a902698 100644 --- a/applications/utilities/mesh/conversion/foamToSurface/getTimeIndex.H +++ b/applications/utilities/mesh/conversion/foamToSurface/getTimeIndex.H @@ -16,7 +16,7 @@ runTime, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (io.typeHeaderOk<IOdictionary>(true)) diff --git a/applications/utilities/mesh/generation/PDRblockMesh/PDRblockMesh.C b/applications/utilities/mesh/generation/PDRblockMesh/PDRblockMesh.C index 75fbbe7016a..f6907cad1c2 100644 --- a/applications/utilities/mesh/generation/PDRblockMesh/PDRblockMesh.C +++ b/applications/utilities/mesh/generation/PDRblockMesh/PDRblockMesh.C @@ -191,7 +191,7 @@ int main(int argc, char *argv[]) runTime, // registry IOobject::NO_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ) ); diff --git a/applications/utilities/mesh/generation/blockMesh/findBlockMeshDict.H b/applications/utilities/mesh/generation/blockMesh/findBlockMeshDict.H index 43f4ffecb6e..5dab776091a 100644 --- a/applications/utilities/mesh/generation/blockMesh/findBlockMeshDict.H +++ b/applications/utilities/mesh/generation/blockMesh/findBlockMeshDict.H @@ -73,7 +73,7 @@ autoPtr<IOdictionary> meshDictPtr; runTime, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (!meshDictIO.typeHeaderOk<IOdictionary>(true)) diff --git a/applications/utilities/mesh/generation/extrude/extrudeMesh/extrudeMesh.C b/applications/utilities/mesh/generation/extrude/extrudeMesh/extrudeMesh.C index 7ea12e1f2a8..05e07488242 100644 --- a/applications/utilities/mesh/generation/extrude/extrudeMesh/extrudeMesh.C +++ b/applications/utilities/mesh/generation/extrude/extrudeMesh/extrudeMesh.C @@ -679,7 +679,7 @@ int main(int argc, char *argv[]) runTimeExtruded, //mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ) ); @@ -774,7 +774,7 @@ int main(int argc, char *argv[]) runTimeExtruded, IOobject::READ_IF_PRESENT, // Read fv* if present IOobject::AUTO_WRITE, - false + IOobject::NO_REGISTER ), mesh ); diff --git a/applications/utilities/mesh/generation/extrude/extrudeToRegionMesh/extrudeToRegionMesh.C b/applications/utilities/mesh/generation/extrude/extrudeToRegionMesh/extrudeToRegionMesh.C index 154cc796cbe..320a1127f0e 100644 --- a/applications/utilities/mesh/generation/extrude/extrudeToRegionMesh/extrudeToRegionMesh.C +++ b/applications/utilities/mesh/generation/extrude/extrudeToRegionMesh/extrudeToRegionMesh.C @@ -1272,7 +1272,7 @@ void extrudeGeometricProperties regionMesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), regionMesh.nFaces() ); @@ -1356,7 +1356,7 @@ void extrudeGeometricProperties regionMesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), regionMesh.nCells() ); @@ -2389,10 +2389,10 @@ int main(int argc, char *argv[]) runTime, IOobject::NO_READ, IOobject::AUTO_WRITE, - false + IOobject::NO_REGISTER ), - Zero, - false + Foam::zero{}, + false // syncPar ); // Add the new patches @@ -2559,7 +2559,7 @@ int main(int argc, char *argv[]) regionMesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), extruder.cellToFaceMap() ); @@ -2575,7 +2575,7 @@ int main(int argc, char *argv[]) regionMesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), extruder.faceToFaceMap() ); @@ -2592,7 +2592,7 @@ int main(int argc, char *argv[]) regionMesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), extruder.faceToEdgeMap() ); @@ -2609,7 +2609,7 @@ int main(int argc, char *argv[]) regionMesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), extruder.pointToPointMap() ); diff --git a/applications/utilities/mesh/generation/extrude2DMesh/extrude2DMeshApp.C b/applications/utilities/mesh/generation/extrude2DMesh/extrude2DMeshApp.C index 7b235d8c485..a469731d123 100644 --- a/applications/utilities/mesh/generation/extrude2DMesh/extrude2DMeshApp.C +++ b/applications/utilities/mesh/generation/extrude2DMesh/extrude2DMeshApp.C @@ -153,7 +153,7 @@ int main(int argc, char *argv[]) runTimeExtruded, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); @@ -204,7 +204,7 @@ int main(int argc, char *argv[]) runTimeExtruded, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), std::move(poly2DMesh.points()), std::move(poly2DMesh.faces()), diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/backgroundMeshDecomposition/backgroundMeshDecomposition.C b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/backgroundMeshDecomposition/backgroundMeshDecomposition.C index 3589c67ba88..d2e9024d753 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/backgroundMeshDecomposition/backgroundMeshDecomposition.C +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/backgroundMeshDecomposition/backgroundMeshDecomposition.C @@ -726,7 +726,7 @@ Foam::backgroundMeshDecomposition::backgroundMeshDecomposition runTime_, IOobject::MUST_READ, IOobject::AUTO_WRITE, - false + IOobject::NO_REGISTER ) ), meshCutter_ diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellShapeControlMesh/cellShapeControlMesh.C b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellShapeControlMesh/cellShapeControlMesh.C index ab7bf54aad9..3df705a82c2 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellShapeControlMesh/cellShapeControlMesh.C +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellShapeControlMesh/cellShapeControlMesh.C @@ -387,7 +387,7 @@ Foam::cellShapeControlMesh::cellShapeControlMesh(const Time& runTime) runTime, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (io.typeHeaderOk<pointScalarField>(true)) @@ -404,7 +404,7 @@ Foam::cellShapeControlMesh::cellShapeControlMesh(const Time& runTime) mesh.time(), IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellSizeAndAlignmentControl/fileControl/fileControl.C b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellSizeAndAlignmentControl/fileControl/fileControl.C index 93381d0b3e4..08f8cb40467 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellSizeAndAlignmentControl/fileControl/fileControl.C +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/cellShapeControl/cellSizeAndAlignmentControl/fileControl/fileControl.C @@ -176,55 +176,43 @@ void Foam::fileControl::initialVertices { Info<< " Reading points from file : " << pointsFile_ << endl; - pointIOField pointsTmp + pts = pointIOField::readContents ( IOobject ( pointsFile_, runTime_.constant(), runTime_, - IOobject::MUST_READ, - IOobject::NO_WRITE, - false + IOobject::MUST_READ ) ); - pts.transfer(pointsTmp); - Info<< " Reading sizes from file : " << sizesFile_ << endl; - scalarIOField sizesTmp + sizes = scalarIOField::readContents ( IOobject ( sizesFile_, runTime_.constant(), runTime_, - IOobject::MUST_READ, - IOobject::NO_WRITE, - false + IOobject::MUST_READ ) ); - sizes.transfer(sizesTmp); - Info<< " Reading alignments from file : " << alignmentsFile_ << endl; - triadIOField alignmentsTmp + alignments = triadIOField::readContents ( IOobject ( alignmentsFile_, runTime_.constant(), runTime_, - IOobject::MUST_READ, - IOobject::NO_WRITE, - false + IOobject::MUST_READ ) ); - alignments.transfer(alignmentsTmp); - if ((pts.size() != sizes.size()) || (pts.size() != alignments.size())) { FatalErrorInFunction diff --git a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshIO.C b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshIO.C index 150262b2aae..02de7ee380f 100644 --- a/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshIO.C +++ b/applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/conformalVoronoiMeshIO.C @@ -299,8 +299,8 @@ void Foam::conformalVoronoiMesh::writeMesh(const fileName& instance) // "tetDualMesh"/polyMesh::meshSubDir, // runTime_, // IOobject::NO_READ, -// IOobject::AUTO_WRITE, -// false +// IOobject::NO_WRITE, +// IOobject::NO_REGISTER // ), // labelUIndList // ( @@ -346,8 +346,8 @@ void Foam::conformalVoronoiMesh::writeMesh(const fileName& instance) // "tetDualMesh"/polyMesh::meshSubDir, // runTime_, // IOobject::NO_READ, -// IOobject::AUTO_WRITE, -// false +// IOobject::NO_WRITE, +// IOobject::NO_REGISTER // ), // points // ); @@ -605,7 +605,7 @@ void Foam::conformalVoronoiMesh::reorderProcessorPatches runTime_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), patchNames, patchDicts diff --git a/applications/utilities/mesh/generation/foamyMesh/foamyHexMeshBackgroundMesh/foamyHexMeshBackgroundMesh.C b/applications/utilities/mesh/generation/foamyMesh/foamyHexMeshBackgroundMesh/foamyHexMeshBackgroundMesh.C index add0d3c80fe..b17e8c7c26e 100644 --- a/applications/utilities/mesh/generation/foamyMesh/foamyHexMeshBackgroundMesh/foamyHexMeshBackgroundMesh.C +++ b/applications/utilities/mesh/generation/foamyMesh/foamyHexMeshBackgroundMesh/foamyHexMeshBackgroundMesh.C @@ -603,7 +603,7 @@ int main(int argc, char *argv[]) fvm.time(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), fvm, dimensionedScalar(dimLength, Zero) @@ -668,7 +668,7 @@ int main(int argc, char *argv[]) fvm.time(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), pointMesh::New(fvm), dimensionedScalar(dimLength, Zero) diff --git a/applications/utilities/mesh/generation/foamyMesh/foamyHexMeshSurfaceSimplify/foamyHexMeshSurfaceSimplify.C b/applications/utilities/mesh/generation/foamyMesh/foamyHexMeshSurfaceSimplify/foamyHexMeshSurfaceSimplify.C index 2a355d70c1c..05ab5e67144 100644 --- a/applications/utilities/mesh/generation/foamyMesh/foamyHexMeshSurfaceSimplify/foamyHexMeshSurfaceSimplify.C +++ b/applications/utilities/mesh/generation/foamyMesh/foamyHexMeshSurfaceSimplify/foamyHexMeshSurfaceSimplify.C @@ -619,8 +619,8 @@ int main(int argc, char *argv[]) "triSurface", runTime, // registry IOobject::NO_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), s ); diff --git a/applications/utilities/mesh/generation/foamyMesh/foamyHexMeshSurfaceSimplify/foamyHexMeshSurfaceSimplify_non_octree.C b/applications/utilities/mesh/generation/foamyMesh/foamyHexMeshSurfaceSimplify/foamyHexMeshSurfaceSimplify_non_octree.C index 442c83c700a..e8f565ba51d 100644 --- a/applications/utilities/mesh/generation/foamyMesh/foamyHexMeshSurfaceSimplify/foamyHexMeshSurfaceSimplify_non_octree.C +++ b/applications/utilities/mesh/generation/foamyMesh/foamyHexMeshSurfaceSimplify/foamyHexMeshSurfaceSimplify_non_octree.C @@ -327,8 +327,8 @@ int main(int argc, char *argv[]) "triSurface", runTime, // registry IOobject::NO_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), s ); diff --git a/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/foamyQuadMesh.C b/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/foamyQuadMesh.C index cc272978709..861db5e472b 100644 --- a/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/foamyQuadMesh.C +++ b/applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/foamyQuadMesh.C @@ -158,7 +158,7 @@ int main(int argc, char *argv[]) runTime, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), std::move(poly2DMesh.points()), std::move(poly2DMesh.faces()), diff --git a/applications/utilities/mesh/manipulation/checkMesh/writeFields.C b/applications/utilities/mesh/manipulation/checkMesh/writeFields.C index 94dccc6712c..690fba9c5e7 100644 --- a/applications/utilities/mesh/manipulation/checkMesh/writeFields.C +++ b/applications/utilities/mesh/manipulation/checkMesh/writeFields.C @@ -134,8 +134,8 @@ void writeSurfaceField mesh.time().timeName(), mesh, IOobject::NO_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), mesh, dimensionedScalar(dimless, Zero), @@ -193,8 +193,8 @@ void Foam::writeFields mesh.time().timeName(), mesh, IOobject::NO_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), mesh, dimensionedScalar(dimless, Zero), @@ -227,8 +227,8 @@ void Foam::writeFields mesh.time().timeName(), mesh, IOobject::NO_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), mesh, dimensionedScalar(dimless, Zero), @@ -279,8 +279,8 @@ void Foam::writeFields mesh.time().timeName(), mesh, IOobject::NO_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), mesh, dimensionedScalar(dimless, Zero), @@ -316,8 +316,8 @@ void Foam::writeFields mesh.time().timeName(), mesh, IOobject::NO_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), mesh, dimensionedScalar(dimless, Zero), @@ -351,8 +351,8 @@ void Foam::writeFields mesh.time().timeName(), mesh, IOobject::NO_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), mesh, dimensionedScalar(dimless, Zero), @@ -386,8 +386,8 @@ void Foam::writeFields mesh.time().timeName(), mesh, IOobject::NO_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), mesh, dimensionedScalar(dimless, Zero), @@ -416,8 +416,8 @@ void Foam::writeFields mesh.time().timeName(), mesh, IOobject::NO_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), mesh, dimensionedScalar(dimless, Zero), @@ -445,8 +445,8 @@ void Foam::writeFields mesh.time().timeName(), mesh, IOobject::NO_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), mesh, dimensionedScalar(dimVolume, Zero), @@ -476,8 +476,8 @@ void Foam::writeFields mesh.time().timeName(), mesh, IOobject::NO_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), mesh, dimensionedScalar(dimless, Zero), @@ -511,8 +511,8 @@ void Foam::writeFields mesh.time().timeName(), mesh, IOobject::NO_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), mesh, dimensionedScalar("minTetVolume", dimless, GREAT), @@ -577,8 +577,8 @@ void Foam::writeFields mesh.time().timeName(), mesh, IOobject::NO_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), mesh, dimensionedScalar("minPyrVolume", dimless, GREAT), @@ -650,8 +650,8 @@ void Foam::writeFields mesh.time().timeName(), mesh, IOobject::NO_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), mesh, dimensionedScalar(dimless, Zero), @@ -701,8 +701,8 @@ void Foam::writeFields mesh.time().timeName(), mesh, IOobject::NO_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), mesh, dimensionedScalar(scalar(-1)), @@ -740,8 +740,8 @@ void Foam::writeFields mesh.time().timeName(), mesh, IOobject::NO_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), mesh, dimensionedScalar(scalar(-1)), diff --git a/applications/utilities/mesh/manipulation/flattenMesh/flattenMesh.C b/applications/utilities/mesh/manipulation/flattenMesh/flattenMesh.C index 7e1ded5c6b4..c9fe1967d8d 100644 --- a/applications/utilities/mesh/manipulation/flattenMesh/flattenMesh.C +++ b/applications/utilities/mesh/manipulation/flattenMesh/flattenMesh.C @@ -65,7 +65,7 @@ int main(int argc, char *argv[]) runTime, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/applications/utilities/mesh/manipulation/mirrorMesh/mirrorMesh.C b/applications/utilities/mesh/manipulation/mirrorMesh/mirrorMesh.C index 978cb866628..126a03e2a92 100644 --- a/applications/utilities/mesh/manipulation/mirrorMesh/mirrorMesh.C +++ b/applications/utilities/mesh/manipulation/mirrorMesh/mirrorMesh.C @@ -90,7 +90,7 @@ int main(int argc, char *argv[]) mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/applications/utilities/mesh/manipulation/renumberMesh/renumberMesh.C b/applications/utilities/mesh/manipulation/renumberMesh/renumberMesh.C index e15c5f84fb1..48c28c3ce3e 100644 --- a/applications/utilities/mesh/manipulation/renumberMesh/renumberMesh.C +++ b/applications/utilities/mesh/manipulation/renumberMesh/renumberMesh.C @@ -73,7 +73,7 @@ tmp<volScalarField> createScalarField ( const fvMesh& mesh, const word& name, - const labelList& elems + const labelUList& elems ) { tmp<volScalarField> tfld @@ -87,7 +87,7 @@ tmp<volScalarField> createScalarField mesh, IOobject::NO_READ, IOobject::AUTO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimensionedScalar(dimless, Zero), @@ -1343,7 +1343,7 @@ int main(int argc, char *argv[]) mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); refData.updateMesh(map()); @@ -1387,7 +1387,7 @@ int main(int argc, char *argv[]) mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), map().cellMap() ).write(); @@ -1402,7 +1402,7 @@ int main(int argc, char *argv[]) mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), map().faceMap() ).write(); @@ -1417,7 +1417,7 @@ int main(int argc, char *argv[]) mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), map().pointMap() ).write(); diff --git a/applications/utilities/mesh/manipulation/rotateMesh/rotateMesh.C b/applications/utilities/mesh/manipulation/rotateMesh/rotateMesh.C index d2e53138ea1..19405995ef5 100644 --- a/applications/utilities/mesh/manipulation/rotateMesh/rotateMesh.C +++ b/applications/utilities/mesh/manipulation/rotateMesh/rotateMesh.C @@ -150,7 +150,7 @@ int main(int argc, char *argv[]) runTime, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C b/applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C index f902ff600f8..13667b2a234 100644 --- a/applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C +++ b/applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C @@ -913,7 +913,7 @@ void createAndWriteRegion newMesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), map().pointMap() ); @@ -932,7 +932,7 @@ void createAndWriteRegion newMesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), newMesh().nFaces() ); @@ -970,7 +970,7 @@ void createAndWriteRegion newMesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), map().cellMap() ); @@ -989,7 +989,7 @@ void createAndWriteRegion newMesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), labelList(nNewPatches, -1) ); @@ -1409,7 +1409,7 @@ void writeCellToRegion(const fvMesh& mesh, const labelList& cellRegion) mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), cellRegion ); @@ -1429,7 +1429,7 @@ void writeCellToRegion(const fvMesh& mesh, const labelList& cellRegion) mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimensionedScalar(dimless, Zero), @@ -1716,7 +1716,7 @@ int main(int argc, char *argv[]) mesh, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh ); diff --git a/applications/utilities/mesh/manipulation/transformPoints/transformPoints.C b/applications/utilities/mesh/manipulation/transformPoints/transformPoints.C index 0e96f21c30d..05335a7f326 100644 --- a/applications/utilities/mesh/manipulation/transformPoints/transformPoints.C +++ b/applications/utilities/mesh/manipulation/transformPoints/transformPoints.C @@ -414,7 +414,7 @@ int main(int argc, char *argv[]) runTime, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/applications/utilities/miscellaneous/foamFormatConvert/foamFormatConvert.C b/applications/utilities/miscellaneous/foamFormatConvert/foamFormatConvert.C index d45307c33e0..45734f1ef51 100644 --- a/applications/utilities/miscellaneous/foamFormatConvert/foamFormatConvert.C +++ b/applications/utilities/miscellaneous/foamFormatConvert/foamFormatConvert.C @@ -106,7 +106,7 @@ bool writeZones runTime, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); bool writeOk = false; @@ -214,7 +214,7 @@ bool writeOptionalMeshObject runTime, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); bool writeOk = false; diff --git a/applications/utilities/miscellaneous/foamFormatConvert/writeMeshObject.H b/applications/utilities/miscellaneous/foamFormatConvert/writeMeshObject.H index cff97e54540..7dffa765762 100644 --- a/applications/utilities/miscellaneous/foamFormatConvert/writeMeshObject.H +++ b/applications/utilities/miscellaneous/foamFormatConvert/writeMeshObject.H @@ -31,8 +31,8 @@ Description \*---------------------------------------------------------------------------*/ -#ifndef writeMeshObject_H -#define writeMeshObject_H +#ifndef Foam_writeMeshObject_H +#define Foam_writeMeshObject_H // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -59,7 +59,7 @@ inline bool writeMeshObject runTime, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); bool writeOk = false; diff --git a/applications/utilities/miscellaneous/foamHelp/helpTypes/helpBoundary/helpBoundaryTemplates.C b/applications/utilities/miscellaneous/foamHelp/helpTypes/helpBoundary/helpBoundaryTemplates.C index 9e2faa1794b..9a51d225f70 100644 --- a/applications/utilities/miscellaneous/foamHelp/helpTypes/helpBoundary/helpBoundaryTemplates.C +++ b/applications/utilities/miscellaneous/foamHelp/helpTypes/helpBoundary/helpBoundaryTemplates.C @@ -94,7 +94,7 @@ void Foam::helpTypes::helpBoundary::fixedValueFieldConditions mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimensioned<Type>(dimless, Zero) diff --git a/applications/utilities/parallelProcessing/decomposePar/decomposePar.C b/applications/utilities/parallelProcessing/decomposePar/decomposePar.C index f8bdc64af57..8916b01f6f6 100644 --- a/applications/utilities/parallelProcessing/decomposePar/decomposePar.C +++ b/applications/utilities/parallelProcessing/decomposePar/decomposePar.C @@ -189,7 +189,7 @@ autoPtr<labelIOList> procAddressing procMesh, IOobject::MUST_READ, IOobject::NO_WRITE, - false // do not register + IOobject::NO_REGISTER ) ); } @@ -505,7 +505,7 @@ int main(int argc, char *argv[]) runTime, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), decompDictFile, args.getOrDefault<label>("domains", 0), @@ -543,7 +543,7 @@ int main(int argc, char *argv[]) runTime, IOobject::MUST_READ, IOobject::NO_WRITE, - false // do not register + IOobject::NO_REGISTER ), decompDictFile ) @@ -653,7 +653,7 @@ int main(int argc, char *argv[]) runTime, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), decompDictFile ); @@ -683,7 +683,7 @@ int main(int argc, char *argv[]) mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), procIds ); @@ -816,7 +816,7 @@ int main(int argc, char *argv[]) mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false // not registered + IOobject::NO_REGISTER ); if (io.typeHeaderOk<faBoundaryMesh>(true)) diff --git a/applications/utilities/parallelProcessing/decomposePar/domainDecomposition.C b/applications/utilities/parallelProcessing/decomposePar/domainDecomposition.C index 5efad485c8b..5a720034707 100644 --- a/applications/utilities/parallelProcessing/decomposePar/domainDecomposition.C +++ b/applications/utilities/parallelProcessing/decomposePar/domainDecomposition.C @@ -91,7 +91,7 @@ Foam::domainDecomposition::domainDecomposition *this, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ) : nullptr @@ -221,7 +221,7 @@ bool Foam::domainDecomposition::writeDecomposition(const bool decomposeSets) *this, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); @@ -767,7 +767,7 @@ bool Foam::domainDecomposition::writeDecomposition(const bool decomposeSets) procMesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), std::move(procPoints) ); @@ -831,7 +831,7 @@ bool Foam::domainDecomposition::writeDecomposition(const bool decomposeSets) procMesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), baseMeshData, procCellAddressing_[proci], @@ -907,7 +907,7 @@ bool Foam::domainDecomposition::writeDecomposition(const bool decomposeSets) procMesh.thisDb(), IOobject::NO_READ, IOobject::NO_WRITE, - false // not registered + IOobject::NO_REGISTER ); // pointProcAddressing diff --git a/applications/utilities/parallelProcessing/decomposePar/domainDecompositionDryRun.C b/applications/utilities/parallelProcessing/decomposePar/domainDecompositionDryRun.C index 060ad804e87..c80f791515f 100644 --- a/applications/utilities/parallelProcessing/decomposePar/domainDecompositionDryRun.C +++ b/applications/utilities/parallelProcessing/decomposePar/domainDecompositionDryRun.C @@ -153,7 +153,7 @@ void Foam::domainDecompositionDryRun::execute // mesh_, // IOobject::NO_READ, // IOobject::NO_WRITE, -// false +// IOobject::NO_REGISTER // ), // std::move(cellToProc) // ); diff --git a/applications/utilities/parallelProcessing/decomposePar/domainDecompositionDryRunWrite.C b/applications/utilities/parallelProcessing/decomposePar/domainDecompositionDryRunWrite.C index e7b4ad0d7de..3d0cae7c280 100644 --- a/applications/utilities/parallelProcessing/decomposePar/domainDecompositionDryRunWrite.C +++ b/applications/utilities/parallelProcessing/decomposePar/domainDecompositionDryRunWrite.C @@ -48,7 +48,7 @@ void Foam::domainDecompositionDryRun::writeVolField this->mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh(), dimensionedScalar("cellDist", dimless, -1), diff --git a/applications/utilities/parallelProcessing/decomposePar/domainDecompositionWrite.C b/applications/utilities/parallelProcessing/decomposePar/domainDecompositionWrite.C index 81cf5088e20..8b432d5032f 100644 --- a/applications/utilities/parallelProcessing/decomposePar/domainDecompositionWrite.C +++ b/applications/utilities/parallelProcessing/decomposePar/domainDecompositionWrite.C @@ -49,7 +49,7 @@ void Foam::domainDecomposition::writeVolField this->mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh(), dimensionedScalar("cellDist", dimless, -1), diff --git a/applications/utilities/parallelProcessing/reconstructPar/reconstructPar.C b/applications/utilities/parallelProcessing/reconstructPar/reconstructPar.C index da63e26e214..2ab54d02bd6 100644 --- a/applications/utilities/parallelProcessing/reconstructPar/reconstructPar.C +++ b/applications/utilities/parallelProcessing/reconstructPar/reconstructPar.C @@ -780,7 +780,7 @@ int main(int argc, char *argv[]) procMesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ) ); @@ -822,7 +822,7 @@ int main(int argc, char *argv[]) mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), cellMaps, pointMaps, @@ -853,7 +853,7 @@ int main(int argc, char *argv[]) procMesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ) ); @@ -895,7 +895,7 @@ int main(int argc, char *argv[]) mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), cellMaps, pointMaps, diff --git a/applications/utilities/parallelProcessing/reconstructParMesh/reconstructParMesh.C b/applications/utilities/parallelProcessing/reconstructParMesh/reconstructParMesh.C index 8a680c3dd9d..92238934741 100644 --- a/applications/utilities/parallelProcessing/reconstructParMesh/reconstructParMesh.C +++ b/applications/utilities/parallelProcessing/reconstructParMesh/reconstructParMesh.C @@ -353,7 +353,7 @@ boundBox procBounds procDb, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); @@ -382,7 +382,7 @@ void writeDistribution masterMesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), masterMesh.nCells() ); @@ -418,7 +418,7 @@ void writeDistribution masterMesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), masterMesh, dimensionedScalar("cellDist", dimless, -1), @@ -498,7 +498,7 @@ void writeMaps procMesh, IOobject::NO_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ); diff --git a/applications/utilities/parallelProcessing/redistributePar/parLagrangianDistributorTemplates.C b/applications/utilities/parallelProcessing/redistributePar/parLagrangianDistributorTemplates.C index 401456f0d6e..6bfb38094cc 100644 --- a/applications/utilities/parallelProcessing/redistributePar/parLagrangianDistributorTemplates.C +++ b/applications/utilities/parallelProcessing/redistributePar/parLagrangianDistributorTemplates.C @@ -114,7 +114,7 @@ Foam::label Foam::parLagrangianDistributor::distributeFields srcMesh_, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), label(0) ); @@ -130,7 +130,7 @@ Foam::label Foam::parLagrangianDistributor::distributeFields tgtMesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (field.size()) @@ -218,7 +218,7 @@ Foam::label Foam::parLagrangianDistributor::distributeFieldFields srcMesh_, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), label(0) ); @@ -235,7 +235,7 @@ Foam::label Foam::parLagrangianDistributor::distributeFieldFields tgtMesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (field.size()) @@ -363,7 +363,7 @@ Foam::label Foam::parLagrangianDistributor::distributeStoredFields tgtMesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (field.size()) diff --git a/applications/utilities/parallelProcessing/redistributePar/redistributePar.C b/applications/utilities/parallelProcessing/redistributePar/redistributePar.C index 0ce18f312ef..5f960cf1a40 100644 --- a/applications/utilities/parallelProcessing/redistributePar/redistributePar.C +++ b/applications/utilities/parallelProcessing/redistributePar/redistributePar.C @@ -397,7 +397,7 @@ void writeDecomposition mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), decomp ); @@ -415,7 +415,7 @@ void writeDecomposition mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false // do not register + IOobject::NO_REGISTER ), mesh, dimensionedScalar(name, dimless, -1), @@ -891,7 +891,7 @@ autoPtr<mapDistributePolyMesh> redistributeAndWrite mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); hexRef8Data refData(io); @@ -2592,7 +2592,7 @@ int main(int argc, char *argv[]) areaProcMeshPtr->thisDb(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), faDistMap ).write(); diff --git a/applications/utilities/postProcessing/dataConversion/foamToEnsight/checkMeshMoving.H b/applications/utilities/postProcessing/dataConversion/foamToEnsight/checkMeshMoving.H index cbd5f35cd41..a1d45500023 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToEnsight/checkMeshMoving.H +++ b/applications/utilities/postProcessing/dataConversion/foamToEnsight/checkMeshMoving.H @@ -49,7 +49,7 @@ if (timeDirs.size() > 1) mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false // no register + IOobject::NO_REGISTER ).typeHeaderOk<pointIOField>(true, false) ) { diff --git a/applications/utilities/postProcessing/dataConversion/foamToEnsight/getTimeIndex.H b/applications/utilities/postProcessing/dataConversion/foamToEnsight/getTimeIndex.H index f27848bf92a..5fa3c329c18 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToEnsight/getTimeIndex.H +++ b/applications/utilities/postProcessing/dataConversion/foamToEnsight/getTimeIndex.H @@ -42,7 +42,7 @@ label timeIndex = 0; runTime, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false // no register + IOobject::NO_REGISTER ); if (io.typeHeaderOk<IOdictionary>(true, false)) diff --git a/applications/utilities/postProcessing/dataConversion/foamToEnsight/readFields.C b/applications/utilities/postProcessing/dataConversion/foamToEnsight/readFields.C index 6977d8bf58e..a9e92f80ad0 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToEnsight/readFields.C +++ b/applications/utilities/postProcessing/dataConversion/foamToEnsight/readFields.C @@ -55,7 +55,7 @@ Foam::label Foam::checkData mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false // no register + IOobject::NO_REGISTER ).typeHeaderOk<volScalarField>(false, false); if (!good) diff --git a/applications/utilities/postProcessing/dataConversion/foamToGMV/moveMesh.H b/applications/utilities/postProcessing/dataConversion/foamToGMV/moveMesh.H index 11f692b6847..b9eeb6f341f 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToGMV/moveMesh.H +++ b/applications/utilities/postProcessing/dataConversion/foamToGMV/moveMesh.H @@ -7,7 +7,7 @@ mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false // no register + IOobject::NO_REGISTER ); if (io.typeHeaderOk<pointIOField>(true, false)) diff --git a/applications/utilities/postProcessing/miscellaneous/profilingSummary/profilingSummary.C b/applications/utilities/postProcessing/miscellaneous/profilingSummary/profilingSummary.C index c2d0a56a371..da3e60947aa 100644 --- a/applications/utilities/postProcessing/miscellaneous/profilingSummary/profilingSummary.C +++ b/applications/utilities/postProcessing/miscellaneous/profilingSummary/profilingSummary.C @@ -211,7 +211,7 @@ int main(int argc, char *argv[]) runTime, IOobject::NO_READ, IOobject::NO_WRITE, - false, // no register + IOobject::NO_REGISTER, true // global-like ) ); diff --git a/applications/utilities/postProcessing/miscellaneous/temporalInterpolate/temporalInterpolate.C b/applications/utilities/postProcessing/miscellaneous/temporalInterpolate/temporalInterpolate.C index be8f32bcedf..3fcff800210 100644 --- a/applications/utilities/postProcessing/miscellaneous/temporalInterpolate/temporalInterpolate.C +++ b/applications/utilities/postProcessing/miscellaneous/temporalInterpolate/temporalInterpolate.C @@ -169,7 +169,7 @@ void fieldInterpolator::interpolate() objects_[fieldName]->db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), fieldName, selectedTimeNames, diff --git a/applications/utilities/postProcessing/optimisation/cumulativeDisplacement/createFields.H b/applications/utilities/postProcessing/optimisation/cumulativeDisplacement/createFields.H index 0fee3dd3345..759fbf29bcb 100644 --- a/applications/utilities/postProcessing/optimisation/cumulativeDisplacement/createFields.H +++ b/applications/utilities/postProcessing/optimisation/cumulativeDisplacement/createFields.H @@ -10,7 +10,7 @@ mesh, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ) ); diff --git a/applications/utilities/preProcessing/applyBoundaryLayer/applyBoundaryLayer.C b/applications/utilities/preProcessing/applyBoundaryLayer/applyBoundaryLayer.C index c072c06826a..06b6275fa88 100644 --- a/applications/utilities/preProcessing/applyBoundaryLayer/applyBoundaryLayer.C +++ b/applications/utilities/preProcessing/applyBoundaryLayer/applyBoundaryLayer.C @@ -84,7 +84,7 @@ void blendField mesh, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (fieldHeader.typeHeaderOk<volScalarField>(true)) @@ -122,7 +122,7 @@ void calcOmegaField mesh, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (omegaHeader.typeHeaderOk<volScalarField>(true)) @@ -159,7 +159,7 @@ void setField mesh, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (fldHeader.typeHeaderOk<volScalarField>(true)) diff --git a/applications/utilities/preProcessing/changeDictionary/changeDictionary.C b/applications/utilities/preProcessing/changeDictionary/changeDictionary.C index c1aaf562c2e..bf9ba8911ae 100644 --- a/applications/utilities/preProcessing/changeDictionary/changeDictionary.C +++ b/applications/utilities/preProcessing/changeDictionary/changeDictionary.C @@ -548,7 +548,7 @@ int main(int argc, char *argv[]) mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); const_cast<word&>(IOPtrList<entry>::typeName) = oldTypeName; @@ -672,7 +672,7 @@ int main(int argc, char *argv[]) mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (fieldHeader.typeHeaderOk<localIOdictionary>(false)) diff --git a/applications/utilities/preProcessing/createZeroDirectory/boundaryInfo.C b/applications/utilities/preProcessing/createZeroDirectory/boundaryInfo.C index c9a11c870a7..3be107a0da7 100644 --- a/applications/utilities/preProcessing/createZeroDirectory/boundaryInfo.C +++ b/applications/utilities/preProcessing/createZeroDirectory/boundaryInfo.C @@ -59,7 +59,7 @@ Foam::IOPtrList<Foam::entry> Foam::boundaryInfo::readBoundaryDict runTime, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); @@ -75,8 +75,7 @@ Foam::IOPtrList<Foam::entry> Foam::boundaryInfo::readBoundaryDict if (!procPatch) { label nFaces = dict.get<label>("nFaces"); - reduce(nFaces, sumOp<label>()); - if (nFaces == 0) + if (returnReduceAnd(nFaces == 0)) { addPatch = false; } diff --git a/applications/utilities/preProcessing/createZeroDirectory/solverTemplate.C b/applications/utilities/preProcessing/createZeroDirectory/solverTemplate.C index 2d8a64cd206..a49c975bae1 100644 --- a/applications/utilities/preProcessing/createZeroDirectory/solverTemplate.C +++ b/applications/utilities/preProcessing/createZeroDirectory/solverTemplate.C @@ -108,7 +108,7 @@ Foam::dictionary Foam::solverTemplate::readFluidFieldTemplates runTime, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/applications/utilities/preProcessing/faceAgglomerate/faceAgglomerate.C b/applications/utilities/preProcessing/faceAgglomerate/faceAgglomerate.C index bf18cdaae8c..0ea21872f42 100644 --- a/applications/utilities/preProcessing/faceAgglomerate/faceAgglomerate.C +++ b/applications/utilities/preProcessing/faceAgglomerate/faceAgglomerate.C @@ -89,7 +89,7 @@ int main(int argc, char *argv[]) mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), boundary.size() ); diff --git a/applications/utilities/preProcessing/foamUpgradeCyclics/foamUpgradeCyclics.C b/applications/utilities/preProcessing/foamUpgradeCyclics/foamUpgradeCyclics.C index f4fd3589a3f..f1c9fca80a9 100644 --- a/applications/utilities/preProcessing/foamUpgradeCyclics/foamUpgradeCyclics.C +++ b/applications/utilities/preProcessing/foamUpgradeCyclics/foamUpgradeCyclics.C @@ -287,7 +287,7 @@ void rewriteField runTime, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); const_cast<word&>(IOdictionary::typeName) = oldTypeName; @@ -455,7 +455,7 @@ int main(int argc, char *argv[]) runTime, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (io.typeHeaderOk<IOPtrList<entry>>(false)) @@ -489,7 +489,7 @@ int main(int argc, char *argv[]) runTime, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (io.typeHeaderOk<IOPtrList<entry>>(false)) diff --git a/applications/utilities/preProcessing/mapFields/MapLagrangianFields.H b/applications/utilities/preProcessing/mapFields/MapLagrangianFields.H index 285f80f411f..d62f4256a85 100644 --- a/applications/utilities/preProcessing/mapFields/MapLagrangianFields.H +++ b/applications/utilities/preProcessing/mapFields/MapLagrangianFields.H @@ -82,7 +82,7 @@ void MapLagrangianFields meshTarget, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), addParticles.size() ); @@ -121,7 +121,7 @@ void MapLagrangianFields meshTarget, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), addParticles.size() ); @@ -159,7 +159,7 @@ void MapLagrangianFields meshTarget, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), addParticles.size() ); diff --git a/applications/utilities/preProcessing/mapFields/mapFields.C b/applications/utilities/preProcessing/mapFields/mapFields.C index 8b5b24dd294..ef9ff315802 100644 --- a/applications/utilities/preProcessing/mapFields/mapFields.C +++ b/applications/utilities/preProcessing/mapFields/mapFields.C @@ -67,7 +67,7 @@ int readNumProcs runTime, IOobject::MUST_READ, IOobject::NO_WRITE, - false // do not register + IOobject::NO_REGISTER ), args.getOrDefault<fileName>(optionName, "") ) @@ -360,7 +360,7 @@ int main(int argc, char *argv[]) runTimeTarget, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/applications/utilities/preProcessing/mapFieldsPar/MapLagrangianFields.H b/applications/utilities/preProcessing/mapFieldsPar/MapLagrangianFields.H index 18cba7b9ec5..7f142c0221b 100644 --- a/applications/utilities/preProcessing/mapFieldsPar/MapLagrangianFields.H +++ b/applications/utilities/preProcessing/mapFieldsPar/MapLagrangianFields.H @@ -81,7 +81,7 @@ void MapLagrangianFields meshTarget, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), addParticles.size() ); @@ -123,7 +123,7 @@ void MapLagrangianFields meshTarget, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), min(fieldSource.size(), addParticles.size()) // handle 0 size ); @@ -172,7 +172,7 @@ void MapLagrangianFields meshTarget, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), min(fieldSource.size(), addParticles.size()) // handle 0 size ); diff --git a/applications/utilities/preProcessing/mapFieldsPar/mapFieldsPar.C b/applications/utilities/preProcessing/mapFieldsPar/mapFieldsPar.C index cb610d4549a..09c61e1f1bd 100644 --- a/applications/utilities/preProcessing/mapFieldsPar/mapFieldsPar.C +++ b/applications/utilities/preProcessing/mapFieldsPar/mapFieldsPar.C @@ -313,7 +313,7 @@ int main(int argc, char *argv[]) runTimeTarget, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/applications/utilities/preProcessing/mdInitialise/mdInitialise.C b/applications/utilities/preProcessing/mdInitialise/mdInitialise.C index 57d81963441..573e002931a 100644 --- a/applications/utilities/preProcessing/mdInitialise/mdInitialise.C +++ b/applications/utilities/preProcessing/mdInitialise/mdInitialise.C @@ -58,7 +58,7 @@ int main(int argc, char *argv[]) runTime, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/applications/utilities/preProcessing/optimisation/writeMorpherCPs/writeMorpherCPs.C b/applications/utilities/preProcessing/optimisation/writeMorpherCPs/writeMorpherCPs.C index 27bbec71d74..905915f859e 100644 --- a/applications/utilities/preProcessing/optimisation/writeMorpherCPs/writeMorpherCPs.C +++ b/applications/utilities/preProcessing/optimisation/writeMorpherCPs/writeMorpherCPs.C @@ -47,16 +47,14 @@ int main(int argc, char *argv[]) const dictionary NURBSdict ( - IOdictionary + IOdictionary::readContents ( IOobject ( "dynamicMeshDict", mesh.time().constant(), mesh, - IOobject::MUST_READ_IF_MODIFIED, - IOobject::NO_WRITE, - false + IOobject::MUST_READ ) ).subDict("volumetricBSplinesMotionSolverCoeffs") ); diff --git a/applications/utilities/preProcessing/setExprBoundaryFields/setExprBoundaryFields.C b/applications/utilities/preProcessing/setExprBoundaryFields/setExprBoundaryFields.C index 588cc1e4539..74355c2df8d 100644 --- a/applications/utilities/preProcessing/setExprBoundaryFields/setExprBoundaryFields.C +++ b/applications/utilities/preProcessing/setExprBoundaryFields/setExprBoundaryFields.C @@ -197,7 +197,7 @@ int main(int argc, char *argv[]) mesh.thisDb(), IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); const bool headOk = fieldHeader.typeHeaderOk<IOdictionary>(false); diff --git a/applications/utilities/preProcessing/setExprFields/setExprFields.C b/applications/utilities/preProcessing/setExprFields/setExprFields.C index 2d493cd0221..9704b34ab0d 100644 --- a/applications/utilities/preProcessing/setExprFields/setExprFields.C +++ b/applications/utilities/preProcessing/setExprFields/setExprFields.C @@ -163,7 +163,7 @@ bool setField mesh.thisDb(), IOobject::MUST_READ, IOobject::NO_WRITE, - false // No register + IOobject::NO_REGISTER ), mesh ); diff --git a/applications/utilities/preProcessing/setTurbulenceFields/setTurbulenceFields.C b/applications/utilities/preProcessing/setTurbulenceFields/setTurbulenceFields.C index 71d945503a9..b274677ed62 100644 --- a/applications/utilities/preProcessing/setTurbulenceFields/setTurbulenceFields.C +++ b/applications/utilities/preProcessing/setTurbulenceFields/setTurbulenceFields.C @@ -148,7 +148,7 @@ IOobject createIOobject mesh, rOpt, IOobject::NO_WRITE, - false // do not register + IOobject::NO_REGISTER ); } @@ -377,7 +377,7 @@ int main(int argc, char *argv[]) mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false // do not register + IOobject::NO_REGISTER ), mesh, dimensionedScalar(dimless, scalar(1)), diff --git a/applications/utilities/preProcessing/viewFactorsGen/viewFactorsGen.C b/applications/utilities/preProcessing/viewFactorsGen/viewFactorsGen.C index 69fad1c6d10..c8b74c6b425 100644 --- a/applications/utilities/preProcessing/viewFactorsGen/viewFactorsGen.C +++ b/applications/utilities/preProcessing/viewFactorsGen/viewFactorsGen.C @@ -480,7 +480,7 @@ int main(int argc, char *argv[]) mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); @@ -824,7 +824,7 @@ int main(int argc, char *argv[]) mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), nCoarseFaces ); @@ -1273,7 +1273,7 @@ int main(int argc, char *argv[]) mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), std::move(globalFaceFaces) ); diff --git a/applications/utilities/surface/surfaceBooleanFeatures/surfaceBooleanFeatures.C b/applications/utilities/surface/surfaceBooleanFeatures/surfaceBooleanFeatures.C index e44dfd6fcb4..5cc5d909e5a 100644 --- a/applications/utilities/surface/surfaceBooleanFeatures/surfaceBooleanFeatures.C +++ b/applications/utilities/surface/surfaceBooleanFeatures/surfaceBooleanFeatures.C @@ -1811,7 +1811,7 @@ int main(int argc, char *argv[]) runTime, // registry IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), feMesh.points(), feMesh.edges() diff --git a/applications/utilities/surface/surfaceFeatureExtract/surfaceFeatureExtract.C b/applications/utilities/surface/surfaceFeatureExtract/surfaceFeatureExtract.C index 6b70328df73..f7c45eddcfd 100644 --- a/applications/utilities/surface/surfaceFeatureExtract/surfaceFeatureExtract.C +++ b/applications/utilities/surface/surfaceFeatureExtract/surfaceFeatureExtract.C @@ -639,8 +639,8 @@ int main(int argc, char *argv[]) "triSurface", runTime, // registry IOobject::NO_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), feMesh.points(), feMesh.edges() diff --git a/applications/utilities/surface/surfaceMeshConvert/surfaceMeshConvert.C b/applications/utilities/surface/surfaceMeshConvert/surfaceMeshConvert.C index a76ab2af02e..3b81e3545ac 100644 --- a/applications/utilities/surface/surfaceMeshConvert/surfaceMeshConvert.C +++ b/applications/utilities/surface/surfaceMeshConvert/surfaceMeshConvert.C @@ -228,7 +228,7 @@ int main(int argc, char *argv[]) runTime, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), args.getOrDefault<fileName>("dict", "") ); diff --git a/applications/utilities/surface/surfaceMeshExport/surfaceMeshExport.C b/applications/utilities/surface/surfaceMeshExport/surfaceMeshExport.C index cc9b33e51e2..260ae192179 100644 --- a/applications/utilities/surface/surfaceMeshExport/surfaceMeshExport.C +++ b/applications/utilities/surface/surfaceMeshExport/surfaceMeshExport.C @@ -188,7 +188,7 @@ int main(int argc, char *argv[]) runTime, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), args.getOrDefault<fileName>("dict", "") ); diff --git a/applications/utilities/surface/surfaceMeshImport/surfaceMeshImport.C b/applications/utilities/surface/surfaceMeshImport/surfaceMeshImport.C index 702b49b5a47..03cb91a96e0 100644 --- a/applications/utilities/surface/surfaceMeshImport/surfaceMeshImport.C +++ b/applications/utilities/surface/surfaceMeshImport/surfaceMeshImport.C @@ -200,7 +200,7 @@ int main(int argc, char *argv[]) runTime, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), args.getOrDefault<fileName>("dict", "") ); diff --git a/applications/utilities/thermophysical/equilibriumCO/equilibriumCO.C b/applications/utilities/thermophysical/equilibriumCO/equilibriumCO.C index 5816495b309..cb555bcca6b 100644 --- a/applications/utilities/thermophysical/equilibriumCO/equilibriumCO.C +++ b/applications/utilities/thermophysical/equilibriumCO/equilibriumCO.C @@ -81,12 +81,11 @@ int main(int argc, char *argv[]) runTime, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); - const scalar P = 1e5; const scalar T = 3000.0; diff --git a/src/OpenFOAM/db/regIOobject/regIOobject.H b/src/OpenFOAM/db/regIOobject/regIOobject.H index f7060a5e7b2..bdd4d9ec255 100644 --- a/src/OpenFOAM/db/regIOobject/regIOobject.H +++ b/src/OpenFOAM/db/regIOobject/regIOobject.H @@ -147,7 +147,7 @@ public: regIOobject(const regIOobject& rio, bool registerCopy); //- Copy construct with new name, transferring registry registration - //- to the copy f registerCopy is true + //- to the copy if registerCopy is true regIOobject(const word& newName, const regIOobject&, bool registerCopy); //- Copy construct with new IO parameters diff --git a/src/TurbulenceModels/turbulenceModels/LES/LESModel/LESModel.C b/src/TurbulenceModels/turbulenceModels/LES/LESModel/LESModel.C index 1608a5682a7..45373c6c605 100644 --- a/src/TurbulenceModels/turbulenceModels/LES/LESModel/LESModel.C +++ b/src/TurbulenceModels/turbulenceModels/LES/LESModel/LESModel.C @@ -147,9 +147,9 @@ Foam::LESModel<BasicTurbulenceModel>::New IOobject::groupName(propertiesName, alphaRhoPhi.group()), U.time().constant(), U.db(), - IOobject::MUST_READ_IF_MODIFIED, + IOobject::MUST_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ) ); diff --git a/src/TurbulenceModels/turbulenceModels/RAS/RASModel/RASModel.C b/src/TurbulenceModels/turbulenceModels/RAS/RASModel/RASModel.C index 43b5745d880..661f65ebba7 100644 --- a/src/TurbulenceModels/turbulenceModels/RAS/RASModel/RASModel.C +++ b/src/TurbulenceModels/turbulenceModels/RAS/RASModel/RASModel.C @@ -129,9 +129,9 @@ Foam::RASModel<BasicTurbulenceModel>::New IOobject::groupName(propertiesName, alphaRhoPhi.group()), U.time().constant(), U.db(), - IOobject::MUST_READ_IF_MODIFIED, + IOobject::MUST_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ) ); diff --git a/src/TurbulenceModels/turbulenceModels/RAS/kEpsilonPhitF/kEpsilonPhitF.C b/src/TurbulenceModels/turbulenceModels/RAS/kEpsilonPhitF/kEpsilonPhitF.C index 54add606526..c3169d640ad 100644 --- a/src/TurbulenceModels/turbulenceModels/RAS/kEpsilonPhitF/kEpsilonPhitF.C +++ b/src/TurbulenceModels/turbulenceModels/RAS/kEpsilonPhitF/kEpsilonPhitF.C @@ -304,7 +304,7 @@ kEpsilonPhitF<BasicTurbulenceModel>::kEpsilonPhitF this->mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh_, dimensionedScalar(dimTime, Zero) diff --git a/src/TurbulenceModels/turbulenceModels/TurbulenceModel/TurbulenceModel.C b/src/TurbulenceModels/turbulenceModels/TurbulenceModel/TurbulenceModel.C index 8400b981c89..d28a9500d66 100644 --- a/src/TurbulenceModels/turbulenceModels/TurbulenceModel/TurbulenceModel.C +++ b/src/TurbulenceModels/turbulenceModels/TurbulenceModel/TurbulenceModel.C @@ -95,9 +95,9 @@ Foam::TurbulenceModel<Alpha, Rho, BasicTurbulenceModel, TransportModel>::New IOobject::groupName(propertiesName, alphaRhoPhi.group()), U.time().constant(), U.db(), - IOobject::MUST_READ_IF_MODIFIED, + IOobject::MUST_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ) ); diff --git a/src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/epsilonWallFunctions/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C b/src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/epsilonWallFunctions/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C index ebe14933128..724c4c2ceb2 100644 --- a/src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/epsilonWallFunctions/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C +++ b/src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/epsilonWallFunctions/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C @@ -91,7 +91,7 @@ void Foam::epsilonWallFunctionFvPatchScalarField::createAveragingWeights() mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false // do not register + IOobject::NO_REGISTER ), mesh, dimensionedScalar(dimless, Zero) diff --git a/src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutUTabulatedWallFunction/nutUTabulatedWallFunctionFvPatchScalarField.C b/src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutUTabulatedWallFunction/nutUTabulatedWallFunctionFvPatchScalarField.C index 5281d8159f1..bdea7962c83 100644 --- a/src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutUTabulatedWallFunction/nutUTabulatedWallFunctionFvPatchScalarField.C +++ b/src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutUTabulatedWallFunction/nutUTabulatedWallFunctionFvPatchScalarField.C @@ -115,7 +115,7 @@ nutUTabulatedWallFunctionFvPatchScalarField patch().boundaryMesh().mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), false ) @@ -156,7 +156,7 @@ nutUTabulatedWallFunctionFvPatchScalarField patch().boundaryMesh().mesh(), IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), true ) diff --git a/src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/omegaWallFunctions/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C b/src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/omegaWallFunctions/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C index d38f1632c5c..e4c67849be8 100644 --- a/src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/omegaWallFunctions/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C +++ b/src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/omegaWallFunctions/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C @@ -91,7 +91,7 @@ void Foam::omegaWallFunctionFvPatchScalarField::createAveragingWeights() mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false // do not register + IOobject::NO_REGISTER ), mesh, dimensionedScalar(dimless, Zero) diff --git a/src/TurbulenceModels/turbulenceModels/eddyViscosity/eddyViscosity.C b/src/TurbulenceModels/turbulenceModels/eddyViscosity/eddyViscosity.C index 3986871cfbd..ad74cdb6883 100644 --- a/src/TurbulenceModels/turbulenceModels/eddyViscosity/eddyViscosity.C +++ b/src/TurbulenceModels/turbulenceModels/eddyViscosity/eddyViscosity.C @@ -114,7 +114,7 @@ Foam::eddyViscosity<BasicTurbulenceModel>::R() const this->mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), ((2.0/3.0)*I)*tk() - (nut_)*dev(twoSymm(fvc::grad(this->U_))), patchFieldTypes diff --git a/src/TurbulenceModels/turbulenceModels/laminar/Stokes/Stokes.C b/src/TurbulenceModels/turbulenceModels/laminar/Stokes/Stokes.C index 04b0a8f6836..0e42398ef3d 100644 --- a/src/TurbulenceModels/turbulenceModels/laminar/Stokes/Stokes.C +++ b/src/TurbulenceModels/turbulenceModels/laminar/Stokes/Stokes.C @@ -98,7 +98,7 @@ Stokes<BasicTurbulenceModel>::nut() const this->mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh_, dimensionedScalar(dimViscosity, Zero) diff --git a/src/TurbulenceModels/turbulenceModels/laminar/laminarModel/laminarModel.C b/src/TurbulenceModels/turbulenceModels/laminar/laminarModel/laminarModel.C index 3e9eba5d0f3..22e7af0fbcf 100644 --- a/src/TurbulenceModels/turbulenceModels/laminar/laminarModel/laminarModel.C +++ b/src/TurbulenceModels/turbulenceModels/laminar/laminarModel/laminarModel.C @@ -100,9 +100,9 @@ Foam::laminarModel<BasicTurbulenceModel>::New IOobject::groupName(propertiesName, alphaRhoPhi.group()), U.time().constant(), U.db(), - IOobject::MUST_READ_IF_MODIFIED, + IOobject::MUST_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ) ); @@ -198,7 +198,7 @@ Foam::laminarModel<BasicTurbulenceModel>::nut() const this->mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh_, dimensionedScalar(dimViscosity, Zero) @@ -258,7 +258,7 @@ Foam::laminarModel<BasicTurbulenceModel>::k() const this->mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh_, dimensionedScalar(sqr(this->U_.dimensions()), Zero) @@ -279,7 +279,7 @@ Foam::laminarModel<BasicTurbulenceModel>::epsilon() const this->mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh_, dimensionedScalar(sqr(this->U_.dimensions())/dimTime, Zero) @@ -300,7 +300,7 @@ Foam::laminarModel<BasicTurbulenceModel>::omega() const this->mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh_, dimensionedScalar(dimless/dimTime, Zero) @@ -321,7 +321,7 @@ Foam::laminarModel<BasicTurbulenceModel>::R() const this->mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh_, dimensionedSymmTensor(sqr(this->U_.dimensions()), Zero) diff --git a/src/atmosphericModels/turbulenceModels/RAS/kL/kL.C b/src/atmosphericModels/turbulenceModels/RAS/kL/kL.C index 0b06f04c14d..5f9222a2332 100644 --- a/src/atmosphericModels/turbulenceModels/RAS/kL/kL.C +++ b/src/atmosphericModels/turbulenceModels/RAS/kL/kL.C @@ -89,7 +89,7 @@ tmp<volScalarField> kL<BasicTurbulenceModel>::epsilonCanopy() const this->mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh_, dimensionedScalar(sqr(dimLength)/pow3(dimTime), Zero) @@ -136,7 +136,7 @@ tmp<volScalarField> kL<BasicTurbulenceModel>::canopyHeight() const this->mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh_, dimensionedScalar(dimLength, Zero) diff --git a/src/combustionModels/EDC/EDC.C b/src/combustionModels/EDC/EDC.C index 434a8f87ec0..5d22a9f137b 100644 --- a/src/combustionModels/EDC/EDC.C +++ b/src/combustionModels/EDC/EDC.C @@ -204,7 +204,7 @@ Foam::combustionModels::EDC<ReactionThermo>::Qdot() const this->mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh(), dimensionedScalar(dimEnergy/dimVolume/dimTime, Zero) diff --git a/src/combustionModels/combustionModel/combustionModelTemplates.C b/src/combustionModels/combustionModel/combustionModelTemplates.C index a7b2c3737fe..6c896b45b9e 100644 --- a/src/combustionModels/combustionModel/combustionModelTemplates.C +++ b/src/combustionModels/combustionModel/combustionModelTemplates.C @@ -43,7 +43,7 @@ Foam::autoPtr<CombustionModel> Foam::combustionModel::New thermo.db(), IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); word combModelName("none"); diff --git a/src/combustionModels/diffusionMulticomponent/diffusionMulticomponent.C b/src/combustionModels/diffusionMulticomponent/diffusionMulticomponent.C index 0ef1a6861e4..f14d2ec5469 100644 --- a/src/combustionModels/diffusionMulticomponent/diffusionMulticomponent.C +++ b/src/combustionModels/diffusionMulticomponent/diffusionMulticomponent.C @@ -67,7 +67,7 @@ diffusionMulticomponent<ReactionThermo, ThermoType>::init() this->mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh_, dimensionedScalar(dimMass/dimTime/dimVolume, Zero), @@ -205,7 +205,7 @@ diffusionMulticomponent<ReactionThermo, ThermoType>::correct() this->mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh_, dimensionedScalar(dimMass/dimTime/dimVolume, Zero), @@ -406,7 +406,7 @@ diffusionMulticomponent<ReactionThermo, ThermoType>::Qdot() const this->mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh(), dimensionedScalar(dimEnergy/dimTime/dimVolume, Zero), diff --git a/src/combustionModels/laminar/laminar.C b/src/combustionModels/laminar/laminar.C index 50d724fdd2d..50f56816433 100644 --- a/src/combustionModels/laminar/laminar.C +++ b/src/combustionModels/laminar/laminar.C @@ -154,7 +154,7 @@ Foam::combustionModels::laminar<ReactionThermo>::Qdot() const this->mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh(), dimensionedScalar(dimEnergy/dimVolume/dimTime, Zero) diff --git a/src/combustionModels/noCombustion/noCombustion.C b/src/combustionModels/noCombustion/noCombustion.C index ca210872a48..e123b2f2dd5 100644 --- a/src/combustionModels/noCombustion/noCombustion.C +++ b/src/combustionModels/noCombustion/noCombustion.C @@ -87,7 +87,7 @@ Foam::combustionModels::noCombustion<ReactionThermo>::Qdot() const this->mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh(), dimensionedScalar(dimEnergy/dimVolume/dimTime, Zero) diff --git a/src/conversion/ccm/reader/ccmReader.C b/src/conversion/ccm/reader/ccmReader.C index 2cb8e4f47a4..fa95289c9e5 100644 --- a/src/conversion/ccm/reader/ccmReader.C +++ b/src/conversion/ccm/reader/ccmReader.C @@ -608,7 +608,7 @@ bool Foam::ccm::reader::remapMeshInfo registry, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); } diff --git a/src/conversion/ccm/reader/ccmReaderAux.C b/src/conversion/ccm/reader/ccmReaderAux.C index 6e996963f32..3e119be25c0 100644 --- a/src/conversion/ccm/reader/ccmReaderAux.C +++ b/src/conversion/ccm/reader/ccmReaderAux.C @@ -123,8 +123,8 @@ void Foam::ccm::reader::writeInterfaces polyMesh::meshSubDir, registry, IOobject::NO_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ) ); @@ -150,7 +150,7 @@ void Foam::ccm::reader::writeMeshLabelList ) const { // Write constant/polyMesh/propertyName - IOList<label> ioObj + IOListRef<label> ioObj ( IOobject ( @@ -159,8 +159,8 @@ void Foam::ccm::reader::writeMeshLabelList polyMesh::meshSubDir, registry, IOobject::NO_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), list ); diff --git a/src/conversion/ccm/writer/ccmWriterMesh.C b/src/conversion/ccm/writer/ccmWriterMesh.C index f66b822712d..83fcfafd11e 100644 --- a/src/conversion/ccm/writer/ccmWriterMesh.C +++ b/src/conversion/ccm/writer/ccmWriterMesh.C @@ -509,7 +509,7 @@ void Foam::ccm::writer::writeCells mesh_, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); @@ -667,7 +667,7 @@ void Foam::ccm::writer::writeInterfaces mesh_, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/src/conversion/ccm/writer/ccmWriterSolution.C b/src/conversion/ccm/writer/ccmWriterSolution.C index a64e470592d..c6755d145ef 100644 --- a/src/conversion/ccm/writer/ccmWriterSolution.C +++ b/src/conversion/ccm/writer/ccmWriterSolution.C @@ -153,7 +153,7 @@ void Foam::ccm::writer::writeSolution mesh_, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); } @@ -372,7 +372,7 @@ void Foam::ccm::writer::writeSolution runTime, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (io.typeHeaderOk<IOdictionary>(true)) diff --git a/src/conversion/common/reader/meshReaderAux.C b/src/conversion/common/reader/meshReaderAux.C index e81e14149ad..d4b4d5f426e 100644 --- a/src/conversion/common/reader/meshReaderAux.C +++ b/src/conversion/common/reader/meshReaderAux.C @@ -88,7 +88,7 @@ void Foam::meshReader::writeInterfaces(const objectRegistry& registry) const registry, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); @@ -113,7 +113,7 @@ void Foam::meshReader::writeMeshLabelList ) const { // write constant/polyMesh/propertyName - IOList<label> ioObj + IOListRef<label> ioObj ( IOobject ( @@ -122,8 +122,8 @@ void Foam::meshReader::writeMeshLabelList polyMesh::meshSubDir, registry, IOobject::NO_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), list ); diff --git a/src/conversion/common/tables/boundaryRegion.C b/src/conversion/common/tables/boundaryRegion.C index 002203ecb55..4cfe6b70d26 100644 --- a/src/conversion/common/tables/boundaryRegion.C +++ b/src/conversion/common/tables/boundaryRegion.C @@ -184,7 +184,7 @@ void Foam::boundaryRegion::readDict registry, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); @@ -216,7 +216,7 @@ void Foam::boundaryRegion::writeDict registry, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/src/conversion/common/tables/cellTable.C b/src/conversion/common/tables/cellTable.C index 607d253970d..3ec2971c964 100644 --- a/src/conversion/common/tables/cellTable.C +++ b/src/conversion/common/tables/cellTable.C @@ -327,7 +327,7 @@ void Foam::cellTable::readDict registry, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); @@ -360,7 +360,7 @@ void Foam::cellTable::writeDict registry, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/src/conversion/starcd/STARCDMeshWriter.C b/src/conversion/starcd/STARCDMeshWriter.C index 4cef740c90f..aa3c05004b1 100644 --- a/src/conversion/starcd/STARCDMeshWriter.C +++ b/src/conversion/starcd/STARCDMeshWriter.C @@ -63,7 +63,7 @@ void Foam::fileFormats::STARCDMeshWriter::getCellTable() mesh_, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/src/dynamicFvMesh/dynamicFvMesh/dynamicFvMesh.C b/src/dynamicFvMesh/dynamicFvMesh/dynamicFvMesh.C index 5b5a6dd2ea4..dd564ffb3ed 100644 --- a/src/dynamicFvMesh/dynamicFvMesh/dynamicFvMesh.C +++ b/src/dynamicFvMesh/dynamicFvMesh/dynamicFvMesh.C @@ -48,9 +48,9 @@ void Foam::dynamicFvMesh::readDict() "dynamicMeshDict", thisDb().time().constant(), thisDb(), - IOobject::MUST_READ_IF_MODIFIED, + IOobject::MUST_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ); if (dictHeader.typeHeaderOk<IOdictionary>(false, false)) diff --git a/src/dynamicFvMesh/dynamicFvMesh/dynamicFvMeshNew.C b/src/dynamicFvMesh/dynamicFvMesh/dynamicFvMeshNew.C index 35643811290..397735c7572 100644 --- a/src/dynamicFvMesh/dynamicFvMesh/dynamicFvMeshNew.C +++ b/src/dynamicFvMesh/dynamicFvMesh/dynamicFvMeshNew.C @@ -47,7 +47,7 @@ Foam::autoPtr<Foam::dynamicFvMesh> Foam::dynamicFvMesh::New(const IOobject& io) io.db(), IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ); if (dictHeader.typeHeaderOk<IOdictionary>(true)) diff --git a/src/dynamicFvMesh/dynamicInkJetFvMesh/dynamicInkJetFvMesh.C b/src/dynamicFvMesh/dynamicInkJetFvMesh/dynamicInkJetFvMesh.C index 90f4cd729c8..16c7b1d6747 100644 --- a/src/dynamicFvMesh/dynamicInkJetFvMesh/dynamicInkJetFvMesh.C +++ b/src/dynamicFvMesh/dynamicInkJetFvMesh/dynamicInkJetFvMesh.C @@ -59,9 +59,9 @@ Foam::dynamicInkJetFvMesh::dynamicInkJetFvMesh "dynamicMeshDict", io.time().constant(), *this, - IOobject::MUST_READ_IF_MODIFIED, + IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ).optionalSubDict(typeName + "Coeffs") ), diff --git a/src/dynamicFvMesh/dynamicMotionSolverListFvMesh/dynamicMotionSolverListFvMesh.C b/src/dynamicFvMesh/dynamicMotionSolverListFvMesh/dynamicMotionSolverListFvMesh.C index d1f09660cc4..7fe1a4168cb 100644 --- a/src/dynamicFvMesh/dynamicMotionSolverListFvMesh/dynamicMotionSolverListFvMesh.C +++ b/src/dynamicFvMesh/dynamicMotionSolverListFvMesh/dynamicMotionSolverListFvMesh.C @@ -88,19 +88,21 @@ bool Foam::dynamicMotionSolverListFvMesh::init *this, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); IOdictionary dict(ioDict); label i = 0; - if (dict.found("solvers")) + + const auto* dictptr = dict.findDict("solvers"); + if (dictptr) { - const dictionary& solvertDict = dict.subDict("solvers"); + const dictionary& solverDict = *dictptr; - motionSolvers_.setSize(solvertDict.size()); + motionSolvers_.setSize(solverDict.size()); - for (const entry& dEntry : solvertDict) + for (const entry& dEntry : solverDict) { if (dEntry.isDict()) { diff --git a/src/dynamicFvMesh/dynamicMultiMotionSolverFvMesh/dynamicMultiMotionSolverFvMesh.C b/src/dynamicFvMesh/dynamicMultiMotionSolverFvMesh/dynamicMultiMotionSolverFvMesh.C index b1ab185e16d..f6517d32497 100644 --- a/src/dynamicFvMesh/dynamicMultiMotionSolverFvMesh/dynamicMultiMotionSolverFvMesh.C +++ b/src/dynamicFvMesh/dynamicMultiMotionSolverFvMesh/dynamicMultiMotionSolverFvMesh.C @@ -84,7 +84,7 @@ bool Foam::dynamicMultiMotionSolverFvMesh::init(const bool doInit) *this, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); const dictionary& dynamicMeshCoeffs = dynDict.subDict(typeName + "Coeffs"); diff --git a/src/dynamicFvMesh/dynamicRefineFvMesh/dynamicRefineFvMesh.C b/src/dynamicFvMesh/dynamicRefineFvMesh/dynamicRefineFvMesh.C index d0f0d3ad7f6..5d5ad7e906b 100644 --- a/src/dynamicFvMesh/dynamicRefineFvMesh/dynamicRefineFvMesh.C +++ b/src/dynamicFvMesh/dynamicRefineFvMesh/dynamicRefineFvMesh.C @@ -174,9 +174,9 @@ void Foam::dynamicRefineFvMesh::readDict() "dynamicMeshDict", time().constant(), *this, - IOobject::MUST_READ_IF_MODIFIED, + IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ).optionalSubDict(typeName + "Coeffs") ); @@ -1293,9 +1293,9 @@ bool Foam::dynamicRefineFvMesh::updateTopology() "dynamicMeshDict", time().constant(), *this, - IOobject::MUST_READ_IF_MODIFIED, + IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ).optionalSubDict(typeName + "Coeffs") ); @@ -1509,8 +1509,8 @@ bool Foam::dynamicRefineFvMesh::writeObject time().timeName(), *this, IOobject::NO_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), *this, dimensionedScalar(dimless, Zero) diff --git a/src/dynamicFvMesh/simplifiedDynamicFvMesh/simplifiedDynamicFvMesh.C b/src/dynamicFvMesh/simplifiedDynamicFvMesh/simplifiedDynamicFvMesh.C index c7db30f8af2..3de89f4374c 100644 --- a/src/dynamicFvMesh/simplifiedDynamicFvMesh/simplifiedDynamicFvMesh.C +++ b/src/dynamicFvMesh/simplifiedDynamicFvMesh/simplifiedDynamicFvMesh.C @@ -55,7 +55,7 @@ Foam::simplifiedMeshes::simplifiedDynamicFvMeshBase::New io.db(), IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (dictHeader.typeHeaderOk<IOdictionary>(true)) diff --git a/src/dynamicMesh/meshCut/meshModifiers/multiDirRefinement/multiDirRefinement.C b/src/dynamicMesh/meshCut/meshModifiers/multiDirRefinement/multiDirRefinement.C index 42a5446c5a7..94b23d800e0 100644 --- a/src/dynamicMesh/meshCut/meshModifiers/multiDirRefinement/multiDirRefinement.C +++ b/src/dynamicMesh/meshCut/meshModifiers/multiDirRefinement/multiDirRefinement.C @@ -254,10 +254,10 @@ void Foam::multiDirRefinement::refineHex8 mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), - List<refinementHistory::splitCell8>(0), - labelList(0), + List<refinementHistory::splitCell8>(), + labelList(), false ) // refinement history ); diff --git a/src/dynamicMesh/motionSmoother/motionSmootherAlgo.C b/src/dynamicMesh/motionSmoother/motionSmootherAlgo.C index 73567914272..ddb61551d57 100644 --- a/src/dynamicMesh/motionSmoother/motionSmootherAlgo.C +++ b/src/dynamicMesh/motionSmoother/motionSmootherAlgo.C @@ -789,7 +789,7 @@ Foam::tmp<Foam::pointField> Foam::motionSmootherAlgo::curPoints() const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), scale_*displacement_, actualPatchFieldTypes, diff --git a/src/dynamicMesh/motionSmoother/motionSmootherAlgoTemplates.C b/src/dynamicMesh/motionSmoother/motionSmootherAlgoTemplates.C index 496bf281d1c..98f45bf5be8 100644 --- a/src/dynamicMesh/motionSmoother/motionSmootherAlgoTemplates.C +++ b/src/dynamicMesh/motionSmoother/motionSmootherAlgoTemplates.C @@ -153,7 +153,7 @@ Foam::motionSmootherAlgo::avg fld.db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), fld.mesh(), dimensioned<Type>(fld.dimensions(), Zero) diff --git a/src/dynamicMesh/motionSolvers/componentDisplacement/componentDisplacementMotionSolver.C b/src/dynamicMesh/motionSolvers/componentDisplacement/componentDisplacementMotionSolver.C index e82844508ae..76ea901109e 100644 --- a/src/dynamicMesh/motionSolvers/componentDisplacement/componentDisplacementMotionSolver.C +++ b/src/dynamicMesh/motionSolvers/componentDisplacement/componentDisplacementMotionSolver.C @@ -91,7 +91,7 @@ Foam::componentDisplacementMotionSolver::componentDisplacementMotionSolver mesh, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ).component(cmpt_) ), @@ -124,7 +124,7 @@ Foam::componentDisplacementMotionSolver::componentDisplacementMotionSolver mesh, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ) << exit(FatalError); diff --git a/src/dynamicMesh/motionSolvers/displacement/interpolation/displacementInterpolationMotionSolver.C b/src/dynamicMesh/motionSolvers/displacement/interpolation/displacementInterpolationMotionSolver.C index 3814271ecf7..dbd93a73fbc 100644 --- a/src/dynamicMesh/motionSolvers/displacement/interpolation/displacementInterpolationMotionSolver.C +++ b/src/dynamicMesh/motionSolvers/displacement/interpolation/displacementInterpolationMotionSolver.C @@ -104,7 +104,7 @@ void Foam::displacementInterpolationMotionSolver::calcInterpolation() mesh(), IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/src/dynamicMesh/motionSolvers/displacement/layeredSolver/displacementLayeredMotionMotionSolver.C b/src/dynamicMesh/motionSolvers/displacement/layeredSolver/displacementLayeredMotionMotionSolver.C index d714ffa5f94..fefa520f887 100644 --- a/src/dynamicMesh/motionSolvers/displacement/layeredSolver/displacementLayeredMotionMotionSolver.C +++ b/src/dynamicMesh/motionSolvers/displacement/layeredSolver/displacementLayeredMotionMotionSolver.C @@ -345,7 +345,7 @@ void Foam::displacementLayeredMotionMotionSolver::cellZoneSolve mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), pointDisplacement_ // to inherit the boundary conditions ) @@ -438,7 +438,7 @@ void Foam::displacementLayeredMotionMotionSolver::cellZoneSolve mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), pointMesh::New(mesh()), dimensionedScalar(dimLength, Zero) diff --git a/src/dynamicMesh/motionSolvers/displacement/points0/points0MotionSolver.C b/src/dynamicMesh/motionSolvers/displacement/points0/points0MotionSolver.C index 7671c6ae6ab..f79067ef29e 100644 --- a/src/dynamicMesh/motionSolvers/displacement/points0/points0MotionSolver.C +++ b/src/dynamicMesh/motionSolvers/displacement/points0/points0MotionSolver.C @@ -56,7 +56,7 @@ Foam::IOobject Foam::points0MotionSolver::points0IO(const polyMesh& mesh) mesh, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); // If points0 are located in constant directory, verify their existence @@ -111,7 +111,7 @@ Foam::points0MotionSolver::points0MotionSolver mesh, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ) << exit(FatalError); diff --git a/src/dynamicMesh/motionSolvers/displacement/solidBody/pointPatchFields/derived/solidBodyMotionDisplacement/solidBodyMotionDisplacementPointPatchVectorField.C b/src/dynamicMesh/motionSolvers/displacement/solidBody/pointPatchFields/derived/solidBodyMotionDisplacement/solidBodyMotionDisplacementPointPatchVectorField.C index 43ac06e52f6..e2c2ce7f8ee 100644 --- a/src/dynamicMesh/motionSolvers/displacement/solidBody/pointPatchFields/derived/solidBodyMotionDisplacement/solidBodyMotionDisplacementPointPatchVectorField.C +++ b/src/dynamicMesh/motionSolvers/displacement/solidBody/pointPatchFields/derived/solidBodyMotionDisplacement/solidBodyMotionDisplacementPointPatchVectorField.C @@ -148,7 +148,7 @@ solidBodyMotionDisplacementPointPatchVectorField::localPoints0() const this->db(), IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/src/dynamicMesh/polyMeshFilter/polyMeshFilter.C b/src/dynamicMesh/polyMeshFilter/polyMeshFilter.C index b0e057b3a5c..3d8a01bcb5a 100644 --- a/src/dynamicMesh/polyMeshFilter/polyMeshFilter.C +++ b/src/dynamicMesh/polyMeshFilter/polyMeshFilter.C @@ -82,7 +82,7 @@ Foam::autoPtr<Foam::fvMesh> Foam::polyMeshFilter::copyMesh(const fvMesh& mesh) mesh.time(), IOobject::READ_IF_PRESENT, // read fv* if present IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, true // parallel sync diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/hexRef8.C b/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/hexRef8.C index e1986b0962a..2a361e6bbda 100644 --- a/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/hexRef8.C +++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/hexRef8.C @@ -3049,7 +3049,7 @@ Foam::labelList Foam::hexRef8::consistentSlowRefinement2 // fMesh, // IOobject::NO_READ, // IOobject::NO_WRITE, - // false + // IOobject::NO_REGISTER // ), // fMesh, // dimensionedScalar(dimless, Zero) diff --git a/src/engine/engineMesh/engineMesh/engineMeshNew.C b/src/engine/engineMesh/engineMesh/engineMeshNew.C index 9cb427c8da2..e37d2138a0e 100644 --- a/src/engine/engineMesh/engineMesh/engineMeshNew.C +++ b/src/engine/engineMesh/engineMesh/engineMeshNew.C @@ -42,7 +42,7 @@ Foam::autoPtr<Foam::engineMesh> Foam::engineMesh::New(const IOobject& io) io.db(), IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ) ); diff --git a/src/engine/engineTime/engineTime/engineTime.C b/src/engine/engineTime/engineTime/engineTime.C index 7d5da7f16d4..51dcf7cb4f3 100644 --- a/src/engine/engineTime/engineTime/engineTime.C +++ b/src/engine/engineTime/engineTime/engineTime.C @@ -66,7 +66,7 @@ Foam::engineTime::engineTime *this, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ) {} diff --git a/src/finiteArea/interpolation/edgeInterpolation/edgeInterpolation.C b/src/finiteArea/interpolation/edgeInterpolation/edgeInterpolation.C index 0e5f0b25f56..be58b303255 100644 --- a/src/finiteArea/interpolation/edgeInterpolation/edgeInterpolation.C +++ b/src/finiteArea/interpolation/edgeInterpolation/edgeInterpolation.C @@ -209,7 +209,7 @@ void Foam::edgeInterpolation::makeLPN() const mesh().thisDb(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh(), dimLength @@ -290,7 +290,7 @@ void Foam::edgeInterpolation::makeWeights() const mesh().thisDb(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh(), dimensionedScalar(dimless, 1) @@ -370,7 +370,7 @@ void Foam::edgeInterpolation::makeDeltaCoeffs() const mesh().thisDb(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh(), dimensionedScalar(dimless/dimLength, SMALL) @@ -464,7 +464,7 @@ void Foam::edgeInterpolation::makeCorrectionVectors() const mesh().thisDb(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh(), dimless @@ -571,7 +571,7 @@ void Foam::edgeInterpolation::makeSkewCorrectionVectors() const mesh().thisDb(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh(), dimensionedVector(dimless, Zero) diff --git a/src/finiteVolume/cfdTools/general/SRF/SRFModel/SRFModel/SRFModel.C b/src/finiteVolume/cfdTools/general/SRF/SRFModel/SRFModel/SRFModel.C index 95f1d94890e..11009e60392 100644 --- a/src/finiteVolume/cfdTools/general/SRF/SRFModel/SRFModel/SRFModel.C +++ b/src/finiteVolume/cfdTools/general/SRF/SRFModel/SRFModel/SRFModel.C @@ -216,7 +216,7 @@ Foam::tmp<Foam::volVectorField> Foam::SRF::SRFModel::Uabs() const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), Usrf ) diff --git a/src/finiteVolume/cfdTools/general/SRF/SRFModel/SRFModel/SRFModelNew.C b/src/finiteVolume/cfdTools/general/SRF/SRFModel/SRFModel/SRFModelNew.C index c476c65b05e..12f711ef295 100644 --- a/src/finiteVolume/cfdTools/general/SRF/SRFModel/SRFModel/SRFModelNew.C +++ b/src/finiteVolume/cfdTools/general/SRF/SRFModel/SRFModel/SRFModelNew.C @@ -42,9 +42,9 @@ Foam::autoPtr<Foam::SRF::SRFModel> Foam::SRF::SRFModel::New "SRFProperties", Urel.time().constant(), Urel.db(), - IOobject::MUST_READ_IF_MODIFIED, + IOobject::MUST_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ) ); diff --git a/src/finiteVolume/cfdTools/general/fvOptions/fvOptionListTemplates.C b/src/finiteVolume/cfdTools/general/fvOptions/fvOptionListTemplates.C index 374cc5ab257..c8b4ccbc239 100644 --- a/src/finiteVolume/cfdTools/general/fvOptions/fvOptionListTemplates.C +++ b/src/finiteVolume/cfdTools/general/fvOptions/fvOptionListTemplates.C @@ -267,10 +267,10 @@ Foam::tmp<Foam::fvMatrix<Type>> Foam::fv::optionList::operator() this->mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh_, - dimensionedScalar("one", dimless, 1.0) + dimensionedScalar("one", dimless, scalar(1)) ); return this->operator()(alpha, one, field, field.name()); diff --git a/src/finiteVolume/expressions/base/fvExprDriverI.H b/src/finiteVolume/expressions/base/fvExprDriverI.H index 949f58f1e99..d9a0cf0ff6d 100644 --- a/src/finiteVolume/expressions/base/fvExprDriverI.H +++ b/src/finiteVolume/expressions/base/fvExprDriverI.H @@ -157,7 +157,7 @@ Foam::expressions::fvExprDriver::readAndRegister meshRef.thisDb(), IOobject::MUST_READ, IOobject::NO_WRITE, - false // Unregistered + IOobject::NO_REGISTER ), meshRef ); diff --git a/src/finiteVolume/fields/fvPatchFields/derived/electrostaticDeposition/electrostaticDepositionFvPatchScalarField.C b/src/finiteVolume/fields/fvPatchFields/derived/electrostaticDeposition/electrostaticDepositionFvPatchScalarField.C index e4ee7dbcf17..9786b53acea 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/electrostaticDeposition/electrostaticDepositionFvPatchScalarField.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/electrostaticDeposition/electrostaticDepositionFvPatchScalarField.C @@ -112,7 +112,7 @@ void Foam::electrostaticDepositionFvPatchScalarField::writeFilmFields() const mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false // do not register + IOobject::NO_REGISTER ), mesh, dimensionedScalar(dimLength) diff --git a/src/finiteVolume/finiteVolume/ddtSchemes/CoEulerDdtScheme/CoEulerDdtScheme.C b/src/finiteVolume/finiteVolume/ddtSchemes/CoEulerDdtScheme/CoEulerDdtScheme.C index eff7207c0a9..b01c1943531 100644 --- a/src/finiteVolume/finiteVolume/ddtSchemes/CoEulerDdtScheme/CoEulerDdtScheme.C +++ b/src/finiteVolume/finiteVolume/ddtSchemes/CoEulerDdtScheme/CoEulerDdtScheme.C @@ -835,7 +835,7 @@ tmp<surfaceScalarField> CoEulerDdtScheme<Type>::meshPhi mesh().thisDb(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh(), dimensionedScalar(dimVolume/dimTime, Zero) diff --git a/src/finiteVolume/finiteVolume/ddtSchemes/CrankNicolsonDdtScheme/CrankNicolsonDdtScheme.C b/src/finiteVolume/finiteVolume/ddtSchemes/CrankNicolsonDdtScheme/CrankNicolsonDdtScheme.C index 207245e9d2f..a7ec7a31af4 100644 --- a/src/finiteVolume/finiteVolume/ddtSchemes/CrankNicolsonDdtScheme/CrankNicolsonDdtScheme.C +++ b/src/finiteVolume/finiteVolume/ddtSchemes/CrankNicolsonDdtScheme/CrankNicolsonDdtScheme.C @@ -1630,7 +1630,7 @@ tmp<surfaceScalarField> CrankNicolsonDdtScheme<Type>::meshPhi mesh().thisDb(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), coef_(meshPhi0)*mesh().phi() - offCentre_(meshPhi0()) ) diff --git a/src/finiteVolume/finiteVolume/ddtSchemes/SLTSDdtScheme/SLTSDdtScheme.C b/src/finiteVolume/finiteVolume/ddtSchemes/SLTSDdtScheme/SLTSDdtScheme.C index 38ac5d0412c..ecf7d1955f1 100644 --- a/src/finiteVolume/finiteVolume/ddtSchemes/SLTSDdtScheme/SLTSDdtScheme.C +++ b/src/finiteVolume/finiteVolume/ddtSchemes/SLTSDdtScheme/SLTSDdtScheme.C @@ -840,7 +840,7 @@ tmp<surfaceScalarField> SLTSDdtScheme<Type>::meshPhi mesh().thisDb(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh(), dimensionedScalar(dimVolume/dimTime, Zero) diff --git a/src/finiteVolume/finiteVolume/ddtSchemes/backwardDdtScheme/backwardDdtScheme.C b/src/finiteVolume/finiteVolume/ddtSchemes/backwardDdtScheme/backwardDdtScheme.C index e470ec87c80..3b2e28a08a6 100644 --- a/src/finiteVolume/finiteVolume/ddtSchemes/backwardDdtScheme/backwardDdtScheme.C +++ b/src/finiteVolume/finiteVolume/ddtSchemes/backwardDdtScheme/backwardDdtScheme.C @@ -983,7 +983,7 @@ tmp<surfaceScalarField> backwardDdtScheme<Type>::meshPhi mesh().thisDb(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), coefftn_0*mesh().phi() - coefft0_00*mesh().phi().oldTime() ) diff --git a/src/finiteVolume/finiteVolume/ddtSchemes/localEulerDdtScheme/localEulerDdtScheme.C b/src/finiteVolume/finiteVolume/ddtSchemes/localEulerDdtScheme/localEulerDdtScheme.C index bf3979fc21e..df63268dd14 100644 --- a/src/finiteVolume/finiteVolume/ddtSchemes/localEulerDdtScheme/localEulerDdtScheme.C +++ b/src/finiteVolume/finiteVolume/ddtSchemes/localEulerDdtScheme/localEulerDdtScheme.C @@ -599,7 +599,7 @@ tmp<surfaceScalarField> localEulerDdtScheme<Type>::meshPhi mesh().thisDb(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh(), dimensionedScalar(dimVolume/dimTime, Zero) diff --git a/src/finiteVolume/finiteVolume/ddtSchemes/steadyStateDdtScheme/steadyStateDdtScheme.C b/src/finiteVolume/finiteVolume/ddtSchemes/steadyStateDdtScheme/steadyStateDdtScheme.C index 33fb99b030d..a9702062487 100644 --- a/src/finiteVolume/finiteVolume/ddtSchemes/steadyStateDdtScheme/steadyStateDdtScheme.C +++ b/src/finiteVolume/finiteVolume/ddtSchemes/steadyStateDdtScheme/steadyStateDdtScheme.C @@ -383,7 +383,7 @@ tmp<surfaceScalarField> steadyStateDdtScheme<Type>::meshPhi mesh().thisDb(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh(), dimensionedScalar(dimVolume/dimTime, Zero) diff --git a/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/invDistLeastSquaresVectors.C b/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/invDistLeastSquaresVectors.C index 0e395adc1d2..5bfe9a515fa 100644 --- a/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/invDistLeastSquaresVectors.C +++ b/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/invDistLeastSquaresVectors.C @@ -51,7 +51,7 @@ Foam::leastSquaresVectors::leastSquaresVectors(const fvMesh& mesh) mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedVector(dimless/dimLength, Zero) @@ -65,7 +65,7 @@ Foam::leastSquaresVectors::leastSquaresVectors(const fvMesh& mesh) mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedVector(dimless/dimLength, Zero) diff --git a/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresVectors.C b/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresVectors.C index 7701e8d3a48..40dfc42445d 100644 --- a/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresVectors.C +++ b/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/leastSquaresVectors.C @@ -51,7 +51,7 @@ Foam::leastSquaresVectors::leastSquaresVectors(const fvMesh& mesh) mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedVector(dimless/dimLength, Zero) @@ -65,7 +65,7 @@ Foam::leastSquaresVectors::leastSquaresVectors(const fvMesh& mesh) mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedVector(dimless/dimLength, Zero) diff --git a/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/unweightedLeastSquaresVectors.C b/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/unweightedLeastSquaresVectors.C index 328916c9241..20c8bf54060 100644 --- a/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/unweightedLeastSquaresVectors.C +++ b/src/finiteVolume/finiteVolume/gradSchemes/leastSquaresGrad/unweightedLeastSquaresVectors.C @@ -51,7 +51,7 @@ Foam::leastSquaresVectors::leastSquaresVectors(const fvMesh& mesh) mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedVector(dimless/dimLength, Zero) @@ -65,7 +65,7 @@ Foam::leastSquaresVectors::leastSquaresVectors(const fvMesh& mesh) mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedVector(dimless/dimLength, Zero) diff --git a/src/finiteVolume/finiteVolume/snGradSchemes/limitedSnGrad/limitedSnGrad.C b/src/finiteVolume/finiteVolume/snGradSchemes/limitedSnGrad/limitedSnGrad.C index addf8e45e60..d19f4dddb61 100644 --- a/src/finiteVolume/finiteVolume/snGradSchemes/limitedSnGrad/limitedSnGrad.C +++ b/src/finiteVolume/finiteVolume/snGradSchemes/limitedSnGrad/limitedSnGrad.C @@ -103,9 +103,9 @@ limitedSnGrad<Type>::correction vf.mesh().thisDb(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), - fvc::cellReduce(limiter, minEqOp<scalar>(), scalar(1.0)) + fvc::cellReduce(limiter, minEqOp<scalar>(), scalar(1)) ); Info<< "Writing limiter field to " << volLimiter.objectPath() << endl; diff --git a/src/finiteVolume/fvMatrices/solvers/MULES/CMULESTemplates.C b/src/finiteVolume/fvMatrices/solvers/MULES/CMULESTemplates.C index 5daaddf683f..070e9b557ba 100644 --- a/src/finiteVolume/fvMatrices/solvers/MULES/CMULESTemplates.C +++ b/src/finiteVolume/fvMatrices/solvers/MULES/CMULESTemplates.C @@ -271,7 +271,7 @@ void Foam::MULES::limiterCorr mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimless, @@ -602,7 +602,7 @@ void Foam::MULES::limitCorr mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimless, diff --git a/src/finiteVolume/fvMatrices/solvers/MULES/MULESTemplates.C b/src/finiteVolume/fvMatrices/solvers/MULES/MULESTemplates.C index 388e0a4a435..30ad56a9d38 100644 --- a/src/finiteVolume/fvMatrices/solvers/MULES/MULESTemplates.C +++ b/src/finiteVolume/fvMatrices/solvers/MULES/MULESTemplates.C @@ -265,7 +265,7 @@ void Foam::MULES::limiter mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimless, @@ -622,7 +622,7 @@ void Foam::MULES::limit mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimless, diff --git a/src/finiteVolume/fvMesh/extendedStencil/cellToFace/extendedCellToFaceStencilTemplates.C b/src/finiteVolume/fvMesh/extendedStencil/cellToFace/extendedCellToFaceStencilTemplates.C index e2444ce7832..a4de446398c 100644 --- a/src/finiteVolume/fvMesh/extendedStencil/cellToFace/extendedCellToFaceStencilTemplates.C +++ b/src/finiteVolume/fvMesh/extendedStencil/cellToFace/extendedCellToFaceStencilTemplates.C @@ -109,7 +109,7 @@ Foam::extendedCellToFaceStencil::weightedSum mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimensioned<Type>(fld.dimensions(), Zero) diff --git a/src/finiteVolume/fvMesh/extendedStencil/cellToFace/extendedUpwindCellToFaceStencilTemplates.C b/src/finiteVolume/fvMesh/extendedStencil/cellToFace/extendedUpwindCellToFaceStencilTemplates.C index a5be65dc672..82b73a58053 100644 --- a/src/finiteVolume/fvMesh/extendedStencil/cellToFace/extendedUpwindCellToFaceStencilTemplates.C +++ b/src/finiteVolume/fvMesh/extendedStencil/cellToFace/extendedUpwindCellToFaceStencilTemplates.C @@ -58,7 +58,7 @@ Foam::extendedUpwindCellToFaceStencil::weightedSum mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimensioned<Type>(fld.dimensions(), Zero) diff --git a/src/finiteVolume/fvMesh/fvGeometryScheme/basic/basicFvGeometryScheme.C b/src/finiteVolume/fvMesh/fvGeometryScheme/basic/basicFvGeometryScheme.C index 58da31adbe7..867b38a2871 100644 --- a/src/finiteVolume/fvMesh/fvGeometryScheme/basic/basicFvGeometryScheme.C +++ b/src/finiteVolume/fvMesh/fvGeometryScheme/basic/basicFvGeometryScheme.C @@ -87,7 +87,7 @@ Foam::tmp<Foam::surfaceScalarField> Foam::basicFvGeometryScheme::weights() const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ), mesh_, dimless @@ -171,7 +171,7 @@ Foam::basicFvGeometryScheme::deltaCoeffs() const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ), mesh_, dimless/dimLength @@ -230,7 +230,7 @@ Foam::basicFvGeometryScheme::nonOrthDeltaCoeffs() const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ), mesh_, dimless/dimLength @@ -314,7 +314,7 @@ Foam::basicFvGeometryScheme::nonOrthCorrectionVectors() const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ), mesh_, dimless diff --git a/src/finiteVolume/fvMesh/fvMesh.C b/src/finiteVolume/fvMesh/fvMesh.C index 655b870a508..9d1765ad0de 100644 --- a/src/finiteVolume/fvMesh/fvMesh.C +++ b/src/finiteVolume/fvMesh/fvMesh.C @@ -193,7 +193,7 @@ void Foam::fvMesh::storeOldVol(const scalarField& V) *this, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), *this, dimVolume @@ -302,7 +302,7 @@ bool Foam::fvMesh::init(const bool doInit) *this, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), *this ); @@ -327,7 +327,7 @@ bool Foam::fvMesh::init(const bool doInit) *this, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), *this ); @@ -346,7 +346,7 @@ bool Foam::fvMesh::init(const bool doInit) *this, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), V() ); @@ -914,7 +914,7 @@ void Foam::fvMesh::movePoints(const pointField& p) *this, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), *this, dimensionedScalar(dimVolume/dimTime, Zero) @@ -1021,7 +1021,7 @@ void Foam::fvMesh::updateMesh(const mapPolyMesh& mpm) *this, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), *this, dimensionedScalar(dimVolume/dimTime, Zero) diff --git a/src/finiteVolume/fvMesh/fvMeshTools/fvMeshTools.C b/src/finiteVolume/fvMesh/fvMeshTools/fvMeshTools.C index d42c207e204..a537c114bb3 100644 --- a/src/finiteVolume/fvMesh/fvMeshTools/fvMeshTools.C +++ b/src/finiteVolume/fvMesh/fvMeshTools/fvMeshTools.C @@ -498,7 +498,7 @@ Foam::fvMeshTools::newMesh io.db(), IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); @@ -766,7 +766,7 @@ Foam::fvMeshTools::loadOrCreateMesh io.db(), IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); @@ -1077,7 +1077,7 @@ void Foam::fvMeshTools::createDummyFvMeshFiles mesh.thisDb(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (!io.typeHeaderOk<IOdictionary>(false)) @@ -1103,7 +1103,7 @@ void Foam::fvMeshTools::createDummyFvMeshFiles mesh.thisDb(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (!io.typeHeaderOk<IOdictionary>(false)) diff --git a/src/finiteVolume/fvMesh/fvMeshTools/fvMeshToolsProcAddr.C b/src/finiteVolume/fvMesh/fvMeshTools/fvMeshToolsProcAddr.C index 7f05a8329ca..637ab073a2e 100644 --- a/src/finiteVolume/fvMesh/fvMeshTools/fvMeshToolsProcAddr.C +++ b/src/finiteVolume/fvMesh/fvMeshTools/fvMeshToolsProcAddr.C @@ -231,7 +231,7 @@ Foam::fvMeshTools::readProcAddressing mesh.thisDb(), IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false // no register + IOobject::NO_REGISTER ); //if (ioAddr.typeHeaderOk<labelIOList>(true)) @@ -323,7 +323,7 @@ void Foam::fvMeshTools::writeProcAddressing mesh.thisDb(), IOobject::NO_READ, IOobject::NO_WRITE, - false // no register + IOobject::NO_REGISTER ); // cellProcAddressing (polyMesh) diff --git a/src/finiteVolume/fvMesh/fvPatches/constraint/cyclicACMI/cyclicACMIFvPatch.C b/src/finiteVolume/fvMesh/fvPatches/constraint/cyclicACMI/cyclicACMIFvPatch.C index 8ddab7a43ed..9fd6d217f90 100644 --- a/src/finiteVolume/fvMesh/fvPatches/constraint/cyclicACMI/cyclicACMIFvPatch.C +++ b/src/finiteVolume/fvMesh/fvPatches/constraint/cyclicACMI/cyclicACMIFvPatch.C @@ -157,7 +157,7 @@ Foam::cyclicACMIFvPatch::cyclicACMIFvPatch boundaryMesh().mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), dimensionedScalar("time", dimTime, -GREAT) ) diff --git a/src/finiteVolume/fvMesh/simplifiedFvMesh/columnFvMesh/columnFvMesh.C b/src/finiteVolume/fvMesh/simplifiedFvMesh/columnFvMesh/columnFvMesh.C index 7a242f9525f..6b8ec3cc440 100644 --- a/src/finiteVolume/fvMesh/simplifiedFvMesh/columnFvMesh/columnFvMesh.C +++ b/src/finiteVolume/fvMesh/simplifiedFvMesh/columnFvMesh/columnFvMesh.C @@ -68,7 +68,7 @@ bool Foam::simplifiedMeshes::columnFvMeshInfo::setPatchEntries runTime, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); const wordHashSet constraintPatches(polyPatch::constraintTypes()); @@ -213,7 +213,7 @@ void Foam::simplifiedMeshes::columnFvMeshInfo::initialise(const Time& runTime) runTime, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); scalar dxi = 0; diff --git a/src/finiteVolume/fvMesh/simplifiedFvMesh/columnFvMesh/columnFvMeshTemplates.C b/src/finiteVolume/fvMesh/simplifiedFvMesh/columnFvMesh/columnFvMeshTemplates.C index e7dc1fc3cb6..b65d76a62f2 100644 --- a/src/finiteVolume/fvMesh/simplifiedFvMesh/columnFvMesh/columnFvMeshTemplates.C +++ b/src/finiteVolume/fvMesh/simplifiedFvMesh/columnFvMesh/columnFvMeshTemplates.C @@ -46,7 +46,7 @@ void Foam::simplifiedMeshes::columnFvMeshInfo::initialiseZone zoneType.mesh(), IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), zoneType.mesh() ).names() diff --git a/src/finiteVolume/fvMesh/wallDist/patchDistMethods/advectionDiffusion/advectionDiffusionPatchDistMethod.C b/src/finiteVolume/fvMesh/wallDist/patchDistMethods/advectionDiffusion/advectionDiffusionPatchDistMethod.C index 4a78d65e05c..283cbb43317 100644 --- a/src/finiteVolume/fvMesh/wallDist/patchDistMethods/advectionDiffusion/advectionDiffusionPatchDistMethod.C +++ b/src/finiteVolume/fvMesh/wallDist/patchDistMethods/advectionDiffusion/advectionDiffusionPatchDistMethod.C @@ -108,7 +108,7 @@ bool Foam::patchDistMethods::advectionDiffusion::correct mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedVector(dimless, Zero), diff --git a/src/finiteVolume/fvMesh/wallDist/patchDistMethods/directionalMeshWave/directionalMeshWavePatchDistMethod.C b/src/finiteVolume/fvMesh/wallDist/patchDistMethods/directionalMeshWave/directionalMeshWavePatchDistMethod.C index 5c66476d897..45d36c44eed 100644 --- a/src/finiteVolume/fvMesh/wallDist/patchDistMethods/directionalMeshWave/directionalMeshWavePatchDistMethod.C +++ b/src/finiteVolume/fvMesh/wallDist/patchDistMethods/directionalMeshWave/directionalMeshWavePatchDistMethod.C @@ -78,7 +78,7 @@ bool Foam::patchDistMethods::directionalMeshWave::correct(volScalarField& y) mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedVector(dimless, Zero), diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/blended/blended.H b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/blended/blended.H index e99bf4889c5..ae2adf9892b 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/blended/blended.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/blended/blended.H @@ -142,7 +142,7 @@ public: this->mesh().thisDb(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh(), dimensionedScalar @@ -172,7 +172,7 @@ public: this->mesh().thisDb(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh(), dimensionedScalar diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/upwind/upwind.H b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/upwind/upwind.H index 3831b19ccde..f390bd62b08 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/upwind/upwind.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/upwind/upwind.H @@ -124,7 +124,7 @@ public: this->mesh().thisDb(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh(), dimensionedScalar(dimless, Zero) diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/cubic/cubic.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/cubic/cubic.H index 6bfab29ab29..8346b6927bd 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/cubic/cubic.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/cubic/cubic.H @@ -142,7 +142,7 @@ public: mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), surfaceInterpolationScheme<Type>::interpolate(vf, kSc, -kSc) ) diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwind.C b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwind.C index 26aba7f1f35..7848088c173 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwind.C +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwind.C @@ -50,7 +50,7 @@ Foam::linearUpwind<Type>::correction mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimensioned<Type>(vf.name(), vf.dimensions(), Zero) @@ -161,7 +161,7 @@ Foam::linearUpwind<Foam::vector>::correction mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimensioned<vector>(vf.name(), vf.dimensions(), Zero) diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwindV.C b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwindV.C index 193bb905611..48439fe7407 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwindV.C +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/linearUpwind/linearUpwindV.C @@ -52,7 +52,7 @@ Foam::linearUpwindV<Type>::correction mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimensioned<Type>(vf.dimensions(), Zero) diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/midPoint/midPoint.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/midPoint/midPoint.H index 18d413df102..8bfb0360dc2 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/midPoint/midPoint.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/midPoint/midPoint.H @@ -114,7 +114,7 @@ public: this->mesh().thisDb(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh(), dimensionedScalar("0.5", dimless, 0.5) diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/skewCorrected/skewCorrectionVectors.C b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/skewCorrected/skewCorrectionVectors.C index ac76afffeaa..673f7d9e972 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/skewCorrected/skewCorrectionVectors.C +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/skewCorrected/skewCorrectionVectors.C @@ -52,7 +52,7 @@ Foam::skewCorrectionVectors::skewCorrectionVectors(const fvMesh& mesh) mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimless diff --git a/src/functionObjects/field/DMD/DMDModels/derived/STDMD/STDMD.C b/src/functionObjects/field/DMD/DMDModels/derived/STDMD/STDMD.C index f80669e29ba..b733b036d81 100644 --- a/src/functionObjects/field/DMD/DMDModels/derived/STDMD/STDMD.C +++ b/src/functionObjects/field/DMD/DMDModels/derived/STDMD/STDMD.C @@ -521,7 +521,7 @@ void Foam::DMDModels::STDMD::amplitudes() mesh_, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); @@ -977,7 +977,7 @@ bool Foam::DMDModels::STDMD::initialise(const RMatrix& z) mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), nSnap ); diff --git a/src/functionObjects/field/DMD/DMDModels/derived/STDMD/STDMDTemplates.C b/src/functionObjects/field/DMD/DMDModels/derived/STDMD/STDMDTemplates.C index 7a68139c348..1804741bbd5 100644 --- a/src/functionObjects/field/DMD/DMDModels/derived/STDMD/STDMDTemplates.C +++ b/src/functionObjects/field/DMD/DMDModels/derived/STDMD/STDMDTemplates.C @@ -121,7 +121,7 @@ bool Foam::DMDModels::STDMD::calcModes() mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensioned<Type>(dimless, Zero), @@ -138,7 +138,7 @@ bool Foam::DMDModels::STDMD::calcModes() mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensioned<Type>(dimless, Zero), diff --git a/src/functionObjects/field/age/age.C b/src/functionObjects/field/age/age.C index 2f9dfccb2c2..4da8f127bca 100644 --- a/src/functionObjects/field/age/age.C +++ b/src/functionObjects/field/age/age.C @@ -161,10 +161,10 @@ bool Foam::functionObjects::age::execute() mesh_, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, - dimensionedScalar(dimTime, 0), + dimensionedScalar(dimTime, Zero), patchTypes() ); volScalarField& age = tage.ref(); diff --git a/src/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransform.C b/src/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransform.C index 1520e204b87..3406d1edb46 100644 --- a/src/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransform.C +++ b/src/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransform.C @@ -105,7 +105,7 @@ Foam::functionObjects::fieldCoordinateSystemTransform::srotTensor() const mesh_.objectRegistry::db(), IOobject::NO_READ, IOobject::NO_WRITE, - false // no register + IOobject::NO_REGISTER ), mesh_, dimless, @@ -150,7 +150,7 @@ Foam::functionObjects::fieldCoordinateSystemTransform::vrotTensor() const mesh_.objectRegistry::db(), IOobject::NO_READ, IOobject::NO_WRITE, - false // no register + IOobject::NO_REGISTER ), mesh_, dimless, diff --git a/src/functionObjects/field/pressure/pressure.C b/src/functionObjects/field/pressure/pressure.C index f254c3815d1..1ae36dff360 100644 --- a/src/functionObjects/field/pressure/pressure.C +++ b/src/functionObjects/field/pressure/pressure.C @@ -140,7 +140,7 @@ Foam::tmp<Foam::volScalarField> Foam::functionObjects::pressure::rhoScale p.mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), p, fvPatchField<scalar>::calculatedType() diff --git a/src/functionObjects/field/resolutionIndex/resolutionIndexModels/resolutionIndexModel/resolutionIndexModel.C b/src/functionObjects/field/resolutionIndex/resolutionIndexModels/resolutionIndexModel/resolutionIndexModel.C index 0255a9b58c0..b4e4610989f 100644 --- a/src/functionObjects/field/resolutionIndex/resolutionIndexModels/resolutionIndexModel/resolutionIndexModel.C +++ b/src/functionObjects/field/resolutionIndex/resolutionIndexModels/resolutionIndexModel/resolutionIndexModel.C @@ -54,7 +54,7 @@ Foam::tmp<Foam::volScalarField> Foam::resolutionIndexModel::V() const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimVolume, diff --git a/src/functionObjects/field/writeCellCentres/writeCellCentres.C b/src/functionObjects/field/writeCellCentres/writeCellCentres.C index 313a92d2cd6..6ab11c39562 100644 --- a/src/functionObjects/field/writeCellCentres/writeCellCentres.C +++ b/src/functionObjects/field/writeCellCentres/writeCellCentres.C @@ -82,7 +82,7 @@ bool Foam::functionObjects::writeCellCentres::write() mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_.C(), calculatedFvPatchScalarField::typeName @@ -105,7 +105,7 @@ bool Foam::functionObjects::writeCellCentres::write() mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_.C().component(i) ); diff --git a/src/functionObjects/field/writeCellVolumes/writeCellVolumes.C b/src/functionObjects/field/writeCellVolumes/writeCellVolumes.C index f4e5301ffa2..35750330416 100644 --- a/src/functionObjects/field/writeCellVolumes/writeCellVolumes.C +++ b/src/functionObjects/field/writeCellVolumes/writeCellVolumes.C @@ -82,7 +82,7 @@ bool Foam::functionObjects::writeCellVolumes::write() mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(mesh_.V().dimensions(), Zero), diff --git a/src/functionObjects/lagrangian/cloudInfo/cloudInfo.C b/src/functionObjects/lagrangian/cloudInfo/cloudInfo.C index ae81784e44f..8881185f946 100644 --- a/src/functionObjects/lagrangian/cloudInfo/cloudInfo.C +++ b/src/functionObjects/lagrangian/cloudInfo/cloudInfo.C @@ -173,7 +173,7 @@ bool Foam::functionObjects::cloudInfo::performAction(unsigned request) obr_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/src/functionObjects/lagrangian/dataCloud/dataCloud.C b/src/functionObjects/lagrangian/dataCloud/dataCloud.C index d176ab13df4..e34be5bc705 100644 --- a/src/functionObjects/lagrangian/dataCloud/dataCloud.C +++ b/src/functionObjects/lagrangian/dataCloud/dataCloud.C @@ -67,7 +67,7 @@ bool Foam::functionObjects::dataCloud::writeCloud mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/src/functionObjects/lagrangian/vtkCloud/vtkCloud.C b/src/functionObjects/lagrangian/vtkCloud/vtkCloud.C index 108f3cc22de..08557fd4014 100644 --- a/src/functionObjects/lagrangian/vtkCloud/vtkCloud.C +++ b/src/functionObjects/lagrangian/vtkCloud/vtkCloud.C @@ -116,7 +116,7 @@ bool Foam::functionObjects::vtkCloud::writeCloud mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/src/functionObjects/solvers/electricPotential/electricPotential.C b/src/functionObjects/solvers/electricPotential/electricPotential.C index e0a37bd0cbe..0118ee17050 100644 --- a/src/functionObjects/solvers/electricPotential/electricPotential.C +++ b/src/functionObjects/solvers/electricPotential/electricPotential.C @@ -79,7 +79,7 @@ Foam::functionObjects::electricPotential::sigma() const mesh_.time(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (phases_.size()) @@ -126,7 +126,7 @@ Foam::functionObjects::electricPotential::epsilonm() const mesh_.time(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (phases_.size()) @@ -356,7 +356,7 @@ bool Foam::functionObjects::electricPotential::write() mesh_.time(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), -fvc::grad(eV), calculatedFvPatchField<vector>::typeName @@ -379,7 +379,7 @@ bool Foam::functionObjects::electricPotential::write() mesh_.time(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), -tsigma*fvc::grad(eV), calculatedFvPatchField<vector>::typeName @@ -402,7 +402,7 @@ bool Foam::functionObjects::electricPotential::write() mesh_.time(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), fvc::div(tepsilonm*E), calculatedFvPatchField<scalar>::typeName diff --git a/src/functionObjects/solvers/energyTransport/energyTransport.C b/src/functionObjects/solvers/energyTransport/energyTransport.C index 3335c6994d1..4df38d094a6 100644 --- a/src/functionObjects/solvers/energyTransport/energyTransport.C +++ b/src/functionObjects/solvers/energyTransport/energyTransport.C @@ -121,7 +121,7 @@ Foam::functionObjects::energyTransport::rho() const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, rho_ @@ -158,7 +158,7 @@ Foam::functionObjects::energyTransport::Cp() const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, Cp_ @@ -189,7 +189,7 @@ Foam::functionObjects::energyTransport::kappa() const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, kappa_ @@ -232,7 +232,7 @@ Foam::functionObjects::energyTransport::energyTransport mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimEnergy/dimTemperature/dimVolume, Zero) diff --git a/src/functionObjects/utilities/solverInfo/solverInfo.C b/src/functionObjects/utilities/solverInfo/solverInfo.C index 8808cfa5606..60f0863aeb0 100644 --- a/src/functionObjects/utilities/solverInfo/solverInfo.C +++ b/src/functionObjects/utilities/solverInfo/solverInfo.C @@ -213,7 +213,7 @@ bool Foam::functionObjects::solverInfo::write() mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimless, Zero), diff --git a/src/functionObjects/utilities/writeDictionary/writeDictionary.C b/src/functionObjects/utilities/writeDictionary/writeDictionary.C index 7cc951ed543..bf4cb3443f5 100644 --- a/src/functionObjects/utilities/writeDictionary/writeDictionary.C +++ b/src/functionObjects/utilities/writeDictionary/writeDictionary.C @@ -97,7 +97,7 @@ bool Foam::functionObjects::writeDictionary::tryDirectory obr_, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (dictIO.typeHeaderOk<IOdictionary>(true)) diff --git a/src/fvMotionSolver/motionDiffusivity/inverseVolume/inverseVolumeDiffusivity.C b/src/fvMotionSolver/motionDiffusivity/inverseVolume/inverseVolumeDiffusivity.C index dac42d4d5af..4fdccec0981 100644 --- a/src/fvMotionSolver/motionDiffusivity/inverseVolume/inverseVolumeDiffusivity.C +++ b/src/fvMotionSolver/motionDiffusivity/inverseVolume/inverseVolumeDiffusivity.C @@ -80,7 +80,7 @@ void Foam::inverseVolumeDiffusivity::correct() mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh(), dimless, diff --git a/src/fvMotionSolver/pointPatchFields/derived/uniformInterpolatedDisplacement/uniformInterpolatedDisplacementPointPatchVectorField.C b/src/fvMotionSolver/pointPatchFields/derived/uniformInterpolatedDisplacement/uniformInterpolatedDisplacementPointPatchVectorField.C index 8bdfdd3ef7c..da4a2e1b33a 100644 --- a/src/fvMotionSolver/pointPatchFields/derived/uniformInterpolatedDisplacement/uniformInterpolatedDisplacementPointPatchVectorField.C +++ b/src/fvMotionSolver/pointPatchFields/derived/uniformInterpolatedDisplacement/uniformInterpolatedDisplacementPointPatchVectorField.C @@ -135,7 +135,7 @@ void uniformInterpolatedDisplacementPointPatchVectorField::updateCoeffs() pMesh(), IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (io.typeHeaderOk<pointVectorField>(false)) { diff --git a/src/fvOptions/sources/derived/jouleHeatingSource/jouleHeatingSource.C b/src/fvOptions/sources/derived/jouleHeatingSource/jouleHeatingSource.C index a57a0d8aa11..a548662098c 100644 --- a/src/fvOptions/sources/derived/jouleHeatingSource/jouleHeatingSource.C +++ b/src/fvOptions/sources/derived/jouleHeatingSource/jouleHeatingSource.C @@ -64,7 +64,7 @@ Foam::fv::jouleHeatingSource::transformSigma mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedSymmTensor(sigmaLocal.dimensions(), Zero), diff --git a/src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloud.C b/src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloud.C index db2132bf0ac..c5e44c1d72e 100644 --- a/src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloud.C +++ b/src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloud.C @@ -528,7 +528,7 @@ Foam::KinematicCloud<CloudType>::KinematicCloud this->db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), c.UTrans_() ) @@ -544,7 +544,7 @@ Foam::KinematicCloud<CloudType>::KinematicCloud this->db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), c.UCoeff_() ) @@ -574,7 +574,7 @@ Foam::KinematicCloud<CloudType>::KinematicCloud mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ), outputProperties_ @@ -587,7 +587,7 @@ Foam::KinematicCloud<CloudType>::KinematicCloud mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ), solution_(mesh), diff --git a/src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloudI.H b/src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloudI.H index b3e903aa942..48bc7d5acc4 100644 --- a/src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloudI.H +++ b/src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloudI.H @@ -529,7 +529,7 @@ Foam::KinematicCloud<CloudType>::vDotSweep() const this->db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimless/dimTime, Zero), @@ -567,7 +567,7 @@ Foam::KinematicCloud<CloudType>::theta() const this->db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimless, Zero), @@ -605,7 +605,7 @@ Foam::KinematicCloud<CloudType>::alpha() const this->db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimless, Zero) @@ -641,7 +641,7 @@ Foam::KinematicCloud<CloudType>::rhoEff() const this->db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimDensity, Zero) diff --git a/src/lagrangian/intermediate/clouds/Templates/ReactingCloud/ReactingCloud.C b/src/lagrangian/intermediate/clouds/Templates/ReactingCloud/ReactingCloud.C index f50cdf9c439..1062223379d 100644 --- a/src/lagrangian/intermediate/clouds/Templates/ReactingCloud/ReactingCloud.C +++ b/src/lagrangian/intermediate/clouds/Templates/ReactingCloud/ReactingCloud.C @@ -177,7 +177,7 @@ Foam::ReactingCloud<CloudType>::ReactingCloud this->db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), c.rhoTrans_[i] ) diff --git a/src/lagrangian/intermediate/clouds/Templates/ReactingCloud/ReactingCloudI.H b/src/lagrangian/intermediate/clouds/Templates/ReactingCloud/ReactingCloudI.H index 09597104732..ef82d05462e 100644 --- a/src/lagrangian/intermediate/clouds/Templates/ReactingCloud/ReactingCloudI.H +++ b/src/lagrangian/intermediate/clouds/Templates/ReactingCloud/ReactingCloudI.H @@ -122,7 +122,7 @@ inline Foam::tmp<Foam::fvScalarMatrix> Foam::ReactingCloud<CloudType>::SYi this->db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh(), dimensionedScalar(dimMass/dimTime/dimVolume, Zero) @@ -170,7 +170,7 @@ Foam::ReactingCloud<CloudType>::Srho(const label i) const this->db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh(), dimensionedScalar @@ -205,7 +205,7 @@ Foam::ReactingCloud<CloudType>::Srho() const this->db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh(), dimensionedScalar @@ -247,7 +247,7 @@ Foam::ReactingCloud<CloudType>::Srho(volScalarField& rho) const this->db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh(), dimensionedScalar(dimMass/dimTime/dimVolume, Zero) diff --git a/src/lagrangian/intermediate/clouds/Templates/ThermoCloud/ThermoCloud.C b/src/lagrangian/intermediate/clouds/Templates/ThermoCloud/ThermoCloud.C index 8eacefd6aae..9f232d96c27 100644 --- a/src/lagrangian/intermediate/clouds/Templates/ThermoCloud/ThermoCloud.C +++ b/src/lagrangian/intermediate/clouds/Templates/ThermoCloud/ThermoCloud.C @@ -240,7 +240,7 @@ Foam::ThermoCloud<CloudType>::ThermoCloud this->db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), c.hsTrans() ) @@ -256,7 +256,7 @@ Foam::ThermoCloud<CloudType>::ThermoCloud this->db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), c.hsCoeff() ) @@ -275,7 +275,7 @@ Foam::ThermoCloud<CloudType>::ThermoCloud this->db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), c.radAreaP() ) @@ -292,7 +292,7 @@ Foam::ThermoCloud<CloudType>::ThermoCloud this->db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), c.radT4() ) @@ -309,7 +309,7 @@ Foam::ThermoCloud<CloudType>::ThermoCloud this->db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), c.radAreaPT4() ) diff --git a/src/lagrangian/intermediate/clouds/Templates/ThermoCloud/ThermoCloudI.H b/src/lagrangian/intermediate/clouds/Templates/ThermoCloud/ThermoCloudI.H index dac71f356e9..e0dbbb8b589 100644 --- a/src/lagrangian/intermediate/clouds/Templates/ThermoCloud/ThermoCloudI.H +++ b/src/lagrangian/intermediate/clouds/Templates/ThermoCloud/ThermoCloudI.H @@ -274,7 +274,7 @@ inline Foam::tmp<Foam::volScalarField> Foam::ThermoCloud<CloudType>::Ep() const this->db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh(), dimensionedScalar(dimMass/dimLength/pow3(dimTime), Zero) @@ -310,7 +310,7 @@ inline Foam::tmp<Foam::volScalarField> Foam::ThermoCloud<CloudType>::ap() const this->db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh(), dimensionedScalar(dimless/dimLength, Zero) @@ -347,7 +347,7 @@ Foam::ThermoCloud<CloudType>::sigmap() const this->db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh(), dimensionedScalar(dimless/dimLength, Zero) diff --git a/src/lagrangian/intermediate/submodels/MPPIC/AveragingMethods/Basic/Basic.C b/src/lagrangian/intermediate/submodels/MPPIC/AveragingMethods/Basic/Basic.C index 63d7c4fffe6..fd36a47760e 100644 --- a/src/lagrangian/intermediate/submodels/MPPIC/AveragingMethods/Basic/Basic.C +++ b/src/lagrangian/intermediate/submodels/MPPIC/AveragingMethods/Basic/Basic.C @@ -76,7 +76,7 @@ void Foam::AveragingMethods::Basic<Type>::updateGrad() this->mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh_, dimensioned<Type>(dimless, Zero), diff --git a/src/lagrangian/intermediate/submodels/addOns/radiation/absorptionEmission/cloudAbsorptionEmission/cloudAbsorptionEmission.C b/src/lagrangian/intermediate/submodels/addOns/radiation/absorptionEmission/cloudAbsorptionEmission/cloudAbsorptionEmission.C index 562a44fbddb..4dc91ac10e3 100644 --- a/src/lagrangian/intermediate/submodels/addOns/radiation/absorptionEmission/cloudAbsorptionEmission/cloudAbsorptionEmission.C +++ b/src/lagrangian/intermediate/submodels/addOns/radiation/absorptionEmission/cloudAbsorptionEmission/cloudAbsorptionEmission.C @@ -83,7 +83,7 @@ Foam::radiation::cloudAbsorptionEmission::aDisp(const label) const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimless/dimLength, Zero) @@ -116,7 +116,7 @@ Foam::radiation::cloudAbsorptionEmission::eDisp(const label bandI) const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimless/dimLength, Zero) @@ -138,7 +138,7 @@ Foam::radiation::cloudAbsorptionEmission::EDisp(const label bandI) const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimMass/dimLength/pow3(dimTime), Zero) diff --git a/src/lagrangian/intermediate/submodels/addOns/radiation/scatter/cloudScatter/cloudScatter.C b/src/lagrangian/intermediate/submodels/addOns/radiation/scatter/cloudScatter/cloudScatter.C index 5b8c69d920d..1a530c91fd0 100644 --- a/src/lagrangian/intermediate/submodels/addOns/radiation/scatter/cloudScatter/cloudScatter.C +++ b/src/lagrangian/intermediate/submodels/addOns/radiation/scatter/cloudScatter/cloudScatter.C @@ -83,7 +83,7 @@ Foam::radiation::cloudScatter::sigmaEff() const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimless/dimLength, Zero) diff --git a/src/lagrangian/molecularDynamics/molecule/mdTools/createAutoCorrelationFunctions.H b/src/lagrangian/molecularDynamics/molecule/mdTools/createAutoCorrelationFunctions.H index 3a33c6182d5..7d956a54420 100644 --- a/src/lagrangian/molecularDynamics/molecule/mdTools/createAutoCorrelationFunctions.H +++ b/src/lagrangian/molecularDynamics/molecule/mdTools/createAutoCorrelationFunctions.H @@ -36,7 +36,7 @@ IOdictionary mdTransportProperitesDict mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/src/lagrangian/molecularDynamics/molecule/moleculeCloud/moleculeCloud.C b/src/lagrangian/molecularDynamics/molecule/moleculeCloud/moleculeCloud.C index 8571efe9f1a..9052b14a65f 100644 --- a/src/lagrangian/molecularDynamics/molecule/moleculeCloud/moleculeCloud.C +++ b/src/lagrangian/molecularDynamics/molecule/moleculeCloud/moleculeCloud.C @@ -58,7 +58,7 @@ void Foam::moleculeCloud::buildConstProps() mesh_, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/src/lagrangian/molecularDynamics/potential/potential/potential.C b/src/lagrangian/molecularDynamics/potential/potential/potential.C index f62987ca798..ff0725f6cab 100644 --- a/src/lagrangian/molecularDynamics/potential/potential/potential.C +++ b/src/lagrangian/molecularDynamics/potential/potential/potential.C @@ -131,7 +131,7 @@ void Foam::potential::potential::readPotentialDict() mesh_, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ) ); @@ -258,7 +258,7 @@ void Foam::potential::potential::readMdInitialiseDict mesh_, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/src/mesh/blockMesh/blockMesh/blockMeshTopology.C b/src/mesh/blockMesh/blockMesh/blockMeshTopology.C index c264e96701c..84ba7b5881b 100644 --- a/src/mesh/blockMesh/blockMesh/blockMeshTopology.C +++ b/src/mesh/blockMesh/blockMesh/blockMeshTopology.C @@ -554,7 +554,7 @@ Foam::blockMesh::createTopology meshDescription.time(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), pointField(vertices_), // Use a copy of vertices getBlockShapes(), diff --git a/src/mesh/snappyHexMesh/externalDisplacementMeshMover/displacementMotionSolverMeshMover.C b/src/mesh/snappyHexMesh/externalDisplacementMeshMover/displacementMotionSolverMeshMover.C index d8a3798964e..070d73e2c7c 100644 --- a/src/mesh/snappyHexMesh/externalDisplacementMeshMover/displacementMotionSolverMeshMover.C +++ b/src/mesh/snappyHexMesh/externalDisplacementMeshMover/displacementMotionSolverMeshMover.C @@ -133,7 +133,7 @@ Foam::displacementMotionSolverMeshMover::displacementMotionSolverMeshMover pointDisplacement.db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), dict ), @@ -147,7 +147,7 @@ Foam::displacementMotionSolverMeshMover::displacementMotionSolverMeshMover pointDisplacement.db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), pointDisplacement.mesh()().points() ) diff --git a/src/mesh/snappyHexMesh/externalDisplacementMeshMover/medialAxisMeshMover.C b/src/mesh/snappyHexMesh/externalDisplacementMeshMover/medialAxisMeshMover.C index d462e162d01..7db914643c1 100644 --- a/src/mesh/snappyHexMesh/externalDisplacementMeshMover/medialAxisMeshMover.C +++ b/src/mesh/snappyHexMesh/externalDisplacementMeshMover/medialAxisMeshMover.C @@ -1293,7 +1293,7 @@ Foam::medialAxisMeshMover::medialAxisMeshMover pointDisplacement.db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), pMesh(), dimensionedVector(dimLength, Zero) @@ -1307,7 +1307,7 @@ Foam::medialAxisMeshMover::medialAxisMeshMover pointDisplacement.db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), pMesh(), dimensionedScalar(dimless, Zero) @@ -1321,7 +1321,7 @@ Foam::medialAxisMeshMover::medialAxisMeshMover pointDisplacement.db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), pMesh(), dimensionedScalar(dimLength, Zero) @@ -1335,7 +1335,7 @@ Foam::medialAxisMeshMover::medialAxisMeshMover pointDisplacement.db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), pMesh(), dimensionedVector(dimLength, Zero) diff --git a/src/mesh/snappyHexMesh/meshRefinement/meshRefinement.C b/src/mesh/snappyHexMesh/meshRefinement/meshRefinement.C index b6f279b4909..f945f0f3693 100644 --- a/src/mesh/snappyHexMesh/meshRefinement/meshRefinement.C +++ b/src/mesh/snappyHexMesh/meshRefinement/meshRefinement.C @@ -1718,7 +1718,7 @@ Foam::meshRefinement::meshRefinement mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), labelList(mesh_.nFaces(), -1) ), @@ -3590,8 +3590,8 @@ void Foam::meshRefinement::dumpRefinementLevel() const mesh_.time().timeName(), mesh_, IOobject::NO_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimless, Zero), @@ -3621,7 +3621,7 @@ void Foam::meshRefinement::dumpRefinementLevel() const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), pMesh, dimensionedScalar(dimless, Zero) diff --git a/src/mesh/snappyHexMesh/meshRefinement/meshRefinementBaffles.C b/src/mesh/snappyHexMesh/meshRefinement/meshRefinementBaffles.C index 2f31191ab6b..57946636c14 100644 --- a/src/mesh/snappyHexMesh/meshRefinement/meshRefinementBaffles.C +++ b/src/mesh/snappyHexMesh/meshRefinement/meshRefinementBaffles.C @@ -3571,8 +3571,8 @@ void Foam::meshRefinement::zonify timeName(), mesh_, IOobject::NO_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimless, Zero), diff --git a/src/mesh/snappyHexMesh/meshRefinement/meshRefinementBlock.C b/src/mesh/snappyHexMesh/meshRefinement/meshRefinementBlock.C index c1141c9e4a4..f385d8000a7 100644 --- a/src/mesh/snappyHexMesh/meshRefinement/meshRefinementBlock.C +++ b/src/mesh/snappyHexMesh/meshRefinement/meshRefinementBlock.C @@ -431,7 +431,7 @@ void Foam::meshRefinement::growSet // mesh_, // IOobject::NO_READ, // IOobject::NO_WRITE, -// false +// IOobject::NO_REGISTER // ), // mesh_, // dimensionedScalar @@ -741,7 +741,7 @@ Foam::label Foam::meshRefinement::markProximityRefinementWave mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar @@ -893,15 +893,10 @@ Foam::label Foam::meshRefinement::markProximityRefinementWave mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, - dimensionedScalar - ( - "zero", - dimensionSet(0, 1, 0, 0, 0), - 0.0 - ) + dimensionedScalar(dimLength, Zero) ); distance.field() = smallGapDistance; distance.correctBoundaryConditions(); diff --git a/src/mesh/snappyHexMesh/refinementFeatures/refinementFeatures.C b/src/mesh/snappyHexMesh/refinementFeatures/refinementFeatures.C index ce8eb29cfb8..4522e3e3a23 100644 --- a/src/mesh/snappyHexMesh/refinementFeatures/refinementFeatures.C +++ b/src/mesh/snappyHexMesh/refinementFeatures/refinementFeatures.C @@ -68,7 +68,7 @@ void Foam::refinementFeatures::read io.time(), // registry IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); const fileName fName(typeFilePath<extendedFeatureEdgeMesh>(extFeatObj)); @@ -102,7 +102,7 @@ void Foam::refinementFeatures::read io.time(), // registry IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); const fileName fName(typeFilePath<featureEdgeMesh>(featObj)); diff --git a/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappyLayerDriver.C b/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappyLayerDriver.C index 6297c58f2f6..235591b6c0c 100644 --- a/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappyLayerDriver.C +++ b/src/mesh/snappyHexMesh/snappyHexMeshDriver/snappyLayerDriver.C @@ -3246,8 +3246,8 @@ bool Foam::snappyLayerDriver::writeLayerData mesh.time().timeName(), mesh, IOobject::NO_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), mesh, dimensionedScalar(dimless, Zero), @@ -3286,8 +3286,8 @@ bool Foam::snappyLayerDriver::writeLayerData mesh.time().timeName(), mesh, IOobject::NO_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), mesh, dimensionedScalar(dimless, Zero), @@ -3314,8 +3314,8 @@ bool Foam::snappyLayerDriver::writeLayerData mesh.time().timeName(), mesh, IOobject::NO_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), mesh, dimensionedScalar(dimless, Zero), diff --git a/src/meshTools/AMIInterpolation/patches/cyclicACMI/cyclicACMIPolyPatch/cyclicACMIPolyPatch.C b/src/meshTools/AMIInterpolation/patches/cyclicACMI/cyclicACMIPolyPatch/cyclicACMIPolyPatch.C index c0af94ad08e..49d2cb42316 100644 --- a/src/meshTools/AMIInterpolation/patches/cyclicACMI/cyclicACMIPolyPatch/cyclicACMIPolyPatch.C +++ b/src/meshTools/AMIInterpolation/patches/cyclicACMI/cyclicACMIPolyPatch/cyclicACMIPolyPatch.C @@ -575,7 +575,7 @@ Foam::cyclicACMIPolyPatch::cyclicACMIPolyPatch boundaryMesh().mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), dimensionedScalar("time", dimTime, -GREAT) ), @@ -613,7 +613,7 @@ Foam::cyclicACMIPolyPatch::cyclicACMIPolyPatch boundaryMesh().mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), dimensionedScalar("time", dimTime, -GREAT) ), @@ -655,7 +655,7 @@ Foam::cyclicACMIPolyPatch::cyclicACMIPolyPatch boundaryMesh().mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), dimensionedScalar("time", dimTime, -GREAT) ), @@ -694,7 +694,7 @@ Foam::cyclicACMIPolyPatch::cyclicACMIPolyPatch boundaryMesh().mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), dimensionedScalar("time", dimTime, -GREAT) ), @@ -739,7 +739,7 @@ Foam::cyclicACMIPolyPatch::cyclicACMIPolyPatch boundaryMesh().mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), dimensionedScalar("time", dimTime, -GREAT) ), diff --git a/src/meshTools/edgeMesh/edgeFormats/edgeMesh/edgeMeshFormat.C b/src/meshTools/edgeMesh/edgeFormats/edgeMesh/edgeMeshFormat.C index 2f7c3625d0a..19790815700 100644 --- a/src/meshTools/edgeMesh/edgeFormats/edgeMesh/edgeMeshFormat.C +++ b/src/meshTools/edgeMesh/edgeFormats/edgeMesh/edgeMeshFormat.C @@ -64,7 +64,7 @@ bool Foam::fileFormats::edgeMeshFormat::read *dummyTimePtr, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (!io.typeHeaderOk<featureEdgeMesh>(false)) @@ -156,7 +156,7 @@ void Foam::fileFormats::edgeMeshFormat::write *dummyTimePtr, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); io.note() = "written " + clock::dateTime(); diff --git a/src/meshTools/edgeMesh/edgeFormats/vtk/VTKedgeFormat.C b/src/meshTools/edgeMesh/edgeFormats/vtk/VTKedgeFormat.C index dee4aec216d..eee6927bb9e 100644 --- a/src/meshTools/edgeMesh/edgeFormats/vtk/VTKedgeFormat.C +++ b/src/meshTools/edgeMesh/edgeFormats/vtk/VTKedgeFormat.C @@ -69,7 +69,7 @@ bool Foam::fileFormats::VTKedgeFormat::read *dummyTimePtr, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/src/meshTools/edgeMesh/extendedEdgeMesh/extendedEdgeMeshFormat.C b/src/meshTools/edgeMesh/extendedEdgeMesh/extendedEdgeMeshFormat.C index 23afe387c47..f33e32215b4 100644 --- a/src/meshTools/edgeMesh/extendedEdgeMesh/extendedEdgeMeshFormat.C +++ b/src/meshTools/edgeMesh/extendedEdgeMesh/extendedEdgeMeshFormat.C @@ -62,7 +62,7 @@ bool Foam::fileFormats::extendedEdgeMeshFormat::read *dummyTimePtr, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (!io.typeHeaderOk<extendedFeatureEdgeMesh>(false)) diff --git a/src/meshTools/mappedPatches/mappedPolyPatch/mappedPatchBaseI.H b/src/meshTools/mappedPatches/mappedPolyPatch/mappedPatchBaseI.H index e671f9948d9..f84ed8e4b6a 100644 --- a/src/meshTools/mappedPatches/mappedPolyPatch/mappedPatchBaseI.H +++ b/src/meshTools/mappedPatches/mappedPolyPatch/mappedPatchBaseI.H @@ -213,7 +213,7 @@ Foam::mappedPatchBase::updateSampleMeshTime() const mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); } @@ -239,7 +239,7 @@ Foam::mappedPatchBase::updateMeshTime() const mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); } diff --git a/src/meshTools/searchableSurfaces/searchableExtrudedCircle/searchableExtrudedCircle.C b/src/meshTools/searchableSurfaces/searchableExtrudedCircle/searchableExtrudedCircle.C index 46b3ea18e7f..1e89d921c31 100644 --- a/src/meshTools/searchableSurfaces/searchableExtrudedCircle/searchableExtrudedCircle.C +++ b/src/meshTools/searchableSurfaces/searchableExtrudedCircle/searchableExtrudedCircle.C @@ -77,7 +77,7 @@ Foam::searchableExtrudedCircle::searchableExtrudedCircle io.time(), // registry IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ).objectPath() ) ), diff --git a/src/meshTools/topoSet/cellSources/fieldToCell/fieldToCell.C b/src/meshTools/topoSet/cellSources/fieldToCell/fieldToCell.C index 9d6377369cb..16e273f6654 100644 --- a/src/meshTools/topoSet/cellSources/fieldToCell/fieldToCell.C +++ b/src/meshTools/topoSet/cellSources/fieldToCell/fieldToCell.C @@ -186,8 +186,8 @@ void Foam::fieldToCell::applyToSet mesh().time().timeName(), mesh(), IOobject::MUST_READ, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ); // Note: should check for volScalarField but that introduces dependency diff --git a/src/meshTools/topoSet/faceSources/holeToFace/holeToFace.C b/src/meshTools/topoSet/faceSources/holeToFace/holeToFace.C index 45f028653fa..a6d5640c1d5 100644 --- a/src/meshTools/topoSet/faceSources/holeToFace/holeToFace.C +++ b/src/meshTools/topoSet/faceSources/holeToFace/holeToFace.C @@ -220,10 +220,10 @@ Foam::topoSetSource::addToUsageTable Foam::holeToFace::usage_ // fvm, // IOobject::NO_READ, // IOobject::NO_WRITE, -// false +// IOobject::NO_REGISTER // ), // fvm, -// dimensionedScalar("zero", dimless, scalar(0)) +// dimensionedScalar(dimless, Zero) // ); // forAll(labelFld, i) // { @@ -257,10 +257,10 @@ Foam::topoSetSource::addToUsageTable Foam::holeToFace::usage_ // fvm, // IOobject::NO_READ, // IOobject::NO_WRITE, -// false +// IOobject::NO_REGISTER // ), // fvm, -// dimensionedScalar("zero", dimless, scalar(0)) +// dimensionedScalar(dimless, Zero) // ); // for (label i = 0; i < mesh_.nInternalFaces(); i++) // { diff --git a/src/meshTools/topoSet/topoSets/topoBitSet.C b/src/meshTools/topoSet/topoSets/topoBitSet.C index b8149602123..56676ee9435 100644 --- a/src/meshTools/topoSet/topoSets/topoBitSet.C +++ b/src/meshTools/topoSet/topoSets/topoBitSet.C @@ -124,9 +124,9 @@ Foam::topoBitSet::topoBitSet mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), - 0 // zero-sized (unallocated) labelHashSet + label(0) // zero-sized (unallocated) labelHashSet ), selected_() {} diff --git a/src/meshTools/topoSet/topoSets/topoBoolSet.C b/src/meshTools/topoSet/topoSets/topoBoolSet.C index 77753f55cf3..35268ec9690 100644 --- a/src/meshTools/topoSet/topoSets/topoBoolSet.C +++ b/src/meshTools/topoSet/topoSets/topoBoolSet.C @@ -133,9 +133,9 @@ Foam::topoBoolSet::topoBoolSet mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), - 0 // zero-sized (unallocated) labelHashSet + label(0) // zero-sized (unallocated) labelHashSet ), selected_() {} diff --git a/src/optimisation/adjointOptimisation/adjoint/displacementMethod/displacementMethod/displacementMethod.C b/src/optimisation/adjointOptimisation/adjoint/displacementMethod/displacementMethod/displacementMethod.C index 298fcd4f679..d0da1a72118 100644 --- a/src/optimisation/adjointOptimisation/adjoint/displacementMethod/displacementMethod/displacementMethod.C +++ b/src/optimisation/adjointOptimisation/adjoint/displacementMethod/displacementMethod/displacementMethod.C @@ -72,7 +72,7 @@ Foam::autoPtr<Foam::displacementMethod> Foam::displacementMethod::New mesh, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); word solverType(dynamicMeshDict.get<word>("solver")); diff --git a/src/optimisation/adjointOptimisation/adjoint/displacementMethod/displacementMethoddisplacementLaplacian/displacementMethoddisplacementLaplacian.C b/src/optimisation/adjointOptimisation/adjoint/displacementMethod/displacementMethoddisplacementLaplacian/displacementMethoddisplacementLaplacian.C index b454b84c5dd..a3ab2291f88 100644 --- a/src/optimisation/adjointOptimisation/adjoint/displacementMethod/displacementMethoddisplacementLaplacian/displacementMethoddisplacementLaplacian.C +++ b/src/optimisation/adjointOptimisation/adjoint/displacementMethod/displacementMethoddisplacementLaplacian/displacementMethoddisplacementLaplacian.C @@ -89,16 +89,14 @@ displacementMethoddisplacementLaplacian::displacementMethoddisplacementLaplacian */ resetFields_ ( - IOdictionary + IOdictionary::readContents ( IOobject ( "dynamicMeshDict", mesh.time().constant(), mesh, - IOobject::MUST_READ_IF_MODIFIED, - IOobject::AUTO_WRITE, - false + IOobject::MUST_READ ) ).subDict("displacementLaplacianCoeffs").getOrDefault<bool> ( diff --git a/src/optimisation/adjointOptimisation/adjoint/displacementMethod/displacementMethodelasticityMotionSolver/displacementMethodelasticityMotionSolver.C b/src/optimisation/adjointOptimisation/adjoint/displacementMethod/displacementMethodelasticityMotionSolver/displacementMethodelasticityMotionSolver.C index 1362ffb7f48..f26dc3b132b 100644 --- a/src/optimisation/adjointOptimisation/adjoint/displacementMethod/displacementMethodelasticityMotionSolver/displacementMethodelasticityMotionSolver.C +++ b/src/optimisation/adjointOptimisation/adjoint/displacementMethod/displacementMethodelasticityMotionSolver/displacementMethodelasticityMotionSolver.C @@ -78,16 +78,14 @@ displacementMethodelasticityMotionSolver */ resetFields_ ( - IOdictionary + IOdictionary::readContents ( IOobject ( "dynamicMeshDict", mesh.time().constant(), mesh, - IOobject::MUST_READ_IF_MODIFIED, - IOobject::AUTO_WRITE, - false + IOobject::MUST_READ ) ).subDict("elasticityMotionSolverCoeffs").getOrDefault<bool> ( diff --git a/src/optimisation/adjointOptimisation/adjoint/displacementMethod/displacementMethodlaplacianMotionSolver/displacementMethodlaplacianMotionSolver.C b/src/optimisation/adjointOptimisation/adjoint/displacementMethod/displacementMethodlaplacianMotionSolver/displacementMethodlaplacianMotionSolver.C index 1b0a71920d0..873aff3d798 100644 --- a/src/optimisation/adjointOptimisation/adjoint/displacementMethod/displacementMethodlaplacianMotionSolver/displacementMethodlaplacianMotionSolver.C +++ b/src/optimisation/adjointOptimisation/adjoint/displacementMethod/displacementMethodlaplacianMotionSolver/displacementMethodlaplacianMotionSolver.C @@ -77,16 +77,14 @@ displacementMethodlaplacianMotionSolver::displacementMethodlaplacianMotionSolver */ resetFields_ ( - IOdictionary + IOdictionary::readContents ( IOobject ( "dynamicMeshDict", mesh.time().constant(), mesh, - IOobject::MUST_READ_IF_MODIFIED, - IOobject::AUTO_WRITE, - false + IOobject::MUST_READ ) ).subDict("laplacianMotionSolverCoeffs").getOrDefault<bool> ( diff --git a/src/optimisation/adjointOptimisation/adjoint/displacementMethod/displacementMethodvelocityLaplacian/displacementMethodvelocityLaplacian.C b/src/optimisation/adjointOptimisation/adjoint/displacementMethod/displacementMethodvelocityLaplacian/displacementMethodvelocityLaplacian.C index 9c0cdcdb7ff..c72518a4d75 100644 --- a/src/optimisation/adjointOptimisation/adjoint/displacementMethod/displacementMethodvelocityLaplacian/displacementMethodvelocityLaplacian.C +++ b/src/optimisation/adjointOptimisation/adjoint/displacementMethod/displacementMethodvelocityLaplacian/displacementMethodvelocityLaplacian.C @@ -84,16 +84,14 @@ displacementMethodvelocityLaplacian::displacementMethodvelocityLaplacian */ resetFields_ ( - IOdictionary + IOdictionary::readContents ( IOobject ( "dynamicMeshDict", mesh.time().constant(), mesh, - IOobject::MUST_READ_IF_MODIFIED, - IOobject::AUTO_WRITE, - false + IOobject::MUST_READ ) ).subDict("velocityLaplacianCoeffs").getOrDefault<bool> ( diff --git a/src/optimisation/adjointOptimisation/adjoint/finiteVolume/interpolation/surfaceInterpolation/schemes/limitedSchemes/linearUpwindNormal/linearUpwindNormal.C b/src/optimisation/adjointOptimisation/adjoint/finiteVolume/interpolation/surfaceInterpolation/schemes/limitedSchemes/linearUpwindNormal/linearUpwindNormal.C index ddfedb03f45..86f201430fe 100644 --- a/src/optimisation/adjointOptimisation/adjoint/finiteVolume/interpolation/surfaceInterpolation/schemes/limitedSchemes/linearUpwindNormal/linearUpwindNormal.C +++ b/src/optimisation/adjointOptimisation/adjoint/finiteVolume/interpolation/surfaceInterpolation/schemes/limitedSchemes/linearUpwindNormal/linearUpwindNormal.C @@ -52,7 +52,7 @@ Foam::linearUpwindNormal<Type>::correction mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimensioned<Type>(vf.dimensions(), Zero) diff --git a/src/optimisation/adjointOptimisation/adjoint/optimisation/adjointSensitivity/incompressible/adjointEikonalSolver/adjointEikonalSolverIncompressible.C b/src/optimisation/adjointOptimisation/adjoint/optimisation/adjointSensitivity/incompressible/adjointEikonalSolver/adjointEikonalSolverIncompressible.C index 41348f1bf6a..85ad4b6d32b 100644 --- a/src/optimisation/adjointOptimisation/adjoint/optimisation/adjointSensitivity/incompressible/adjointEikonalSolver/adjointEikonalSolverIncompressible.C +++ b/src/optimisation/adjointOptimisation/adjoint/optimisation/adjointSensitivity/incompressible/adjointEikonalSolver/adjointEikonalSolverIncompressible.C @@ -89,7 +89,7 @@ tmp<surfaceScalarField> adjointEikonalSolver::computeYPhi() mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedVector(dimless, Zero), diff --git a/src/optimisation/adjointOptimisation/adjoint/optimisation/lineSearch/lineSearch/lineSearch.C b/src/optimisation/adjointOptimisation/adjoint/optimisation/lineSearch/lineSearch/lineSearch.C index 3334a96dd03..0701dae6eb1 100644 --- a/src/optimisation/adjointOptimisation/adjoint/optimisation/lineSearch/lineSearch/lineSearch.C +++ b/src/optimisation/adjointOptimisation/adjoint/optimisation/lineSearch/lineSearch/lineSearch.C @@ -62,7 +62,7 @@ Foam::lineSearch::lineSearch(const dictionary& dict, const Time& time) time, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ), directionalDeriv_(Zero), diff --git a/src/optimisation/adjointOptimisation/adjoint/optimisation/optMeshMovement/optMeshMovementBezier/optMeshMovementBezier.C b/src/optimisation/adjointOptimisation/adjoint/optimisation/optMeshMovement/optMeshMovementBezier/optMeshMovementBezier.C index 001e950b189..11c0e384480 100644 --- a/src/optimisation/adjointOptimisation/adjoint/optimisation/optMeshMovement/optMeshMovementBezier/optMeshMovementBezier.C +++ b/src/optimisation/adjointOptimisation/adjoint/optimisation/optMeshMovement/optMeshMovementBezier/optMeshMovementBezier.C @@ -108,7 +108,7 @@ Foam::optMeshMovementBezier::optMeshMovementBezier mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), pointMesh::New(mesh), dimensionedVector(dimless, Zero) diff --git a/src/optimisation/adjointOptimisation/adjoint/optimisation/optMeshMovement/optMeshMovementVolumetricBSplinesExternalMotionSolver/optMeshMovementVolumetricBSplinesExternalMotionSolver.C b/src/optimisation/adjointOptimisation/adjoint/optimisation/optMeshMovement/optMeshMovementVolumetricBSplinesExternalMotionSolver/optMeshMovementVolumetricBSplinesExternalMotionSolver.C index 46eeadedeab..cdde7b1a575 100644 --- a/src/optimisation/adjointOptimisation/adjoint/optimisation/optMeshMovement/optMeshMovementVolumetricBSplinesExternalMotionSolver/optMeshMovementVolumetricBSplinesExternalMotionSolver.C +++ b/src/optimisation/adjointOptimisation/adjoint/optimisation/optMeshMovement/optMeshMovementVolumetricBSplinesExternalMotionSolver/optMeshMovementVolumetricBSplinesExternalMotionSolver.C @@ -126,7 +126,7 @@ optMeshMovementVolumetricBSplinesExternalMotionSolver mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), pointMesh::New(mesh), dimensionedVector(dimless, Zero) diff --git a/src/optimisation/adjointOptimisation/adjoint/optimisation/optimisationManager/optimisationManager/optimisationManager.C b/src/optimisation/adjointOptimisation/adjoint/optimisation/optimisationManager/optimisationManager/optimisationManager.C index a4b111fffd3..caae3b7b099 100644 --- a/src/optimisation/adjointOptimisation/adjoint/optimisation/optimisationManager/optimisationManager/optimisationManager.C +++ b/src/optimisation/adjointOptimisation/adjoint/optimisation/optimisationManager/optimisationManager/optimisationManager.C @@ -162,9 +162,9 @@ Foam::autoPtr<Foam::optimisationManager> Foam::optimisationManager::New "optimisationDict", mesh.time().system(), mesh, - IOobject::MUST_READ_IF_MODIFIED, + IOobject::MUST_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ) ); diff --git a/src/optimisation/adjointOptimisation/adjoint/optimisation/optimisationType/incompressible/shapeOptimisation/shapeOptimisationIncompressible.C b/src/optimisation/adjointOptimisation/adjoint/optimisation/optimisationType/incompressible/shapeOptimisation/shapeOptimisationIncompressible.C index 31def83c644..7a71d5ea6bc 100644 --- a/src/optimisation/adjointOptimisation/adjoint/optimisation/optimisationType/incompressible/shapeOptimisation/shapeOptimisationIncompressible.C +++ b/src/optimisation/adjointOptimisation/adjoint/optimisation/optimisationType/incompressible/shapeOptimisation/shapeOptimisationIncompressible.C @@ -73,7 +73,7 @@ void shapeOptimisation::updateDesignVariables(scalarField& correction) mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_.points() ); diff --git a/src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DVolume/controlPointsDefinition/fromFile/fromFile.C b/src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DVolume/controlPointsDefinition/fromFile/fromFile.C index 7400a873591..2dcb5dc4171 100644 --- a/src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DVolume/controlPointsDefinition/fromFile/fromFile.C +++ b/src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DVolume/controlPointsDefinition/fromFile/fromFile.C @@ -63,7 +63,7 @@ void Foam::fromFile::computeControlPoints() mesh, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DVolume/volBSplinesBase/volBSplinesBase.C b/src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DVolume/volBSplinesBase/volBSplinesBase.C index c73b7835adb..c5515ba8436 100644 --- a/src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DVolume/volBSplinesBase/volBSplinesBase.C +++ b/src/optimisation/adjointOptimisation/adjoint/parameterization/NURBS/NURBS3DVolume/volBSplinesBase/volBSplinesBase.C @@ -60,7 +60,7 @@ volBSplinesBase::volBSplinesBase mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ).subDict("volumetricBSplinesMotionSolverCoeffs") ); diff --git a/src/optimisation/adjointOptimisation/adjoint/solvers/variablesSet/variablesSet/variablesSetTemplates.C b/src/optimisation/adjointOptimisation/adjoint/solvers/variablesSet/variablesSet/variablesSetTemplates.C index 1210020825e..92bc073275d 100644 --- a/src/optimisation/adjointOptimisation/adjoint/solvers/variablesSet/variablesSet/variablesSetTemplates.C +++ b/src/optimisation/adjointOptimisation/adjoint/solvers/variablesSet/variablesSet/variablesSetTemplates.C @@ -58,7 +58,7 @@ GeometricField<Type, PatchField, GeoMesh>* variablesSet::allocateNamedField io.db(), IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), fieldType::typeName ); @@ -313,7 +313,7 @@ void variablesSet::renameTurbulenceField mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE, - false // Do not register + IOobject::NO_REGISTER ); if (headerCustomName.typeHeaderOk<VolFieldType>(true)) diff --git a/src/optimisation/adjointOptimisation/adjoint/turbulenceModels/incompressibleAdjoint/adjointRAS/adjointRASModel/adjointRASModel.C b/src/optimisation/adjointOptimisation/adjoint/turbulenceModels/incompressibleAdjoint/adjointRAS/adjointRASModel/adjointRASModel.C index de37b7e9267..f9e1d85bf9b 100644 --- a/src/optimisation/adjointOptimisation/adjoint/turbulenceModels/incompressibleAdjoint/adjointRAS/adjointRASModel/adjointRASModel.C +++ b/src/optimisation/adjointOptimisation/adjoint/turbulenceModels/incompressibleAdjoint/adjointRAS/adjointRASModel/adjointRASModel.C @@ -175,9 +175,9 @@ autoPtr<adjointRASModel> adjointRASModel::New "adjointRASProperties", primalVars.U().time().constant(), primalVars.U().db(), - IOobject::MUST_READ_IF_MODIFIED, + IOobject::MUST_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ) ); diff --git a/src/optimisation/adjointOptimisation/adjoint/turbulenceModels/incompressibleAdjoint/adjointTurbulenceModel/adjointTurbulenceModel.C b/src/optimisation/adjointOptimisation/adjoint/turbulenceModels/incompressibleAdjoint/adjointTurbulenceModel/adjointTurbulenceModel.C index 8b56a910ef6..6056adf1bdf 100644 --- a/src/optimisation/adjointOptimisation/adjoint/turbulenceModels/incompressibleAdjoint/adjointTurbulenceModel/adjointTurbulenceModel.C +++ b/src/optimisation/adjointOptimisation/adjoint/turbulenceModels/incompressibleAdjoint/adjointTurbulenceModel/adjointTurbulenceModel.C @@ -90,9 +90,9 @@ autoPtr<adjointTurbulenceModel> adjointTurbulenceModel::New "turbulenceProperties", primalVars.U().time().constant(), primalVars.U().db(), - IOobject::MUST_READ_IF_MODIFIED, + IOobject::MUST_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ) ).get<word>("simulationType") ); diff --git a/src/optimisation/adjointOptimisation/adjoint/turbulenceModels/turbulenceModelVariables/RAS/RASModelVariables/RASModelVariables.C b/src/optimisation/adjointOptimisation/adjoint/turbulenceModels/turbulenceModelVariables/RAS/RASModelVariables/RASModelVariables.C index d41edb28422..58165908419 100644 --- a/src/optimisation/adjointOptimisation/adjoint/turbulenceModels/turbulenceModelVariables/RAS/RASModelVariables/RASModelVariables.C +++ b/src/optimisation/adjointOptimisation/adjoint/turbulenceModels/turbulenceModelVariables/RAS/RASModelVariables/RASModelVariables.C @@ -255,9 +255,9 @@ autoPtr<RASModelVariables> RASModelVariables::New turbulenceModel::propertiesName, mesh.time().constant(), mesh, - IOobject::MUST_READ_IF_MODIFIED, + IOobject::MUST_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ) ); diff --git a/src/overset/cellCellStencil/cellCellStencil/cellCellStencil.C b/src/overset/cellCellStencil/cellCellStencil/cellCellStencil.C index 7a92b12bb18..b41f93a8e6e 100644 --- a/src/overset/cellCellStencil/cellCellStencil/cellCellStencil.C +++ b/src/overset/cellCellStencil/cellCellStencil/cellCellStencil.C @@ -138,7 +138,7 @@ const Foam::labelIOList& Foam::cellCellStencil::zoneID(const fvMesh& mesh) mesh, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh ); diff --git a/src/overset/cellCellStencil/cellCellStencil/cellCellStencilTemplates.C b/src/overset/cellCellStencil/cellCellStencil/cellCellStencilTemplates.C index deee6f06c10..f0834d5dbae 100644 --- a/src/overset/cellCellStencil/cellCellStencil/cellCellStencilTemplates.C +++ b/src/overset/cellCellStencil/cellCellStencil/cellCellStencilTemplates.C @@ -167,7 +167,7 @@ Foam::cellCellStencil::createField mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimensionedScalar(dimless, Zero), diff --git a/src/overset/cellCellStencil/cellVolumeWeight/cellVolumeWeightCellCellStencil.C b/src/overset/cellCellStencil/cellVolumeWeight/cellVolumeWeightCellCellStencil.C index 96a9247d78e..f678ec9e25c 100644 --- a/src/overset/cellCellStencil/cellVolumeWeight/cellVolumeWeightCellCellStencil.C +++ b/src/overset/cellCellStencil/cellVolumeWeight/cellVolumeWeightCellCellStencil.C @@ -530,7 +530,7 @@ Foam::cellCellStencils::cellVolumeWeight::cellVolumeWeight mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimless, Zero), @@ -566,7 +566,7 @@ Foam::cellCellStencils::cellVolumeWeight::cellVolumeWeight mesh_, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (io.typeHeaderOk<volScalarField>(true)) { diff --git a/src/overset/cellCellStencil/inverseDistance/inverseDistanceCellCellStencil.C b/src/overset/cellCellStencil/inverseDistance/inverseDistanceCellCellStencil.C index aef5b8d6aba..1f49f27ff8a 100644 --- a/src/overset/cellCellStencil/inverseDistance/inverseDistanceCellCellStencil.C +++ b/src/overset/cellCellStencil/inverseDistance/inverseDistanceCellCellStencil.C @@ -1732,7 +1732,7 @@ Foam::cellCellStencils::inverseDistance::inverseDistance mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimless, Zero), @@ -1762,7 +1762,7 @@ Foam::cellCellStencils::inverseDistance::inverseDistance mesh_, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (io.typeHeaderOk<volScalarField>(true)) { diff --git a/src/overset/oversetFvMesh/oversetFvMeshBase.C b/src/overset/oversetFvMesh/oversetFvMeshBase.C index ade7d4fe2e5..3832a282ac0 100644 --- a/src/overset/oversetFvMesh/oversetFvMeshBase.C +++ b/src/overset/oversetFvMesh/oversetFvMeshBase.C @@ -441,7 +441,7 @@ void Foam::oversetFvMeshBase::writeAgglomeration mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimless, Zero) @@ -496,7 +496,7 @@ void Foam::oversetFvMeshBase::writeAgglomeration mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimless, Zero) @@ -652,7 +652,7 @@ bool Foam::oversetFvMeshBase::writeObject mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimless, Zero), @@ -676,7 +676,7 @@ bool Foam::oversetFvMeshBase::writeObject mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimless, Zero), @@ -716,7 +716,7 @@ bool Foam::oversetFvMeshBase::writeObject mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar("minOne", dimless, scalar(-1)), diff --git a/src/overset/oversetFvMesh/oversetFvMeshBaseTemplates.C b/src/overset/oversetFvMesh/oversetFvMeshBaseTemplates.C index c387f263086..4805fec67e1 100644 --- a/src/overset/oversetFvMesh/oversetFvMeshBaseTemplates.C +++ b/src/overset/oversetFvMesh/oversetFvMeshBaseTemplates.C @@ -755,7 +755,7 @@ Foam::SolverPerformance<Type> Foam::oversetFvMeshBase::solveOverset mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimless, Zero) diff --git a/src/parallel/decompose/decompose/decompositionModel.C b/src/parallel/decompose/decompose/decompositionModel.C index d18b4422dde..074e83c6f2e 100644 --- a/src/parallel/decompose/decompose/decompositionModel.C +++ b/src/parallel/decompose/decompose/decompositionModel.C @@ -67,7 +67,7 @@ Foam::decompositionModel::decompositionModel mesh.thisDb(), (fallback ? IOobject::READ_IF_PRESENT : IOobject::MUST_READ), IOobject::NO_WRITE, - false, //io.registerObject(), + IOobject::NO_REGISTER, true //io.globalObject() ), decompDictFile diff --git a/src/parallel/decompose/decompose/dimFieldDecomposerTemplates.C b/src/parallel/decompose/decompose/dimFieldDecomposerTemplates.C index 4f7c7369756..de5e73cc7fc 100644 --- a/src/parallel/decompose/decompose/dimFieldDecomposerTemplates.C +++ b/src/parallel/decompose/decompose/dimFieldDecomposerTemplates.C @@ -51,7 +51,7 @@ Foam::dimFieldDecomposer::decomposeField procMesh_.thisDb(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), procMesh_, field.dimensions(), diff --git a/src/parallel/decompose/decompose/fvFieldDecomposerTemplates.C b/src/parallel/decompose/decompose/fvFieldDecomposerTemplates.C index b9d93c6b9ab..b845b0c38f3 100644 --- a/src/parallel/decompose/decompose/fvFieldDecomposerTemplates.C +++ b/src/parallel/decompose/decompose/fvFieldDecomposerTemplates.C @@ -58,7 +58,7 @@ Foam::fvFieldDecomposer::decomposeField procMesh_.thisDb(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), procMesh_, field.dimensions(), diff --git a/src/parallel/decompose/decompose/lagrangianFieldDecomposerTemplates.C b/src/parallel/decompose/decompose/lagrangianFieldDecomposerTemplates.C index 7cfd54cdd04..1a08a181e0c 100644 --- a/src/parallel/decompose/decompose/lagrangianFieldDecomposerTemplates.C +++ b/src/parallel/decompose/decompose/lagrangianFieldDecomposerTemplates.C @@ -50,7 +50,7 @@ Foam::lagrangianFieldDecomposer::decomposeField procMesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), // Mapping internal field values Field<Type>(field, particleIndices_) @@ -77,7 +77,7 @@ Foam::lagrangianFieldDecomposer::decomposeFieldField procMesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), // Mapping internal field values Field<Field<Type>>(field, particleIndices_) diff --git a/src/parallel/decompose/decompose/pointFieldDecomposerTemplates.C b/src/parallel/decompose/decompose/pointFieldDecomposerTemplates.C index 5fa9e405b0c..b42fbc1a21f 100644 --- a/src/parallel/decompose/decompose/pointFieldDecomposerTemplates.C +++ b/src/parallel/decompose/decompose/pointFieldDecomposerTemplates.C @@ -86,7 +86,7 @@ Foam::pointFieldDecomposer::decomposeField procMesh_.thisDb(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), procMesh_, field.dimensions(), diff --git a/src/parallel/decompose/decompositionMethods/manualDecomp/manualDecomp.C b/src/parallel/decompose/decompositionMethods/manualDecomp/manualDecomp.C index 39af4983cd8..0c02723cd50 100644 --- a/src/parallel/decompose/decompositionMethods/manualDecomp/manualDecomp.C +++ b/src/parallel/decompose/decompositionMethods/manualDecomp/manualDecomp.C @@ -69,16 +69,17 @@ Foam::labelList Foam::manualDecomp::decompose const scalarField& pointWeights ) const { - labelIOList finalDecomp + labelList finalDecomp ( - IOobject + labelIOList::readContents ( - dataFile_, - mesh.facesInstance(), - mesh, - IOobject::MUST_READ, - IOobject::AUTO_WRITE, - false + IOobject + ( + dataFile_, + mesh.facesInstance(), + mesh.thisDb(), + IOobject::MUST_READ + ) ) ); @@ -95,21 +96,21 @@ Foam::labelList Foam::manualDecomp::decompose << exit(FatalError); } - const label minVal = min(finalDecomp); - const label maxVal = max(finalDecomp); - if (minVal < 0 || maxVal >= nDomains_) + const MinMax<label> range = minMax(finalDecomp); + + if (range.min() < 0 || range.max() >= nDomains_) { FatalErrorInFunction << "According to the decomposition, cells assigned to " << "impossible processor numbers. Min processor = " - << minVal << " Max processor = " << maxVal + << range.min() << " Max processor = " << range.max() << ".\n" << "Manual decomposition data read from file " << dataFile_ << "." << endl << exit(FatalError); } - return std::move(finalDecomp); + return finalDecomp; } diff --git a/src/parallel/decompose/faDecompose/faMeshDecomposition.C b/src/parallel/decompose/faDecompose/faMeshDecomposition.C index ae96a5bc637..3ab6a59f605 100644 --- a/src/parallel/decompose/faDecompose/faMeshDecomposition.C +++ b/src/parallel/decompose/faDecompose/faMeshDecomposition.C @@ -74,7 +74,7 @@ void Foam::faMeshDecomposition::distributeFaces() procFvMesh, IOobject::MUST_READ, IOobject::NO_WRITE, - false // not registered + IOobject::NO_REGISTER ); @@ -256,7 +256,7 @@ void Foam::faMeshDecomposition::decomposeMesh() procFvMesh, IOobject::MUST_READ, IOobject::NO_WRITE, - false // not registered + IOobject::NO_REGISTER ); @@ -1326,7 +1326,7 @@ bool Foam::faMeshDecomposition::writeDecomposition() procMesh.thisDb(), IOobject::NO_READ, IOobject::NO_WRITE, - false // not registered + IOobject::NO_REGISTER ); // pointProcAddressing diff --git a/src/parallel/reconstruct/faReconstruct/faMeshReconstructor.C b/src/parallel/reconstruct/faReconstruct/faMeshReconstructor.C index 5e88cac7298..14f834ec565 100644 --- a/src/parallel/reconstruct/faReconstruct/faMeshReconstructor.C +++ b/src/parallel/reconstruct/faReconstruct/faMeshReconstructor.C @@ -672,7 +672,7 @@ void Foam::faMeshReconstructor::writeAddressing(const word& timeName) const procMesh_.thisDb(), IOobject::NO_READ, IOobject::NO_WRITE, - false // not registered + IOobject::NO_REGISTER ); // boundaryProcAddressing diff --git a/src/parallel/reconstruct/reconstruct/processorMeshes.C b/src/parallel/reconstruct/reconstruct/processorMeshes.C index ff4c104dc79..06fa7cf83e4 100644 --- a/src/parallel/reconstruct/reconstruct/processorMeshes.C +++ b/src/parallel/reconstruct/reconstruct/processorMeshes.C @@ -195,7 +195,7 @@ void Foam::processorMeshes::reconstructPoints(fvMesh& mesh) meshes_[proci].thisDb(), IOobject::MUST_READ, IOobject::NO_WRITE, - false // not registered + IOobject::NO_REGISTER ) ) ); diff --git a/src/phaseSystemModels/multiphaseEuler/multiphaseSystem/interfacialModels/dragModels/interface/interface.C b/src/phaseSystemModels/multiphaseEuler/multiphaseSystem/interfacialModels/dragModels/interface/interface.C index 24f6c4afb2b..4f4e1710571 100644 --- a/src/phaseSystemModels/multiphaseEuler/multiphaseSystem/interfacialModels/dragModels/interface/interface.C +++ b/src/phaseSystemModels/multiphaseEuler/multiphaseSystem/interfacialModels/dragModels/interface/interface.C @@ -79,7 +79,7 @@ Foam::tmp<Foam::volScalarField> Foam::multiphaseEuler::dragModels::interface::K Ur.mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), Ur.mesh(), dimensionedScalar(dimDensity/dimTime, Zero) diff --git a/src/phaseSystemModels/multiphaseInter/phasesSystem/multiphaseSystem/multiphaseSystemNew.C b/src/phaseSystemModels/multiphaseInter/phasesSystem/multiphaseSystem/multiphaseSystemNew.C index 191af99c2ec..e18913a5c48 100644 --- a/src/phaseSystemModels/multiphaseInter/phasesSystem/multiphaseSystem/multiphaseSystemNew.C +++ b/src/phaseSystemModels/multiphaseInter/phasesSystem/multiphaseSystem/multiphaseSystemNew.C @@ -42,9 +42,9 @@ Foam::multiphaseInter::multiphaseSystem::New phasePropertiesName, mesh.time().constant(), mesh, - IOobject::MUST_READ_IF_MODIFIED, + IOobject::MUST_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ) ); diff --git a/src/phaseSystemModels/reactingEuler/multiphaseSystem/BlendedInterfacialModel/BlendedInterfacialModel.C b/src/phaseSystemModels/reactingEuler/multiphaseSystem/BlendedInterfacialModel/BlendedInterfacialModel.C index 92175160bab..1ecb0a60cf2 100644 --- a/src/phaseSystemModels/reactingEuler/multiphaseSystem/BlendedInterfacialModel/BlendedInterfacialModel.C +++ b/src/phaseSystemModels/reactingEuler/multiphaseSystem/BlendedInterfacialModel/BlendedInterfacialModel.C @@ -136,10 +136,10 @@ Foam::BlendedInterfacialModel<ModelType>::evaluate phase1_.mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), phase1_.mesh(), - dimensioned<Type>("zero", dims, Zero) + dimensioned<Type>(dims, Zero) ) ); diff --git a/src/phaseSystemModels/reactingEuler/multiphaseSystem/multiphaseSystem/multiphaseSystemNew.C b/src/phaseSystemModels/reactingEuler/multiphaseSystem/multiphaseSystem/multiphaseSystemNew.C index 3baa96c41ad..bb7a2bf8b82 100644 --- a/src/phaseSystemModels/reactingEuler/multiphaseSystem/multiphaseSystem/multiphaseSystemNew.C +++ b/src/phaseSystemModels/reactingEuler/multiphaseSystem/multiphaseSystem/multiphaseSystemNew.C @@ -42,9 +42,9 @@ Foam::autoPtr<Foam::multiphaseSystem> Foam::multiphaseSystem::New propertiesName, mesh.time().constant(), mesh, - IOobject::MUST_READ_IF_MODIFIED, + IOobject::MUST_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ) ); diff --git a/src/phaseSystemModels/reactingEuler/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/frictionalStressModel/Schaeffer/SchaefferFrictionalStress.C b/src/phaseSystemModels/reactingEuler/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/frictionalStressModel/Schaeffer/SchaefferFrictionalStress.C index c1851d54a2e..b0aac1aa02c 100644 --- a/src/phaseSystemModels/reactingEuler/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/frictionalStressModel/Schaeffer/SchaefferFrictionalStress.C +++ b/src/phaseSystemModels/reactingEuler/twoPhaseCompressibleTurbulenceModels/kineticTheoryModels/frictionalStressModel/Schaeffer/SchaefferFrictionalStress.C @@ -131,10 +131,10 @@ Foam::kineticTheoryModels::frictionalStressModels::Schaeffer::nu phase.mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), phase.mesh(), - dimensionedScalar(dimensionSet(0, 2, -1, 0, 0)) + dimensionedScalar(dimensionSet(0, 2, -1, 0, 0), Zero) ) ); diff --git a/src/phaseSystemModels/reactingEuler/twoPhaseSystem/twoPhaseSystemNew.C b/src/phaseSystemModels/reactingEuler/twoPhaseSystem/twoPhaseSystemNew.C index a5a759abf3d..b97587a0bfb 100644 --- a/src/phaseSystemModels/reactingEuler/twoPhaseSystem/twoPhaseSystemNew.C +++ b/src/phaseSystemModels/reactingEuler/twoPhaseSystem/twoPhaseSystemNew.C @@ -43,9 +43,9 @@ Foam::twoPhaseSystem::New propertiesName, mesh.time().constant(), mesh, - IOobject::MUST_READ_IF_MODIFIED, + IOobject::MUST_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ) ); diff --git a/src/phaseSystemModels/twoPhaseEuler/phaseCompressibleTurbulenceModels/kineticTheoryModels/frictionalStressModel/JohnsonJacksonSchaeffer/JohnsonJacksonSchaefferFrictionalStress.C b/src/phaseSystemModels/twoPhaseEuler/phaseCompressibleTurbulenceModels/kineticTheoryModels/frictionalStressModel/JohnsonJacksonSchaeffer/JohnsonJacksonSchaefferFrictionalStress.C index 4d7c1adafb6..170d0d4df3d 100644 --- a/src/phaseSystemModels/twoPhaseEuler/phaseCompressibleTurbulenceModels/kineticTheoryModels/frictionalStressModel/JohnsonJacksonSchaeffer/JohnsonJacksonSchaefferFrictionalStress.C +++ b/src/phaseSystemModels/twoPhaseEuler/phaseCompressibleTurbulenceModels/kineticTheoryModels/frictionalStressModel/JohnsonJacksonSchaeffer/JohnsonJacksonSchaefferFrictionalStress.C @@ -141,7 +141,7 @@ JohnsonJacksonSchaeffer::nu phase.mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), phase.mesh(), dimensionedScalar(dimensionSet(0, 2, -1, 0, 0), Zero) diff --git a/src/phaseSystemModels/twoPhaseEuler/phaseCompressibleTurbulenceModels/kineticTheoryModels/frictionalStressModel/Schaeffer/SchaefferFrictionalStress.C b/src/phaseSystemModels/twoPhaseEuler/phaseCompressibleTurbulenceModels/kineticTheoryModels/frictionalStressModel/Schaeffer/SchaefferFrictionalStress.C index cf14452f2eb..c6216517531 100644 --- a/src/phaseSystemModels/twoPhaseEuler/phaseCompressibleTurbulenceModels/kineticTheoryModels/frictionalStressModel/Schaeffer/SchaefferFrictionalStress.C +++ b/src/phaseSystemModels/twoPhaseEuler/phaseCompressibleTurbulenceModels/kineticTheoryModels/frictionalStressModel/Schaeffer/SchaefferFrictionalStress.C @@ -131,7 +131,7 @@ Foam::kineticTheoryModels::frictionalStressModels::Schaeffer::nu phase.mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), phase.mesh(), dimensionedScalar(dimensionSet(0, 2, -1, 0, 0), Zero) diff --git a/src/phaseSystemModels/twoPhaseEuler/twoPhaseSystem/BlendedInterfacialModel/BlendedInterfacialModel.C b/src/phaseSystemModels/twoPhaseEuler/twoPhaseSystem/BlendedInterfacialModel/BlendedInterfacialModel.C index 89033668c53..c9f207655d1 100644 --- a/src/phaseSystemModels/twoPhaseEuler/twoPhaseSystem/BlendedInterfacialModel/BlendedInterfacialModel.C +++ b/src/phaseSystemModels/twoPhaseEuler/twoPhaseSystem/BlendedInterfacialModel/BlendedInterfacialModel.C @@ -151,7 +151,7 @@ Foam::BlendedInterfacialModel<modelType>::K() const pair_.phase1().mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), pair_.phase1().mesh(), dimensionedScalar(modelType::dimK, Zero) @@ -219,7 +219,7 @@ Foam::BlendedInterfacialModel<modelType>::Kf() const pair_.phase1().mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), pair_.phase1().mesh(), dimensionedScalar(modelType::dimK, Zero) @@ -280,7 +280,7 @@ Foam::BlendedInterfacialModel<modelType>::F() const pair_.phase1().mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), pair_.phase1().mesh(), dimensioned<Type>(modelType::dimF, Zero) @@ -345,7 +345,7 @@ Foam::BlendedInterfacialModel<modelType>::Ff() const pair_.phase1().mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), pair_.phase1().mesh(), dimensionedScalar(modelType::dimF*dimArea, Zero) @@ -408,7 +408,7 @@ Foam::BlendedInterfacialModel<modelType>::D() const pair_.phase1().mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), pair_.phase1().mesh(), dimensionedScalar(modelType::dimD, Zero) diff --git a/src/phaseSystemModels/twoPhaseEuler/twoPhaseSystem/diameterModels/constantDiameter/constantDiameter.C b/src/phaseSystemModels/twoPhaseEuler/twoPhaseSystem/diameterModels/constantDiameter/constantDiameter.C index cc3026fac32..c6f0a03f7b9 100644 --- a/src/phaseSystemModels/twoPhaseEuler/twoPhaseSystem/diameterModels/constantDiameter/constantDiameter.C +++ b/src/phaseSystemModels/twoPhaseEuler/twoPhaseSystem/diameterModels/constantDiameter/constantDiameter.C @@ -80,7 +80,7 @@ Foam::tmp<Foam::volScalarField> Foam::diameterModels::constant::d() const phase_.U().mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), phase_.U().mesh(), d_ diff --git a/src/phaseSystemModels/twoPhaseEuler/twoPhaseSystem/interfacialModels/liftModels/noLift/noLift.C b/src/phaseSystemModels/twoPhaseEuler/twoPhaseSystem/interfacialModels/liftModels/noLift/noLift.C index c3bfe748743..2b540ed3fa1 100644 --- a/src/phaseSystemModels/twoPhaseEuler/twoPhaseSystem/interfacialModels/liftModels/noLift/noLift.C +++ b/src/phaseSystemModels/twoPhaseEuler/twoPhaseSystem/interfacialModels/liftModels/noLift/noLift.C @@ -74,7 +74,7 @@ Foam::tmp<Foam::volScalarField> Foam::liftModels::noLift::Cl() const mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimensionedScalar(dimless, Zero) @@ -95,7 +95,7 @@ Foam::tmp<Foam::volVectorField> Foam::liftModels::noLift::F() const mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimensionedVector(dimF, Zero) @@ -116,7 +116,7 @@ Foam::tmp<Foam::surfaceScalarField> Foam::liftModels::noLift::Ff() const mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimensionedScalar(dimF*dimArea, Zero) diff --git a/src/phaseSystemModels/twoPhaseEuler/twoPhaseSystem/interfacialModels/turbulentDispersionModels/noTurbulentDispersion/noTurbulentDispersion.C b/src/phaseSystemModels/twoPhaseEuler/twoPhaseSystem/interfacialModels/turbulentDispersionModels/noTurbulentDispersion/noTurbulentDispersion.C index 83e7f5628dd..2d3180152d3 100644 --- a/src/phaseSystemModels/twoPhaseEuler/twoPhaseSystem/interfacialModels/turbulentDispersionModels/noTurbulentDispersion/noTurbulentDispersion.C +++ b/src/phaseSystemModels/twoPhaseEuler/twoPhaseSystem/interfacialModels/turbulentDispersionModels/noTurbulentDispersion/noTurbulentDispersion.C @@ -81,7 +81,7 @@ Foam::turbulentDispersionModels::noTurbulentDispersion::D() const mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimensionedScalar(dimD, Zero) diff --git a/src/phaseSystemModels/twoPhaseEuler/twoPhaseSystem/interfacialModels/virtualMassModels/constantVirtualMassCoefficient/constantVirtualMassCoefficient.C b/src/phaseSystemModels/twoPhaseEuler/twoPhaseSystem/interfacialModels/virtualMassModels/constantVirtualMassCoefficient/constantVirtualMassCoefficient.C index 5436d22970f..0c8a3bff339 100644 --- a/src/phaseSystemModels/twoPhaseEuler/twoPhaseSystem/interfacialModels/virtualMassModels/constantVirtualMassCoefficient/constantVirtualMassCoefficient.C +++ b/src/phaseSystemModels/twoPhaseEuler/twoPhaseSystem/interfacialModels/virtualMassModels/constantVirtualMassCoefficient/constantVirtualMassCoefficient.C @@ -86,7 +86,7 @@ Foam::virtualMassModels::constantVirtualMassCoefficient::Cvm() const mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, Cvm_ diff --git a/src/phaseSystemModels/twoPhaseEuler/twoPhaseSystem/interfacialModels/wallLubricationModels/noWallLubrication/noWallLubrication.C b/src/phaseSystemModels/twoPhaseEuler/twoPhaseSystem/interfacialModels/wallLubricationModels/noWallLubrication/noWallLubrication.C index 5f61de5d47b..4eb415f7e4f 100644 --- a/src/phaseSystemModels/twoPhaseEuler/twoPhaseSystem/interfacialModels/wallLubricationModels/noWallLubrication/noWallLubrication.C +++ b/src/phaseSystemModels/twoPhaseEuler/twoPhaseSystem/interfacialModels/wallLubricationModels/noWallLubrication/noWallLubrication.C @@ -80,7 +80,7 @@ Foam::wallLubricationModels::noWallLubrication::Fi() const mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimensionedVector(dimF, Zero) @@ -102,7 +102,7 @@ Foam::wallLubricationModels::noWallLubrication::F() const mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimensionedVector(dimF, Zero) diff --git a/src/regionFaModels/KirchhoffShell/KirchhoffShell.C b/src/regionFaModels/KirchhoffShell/KirchhoffShell.C index 675f82f8de3..fa9a645c98b 100644 --- a/src/regionFaModels/KirchhoffShell/KirchhoffShell.C +++ b/src/regionFaModels/KirchhoffShell/KirchhoffShell.C @@ -293,7 +293,7 @@ const tmp<areaScalarField> KirchhoffShell::rho() const primaryMesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), regionMesh(), dimensionedScalar("rho", dimDensity, solid().rho()), diff --git a/src/regionFaModels/thermalShell/thermalShell.C b/src/regionFaModels/thermalShell/thermalShell.C index 065a1d04632..9d7fe5855dc 100644 --- a/src/regionFaModels/thermalShell/thermalShell.C +++ b/src/regionFaModels/thermalShell/thermalShell.C @@ -195,7 +195,7 @@ const tmp<areaScalarField> thermalShell::Cp() const primaryMesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), regionMesh(), dimensionedScalar(dimEnergy/dimTemperature/dimMass, thermo_.Cp()), @@ -218,7 +218,7 @@ const tmp<areaScalarField> thermalShell::rho() const primaryMesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), regionMesh(), dimensionedScalar(dimDensity, thermo_.rho()), @@ -241,7 +241,7 @@ const tmp<areaScalarField> thermalShell::kappa() const primaryMesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), regionMesh(), dimensionedScalar diff --git a/src/regionModels/pyrolysisModels/pyrolysisModel/pyrolysisModelNew.C b/src/regionModels/pyrolysisModels/pyrolysisModel/pyrolysisModelNew.C index 2becf98f139..74b3a36f70f 100644 --- a/src/regionModels/pyrolysisModels/pyrolysisModel/pyrolysisModelNew.C +++ b/src/regionModels/pyrolysisModels/pyrolysisModel/pyrolysisModelNew.C @@ -56,7 +56,7 @@ autoPtr<pyrolysisModel> pyrolysisModel::New mesh, IOobject::MUST_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ) ); diff --git a/src/regionModels/surfaceFilmModels/functionObjects/filmFlux/filmFlux.C b/src/regionModels/surfaceFilmModels/functionObjects/filmFlux/filmFlux.C index 73ff001d85b..0cc9c2005b7 100644 --- a/src/regionModels/surfaceFilmModels/functionObjects/filmFlux/filmFlux.C +++ b/src/regionModels/surfaceFilmModels/functionObjects/filmFlux/filmFlux.C @@ -125,7 +125,7 @@ bool Foam::functionObjects::filmFlux::execute() filmMesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), filmMesh, dimensionedScalar(dimLength, Zero), diff --git a/src/regionModels/surfaceFilmModels/kinematicSingleLayer/kinematicSingleLayer.C b/src/regionModels/surfaceFilmModels/kinematicSingleLayer/kinematicSingleLayer.C index 3e624c271e2..09763a0dbcc 100644 --- a/src/regionModels/surfaceFilmModels/kinematicSingleLayer/kinematicSingleLayer.C +++ b/src/regionModels/surfaceFilmModels/kinematicSingleLayer/kinematicSingleLayer.C @@ -807,8 +807,8 @@ kinematicSingleLayer::kinematicSingleLayer time().timeName(), regionMesh(), IOobject::READ_IF_PRESENT, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), fvc::flux(deltaRho_*U_) ); @@ -1093,7 +1093,7 @@ tmp<volScalarField::Internal> kinematicSingleLayer::Srho() const primaryMesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), primaryMesh(), dimensionedScalar(dimMass/dimVolume/dimTime, Zero) @@ -1115,7 +1115,7 @@ tmp<volScalarField::Internal> kinematicSingleLayer::Srho primaryMesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), primaryMesh(), dimensionedScalar(dimMass/dimVolume/dimTime, Zero) @@ -1134,7 +1134,7 @@ tmp<volScalarField::Internal> kinematicSingleLayer::Sh() const primaryMesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), primaryMesh(), dimensionedScalar(dimEnergy/dimVolume/dimTime, Zero) diff --git a/src/regionModels/surfaceFilmModels/noFilm/noFilm.C b/src/regionModels/surfaceFilmModels/noFilm/noFilm.C index 9f539dc6ae7..7cad81cd1ea 100644 --- a/src/regionModels/surfaceFilmModels/noFilm/noFilm.C +++ b/src/regionModels/surfaceFilmModels/noFilm/noFilm.C @@ -83,7 +83,7 @@ tmp<volScalarField::Internal> noFilm::Srho() const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimMass/dimVolume/dimTime, Zero) @@ -102,7 +102,7 @@ tmp<volScalarField::Internal> noFilm::Srho(const label i) const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimMass/dimVolume/dimTime, Zero) @@ -121,7 +121,7 @@ tmp<volScalarField::Internal> noFilm::Sh() const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimEnergy/dimVolume/dimTime, Zero) diff --git a/src/regionModels/surfaceFilmModels/submodels/kinematic/force/contactAngleForces/contactAngleForce/contactAngleForce.C b/src/regionModels/surfaceFilmModels/submodels/kinematic/force/contactAngleForces/contactAngleForce/contactAngleForce.C index 3e81f8d3bba..e88d983f080 100644 --- a/src/regionModels/surfaceFilmModels/submodels/kinematic/force/contactAngleForces/contactAngleForce/contactAngleForce.C +++ b/src/regionModels/surfaceFilmModels/submodels/kinematic/force/contactAngleForces/contactAngleForce/contactAngleForce.C @@ -80,7 +80,7 @@ void contactAngleForce::initialise() filmModel_.regionMesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), filmModel_.regionMesh(), dimensionedScalar("y", dimLength, GREAT) diff --git a/src/regionModels/surfaceFilmModels/submodels/thermo/heatTransferModel/constantHeatTransfer/constantHeatTransfer.C b/src/regionModels/surfaceFilmModels/submodels/thermo/heatTransferModel/constantHeatTransfer/constantHeatTransfer.C index 6f80ef6fef8..d36ad75b815 100644 --- a/src/regionModels/surfaceFilmModels/submodels/thermo/heatTransferModel/constantHeatTransfer/constantHeatTransfer.C +++ b/src/regionModels/surfaceFilmModels/submodels/thermo/heatTransferModel/constantHeatTransfer/constantHeatTransfer.C @@ -87,7 +87,7 @@ tmp<volScalarField> constantHeatTransfer::h() const filmModel_.regionMesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), filmModel_.regionMesh(), dimensionedScalar diff --git a/src/regionModels/surfaceFilmModels/submodels/thermo/phaseChangeModel/waxSolventEvaporation/waxSolventEvaporation.C b/src/regionModels/surfaceFilmModels/submodels/thermo/phaseChangeModel/waxSolventEvaporation/waxSolventEvaporation.C index 737382070c3..6a6e342a12d 100644 --- a/src/regionModels/surfaceFilmModels/submodels/thermo/phaseChangeModel/waxSolventEvaporation/waxSolventEvaporation.C +++ b/src/regionModels/surfaceFilmModels/submodels/thermo/phaseChangeModel/waxSolventEvaporation/waxSolventEvaporation.C @@ -196,7 +196,7 @@ void waxSolventEvaporation::correctModel film.regionMesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), film.regionMesh(), dimensionedScalar(dimDensity*dimVelocity, Zero) @@ -211,7 +211,7 @@ void waxSolventEvaporation::correctModel film.regionMesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), film.regionMesh(), dimensionedScalar(dimDensity*dimVelocity, Zero) diff --git a/src/regionModels/surfaceFilmModels/surfaceFilmModel/surfaceFilmModelNew.C b/src/regionModels/surfaceFilmModels/surfaceFilmModel/surfaceFilmModelNew.C index 9227b5d3b56..9ae308f5546 100644 --- a/src/regionModels/surfaceFilmModels/surfaceFilmModel/surfaceFilmModelNew.C +++ b/src/regionModels/surfaceFilmModels/surfaceFilmModel/surfaceFilmModelNew.C @@ -56,7 +56,7 @@ autoPtr<surfaceFilmModel> surfaceFilmModel::New mesh, IOobject::MUST_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ); if (io.typeHeaderOk<IOdictionary>()) diff --git a/src/regionModels/surfaceFilmModels/thermoSingleLayer/thermoSingleLayer.C b/src/regionModels/surfaceFilmModels/thermoSingleLayer/thermoSingleLayer.C index 79d805c38bc..b792aa807e5 100644 --- a/src/regionModels/surfaceFilmModels/thermoSingleLayer/thermoSingleLayer.C +++ b/src/regionModels/surfaceFilmModels/thermoSingleLayer/thermoSingleLayer.C @@ -550,8 +550,8 @@ thermoSingleLayer::thermoSingleLayer time().timeName(), regionMesh(), IOobject::READ_IF_PRESENT, - IOobject::AUTO_WRITE, - false + IOobject::NO_WRITE, + IOobject::NO_REGISTER ), fvc::flux(deltaRho_*U_) ); @@ -716,7 +716,7 @@ tmp<volScalarField::Internal> thermoSingleLayer::Srho() const primaryMesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), primaryMesh(), dimensionedScalar(dimMass/dimVolume/dimTime, Zero) @@ -768,7 +768,7 @@ tmp<volScalarField::Internal> thermoSingleLayer::Srho primaryMesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), primaryMesh(), dimensionedScalar(dimMass/dimVolume/dimTime, Zero) @@ -818,7 +818,7 @@ tmp<volScalarField::Internal> thermoSingleLayer::Sh() const primaryMesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), primaryMesh(), dimensionedScalar(dimEnergy/dimVolume/dimTime, Zero) diff --git a/src/regionModels/thermalBaffleModels/noThermo/noThermo.C b/src/regionModels/thermalBaffleModels/noThermo/noThermo.C index af7668052bb..755c3a4e4ec 100644 --- a/src/regionModels/thermalBaffleModels/noThermo/noThermo.C +++ b/src/regionModels/thermalBaffleModels/noThermo/noThermo.C @@ -104,7 +104,7 @@ const tmp<volScalarField> noThermo::Cp() const primaryMesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), primaryMesh(), dimensionedScalar(dimEnergy/dimVolume/dimTime, Zero) diff --git a/src/regionModels/thermalBaffleModels/thermalBaffle/thermalBaffle.C b/src/regionModels/thermalBaffleModels/thermalBaffle/thermalBaffle.C index 131aed9b48c..777b3fced81 100644 --- a/src/regionModels/thermalBaffleModels/thermalBaffle/thermalBaffle.C +++ b/src/regionModels/thermalBaffleModels/thermalBaffle/thermalBaffle.C @@ -83,7 +83,7 @@ void thermalBaffle::solveEnergy() regionMesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), regionMesh(), dimensionedScalar(dimEnergy/dimVolume/dimTime, Zero) diff --git a/src/regionModels/thermalBaffleModels/thermalBaffleModel/thermalBaffleModelNew.C b/src/regionModels/thermalBaffleModels/thermalBaffleModel/thermalBaffleModelNew.C index e0df412934f..3733b92004f 100644 --- a/src/regionModels/thermalBaffleModels/thermalBaffleModel/thermalBaffleModelNew.C +++ b/src/regionModels/thermalBaffleModels/thermalBaffleModel/thermalBaffleModelNew.C @@ -48,9 +48,9 @@ autoPtr<thermalBaffleModel> thermalBaffleModel::New(const fvMesh& mesh) "thermalBaffleProperties", mesh.time().constant(), mesh, - IOobject::MUST_READ_IF_MODIFIED, + IOobject::MUST_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ) ); diff --git a/src/renumber/renumberMethods/manualRenumber/manualRenumber.C b/src/renumber/renumberMethods/manualRenumber/manualRenumber.C index c537d7fa53a..bce6268cefc 100644 --- a/src/renumber/renumberMethods/manualRenumber/manualRenumber.C +++ b/src/renumber/renumberMethods/manualRenumber/manualRenumber.C @@ -66,16 +66,17 @@ Foam::labelList Foam::manualRenumber::renumber const pointField& points ) const { - labelIOList newToOld + labelList newToOld ( - IOobject + labelIOList::readContents ( - dataFile_, - mesh.facesInstance(), - mesh, - IOobject::MUST_READ, - IOobject::AUTO_WRITE, - false + IOobject + ( + dataFile_, + mesh.facesInstance(), + mesh.thisDb(), + IOobject::MUST_READ + ) ) ); @@ -104,7 +105,7 @@ Foam::labelList Foam::manualRenumber::renumber << "Renumbering is not one-to-one. Index " << i << " maps onto original cell " << origCelli << ".\n" << "Manual renumbering data read from file " - << dataFile_ << "." << endl + << dataFile_ << nl << exit(FatalError); } @@ -115,16 +116,15 @@ Foam::labelList Foam::manualRenumber::renumber else { FatalErrorInFunction - << "Renumbering is not one-to-one. Both index " - << oldToNew[origCelli] - << " and " << i << " map onto " << origCelli - << ".\n" << "Manual renumbering data read from file " - << dataFile_ << "." << endl + << "Renumbering is not one-to-one. Index " << i << " and " + << oldToNew[origCelli] << " map onto " << origCelli << nl + << "Manual renumbering data read from file " + << dataFile_ << nl << exit(FatalError); } } - return std::move(newToOld); + return newToOld; } diff --git a/src/rigidBodyMeshMotion/rigidBodyMeshMotion/rigidBodyMeshMotion.C b/src/rigidBodyMeshMotion/rigidBodyMeshMotion/rigidBodyMeshMotion.C index 79d9c5d1fa9..cc52b3237eb 100644 --- a/src/rigidBodyMeshMotion/rigidBodyMeshMotion/rigidBodyMeshMotion.C +++ b/src/rigidBodyMeshMotion/rigidBodyMeshMotion/rigidBodyMeshMotion.C @@ -75,7 +75,7 @@ Foam::rigidBodyMeshMotion::bodyMesh::bodyMesh mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), pointMesh::New(mesh), dimensionedScalar(dimless, Zero) @@ -111,7 +111,7 @@ Foam::rigidBodyMeshMotion::rigidBodyMeshMotion mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ) : coeffDict() @@ -408,7 +408,7 @@ bool Foam::rigidBodyMeshMotion::writeObject mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/src/rigidBodyMeshMotion/rigidBodyMeshMotionSolver/rigidBodyMeshMotionSolver.C b/src/rigidBodyMeshMotion/rigidBodyMeshMotionSolver/rigidBodyMeshMotionSolver.C index c11c53b9d6d..3544dd27234 100644 --- a/src/rigidBodyMeshMotion/rigidBodyMeshMotionSolver/rigidBodyMeshMotionSolver.C +++ b/src/rigidBodyMeshMotion/rigidBodyMeshMotionSolver/rigidBodyMeshMotionSolver.C @@ -95,7 +95,7 @@ Foam::rigidBodyMeshMotionSolver::rigidBodyMeshMotionSolver mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ) : coeffDict() @@ -295,7 +295,7 @@ bool Foam::rigidBodyMeshMotionSolver::writeObject mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/src/sampling/probes/probesTemplates.C b/src/sampling/probes/probesTemplates.C index 72c44fc9146..0d40107fb5b 100644 --- a/src/sampling/probes/probesTemplates.C +++ b/src/sampling/probes/probesTemplates.C @@ -83,7 +83,7 @@ Foam::probes::getOrLoadField(const word& fieldName) const mesh_, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_ ) diff --git a/src/sampling/sampledSet/sampledSets/sampledSetsImpl.C b/src/sampling/sampledSet/sampledSets/sampledSetsImpl.C index f444300ad33..a4f8a4a0040 100644 --- a/src/sampling/sampledSet/sampledSets/sampledSetsImpl.C +++ b/src/sampling/sampledSet/sampledSets/sampledSetsImpl.C @@ -53,7 +53,7 @@ Foam::sampledSets::getOrLoadField(const word& fieldName) const mesh_, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_ ) diff --git a/src/sampling/sampledSet/triSurfaceMeshPointSet/triSurfaceMeshPointSet.C b/src/sampling/sampledSet/triSurfaceMeshPointSet/triSurfaceMeshPointSet.C index 9e7975f40d4..ea5c5343e6d 100644 --- a/src/sampling/sampledSet/triSurfaceMeshPointSet/triSurfaceMeshPointSet.C +++ b/src/sampling/sampledSet/triSurfaceMeshPointSet/triSurfaceMeshPointSet.C @@ -147,7 +147,7 @@ Foam::triSurfaceMeshPointSet::triSurfaceMeshPointSet mesh.time(), IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), dictionary::null ).points(); diff --git a/src/sampling/sampledSurface/isoSurface/sampledIsoSurface.C b/src/sampling/sampledSurface/isoSurface/sampledIsoSurface.C index 8b92f7a6e23..787201a8cc6 100644 --- a/src/sampling/sampledSurface/isoSurface/sampledIsoSurface.C +++ b/src/sampling/sampledSurface/isoSurface/sampledIsoSurface.C @@ -91,7 +91,7 @@ void Foam::sampledIsoSurface::getIsoFields() const fvm, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (vfHeader.typeHeaderOk<volScalarField>(true)) diff --git a/src/sampling/sampledSurface/sampledCuttingPlane/sampledCuttingPlane.C b/src/sampling/sampledSurface/sampledCuttingPlane/sampledCuttingPlane.C index 2623b11235b..79f74e001fa 100644 --- a/src/sampling/sampledSurface/sampledCuttingPlane/sampledCuttingPlane.C +++ b/src/sampling/sampledSurface/sampledCuttingPlane/sampledCuttingPlane.C @@ -471,7 +471,7 @@ void Foam::sampledCuttingPlane::createGeometry() mesh.time(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimensionedScalar(dimLength, Zero) @@ -494,7 +494,7 @@ void Foam::sampledCuttingPlane::createGeometry() mesh.time(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), pointMesh::New(mesh), dimensionedScalar(dimLength, Zero) diff --git a/src/sampling/sampledSurface/sampledMeshedSurface/sampledMeshedSurface.C b/src/sampling/sampledSurface/sampledMeshedSurface/sampledMeshedSurface.C index cf0977332b2..2cce5342e29 100644 --- a/src/sampling/sampledSurface/sampledMeshedSurface/sampledMeshedSurface.C +++ b/src/sampling/sampledSurface/sampledMeshedSurface/sampledMeshedSurface.C @@ -88,7 +88,7 @@ inline static IOobject selectReadIO(const word& name, const Time& runTime) runTime, // registry IOobject::MUST_READ, IOobject::NO_WRITE, - false // no register + IOobject::NO_REGISTER ); } diff --git a/src/sampling/sampledSurface/sampledSurface/sampledSurfaceTemplates.C b/src/sampling/sampledSurface/sampledSurface/sampledSurfaceTemplates.C index a9225a204a3..0495196b1df 100644 --- a/src/sampling/sampledSurface/sampledSurface/sampledSurfaceTemplates.C +++ b/src/sampling/sampledSurface/sampledSurface/sampledSurfaceTemplates.C @@ -142,7 +142,7 @@ Foam::sampledSurface::pointAverage pfld.db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimensioned<Type>(dimless, Zero) diff --git a/src/sampling/sampledSurface/thresholdCellFaces/sampledThresholdCellFaces.C b/src/sampling/sampledSurface/thresholdCellFaces/sampledThresholdCellFaces.C index b1d6fe1e7f7..90486ebaba9 100644 --- a/src/sampling/sampledSurface/thresholdCellFaces/sampledThresholdCellFaces.C +++ b/src/sampling/sampledSurface/thresholdCellFaces/sampledThresholdCellFaces.C @@ -98,7 +98,7 @@ bool Foam::sampledThresholdCellFaces::updateGeometry() const fvm, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), fvm ); diff --git a/src/sampling/surface/cutting/cuttingPlaneCuts.C b/src/sampling/surface/cutting/cuttingPlaneCuts.C index b5e59971676..5f5d119e681 100644 --- a/src/sampling/surface/cutting/cuttingPlaneCuts.C +++ b/src/sampling/surface/cutting/cuttingPlaneCuts.C @@ -173,7 +173,7 @@ Foam::label Foam::cuttingPlane::calcCellCuts fvmesh.time(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), fvmesh, dimensionedScalar(dimless, Zero) diff --git a/src/sampling/surface/cutting/cuttingSurfaceCuts.C b/src/sampling/surface/cutting/cuttingSurfaceCuts.C index 697ee9a77b1..3c8744f6869 100644 --- a/src/sampling/surface/cutting/cuttingSurfaceCuts.C +++ b/src/sampling/surface/cutting/cuttingSurfaceCuts.C @@ -108,7 +108,7 @@ void Foam::cuttingSurface::calcCellCuts fvm.time(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), fvm, dimensionedScalar(dimless, Zero) @@ -131,7 +131,7 @@ void Foam::cuttingSurface::calcCellCuts fvm.time(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), pointMesh::New(fvm), dimensionedScalar(dimLength, Zero) diff --git a/src/sampling/surface/distanceSurface/distanceSurface.C b/src/sampling/surface/distanceSurface/distanceSurface.C index 31cca66329e..c8f1fa18c5a 100644 --- a/src/sampling/surface/distanceSurface/distanceSurface.C +++ b/src/sampling/surface/distanceSurface/distanceSurface.C @@ -433,7 +433,7 @@ void Foam::distanceSurface::createGeometry() fvmesh.time(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), fvmesh, dimensionedScalar(dimLength, GREAT) @@ -676,7 +676,7 @@ void Foam::distanceSurface::createGeometry() fvmesh.time(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), pointMesh::New(fvmesh), dimensionedScalar(dimLength, Zero) diff --git a/src/sampling/surface/isoSurface/isoSurfaceCell.C b/src/sampling/surface/isoSurface/isoSurfaceCell.C index b0700f97d05..06a77253049 100644 --- a/src/sampling/surface/isoSurface/isoSurfaceCell.C +++ b/src/sampling/surface/isoSurface/isoSurfaceCell.C @@ -1199,7 +1199,7 @@ Foam::isoSurfaceCell::isoSurfaceCell fvmesh.time(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), fvmesh, dimensionedScalar(dimless, Zero) diff --git a/src/sampling/surface/isoSurface/isoSurfacePoint.C b/src/sampling/surface/isoSurface/isoSurfacePoint.C index 0eaa1c1e715..8592162eaec 100644 --- a/src/sampling/surface/isoSurface/isoSurfacePoint.C +++ b/src/sampling/surface/isoSurface/isoSurfacePoint.C @@ -1366,7 +1366,7 @@ Foam::isoSurfacePoint::isoSurfacePoint fvmesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), fvmesh, dimLength, @@ -1448,7 +1448,7 @@ Foam::isoSurfacePoint::isoSurfacePoint fvmesh.time(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), fvmesh, dimensionedScalar(dimless, Zero) diff --git a/src/sampling/surface/isoSurface/isoSurfacePointTemplates.C b/src/sampling/surface/isoSurface/isoSurfacePointTemplates.C index a4bf332ae34..fe314fc6df7 100644 --- a/src/sampling/surface/isoSurface/isoSurfacePointTemplates.C +++ b/src/sampling/surface/isoSurface/isoSurfacePointTemplates.C @@ -51,7 +51,7 @@ Foam::isoSurfacePoint::adaptPatchFields fld.db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), fld, // internal field true // preserveCouples diff --git a/src/sampling/surface/isoSurface/isoSurfaceTopo.C b/src/sampling/surface/isoSurface/isoSurfaceTopo.C index 68a1c831f14..1c8d10c1f69 100644 --- a/src/sampling/surface/isoSurface/isoSurfaceTopo.C +++ b/src/sampling/surface/isoSurface/isoSurfaceTopo.C @@ -978,7 +978,7 @@ Foam::isoSurfaceTopo::isoSurfaceTopo fvmesh.time(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), fvmesh, dimensionedScalar(dimless) diff --git a/src/sixDoFRigidBodyMotion/sixDoFRigidBodyMotionSolver/sixDoFRigidBodyMotionSolver.C b/src/sixDoFRigidBodyMotion/sixDoFRigidBodyMotionSolver/sixDoFRigidBodyMotionSolver.C index d3559f4ea92..c1f87b91fc7 100644 --- a/src/sixDoFRigidBodyMotion/sixDoFRigidBodyMotionSolver/sixDoFRigidBodyMotionSolver.C +++ b/src/sixDoFRigidBodyMotion/sixDoFRigidBodyMotionSolver/sixDoFRigidBodyMotionSolver.C @@ -79,7 +79,7 @@ Foam::sixDoFRigidBodyMotionSolver::sixDoFRigidBodyMotionSolver mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ) : coeffDict(), @@ -101,7 +101,7 @@ Foam::sixDoFRigidBodyMotionSolver::sixDoFRigidBodyMotionSolver mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), pointMesh::New(mesh), dimensionedScalar(dimless, Zero) @@ -311,7 +311,7 @@ bool Foam::sixDoFRigidBodyMotionSolver::writeObject mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/src/surfMesh/MeshedSurface/MeshedSurface.C b/src/surfMesh/MeshedSurface/MeshedSurface.C index 5a692aa7f07..698ece24387 100644 --- a/src/surfMesh/MeshedSurface/MeshedSurface.C +++ b/src/surfMesh/MeshedSurface/MeshedSurface.C @@ -499,7 +499,7 @@ Foam::MeshedSurface<Face>::MeshedSurface runTime, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), surfName ); diff --git a/src/surfMesh/MeshedSurfaceProxy/MeshedSurfaceProxy.C b/src/surfMesh/MeshedSurfaceProxy/MeshedSurfaceProxy.C index ae9ee831d97..b1d38377a1d 100644 --- a/src/surfMesh/MeshedSurfaceProxy/MeshedSurfaceProxy.C +++ b/src/surfMesh/MeshedSurfaceProxy/MeshedSurfaceProxy.C @@ -155,7 +155,7 @@ void Foam::MeshedSurfaceProxy<Face>::write t, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); @@ -181,7 +181,7 @@ void Foam::MeshedSurfaceProxy<Face>::write t, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); @@ -214,7 +214,7 @@ void Foam::MeshedSurfaceProxy<Face>::write t, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/src/surfMesh/surfMesh/surfMeshIO.C b/src/surfMesh/surfMesh/surfMeshIO.C index d1edce35211..c0116a212bf 100644 --- a/src/surfMesh/surfMesh/surfMeshIO.C +++ b/src/surfMesh/surfMesh/surfMeshIO.C @@ -92,7 +92,7 @@ Foam::surfMesh::readUpdateState Foam::surfMesh::readUpdate() *this, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); @@ -106,7 +106,7 @@ Foam::surfMesh::readUpdateState Foam::surfMesh::readUpdate() *this, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); @@ -121,7 +121,7 @@ Foam::surfMesh::readUpdateState Foam::surfMesh::readUpdate() *this, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); @@ -176,7 +176,7 @@ Foam::surfMesh::readUpdateState Foam::surfMesh::readUpdate() *this, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/src/surfMesh/surfaceFormats/vtk/VTKsurfaceFormat.C b/src/surfMesh/surfaceFormats/vtk/VTKsurfaceFormat.C index c1dcdf2fb57..114f24e52ad 100644 --- a/src/surfMesh/surfaceFormats/vtk/VTKsurfaceFormat.C +++ b/src/surfMesh/surfaceFormats/vtk/VTKsurfaceFormat.C @@ -116,7 +116,7 @@ bool Foam::fileFormats::VTKsurfaceFormat<Face>::read *dummyTimePtr, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/src/surfMesh/writers/debug/debugSurfaceWriter.C b/src/surfMesh/writers/debug/debugSurfaceWriter.C index 7d1ee11c48b..b0ab5cb7b56 100644 --- a/src/surfMesh/writers/debug/debugSurfaceWriter.C +++ b/src/surfMesh/writers/debug/debugSurfaceWriter.C @@ -283,7 +283,7 @@ Foam::fileName Foam::surfaceWriters::debugWriter::write() *dummyTimePtr, IOobject::NO_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ) ); iopts.note() = (this->isPointData() ? "point data" : "face data"); @@ -351,7 +351,7 @@ Foam::fileName Foam::surfaceWriters::debugWriter::writeTemplate *dummyTimePtr, IOobject::NO_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ) ); iopts.note() = (this->isPointData() ? "point data" : "face data"); @@ -369,7 +369,7 @@ Foam::fileName Foam::surfaceWriters::debugWriter::writeTemplate *dummyTimePtr, IOobject::NO_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ) ); iofld.note() = (this->isPointData() ? "point data" : "face data"); diff --git a/src/thermophysicalModels/basic/basicThermo/basicThermoTemplates.C b/src/thermophysicalModels/basic/basicThermo/basicThermoTemplates.C index ca69a456075..68e540cf44e 100644 --- a/src/thermophysicalModels/basic/basicThermo/basicThermoTemplates.C +++ b/src/thermophysicalModels/basic/basicThermo/basicThermoTemplates.C @@ -141,9 +141,9 @@ Foam::autoPtr<Thermo> Foam::basicThermo::New phasePropertyName(dictName, phaseName), mesh.time().constant(), mesh, - IOobject::MUST_READ_IF_MODIFIED, + IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); @@ -190,9 +190,9 @@ Foam::autoPtr<Thermo> Foam::basicThermo::New dictName, mesh.time().constant(), mesh, - IOobject::MUST_READ_IF_MODIFIED, + IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/src/thermophysicalModels/basic/heThermo/heThermo.C b/src/thermophysicalModels/basic/heThermo/heThermo.C index b880caa00cc..3690a1f30d7 100644 --- a/src/thermophysicalModels/basic/heThermo/heThermo.C +++ b/src/thermophysicalModels/basic/heThermo/heThermo.C @@ -229,7 +229,7 @@ Foam::tmp<Foam::volScalarField> Foam::heThermo<BasicThermo, MixtureType>::he mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, he_.dimensions() @@ -324,7 +324,7 @@ Foam::heThermo<BasicThermo, MixtureType>::hc() const mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, he_.dimensions() @@ -415,7 +415,7 @@ Foam::heThermo<BasicThermo, MixtureType>::Cp() const mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimEnergy/dimMass/dimTemperature @@ -510,7 +510,7 @@ Foam::heThermo<BasicThermo, MixtureType>::Cv() const mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimEnergy/dimMass/dimTemperature @@ -579,7 +579,7 @@ Foam::heThermo<BasicThermo, MixtureType>::gamma() const mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimless @@ -654,7 +654,7 @@ Foam::heThermo<BasicThermo, MixtureType>::Cpv() const mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimEnergy/dimMass/dimTemperature @@ -726,7 +726,7 @@ Foam::heThermo<BasicThermo, MixtureType>::CpByCpv() const mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimless @@ -832,7 +832,7 @@ Foam::tmp<Foam::volScalarField> Foam::heThermo<BasicThermo, MixtureType>::W mesh, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh, dimMass/dimMoles diff --git a/src/thermophysicalModels/chemistryModel/chemistryModel/StandardChemistryModel/StandardChemistryModel.C b/src/thermophysicalModels/chemistryModel/chemistryModel/StandardChemistryModel/StandardChemistryModel.C index cad5e2b9fe0..e7f3cd40c32 100644 --- a/src/thermophysicalModels/chemistryModel/chemistryModel/StandardChemistryModel/StandardChemistryModel.C +++ b/src/thermophysicalModels/chemistryModel/chemistryModel/StandardChemistryModel/StandardChemistryModel.C @@ -481,7 +481,7 @@ Foam::StandardChemistryModel<ReactionThermo, ThermoType>::tc() const this->mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh(), dimensionedScalar("small", dimTime, SMALL), @@ -555,7 +555,7 @@ Foam::StandardChemistryModel<ReactionThermo, ThermoType>::Qdot() const this->mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh_, dimensionedScalar(dimEnergy/dimVolume/dimTime, Zero) diff --git a/src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/TDACChemistryModel.C b/src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/TDACChemistryModel.C index 6d355fbe236..bcc0abb832f 100644 --- a/src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/TDACChemistryModel.C +++ b/src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/TDACChemistryModel.C @@ -651,7 +651,7 @@ Foam::scalar Foam::TDACChemistryModel<ReactionThermo, ThermoType>::solve this->mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->thermo().rho() ); diff --git a/src/thermophysicalModels/chemistryModel/chemistryModel/basicChemistryModel/basicChemistryModelTemplates.C b/src/thermophysicalModels/chemistryModel/chemistryModel/basicChemistryModel/basicChemistryModelTemplates.C index 954d41d1d0b..32d5f003586 100644 --- a/src/thermophysicalModels/chemistryModel/chemistryModel/basicChemistryModel/basicChemistryModelTemplates.C +++ b/src/thermophysicalModels/chemistryModel/chemistryModel/basicChemistryModel/basicChemistryModelTemplates.C @@ -46,7 +46,7 @@ Foam::autoPtr<ChemistryModel> Foam::basicChemistryModel::New thermo.db(), IOobject::MUST_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ) ); diff --git a/src/thermophysicalModels/laminarFlameSpeed/Gulders/Gulders.C b/src/thermophysicalModels/laminarFlameSpeed/Gulders/Gulders.C index 5ea04324a88..d17d028d9ff 100644 --- a/src/thermophysicalModels/laminarFlameSpeed/Gulders/Gulders.C +++ b/src/thermophysicalModels/laminarFlameSpeed/Gulders/Gulders.C @@ -123,7 +123,7 @@ Foam::tmp<Foam::volScalarField> Foam::laminarFlameSpeedModels::Gulders::Su0pTphi p.db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), p.mesh(), dimensionedScalar(dimVelocity, Zero) @@ -176,7 +176,7 @@ Foam::tmp<Foam::volScalarField> Foam::laminarFlameSpeedModels::Gulders::Su0pTphi p.db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), p.mesh(), dimensionedScalar(dimVelocity, Zero) diff --git a/src/thermophysicalModels/laminarFlameSpeed/GuldersEGR/GuldersEGR.C b/src/thermophysicalModels/laminarFlameSpeed/GuldersEGR/GuldersEGR.C index 6a16125f8f4..f3478e80b32 100644 --- a/src/thermophysicalModels/laminarFlameSpeed/GuldersEGR/GuldersEGR.C +++ b/src/thermophysicalModels/laminarFlameSpeed/GuldersEGR/GuldersEGR.C @@ -123,7 +123,7 @@ Foam::laminarFlameSpeedModels::GuldersEGR::Su0pTphi p.db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), p.mesh(), dimensionedScalar(dimVelocity, Zero) @@ -178,7 +178,7 @@ Foam::laminarFlameSpeedModels::GuldersEGR::Su0pTphi p.db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), p.mesh(), dimensionedScalar(dimVelocity, Zero) diff --git a/src/thermophysicalModels/laminarFlameSpeed/RaviPetersen/RaviPetersen.C b/src/thermophysicalModels/laminarFlameSpeed/RaviPetersen/RaviPetersen.C index 1e4f934e757..ac4df025296 100644 --- a/src/thermophysicalModels/laminarFlameSpeed/RaviPetersen/RaviPetersen.C +++ b/src/thermophysicalModels/laminarFlameSpeed/RaviPetersen/RaviPetersen.C @@ -302,7 +302,7 @@ Foam::laminarFlameSpeedModels::RaviPetersen::operator()() const p.db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), p.mesh(), dimensionedScalar(dimless, Zero) @@ -334,7 +334,7 @@ Foam::laminarFlameSpeedModels::RaviPetersen::operator()() const p.db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), p.mesh(), dimensionedScalar(dimVelocity, Zero) diff --git a/src/thermophysicalModels/laminarFlameSpeed/constant/constant.C b/src/thermophysicalModels/laminarFlameSpeed/constant/constant.C index 7d11e8c5ba0..2f098910220 100644 --- a/src/thermophysicalModels/laminarFlameSpeed/constant/constant.C +++ b/src/thermophysicalModels/laminarFlameSpeed/constant/constant.C @@ -82,7 +82,7 @@ Foam::laminarFlameSpeedModels::constant::operator()() const psiuReactionThermo_.T().db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), psiuReactionThermo_.T().mesh(), Su_ diff --git a/src/thermophysicalModels/laminarFlameSpeed/laminarFlameSpeed/laminarFlameSpeedNew.C b/src/thermophysicalModels/laminarFlameSpeed/laminarFlameSpeed/laminarFlameSpeedNew.C index eb1b021db7b..772457b3ff9 100644 --- a/src/thermophysicalModels/laminarFlameSpeed/laminarFlameSpeed/laminarFlameSpeedNew.C +++ b/src/thermophysicalModels/laminarFlameSpeed/laminarFlameSpeed/laminarFlameSpeedNew.C @@ -44,7 +44,7 @@ Foam::autoPtr<Foam::laminarFlameSpeed> Foam::laminarFlameSpeed::New ct.T().db(), IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ) ); diff --git a/src/thermophysicalModels/radiation/include/createIncompressibleRadiationModel.H b/src/thermophysicalModels/radiation/include/createIncompressibleRadiationModel.H index 8179b675534..ebb6991aba3 100644 --- a/src/thermophysicalModels/radiation/include/createIncompressibleRadiationModel.H +++ b/src/thermophysicalModels/radiation/include/createIncompressibleRadiationModel.H @@ -21,7 +21,7 @@ runTime, IOobject::MUST_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ) ); diff --git a/src/thermophysicalModels/radiation/radiationModels/P1/P1.C b/src/thermophysicalModels/radiation/radiationModels/P1/P1.C index d4336dd3c76..4df1c317a5f 100644 --- a/src/thermophysicalModels/radiation/radiationModels/P1/P1.C +++ b/src/thermophysicalModels/radiation/radiationModels/P1/P1.C @@ -265,7 +265,7 @@ Foam::tmp<Foam::volScalarField> Foam::radiation::P1::Rp() const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), 4.0*absorptionEmission_->eCont()*physicoChemical::sigma ) diff --git a/src/thermophysicalModels/radiation/radiationModels/fvDOM/fvDOM/fvDOM.C b/src/thermophysicalModels/radiation/radiationModels/fvDOM/fvDOM/fvDOM.C index 1f452986b60..e7aabf242ad 100644 --- a/src/thermophysicalModels/radiation/radiationModels/fvDOM/fvDOM/fvDOM.C +++ b/src/thermophysicalModels/radiation/radiationModels/fvDOM/fvDOM/fvDOM.C @@ -656,7 +656,7 @@ Foam::tmp<Foam::volScalarField> Foam::radiation::fvDOM::Rp() const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), ( 4 @@ -699,7 +699,7 @@ Foam::radiation::fvDOM::Ru() const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimensionSet(1, -1, -3, 0, 0), Zero) diff --git a/src/thermophysicalModels/radiation/radiationModels/radiationModel/radiationModelNew.C b/src/thermophysicalModels/radiation/radiationModels/radiationModel/radiationModelNew.C index 01d416d0358..cc175862641 100644 --- a/src/thermophysicalModels/radiation/radiationModels/radiationModel/radiationModelNew.C +++ b/src/thermophysicalModels/radiation/radiationModels/radiationModel/radiationModelNew.C @@ -46,9 +46,9 @@ Foam::radiation::radiationModel::New "radiationProperties", T.time().constant(), T.mesh(), - IOobject::MUST_READ_IF_MODIFIED, + IOobject::MUST_READ, IOobject::NO_WRITE, - false // Do not register + IOobject::NO_REGISTER ); if (io.typeHeaderOk<IOdictionary>(true)) diff --git a/src/thermophysicalModels/radiation/radiationModels/solarLoad/faceShading/faceShading.C b/src/thermophysicalModels/radiation/radiationModels/solarLoad/faceShading/faceShading.C index fb670bc53ee..d415b9c0303 100644 --- a/src/thermophysicalModels/radiation/radiationModels/solarLoad/faceShading/faceShading.C +++ b/src/thermophysicalModels/radiation/radiationModels/solarLoad/faceShading/faceShading.C @@ -223,7 +223,7 @@ void Foam::faceShading::calculate() mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimless, Zero) diff --git a/src/thermophysicalModels/radiation/radiationModels/solarLoad/solarLoad.C b/src/thermophysicalModels/radiation/radiationModels/solarLoad/solarLoad.C index 1b897d7a61e..ef13824206f 100644 --- a/src/thermophysicalModels/radiation/radiationModels/solarLoad/solarLoad.C +++ b/src/thermophysicalModels/radiation/radiationModels/solarLoad/solarLoad.C @@ -427,7 +427,7 @@ void Foam::radiation::solarLoad::calculateQdiff mesh_, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); @@ -920,7 +920,7 @@ Foam::tmp<Foam::volScalarField> Foam::radiation::solarLoad::Rp() const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar diff --git a/src/thermophysicalModels/radiation/radiationModels/viewFactor/viewFactor.C b/src/thermophysicalModels/radiation/radiationModels/viewFactor/viewFactor.C index 7e9bc5a0104..86f3432a72c 100644 --- a/src/thermophysicalModels/radiation/radiationModels/viewFactor/viewFactor.C +++ b/src/thermophysicalModels/radiation/radiationModels/viewFactor/viewFactor.C @@ -79,7 +79,7 @@ void Foam::radiation::viewFactor::initialise() mesh_.time(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, finalAgglom_ @@ -123,7 +123,7 @@ void Foam::radiation::viewFactor::initialise() mesh_, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ) ); @@ -139,7 +139,7 @@ void Foam::radiation::viewFactor::initialise() mesh_, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ) ); @@ -155,7 +155,7 @@ void Foam::radiation::viewFactor::initialise() mesh_, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ) ); @@ -548,7 +548,7 @@ Foam::radiation::viewFactor::viewFactor(const volScalarField& T) mesh_, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ), map_(), @@ -561,7 +561,7 @@ Foam::radiation::viewFactor::viewFactor(const volScalarField& T) // mesh_.time(), // IOobject::NO_READ, // IOobject::NO_WRITE, -// false +// IOobject::NO_REGISTER // ), // mesh_, // finalAgglom_ @@ -611,7 +611,7 @@ Foam::radiation::viewFactor::viewFactor mesh_, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ), map_(), @@ -624,7 +624,7 @@ Foam::radiation::viewFactor::viewFactor // mesh_.time(), // IOobject::NO_READ, // IOobject::NO_WRITE, -// false +// IOobject::NO_REGISTER // ), // mesh_, // finalAgglom_ @@ -1149,7 +1149,7 @@ Foam::tmp<Foam::volScalarField> Foam::radiation::viewFactor::Rp() const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar @@ -1172,7 +1172,7 @@ Foam::radiation::viewFactor::Ru() const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimMass/dimLength/pow3(dimTime), Zero) diff --git a/src/thermophysicalModels/radiation/submodels/absorptionEmissionModel/absorptionEmissionModel/absorptionEmissionModel.C b/src/thermophysicalModels/radiation/submodels/absorptionEmissionModel/absorptionEmissionModel/absorptionEmissionModel.C index c0307676b7f..f9f78d2d2d4 100644 --- a/src/thermophysicalModels/radiation/submodels/absorptionEmissionModel/absorptionEmissionModel/absorptionEmissionModel.C +++ b/src/thermophysicalModels/radiation/submodels/absorptionEmissionModel/absorptionEmissionModel/absorptionEmissionModel.C @@ -80,7 +80,7 @@ Foam::radiation::absorptionEmissionModel::aCont(const label bandI) const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimless/dimLength, Zero) @@ -103,7 +103,7 @@ Foam::radiation::absorptionEmissionModel::aDisp(const label bandI) const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimless/dimLength, Zero) @@ -133,7 +133,7 @@ Foam::radiation::absorptionEmissionModel::eCont(const label bandI) const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimless/dimLength, Zero) @@ -156,7 +156,7 @@ Foam::radiation::absorptionEmissionModel::eDisp(const label bandI) const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimless/dimLength, Zero) @@ -186,7 +186,7 @@ Foam::radiation::absorptionEmissionModel::ECont(const label bandI) const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimMass/dimLength/pow3(dimTime), Zero) @@ -209,7 +209,7 @@ Foam::radiation::absorptionEmissionModel::EDisp(const label bandI) const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimMass/dimLength/pow3(dimTime), Zero) diff --git a/src/thermophysicalModels/radiation/submodels/absorptionEmissionModel/constantAbsorptionEmission/constantAbsorptionEmission.C b/src/thermophysicalModels/radiation/submodels/absorptionEmissionModel/constantAbsorptionEmission/constantAbsorptionEmission.C index 5fdc255b703..c3f0af471af 100644 --- a/src/thermophysicalModels/radiation/submodels/absorptionEmissionModel/constantAbsorptionEmission/constantAbsorptionEmission.C +++ b/src/thermophysicalModels/radiation/submodels/absorptionEmissionModel/constantAbsorptionEmission/constantAbsorptionEmission.C @@ -78,7 +78,7 @@ Foam::radiation::constantAbsorptionEmission::aCont(const label bandI) const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, a_ @@ -103,7 +103,7 @@ Foam::radiation::constantAbsorptionEmission::eCont(const label bandI) const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, e_ @@ -128,7 +128,7 @@ Foam::radiation::constantAbsorptionEmission::ECont(const label bandI) const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, E_ diff --git a/src/thermophysicalModels/radiation/submodels/boundaryRadiationProperties/boundaryRadiationProperties.C b/src/thermophysicalModels/radiation/submodels/boundaryRadiationProperties/boundaryRadiationProperties.C index c77ec733213..e6201ee327f 100644 --- a/src/thermophysicalModels/radiation/submodels/boundaryRadiationProperties/boundaryRadiationProperties.C +++ b/src/thermophysicalModels/radiation/submodels/boundaryRadiationProperties/boundaryRadiationProperties.C @@ -62,7 +62,7 @@ Foam::radiation::boundaryRadiationProperties::boundaryRadiationProperties mesh, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ); if (boundaryIO.typeHeaderOk<IOdictionary>(true)) diff --git a/src/thermophysicalModels/radiation/submodels/scatterModel/constantScatter/constantScatter.C b/src/thermophysicalModels/radiation/submodels/scatterModel/constantScatter/constantScatter.C index 2aa5c07f9f1..666af9dc28a 100644 --- a/src/thermophysicalModels/radiation/submodels/scatterModel/constantScatter/constantScatter.C +++ b/src/thermophysicalModels/radiation/submodels/scatterModel/constantScatter/constantScatter.C @@ -77,7 +77,7 @@ Foam::radiation::constantScatter::sigmaEff() const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, sigma_*(3.0 - C_) diff --git a/src/thermophysicalModels/radiation/submodels/scatterModel/noScatter/noScatter.C b/src/thermophysicalModels/radiation/submodels/scatterModel/noScatter/noScatter.C index 239cb6edcf0..cc7f40c745f 100644 --- a/src/thermophysicalModels/radiation/submodels/scatterModel/noScatter/noScatter.C +++ b/src/thermophysicalModels/radiation/submodels/scatterModel/noScatter/noScatter.C @@ -67,7 +67,7 @@ Foam::tmp<Foam::volScalarField> Foam::radiation::noScatter::sigmaEff() const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimensionedScalar(dimless/dimLength, Zero) diff --git a/src/thermophysicalModels/reactionThermo/psiuReactionThermo/heheuPsiThermo.C b/src/thermophysicalModels/reactionThermo/psiuReactionThermo/heheuPsiThermo.C index 46bbdfc7868..738cde1275e 100644 --- a/src/thermophysicalModels/reactionThermo/psiuReactionThermo/heheuPsiThermo.C +++ b/src/thermophysicalModels/reactionThermo/psiuReactionThermo/heheuPsiThermo.C @@ -478,7 +478,7 @@ Foam::heheuPsiThermo<BasicPsiThermo, MixtureType>::Tb() const this->T_.db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->T_ ) @@ -537,7 +537,7 @@ Foam::heheuPsiThermo<BasicPsiThermo, MixtureType>::psiu() const this->psi_.db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->psi_.mesh(), this->psi_.dimensions() @@ -591,7 +591,7 @@ Foam::heheuPsiThermo<BasicPsiThermo, MixtureType>::psib() const this->psi_.db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->psi_.mesh(), this->psi_.dimensions() @@ -646,7 +646,7 @@ Foam::heheuPsiThermo<BasicPsiThermo, MixtureType>::muu() const this->T_.db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->T_.mesh(), dimensionSet(1, -1, -1, 0, 0) @@ -704,7 +704,7 @@ Foam::heheuPsiThermo<BasicPsiThermo, MixtureType>::mub() const this->T_.db(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->T_.mesh(), dimensionSet(1, -1, -1, 0, 0) diff --git a/src/thermophysicalModels/solidChemistryModel/basicSolidChemistryModel/basicSolidChemistryModelNew.C b/src/thermophysicalModels/solidChemistryModel/basicSolidChemistryModel/basicSolidChemistryModelNew.C index 1820bebfa27..3a305820a84 100644 --- a/src/thermophysicalModels/solidChemistryModel/basicSolidChemistryModel/basicSolidChemistryModelNew.C +++ b/src/thermophysicalModels/solidChemistryModel/basicSolidChemistryModel/basicSolidChemistryModelNew.C @@ -42,7 +42,7 @@ Foam::basicSolidChemistryModel::New(solidReactionThermo& thermo) thermo.db(), IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); @@ -58,9 +58,9 @@ Foam::basicSolidChemistryModel::New(solidReactionThermo& thermo) basicThermo::dictName, thermo.db().time().constant(), thermo.db(), - IOobject::MUST_READ_IF_MODIFIED, + IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/src/thermophysicalModels/solidChemistryModel/pyrolysisChemistryModel/pyrolysisChemistryModel.C b/src/thermophysicalModels/solidChemistryModel/pyrolysisChemistryModel/pyrolysisChemistryModel.C index 402f9129813..cda0d2ec763 100644 --- a/src/thermophysicalModels/solidChemistryModel/pyrolysisChemistryModel/pyrolysisChemistryModel.C +++ b/src/thermophysicalModels/solidChemistryModel/pyrolysisChemistryModel/pyrolysisChemistryModel.C @@ -465,7 +465,7 @@ calculate() this->mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->solidThermo().rho() ); @@ -537,7 +537,7 @@ Foam::pyrolysisChemistryModel<CompType, SolidThermo, GasThermo>::solve this->mesh(), IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->solidThermo().rho() ); @@ -632,7 +632,7 @@ Foam::pyrolysisChemistryModel<CompType, SolidThermo, GasThermo>::gasHs this->mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh_, dimensionedScalar(dimEnergy/dimMass, Zero) diff --git a/src/thermophysicalModels/solidChemistryModel/solidChemistryModel/solidChemistryModel.C b/src/thermophysicalModels/solidChemistryModel/solidChemistryModel/solidChemistryModel.C index 9a5fafefa98..6441efddce2 100644 --- a/src/thermophysicalModels/solidChemistryModel/solidChemistryModel/solidChemistryModel.C +++ b/src/thermophysicalModels/solidChemistryModel/solidChemistryModel/solidChemistryModel.C @@ -127,7 +127,7 @@ Foam::solidChemistryModel<CompType, SolidThermo>::Qdot() const this->mesh_, IOobject::NO_READ, IOobject::AUTO_WRITE, - false + IOobject::NO_REGISTER ), this->mesh_, dimensionedScalar(dimEnergy/dimVolume/dimTime, Zero) diff --git a/src/topoChangerFvMesh/linearValveFvMesh/linearValveFvMesh.C b/src/topoChangerFvMesh/linearValveFvMesh/linearValveFvMesh.C index 0923015d838..440288d022c 100644 --- a/src/topoChangerFvMesh/linearValveFvMesh/linearValveFvMesh.C +++ b/src/topoChangerFvMesh/linearValveFvMesh/linearValveFvMesh.C @@ -247,16 +247,14 @@ Foam::linearValveFvMesh::linearValveFvMesh(const IOobject& io) topoChangerFvMesh(io), motionDict_ ( - IOdictionary + IOdictionary::readContents ( IOobject ( "dynamicMeshDict", time().constant(), *this, - IOobject::MUST_READ_IF_MODIFIED, - IOobject::NO_WRITE, - false + IOobject::MUST_READ ) ).optionalSubDict(typeName + "Coeffs") ), diff --git a/src/topoChangerFvMesh/linearValveLayersFvMesh/linearValveLayersFvMesh.C b/src/topoChangerFvMesh/linearValveLayersFvMesh/linearValveLayersFvMesh.C index 7aac1ee2daa..4e56adeb3d8 100644 --- a/src/topoChangerFvMesh/linearValveLayersFvMesh/linearValveLayersFvMesh.C +++ b/src/topoChangerFvMesh/linearValveLayersFvMesh/linearValveLayersFvMesh.C @@ -314,16 +314,14 @@ Foam::linearValveLayersFvMesh::linearValveLayersFvMesh(const IOobject& io) topoChangerFvMesh(io), motionDict_ ( - IOdictionary + IOdictionary::readContents ( IOobject ( "dynamicMeshDict", time().constant(), *this, - IOobject::MUST_READ_IF_MODIFIED, - IOobject::NO_WRITE, - false + IOobject::MUST_READ ) ).optionalSubDict(typeName + "Coeffs") ) diff --git a/src/topoChangerFvMesh/mixerFvMesh/mixerFvMesh.C b/src/topoChangerFvMesh/mixerFvMesh/mixerFvMesh.C index 81a47f7d93b..411bb59ba43 100644 --- a/src/topoChangerFvMesh/mixerFvMesh/mixerFvMesh.C +++ b/src/topoChangerFvMesh/mixerFvMesh/mixerFvMesh.C @@ -256,16 +256,14 @@ Foam::mixerFvMesh::mixerFvMesh topoChangerFvMesh(io), motionDict_ ( - IOdictionary + IOdictionary::readContents ( IOobject ( "dynamicMeshDict", time().constant(), *this, - IOobject::MUST_READ_IF_MODIFIED, - IOobject::NO_WRITE, - false + IOobject::MUST_READ ) ).optionalSubDict(typeName + "Coeffs") ), diff --git a/src/topoChangerFvMesh/movingConeTopoFvMesh/movingConeTopoFvMesh.C b/src/topoChangerFvMesh/movingConeTopoFvMesh/movingConeTopoFvMesh.C index 6bdc46baf51..14115509ab9 100644 --- a/src/topoChangerFvMesh/movingConeTopoFvMesh/movingConeTopoFvMesh.C +++ b/src/topoChangerFvMesh/movingConeTopoFvMesh/movingConeTopoFvMesh.C @@ -253,16 +253,14 @@ Foam::movingConeTopoFvMesh::movingConeTopoFvMesh topoChangerFvMesh(io, doInit), motionDict_ ( - IOdictionary + IOdictionary::readContents ( IOobject ( "dynamicMeshDict", time().constant(), *this, - IOobject::MUST_READ_IF_MODIFIED, - IOobject::NO_WRITE, - false + IOobject::MUST_READ ) ).optionalSubDict(typeName + "Coeffs") ) diff --git a/src/topoChangerFvMesh/rawTopoChangerFvMesh/rawTopoChangerFvMeshTemplates.C b/src/topoChangerFvMesh/rawTopoChangerFvMesh/rawTopoChangerFvMeshTemplates.C index 0c8c348cbf8..f4d676933f2 100644 --- a/src/topoChangerFvMesh/rawTopoChangerFvMesh/rawTopoChangerFvMeshTemplates.C +++ b/src/topoChangerFvMesh/rawTopoChangerFvMesh/rawTopoChangerFvMeshTemplates.C @@ -92,7 +92,7 @@ void Foam::rawTopoChangerFvMesh::zeroUnmappedValues *this, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), *this, dimensioned<Type>(fld.dimensions(), Zero) diff --git a/src/transportModels/interfaceProperties/surfaceTensionModels/constant/constantSurfaceTension.C b/src/transportModels/interfaceProperties/surfaceTensionModels/constant/constantSurfaceTension.C index df3c4aecbe0..0fed669c5a3 100644 --- a/src/transportModels/interfaceProperties/surfaceTensionModels/constant/constantSurfaceTension.C +++ b/src/transportModels/interfaceProperties/surfaceTensionModels/constant/constantSurfaceTension.C @@ -74,7 +74,7 @@ Foam::surfaceTensionModels::constant::sigma() const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, sigma_ diff --git a/src/transportModels/interfaceProperties/surfaceTensionModels/temperatureDependent/temperatureDependentSurfaceTension.C b/src/transportModels/interfaceProperties/surfaceTensionModels/temperatureDependent/temperatureDependentSurfaceTension.C index dc942889e18..ccde8893250 100644 --- a/src/transportModels/interfaceProperties/surfaceTensionModels/temperatureDependent/temperatureDependentSurfaceTension.C +++ b/src/transportModels/interfaceProperties/surfaceTensionModels/temperatureDependent/temperatureDependentSurfaceTension.C @@ -81,7 +81,7 @@ Foam::surfaceTensionModels::temperatureDependent::sigma() const mesh_, IOobject::NO_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ), mesh_, dimSigma diff --git a/src/waveModels/waveModel/waveModelNew.C b/src/waveModels/waveModel/waveModelNew.C index ad37d25c3b1..12c6f73ec36 100644 --- a/src/waveModels/waveModel/waveModelNew.C +++ b/src/waveModels/waveModel/waveModelNew.C @@ -45,7 +45,7 @@ Foam::autoPtr<Foam::waveModel> Foam::waveModel::New mesh, IOobject::MUST_READ, IOobject::NO_WRITE, - false // Not registering + IOobject::NO_REGISTER ) ); diff --git a/tutorials/incompressible/pimpleFoam/laminar/contaminatedDroplet2D/makePerturbation/makePerturbation.C b/tutorials/incompressible/pimpleFoam/laminar/contaminatedDroplet2D/makePerturbation/makePerturbation.C index af628bfa7a3..e4a9b01661b 100644 --- a/tutorials/incompressible/pimpleFoam/laminar/contaminatedDroplet2D/makePerturbation/makePerturbation.C +++ b/tutorials/incompressible/pimpleFoam/laminar/contaminatedDroplet2D/makePerturbation/makePerturbation.C @@ -132,7 +132,7 @@ int main(int argc, char *argv[]) runTime, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); diff --git a/tutorials/incompressible/pimpleFoam/laminar/sloshing2D/makeWave/makeWave.C b/tutorials/incompressible/pimpleFoam/laminar/sloshing2D/makeWave/makeWave.C index 2cd9c391856..0910fa3e7a2 100644 --- a/tutorials/incompressible/pimpleFoam/laminar/sloshing2D/makeWave/makeWave.C +++ b/tutorials/incompressible/pimpleFoam/laminar/sloshing2D/makeWave/makeWave.C @@ -128,7 +128,7 @@ int main(int argc, char *argv[]) runTime, IOobject::MUST_READ, IOobject::NO_WRITE, - false + IOobject::NO_REGISTER ) ); -- GitLab