diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/XiEqModel.C b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/XiEqModel.C index 857f071c1d2ce59cd8a827faf11119378932ae8b..084ffc1aef6112400bc92c14e3f0131495f07311 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 80dea2584b178eb76ab159c4d68addab25067f6a..9431d042d28a4e6b5ffef6adc126e52270e70f7d 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 7c0a8b2c95a51d7273d7f97480b912d522f803b1..7b12c487942924c38691deb13bb048ed1874b20b 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 6dabcba73b804b43db071e168feb778d45a91a76..0d5bb1c7ee1f8df581f3cd1a2add49d1ab1d18ed 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 78a9e7ce4534c7a9ac37d72cacbf7060a9faf16e..f2f259dbc5641ec14ded6c8dc8f36149b796d656 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 422b4d364db77987139d6392f3007666f25b059c..f27015326b6ceaaa7e924152e0847f28c68db803 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 98a663e22ed705abdc51cdb826c98a1a7188cbbf..11225dc2a15de4650b435c8a87576c60d6cc1dfc 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 0de3d22ae3872ba15b1a25df2688748f2211d88b..686dce38ef7a26329f121d62a50cab9e0694b681 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 9c1017e617bb8193eb00f83b8fd0931a3826e1ef..36c7aa00fe8fefda2bc9e83633c7d7ee7e6e81c2 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 db6564ffa172ab1c87af0710f59e2dbcdea0678d..46801b505362aaf077190466c6970203eac99b44 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 66d5b8dd7ea693ba8c1866c92a22d679fc0ef057..0db36f346c4c41661fa94a7cba32656a5be805b7 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 33343e76089f7b76dfe2037c752042ff06d30745..72ab0692a735cf2002ea2abfc305aa9b329c3e4b 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 5cc6bb231178ac305fe51d015a3c05cc13d907f7..d616b013c71f0a81e69f1aece5a8afb1dbda0382 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 81d62397cd7d5702f84faaa606c64f88c9e961fe..42df38b7757763bb96bf9542d53266956b0196af 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 9a3e8b181098681426a08a5a1eb829624f77acd6..ded4fe6062bad2478768e5a7a9ef4985b147d502 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 554dbce72bf7509f25e329779c3294e3fd3574b2..ea17c1a878a622142bc81f9dbf6d2b4f960fb5d6 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 ae76fd437f520c4913b11a8b0c66d851992a671c..672319706bdf5c4274f4b3cfc249498306ec8bc4 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 ecfead0f7e00cc7217db84efef7d2bb20f3b6759..fe7781ebeb0ae4ed10f63c8c3f87534e21301ae2 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 a5697ea69e3a83aa3796aae19b92829a9355fec0..956b3e3bf7bf205deea6c96ab342eedf8ba7763c 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 b8cb089b4b3e249a8fcde4a3368691774c43beee..a0c028346169fb8c7e4aac90a44f405a47191b57 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 8d6660c96ed1dd74c5efba8b6a488984f1430895..aff8a9026985033e38dc5962cad348f1f63936aa 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 8d6660c96ed1dd74c5efba8b6a488984f1430895..aff8a9026985033e38dc5962cad348f1f63936aa 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 8d6660c96ed1dd74c5efba8b6a488984f1430895..aff8a9026985033e38dc5962cad348f1f63936aa 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 75fbbe7016adae2e5b89f089582dd0108bc4ee7e..f6907cad1c27f6590437c4c1ae6ca052742cc8d7 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 43f4ffecb6e072a865bdbec1ef7f4e80d6d4be5a..5dab776091ad0d751a6286a20d49c50a1a7a73aa 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 7ea12e1f2a82fab407b5dbe3d32b9e162a86909f..05e0748824291aa07dce28c76568e264435536b7 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 154cc796cbeee8431f01ac12541403b81a60cba3..320a1127f0ee3bb888646ace7b9e520d410dd3d3 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 7b235d8c48522f9bf09db9bbc33180b058d8e290..a469731d1232dadd8bbf242750bfaefa64489569 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 3589c67ba881a81860d7a6f575101144957b6298..d2e9024d7539e07d3512ee21ec1069834038188a 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 ab7bf54aad94edebc5a341531133cd4213d5be96..3df705a82c2268d1fe14ed7290066ab7822a38ff 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 93381d0b3e4e0e3213c3c4681709f2ff3b722575..08f8cb40467215c73eeb4c6106ceb9bc7738f957 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 150262b2aae725e740432942f3b06afb2f31b177..02de7ee380f1380ccf351ea6e631e7aa502ca33e 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 add0d3c80fe1b2c9f7bb0ceb57a6979b2a5b619a..b17e8c7c26e5ceb83df883e8e4f3d92fc3ac0455 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 2a355d70c1cff74dd8d13b67600c49b972dffce7..05ab5e6714489a8d72987ccc4076c72b1e48a0c5 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 442c83c700aa72a5cb455036ba2eec0ce32c4466..e8f565ba51d6f312121c03be4dcc1b6418a402ef 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 cc2729787096d556d695a4f5344d83e495ce846a..861db5e472b615e6602b933585c74d8ef1ab0751 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 94dccc6712c9e2c15291542b6c328a5c152d55e5..690fba9c5e733639d2ca41d89d42d77c57b9f505 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 7e1ded5c6b47544d98da8225ec4f0941c36e49fe..c9fe1967d8d5ec005b5332375f800645c8e67738 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 978cb8666281ce8f701c3aa3e921ac0afd41cc0a..126a03e2a924e65eacef16f9a88d7a6f4cf486ee 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 e15c5f84fb1d89e5e5cf643f3d7ad9b98d7bbcee..48c28c3ce3ed86c4cb61d29bf34c3932daef4c71 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 d2e53138ea1e2fa1cb5069d8bb78475e524a0717..19405995ef57ad02695dbc33bdc649c6207bf9a7 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 f902ff600f80540a72471b8544290fd2a29d2837..13667b2a234e04dc56b1c3a10fd511f09f19512d 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 0e96f21c30d4bfe0bfce2968257b964ce59449ab..05335a7f326aa9ed371965ac5a0d4bd206f78db8 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 d45307c33e06e670b7cf6500e10a4939b31b9fa7..45734f1ef5140c48e645b8c5a67f4198b1af60be 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 cff97e54540a941dd40f39cf6b4dbb12bb8d923e..7dffa765762de65050489fb6dc437c3fec18b46d 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 9e2faa1794b337e53a0ff3b564bf45107ad02c25..9a51d225f70bc8ff23e9b450b30ef9dbaa2f4aa6 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 f8bdc64af57936a601610eee23a7600f295b431c..8916b01f6f6038d72e1fc3fd37c4750a76f0f8af 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 5efad485c8b351b8561519027ca1cb855aea771d..5a72003470741566dae656b5f6ecc1eee836270a 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 060ad804e8799fe7b427d826a606cca735c9170b..c80f791515f62c6767650e5ce1436d1c5cc08a15 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 e7b4ad0d7deaafcbc824707f76f26e3e473082fa..3d0cae7c28091dfffbf3f22f9360ac4052a5c0df 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 81cf5088e20ffa83e35488747c9698fa27f2bf94..8b432d5032ff40f934a910407ddbf85f02c5a8bf 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 da63e26e214ae0db031be5e6e01c13572a4f40e5..2ab54d02bd61e1ed4d5ad3e11647ac55c0e084b9 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 8a680c3dd9db0ae64359d23b94268844feacc0be..92238934741595dd564ac0b9a2b841ba9b6acf6c 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 401456f0d6ed4660331415ab20c551855b9a3a9d..6bfb38094cc66c7059beb6fe2a578a8c6a1eef08 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 0ce18f312ef2c7fa32ec8e6fab3857778f531985..5f960cf1a4031f6d6bad716d562cc2b71eecaabf 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 cbd5f35cd41a919069763deedf8a14ec29629294..a1d45500023063e9fcfe89196d611b13c5136aad 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 f27848bf92a76c99d86fb088e3a4dcd8efb7a4f6..5fa3c329c18163241556d44fbc7f5f5d822d0273 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 6977d8bf58ef5db9b1e1ce1a88f5a64a27fb9024..a9e92f80ad032d9769736f007d710930f9b4cd58 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 11f692b6847b0b43e89d933e0e9c1db4c134f883..b9eeb6f341faf061cc345c40924eb5bda015ba8a 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 c2d0a56a3717364daa4e06430f72704168466a08..da3e60947aa2bb529ac8842d4438e9eac15f3bfc 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 be8f32bcedfd0146d4a61a00ffb9581ca0761a5b..3fcff80021059758ca842fd1c084fcb8ab4950d8 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 0fee3dd3345a985b92cc9da19f2b4948c5b30ea3..759fbf29bcb51757b32854100c4ddcdeb6fca7a4 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 c072c06826aaea2f3fc937a16bec6466c2ba6408..06b6275fa889ab9cdf7ce1164846611e14fe7304 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 c1aaf562c2ead272bdad1103be7ba87ddbb3b465..bf9ba8911ae72fd85e1e6e16b994649a4af4c713 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 c9a11c870a74c5ba745a41a2579f0f0be2f787f6..3be107a0da7da3c125a878b1f817ae583dde8187 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 2d8a64cd206ba9af2ab3735bc1e033d3246563be..a49c975bae1de239ec662faf345859d9e7b578dd 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 bf18cdaae8c4f4cc8d6ac722202c23e9591a48e2..0ea21872f42c1a24c37d0e4a4048d95585b5d64e 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 f4fd3589a3f65f90b664ff8b7266437693949702..f1c9fca80a977d7a55b82fcb946ff35b6b56565f 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 285f80f411f00317a9188ec8df59a5bc30c510e3..d62f4256a85b6a1ed03f5279d7df2b35ca44a1d4 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 8b5b24dd294db4d0db861f82d6a5ad7f57de6891..ef9ff315802e234ac2ad0eaa6c2e0fbffd38b916 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 18cba7b9ec5bf22172ab588de94164b12e63a128..7f142c0221bfc44809057cbe03ad9cd8098339e3 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 cb610d4549ad47208be62b37f02ec601df9df36b..09c61e1f1bdce4214c51e0629f1816ec304b21cf 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 57d81963441bd458367ef97ce50ed4ff8a37f263..573e002931a849f0cd3ec41138921187ac610eae 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 27bbec71d74d696f136bf5a8c2debc5822de737e..905915f859eb7e0abc45e05e103dcaaede8b4cb8 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 588cc1e4539bfd1b61b6144e98c3c6a8f82f1056..74355c2df8de24d21d0623261cca1afa56d63456 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 2d493cd02219b4062ce2358ae2e408c2f7e5fd06..9704b34ab0d16b0f201138a75176ac2eb4c3faa4 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 71d945503a9c2f2cc14a5443a5616dc005e52fdf..b274677ed62e74682068cb35af863eafbc0201e3 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 69fad1c6d1078111e218152ff508d8b1d0211d8e..c8b74c6b425b5ca073e76d5267896368a39da72a 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 e44dfd6fcb461d7bdbc7a3064f1e5f8f0a35d578..5cc5d909e5a50c1be9a2c2d5571a83a97ff4a02e 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 6b70328df73b2d71ad3f4ca3c7575e7c0e482cb0..f7c45eddcfd3ff22957c7af0926c585c48ba6dbb 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 a76ab2af02ede29d79e51029d7050227119c9bb7..3b81e3545ac7f9d96e25db5121cc3405b3280a08 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 cc9b33e51e2a5dabfe07e64c60052a863ae542f7..260ae192179e935db3863fff082c58ce5e503a77 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 702b49b5a47685065f3490cacce9e41ff3b68174..03cb91a96e019f0e1d5b44ca02cde8b6b35a97d7 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 5816495b309f9d7d8906e423e3bd853cbe8d0edb..cb555bcca6b87fa8533b378ea4c8d5c60abe228a 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 f7060a5e7b2eb1131f55a921b83e622a79b8b867..bdd4d9ec2551661861713e60a30947089d726b76 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 1608a5682a714fed8ea41633d87164a391b7da9c..45373c6c605e4f954b1d151d7867230c2b76a81b 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 43b5745d880733774d4a008dccc662f05f5ef388..661f65ebba7f4e26e4a7ecc380c4d3b3be8459a9 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 54add606526433515d4e4e6bb909c2cb368e2d1a..c3169d640ad266661fc9b36934194fa6182c8881 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 8400b981c8983f701fb80d297b7271404e2a0b9f..d28a9500d66235106fbfb3c007390b704ae49495 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 ebe149331281e389d263219062afeb3b3bece2f9..724c4c2ceb24bbdea7497ddcd51f8f5573dcefea 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 5281d8159f188735e3a8d0b75046b72b5d8e0218..bdea7962c83898da891aeca70077d07b9d72c82e 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 d38f1632c5c753205a3521438fdd55d896428fba..e4c67849be828a49385e7b37e0773f59c0bd01d5 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 3986871cfbd347eec96d1c00f2ba60fd91a410a4..ad74cdb6883a24f2447c63e706c07443437ef785 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 04b0a8f68367a67db1daa05b067b5da89b163876..0e42398ef3da19957a2d71e7b7ef8594e6a78b23 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 3e9eba5d0f3c9b4de65e314536551bc2c231ec1e..22e7af0fbcf2042781c05b145e28f4c5af264ad8 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 0b06f04c14df0a864f007bab479adb1b03485c29..5f9222a2332750ed635fe3045279ce34f5542219 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 434a8f87ec01ac8f5a42761a74890dec467ad6c5..5d22a9f137b4c35cfa94091b537efba901b0f3ca 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 a7b2c3737fe994f33dcc713aab4a718a8582fa04..6c896b45b9e87a76f621767113ed4665410844a3 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 0ef1a6861e48f8cf2c1b55adb8a503de93cdec6d..f14d2ec5469b505b3c5bc71489dee0491e53764e 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 50d724fdd2d1f89f2e62f8abd0945ca57a6213e2..50f568164339decca3611b709128a9e37830a4ac 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 ca210872a4820da3c9547ae36394dc317dc878ad..e123b2f2dd5178eb2c40608331448063092ad711 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 2cb8e4f47a4797d4a90b9c93be93b536c8a76f32..fa95289c9e56608f817ac26ad9b43804ad4a787d 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 6e996963f3209152c0de6e0e3b4d174827eaa603..3e119be25c0e9c99b13a2444fb7c605a743fec25 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 f66b822712d7078a05cf4267cb2e033f5e6e4460..83fcfafd11eb3bad8658d34638bfa397624da8bb 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 a64e470592d9cea316b3fe9de709c32b886261fa..c6755d145efb4437fe51942a3bba0fbf7b01cb89 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 e81e14149adedd1466a499a4cedee0757f5311bb..d4b4d5f426e4d28e61c7de3e8eda81beeef08eff 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 002203ecb559b454676dddf655bc780004515547..4cfe6b70d26164e382bada5fc561ef1682910739 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 607d253970d3915497841695b6f33539f5ac1c53..3ec2971c9642e89b045f02a0bbaa45832e39893f 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 4cef740c90f852ccbec7fa9768881919cf4d12b5..aa3c05004b12445238f887102be287b65c596588 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 5b5a6dd2ea4716bb3b7d6258cb6b884b98327bff..dd564ffb3eddd8e8f3b0718a6d2a26fbc84c92ce 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 35643811290df5d391a31d909bbdf39ee0c3c174..397735c7572484d2338be175edd3566d491078e7 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 90f4cd729c8ffcbce4ad668a6468bb1ba6a55d12..16c7b1d674790dcd74c6083de97745c53dfa0d52 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 d1f09660cc45eda13f6c73561a5f327f4fa81480..7fe1a4168cbc6deb6f938600cc4613d13d2e4b2e 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 b1ab185e16d4ef73ced5d52e11e590599c0f6eb1..f6517d324974a616e9fcef773e8ce3843d6d3562 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 d0f0d3ad7f61e5d186c3ed0e4069274224076f91..5d5ad7e906bb6c9e8881574d95fd38f01b8c75a6 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 c7db30f8af2f34226c9e91d8cc19ccdc12496fe8..3de89f4374c7f7d134a1584ecaad73cb1e6cc903 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 42a5446c5a7a8b4fa591acd8d8637d9a6aed0e8c..94b23d800e07377a35b6051926ba73d752aa6c44 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 73567914272b0d0d55915fe03f80d1da02426544..ddb61551d57371d0376f0d724443d41ebf653255 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 496bf281d1ce7cad6a8f45bfab5395f83e6fb85e..98f45bf5be828bd1c43b81b96f9ec730b298cbff 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 e82844508ae275d978de7c9c34de35c7d4a84177..76ea901109ee5323d92d221e18732e0cdbc5ea5e 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 3814271ecf7c0ee0806edbadc45dc018e719455b..dbd93a73fbcbcca1cbd7a75102ab5e84b46fa5b9 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 d714ffa5f947efb50c1b1b1de6098819995df84c..fefa520f8875b96d37be673eedb94198212c2af9 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 7671c6ae6ab64cdb88a5a74d20a0f69667d85e88..f79067ef29e4095b89804f21f09027f89a038933 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 43ac06e52f68c089cd4975c0edd5fa40a39117ff..e2c2ce7f8eeb862ab89f7d0d63e1c73a2edc0556 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 b0e057b3a5cb3f3f223b1cee8a7b64516eba6de1..3d8a01bcb5a0b62f5ff13d8d811a47dfe560494b 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 e1986b0962a9a3c58162a718550f6a5734d189d9..2a361e6bbda0b7fab3c067a5e696945c743c6726 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 9cb427c8da29182d74b33aa27feb129d3e36f846..e37d2138a0eae974e229a14a611058c9842f7b08 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 7d5da7f16d4cf1dbde0df66936f1becb207fb24e..51dcf7cb4f3a6be1da639a6eb57562f1232573a3 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 0e5f0b25f566f5ea54e2ba85f1d80436d9be58fd..be58b303255f51cdc2438f97d97426555712919c 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 95f1d94890e4408248d0ac952c55d7b306ce40b2..11009e603923d14c892dec9b1e67c5e309e97f66 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 c476c65b05e24c9898d8505b5f8aee885ecdfe7d..12f711ef2952111e876eaa0ac84e86eb234c47d6 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 374cc5ab25744927549534c2af6cd278de147c7e..c8b4ccbc239ff80880495b5da242384d5192c35e 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 949f58f1e998b504ec8c14cd17000a5a666b28eb..d9a0cf0ff6da32b23e93f8e352575d7d60372d2a 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 e4ee7dbcf17271102d20ba397a6960d9100cbcd1..9786b53acea2ccb0046b8accd0edd11ed9993785 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 eff7207c0a9d47b3352e9ad7d9f45f81e1450d5e..b01c1943531df0f05c4e7b8b73ef2a299a09939c 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 207245e9d2f08d1f6a23d6b41c8ff59ab1185eab..a7ec7a31af427000d787e8dccc6760c22d9945e0 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 38ac5d0412c9f0d22a1304c021efb3704b45984f..ecf7d1955f1b569cbe44c4520f37b5969d9d2c84 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 e470ec87c8022fd750e334f9b11c8a3838dce1ff..3b2e28a08a692f10aa3b76bd694a9361b539799d 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 bf3979fc21efa2b966f73154ea3a0b5f183df03c..df63268dd14bb208d2a110640869d31153c80f03 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 33fb99b030d50c4f89395314865250cb94f22fb3..a97020624877279b2314d629803fbe1140dd6d0a 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 0e395adc1d239cafb904377a3974d088496c348d..5bfe9a515fa72299078fa47e07e6b4b34f3d79e2 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 7701e8d3a4871e4d6ce5e72595d3baef560299b8..40dfc42445da7ead4c948bdf416681c703e0f8c9 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 328916c9241292ab77f779134029e4d016a6b489..20c8bf54060c120581d5477e44e10a44f4f5990f 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 addf8e45e606f256ae6a028e2eb8fad51cdd64d9..d19f4dddb617763e21589c3993849c2d7527ab31 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 5daaddf683feff958b3b84d74f31529f618a2da6..070e9b557ba497ca9fde91060b7043ecbde03c76 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 388e0a4a4355f021f96b38fce4d8ac2e12001a6b..30ad56a9d38e2b31094aff4c2f7e24050dd5982c 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 e2444ce7832d98482f9d44ad8e58b88e06b557ec..a4de446398c903435cd49befbc71f291ef5c40a3 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 a5be65dc672ea3949c63e5c4f2b6b3efd3277e2b..82b73a58053370643d6a20ed0bf6bd007afdaa3a 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 58da31adbe7c6c7d14ca4285495225f578205727..867b38a28712d2b1ba2061d168f9bd19d7865748 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 655b870a508ae57c1ad5255cdb85acf7b85090cc..9d1765ad0de6faee69782d49610d0d5f42ace38b 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 d42c207e20486d18d12473dbd2044ecfaf8f1cf9..a537c114bb3ab8369af47e7962f6d0133f5cbbf5 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 7f05a8329ca0ce71036ec917ec859364c062d29a..637ab073a2ee8fe57352f0bf8b8fbb9c40177fb7 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 8ddab7a43ed300272b40219f6b28a719a5e6583a..9fd6d217f90eb3e1a949c20e00fbd5fde554cfe4 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 7a242f9525f05fb45919a7693ecca06f8b2a669d..6b8ec3cc440bbc13d97653580aad193cf34bdae1 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 e7dc1fc3cb6402d1cad467a8a318556eacd958c4..b65d76a62f203b661af5ad25b4d84b2867271abb 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 4a78d65e05c4e2080ed8972d20ddacf1edefd77d..283cbb433179abf01e85350112cb7989d8b48a07 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 5c66476d89788492fd7313e144e78c90d30e00a0..45d36c44eedfd17830ea8772518a332596b29138 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 e99bf4889c5ab8aa4b9d7e01b4a110c7ad67868d..ae2adf9892bf0962417eaf056e758a4f1bf088e3 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 3831b19ccde034aca01eb10a852a7a796ae36118..f390bd62b083b3ccc7f54e29b36f51fc1c8c4e13 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 6bfab29ab29e909c35100cb44d662fde6b8da5d9..8346b6927bd936289491321e0912f1da73c2608a 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 26aba7f1f35a6502f87cc187a126cf841d02fa25..7848088c17306fb0a51cb7ad07a322ee2f2d5a4d 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 193bb90561140f520b9c20369b7cb2892ccc7976..48439fe7407c41555fee9d9d9d7c95dde3960443 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 18d413df10238bdf1a260d8e6687fa1b89d69d6f..8bfb0360dc222ebf3849235081cda8ebbf1e4456 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 ac76afffeaab6e4329f0516c23c4affb748aa7e7..673f7d9e9727d9bc725cac394442472edfdbcad9 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 f80669e29ba36ecc51813acb36bddee2c34adb77..b733b036d8157dfd871063eb1c82a53693db3657 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 7a68139c3485afdd22282c361719059074384bdf..1804741bbd589ae1b81cba6d37ecd41b4363b0e2 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 2f9dfccb2c20bb70f4731c25ef75125cfabf9c11..4da8f127bca3bef9ceb7cf5e430ba32f7e4fb5cf 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 1520e204b871ef8330390e418eefbebb3ebc14c5..3406d1edb46b6b7f89105d47e9447c257f2a304b 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 f254c3815d152960bc90ca92e24fa34f7fe4d04c..1ae36dff360101a261fd1280db25f31f43f98ea8 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 0255a9b58c0873b9fba73582237c796d4ca7c9a8..b4e4610989f476f02018123058297dd2c976a0fa 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 313a92d2cd66445a8ce9adce86840df3fc6c8fdd..6ab11c39562c177d82267dd465ef64ac845d20a9 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 f4e5301ffa28b575c93e8d14256dbd5c7951dc1e..35750330416f83a5f033a0500d0b5f5f11328fd6 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 ae81784e44fc04173c26ccee580511bfd6e174f8..8881185f94656d0c30e903e22600c90cc938c603 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 d176ab13df4891146218750aa3b11bca00e736d1..e34be5bc705d6697564e9131e2fe63d2a06c9831 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 108f3cc22dee8e2c3c91bbd1d0824280d542a0ac..08557fd4014a2dc2a7ff875280ad46d4e72f0cfa 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 e0a37bd0cbea5c298cb2adf8e954b18dd812143e..0118ee1705092df94b73053d509c60f7ec6c4450 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 3335c6994d1051697d50642beec65a8bf7d5b3cb..4df38d094a6ab330d5a9f030a507ee36aa4ee1a6 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 8808cfa5606e49f17932f276a66aa96f955317ba..60f0863aeb02a1de3413947b19d4a7f46fd53b8f 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 7cc951ed5438b8ee6d1edcda574b08564bf4436e..bf4cb3443f579d88d7b4e0d4db25ce944547bd8f 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 dac42d4d5af105275eec6ab5edff8113ef16164b..4fdccec0981990d64be27de23d041505d0583935 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 8bdfdd3ef7ccadd4ed74c75f99b75cb7c0770704..da4a2e1b33a1a609cf7e03e7c41245a9096885e2 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 a57a0d8aa1137ef23f66c3320755f591b05de58c..a548662098cc4ce6d4c189a9c54f7a783859a67d 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 db2132bf0ac7a723cd58730c1eebfc9bb83a0985..c5e44c1d72e72b6018582092f766ceb1f6f1a6bd 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 b3e903aa94287f2dfcea121d852ff06623e7e3ad..48bc7d5acc454c82eb057218e4171b610e118800 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 f50cdf9c439db6a8e87a4ad5cc8a7acbcafdf58a..1062223379d5186b455d512175a532c8c8fad606 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 09597104732ab799d624bf9b9d312a842fb72c2f..ef82d05462e0e3fdefd6bbb81240536b8ccfa286 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 8eacefd6aae0e6827cfa96c9036b218c56716f64..9f232d96c2727e01b05e3754969c6db38eded159 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 dac71f356e9425bec54fff43e91292abbdcb717d..e0dbbb8b5897329a4d57b40dea05d46c77fadcac 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 63d7c4fffe68a1e3d67674ec03b10208b7bbad34..fd36a47760e58a33977999978095e20789218c58 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 562a44fbddb6fcedb040a4cd5222d9f4487fac8f..4dc91ac10e335a726239dccd59bcb5167ae438b2 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 5b8c69d920d685eb6a9b96873310ecb04624c063..1a530c91fd033a60250fa5de6c80707e0d78ac0d 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 3a33c6182d54c66af5f1a0dc6386419c472ddffe..7d956a54420d0cb12b66543eb14720f9d69783cf 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 8571efe9f1adde15a5f302fc05880a92e93f0df1..9052b14a65f63e247a1400b46b3b36072bc39b5b 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 f62987ca7980492e30346a163aec26a40bda2062..ff0725f6cab474afb2f65f40b82334eb5f0a3591 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 c264e96701cd7d57d437da6c20e7fd57c34c807f..84ba7b5881b38c6f2d4315a648274d8753a9c344 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 d8a3798964e272b39aface69ebf8ffcd82dbb489..070d73e2c7c4a1ceddf2cae6f50028e4abe43ef0 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 d462e162d0101964e4b787fed4ae0956542a9fa9..7db914643c1cf8bcf945a0e223fe7f0d25bbcafb 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 b6f279b490993512c82138f219316d0752a13a1f..f945f0f36932b280bcd819fcbe70d276924615ca 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 2f31191ab6bb46ee90f07d81e154a8c0ad78ae10..57946636c149c70b1e9bcbe4feef51589d0b3b98 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 c1141c9e4a451e30cdb2fd22678e1fd67581fb7c..f385d8000a75e70ec6f161c3d1c92e44086b1d8d 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 ce8eb29cfb89a7162a6e9b5ba00f1303af7e4de2..4522e3e3a23cdb788e9bfab5a1f615ef3c88a305 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 6297c58f2f6bcdf99fdd9475ddff29a7f4ae373d..235591b6c0c610437d9e643237987412e9cf650d 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 c0af94ad08ea2b93313d9851e82f96d2cf5b440c..49d2cb4231625a3b88a6e49a4f2ba840d7b11150 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 2f7c3625d0a557225514086692dc8454356a5063..19790815700903f5f59dcd25b58d0f19329d7a16 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 dee4aec216dd5b78ecc93b819fb8f815f47f24ea..eee6927bb9e0023baa14139751a045982dec4243 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 23afe387c476a9d0a0fd77e55a6f166e335bf53d..f33e32215b4e9a1cac499dc11608ed3d65fb809c 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 e671f9948d9a0a124709232b9e593f185230ae06..f84ed8e4b6a3c3b62098c0e80b102c049d3562eb 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 46b3ea18e7f01700282d83c3240ca2ec55330e16..1e89d921c317bb5a612d4471c9711b17e1617678 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 9d6377369cba8dcc4913d2b272efcf3f5a99f864..16e273f6654457b8dfec0c090018d5b3136b88bc 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 45f028653fac950c4fbf056b635d58480ac93c1a..a6d5640c1d57713d88b0a863aa940e241f61ba99 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 b8149602123e9e1589ac25a59e74ab34c6e2708d..56676ee94357f365b8caadadde50d37a5b748cec 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 77753f55cf34425b3b7e90894f211ced5efe239c..35268ec9690ee3c0bc36f27d1c6b3c15cb073d95 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 298fcd4f679c153ab440e5fb491aa7d2b8771340..d0da1a72118b629d2fb6567d1d66e78bf8a5caaa 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 b454b84c5dd9b5c3e68c558a5bb737ec7b30c926..a3ab2291f8818f184f6e36b96f0f25ac430c7598 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 1362ffb7f48e38c67d77da8bd15c8578a11b0a5c..f26dc3b132bb9bcd1aa59ad442ea9d0c45d81264 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 1b0a71920d02cf7a9aa1640e56add4234915e464..873aff3d7984bb481ea9a16506630a758a2f25aa 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 9c0cdcdb7ff735eb1d0b1c805aef198f9a10599b..c72518a4d75ec9af103234155670583ee9d72e29 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 ddfedb03f4539cf905c8fe1d4b62df754512ba2c..86f201430fe907a86fb6c152b9ecd55ac7c0dd9a 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 41348f1bf6a9f89e8bcc44f1c3a6189d2daf81c6..85ad4b6d32b0363e3e91b2ce2377b6aadae7721b 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 3334a96dd035099507ab3bb1b9b091bad21a3730..0701dae6eb1a8b77609cab2f2c46b3aed387d13c 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 001e950b1893bf7143d2bba7f600ce24967a395a..11c0e384480d487e92bd4b5e3cb8307db5a7b2be 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 46eeadedeab1fd7ff8ab9854711d9e5a1fe01067..cdde7b1a575f6635c3fb10f750af476b9169ac22 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 a4b111fffd37b35dbf2f50fb9e7f273e11aebe13..caae3b7b09945b08aef3a07018c06d595a6269f8 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 31def83c64418e3f3ed1583ee806e8b8d23f840d..7a71d5ea6bc861bf4a0369ed05857c208de88909 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 7400a8735911475fd5cfbb88c4455bab3a13eb14..2dcb5dc4171d5daa065333f022a10dc700de25ae 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 c73b7835adbbf6e6fce75e643a52ec301eedf546..c5515ba8436f0d99ef8ffb7cbeed9923b93efcdf 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 1210020825ee5baa24cb3439a5b51e4e2a10b74a..92bc073275d16da4e90ebf237440251dd44873ca 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 de37b7e926784b20147668b21bdbfec196e5b1af..f9e1d85bf9b4d09e928b9683f4d75448632f77ba 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 8b56a910ef6fd06b6493f3024d5cdfe58b5ddff4..6056adf1bdfa5f621de0c4d170fe7c158621145d 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 d41edb284227a9f92b954a5e29292759b46183e2..581659084194cc68851f4a0b891e11eb812b324c 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 7a92b12bb18ac56e3fa27f3d5a7f5d1205c7c31e..b41f93a8e6e83fe80f9cafd6fbb4132cc50e831e 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 deee6f06c10fd4d39eaa32ff43961440166520f8..f0834d5dbaebb935e2d0073e4f9a2eb16bf125a1 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 96a9247d78e2ece70dae1f4ec3e1b6c9b57ecbc7..f678ec9e25c6c6651c0993d8f70b95c37026035b 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 aef5b8d6aba3708e5061aaecc417ccb7c98f59cd..1f49f27ff8a2cbc407e2331efcc5a7941add7150 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 ade7d4fe2e566464041c9ba6666af78390805ab1..3832a282ac0e0061c54505b476648a97761882b0 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 c387f2630864eb35231fec3fd179b5f5382ca6c1..4805fec67e163a0d341acc2af08cf4ba95374e22 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 d18b4422dde1eb1dc2c0f3d70d034ada3343a929..074e83c6f2e04449521c2179df65bb672581f9a1 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 4f7c7369756f248563d3b8f5ad1dfebdf11b1e55..de5e73cc7fccbd49142163a44b2116ab6023dcf3 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 b9d93c6b9ab97b4340a6963d48a18db3e5f8b3a7..b845b0c38f34792c36c0255ee01bcf0e1e17c183 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 7cfd54cdd04028c43dac7b64e5de05d42baffcd1..1a08a181e0cdb3c099378f50f46e4ea7a72bed6f 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 5fa9e405b0cd7ef90f8790ea085169a8acd58a63..b42fbc1a21fb14ea681ee5cb9b9cceaf1614e1df 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 39af4983cd834a16602cee135b2294489482d4aa..0c02723cd5061849adfd05d1a945c7aba606544f 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 ae96a5bc6374b0cddc91a68b8d50eb1539424405..3ab6a59f605f28f476dd7da8711ddf62d8b7ea32 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 5e88cac72983c2ae66d321321a781709ab9db1d5..14f834ec56579662ea8438ab8b81f3f91cf35935 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 ff4c104dc79a619b188f98e4767d9d5bb78cf8de..06fa7cf83e402f5a7435a4146124526e503c1436 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 24f6c4afb2baf6117fdf155ee138217b3827d175..4f4e171057193510d485491e3513f5afeb502fba 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 191af99c2ecb93f7543ccc70a124ff51a211ae58..e18913a5c4854dd3b13da0df5bd68f8f6a04f96b 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 92175160bab4138be667a5bf158d0ff3a77947b7..1ecb0a60cf2f26e58d89a152d64a9498eaaa9dd1 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 3baa96c41ad5e7c2a0184988dcccfd51988b08aa..bb7a2bf8b823d842754c7d718d337364fc8826d4 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 c1851d54a2e130e67046d4cfd002c43c249518ba..b0aac1aa02cf4bd8030543bd19b39d55a0d4abab 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 a5a759abf3d41055c7424e0caf83bd50c0ee063e..b97587a0bfb44e400b77507dbb6db03304f1beb1 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 4d7c1adafb675b16b12f9133348ebb4b85c68045..170d0d4df3d72532533f5a5bf94ee18b9d12fad1 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 cf14452f2ebab80fa6ddd9b636f9191ad8f81b2d..c6216517531a3f3f73c69d3a69cb8f6b8bad1a02 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 89033668c53740abf809a2640bd2de70a311a7f1..c9f207655d1c1829a965465ac90a01e014cfb33d 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 cc3026fac32ea2b645a2f4649148b9b5e54af41a..c6f0a03f7b9e97b4b78d4a204e9acca04d9d09f6 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 c3bfe748743d8f79f86c2bd5ec62e76c2e073e72..2b540ed3fa15d055b045cfffdafb9d609df3cb05 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 83e7f5628dd667daee0250a9c32c8dd308ddec20..2d3180152d363ea5095035a7027f2a8203cf776b 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 5436d22970f39e503a6e9b9f3144783adbfc7734..0c8a3bff3394fb6cfe03319e87c798650d7e263b 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 5f61de5d47bdf3d5c41a7c90b2eadee696b5f404..4eb415f7e4f2c01f09b68eef320c13a05accad54 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 675f82f8de34c69f87068d52ff869bd4272fd04d..fa9a645c98bc02c0fbcbb2627affbfc996d7693a 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 065a1d046329adfbe7c6e2668c5c4355d9ea0e78..9d7fe5855dc5d69c2d363186db278d815d95cfa5 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 2becf98f139c039aa8ae1db366db305034abb80e..74b3a36f70f9ad09f127ff1431bf1c260288185e 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 73ff001d85b8531be09eb9936ee625daa390812c..0cc9c2005b76619b1930c18ddc43194f242dbf18 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 3e624c271e2aefdb339dd4cfab2d5a43af8c4046..09763a0dbcc4fc77ca5d24a5bc2804e70e4f956a 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 9f539dc6ae78fa28529ed4443d1d52350e23b01b..7cad81cd1ea7e5dfea99bdeb23197be8e01eb26b 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 3e81f8d3bba22a746e96858e1d090872758e497d..e88d983f080cd5b85a41107d491f5e7b764d6f11 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 6f80ef6fef8efbe42e6a529e7b29d30839707c91..d36ad75b815fd7762f513720b6637ccfd8603bef 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 737382070c329e24534071fdd16cc07548bb15bd..6a6e342a12d21e12887915a3ea65e7fd44fca8f3 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 9227b5d3b56a6142a5bb5f7b86dac90dd4340aae..9ae308f5546c075d34221f24ad69043d7f268f65 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 79d805c38bc29dc97249ec6809e789ca0051f176..b792aa807e51e0243985f2e4a36c37e78644e22d 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 af7668052bb8f12506eca4d5558b1bd6d61a6219..755c3a4e4ec4f6fb032ddfab45b96711db8eb8ff 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 131aed9b48ccf1e5f9aa4d26ec7af335d0794481..777b3fced819f767602797d9b50cdd9650d806c2 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 e0df412934f628027560d5f315bfa12eda1987c7..3733b92004f3056f83cfd092a3760122cf410447 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 c537d7fa53ab5b92dd5d0333d7ef523542d288de..bce6268cefc35e3c3496c0664e4e00e90e6c0819 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 79d9c5d1fa90ff47fd779670fc0a86ef21464799..cc52b3237eb85a7bbe1c707aac82477e0cbf004a 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 c11c53b9d6d321c7f85747fcec2365e3d050b5c6..3544dd2723447fc22c4ceb28fe8de187dff27a31 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 72c44fc91468b63b95910a28daac81afeb0926f1..0d40107fb5bcfa0e9b04d17232b7a0008f5f0807 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 f444300ad33f761a99b15cb8ffb75bac74e557c3..a4f8a4a0040e3ca0f1656bff4f6003d670c0c3d0 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 9e7975f40d4a5d65a716dec2a0e3b9b622daace9..ea5c5343e6dacb6925ff0737b1c2535994edd3bc 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 8b92f7a6e231b04f9a0662a3acfbbd75f3a5d0a5..787201a8cc64192d46365511b72bbce42d6e7a3f 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 2623b11235b8b0d8c2718d52ee780eb4d71c5d52..79f74e001fa4b2f3febb015b5bf5543c2237fff0 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 cf0977332b2c3135ffb80398ced74ab7d7133551..2cce5342e294c145622f040cef79817230075de7 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 a9225a204a30bd82bbaa326791840cdc5aa4be05..0495196b1df949b3d4c4b2748f978715f462b67e 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 b1d6fe1e7f75adc5d6d7d1fc50a24711a0fcdd30..90486ebaba9d78d8d37da3e2622b084a77457880 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 b5e599716762d715b555b133e275d8f4397b262c..5f5d119e681ca97a9509a52108a1b8e448c36ba1 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 697ee9a77b1c3a8df3bb052cdeaf1d1eafd8a725..3c8744f68693d5f0ccf882c7aa0f3194d5d401b4 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 31cca66329ef01af414db64cff6146c6d3d4d48c..c8f1fa18c5a149b5a2f2f9ec0d164f845eda1fab 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 b0700f97d0503361aca85c6b42cbd602a9f6d561..06a7725304930a06783756600c362b98efe6c8b8 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 0eaa1c1e715f8f0da7ae01cdddb9b3dbd5a02840..8592162eaec40a1c9268d14285abfff813fa936a 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 a4bf332ae3468f5b3738a10ede36a3343d875d4d..fe314fc6df7d0da9686c792b0ac8ee182b88b97d 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 68a1c831f143ff3c3276e9680b2debb7e834e416..1c8d10c1f697bb5605a624f2f6c93972be58f98b 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 d3559f4ea9274497518d58c3ec20c8212041fdb8..c1f87b91fc78e4b1c2df6788db7e8a3af7b2926e 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 5a692aa7f07972edfdc172d2c64cf2b9003f62f1..698ece24387a8fe8f38b5c2b51792cff8b8c14d9 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 ae9ee831d973e48106f3d907ac7b71b39d5f9320..b1d38377a1decb2fa01b9be1c6ee8b9c0dc840c9 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 d1edce35211b8e5c5daecce3c21e392e3d063ade..c0116a212bf4c067ec3a16e85dcf1f4fe7d634da 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 c1dcdf2fb575aa43696b9bf26a1fce86074c4c82..114f24e52adb90b6018535ca3178a1b20518d3a2 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 7d1ee11c48ba76c7c44d8d6343d1de5384f3788e..b0ab5cb7b5674fa97f7af6644cb35d51cbd9f74d 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 ca69a4560752e1ad89699d0951ac4ce293273e1e..68e540cf44ec37dd14596695cbb86882255abbd2 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 b880caa00cc0d66e1aeaae418a52714dbbcd54c5..3690a1f30d7f546b607ce60a3bf01f0030dab92c 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 cad5e2b9fe0c2f2d39a7787b7f9cc57ec0aea44c..e7f3cd40c32f15db72df5cf8261eee9e291fabac 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 6d355fbe236d546f3deadf8721ad8db45621e5ec..bcc0abb832f50e8fcfb28793e47e1433a8d01a9f 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 954d41d1d0bfa1ff703224c87707ae916fc57d7f..32d5f003586b46b78a81a3c83d339b8f244147e4 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 5ea04324a884dc8b18adc1dc33480b311fa074ec..d17d028d9ffdda4daa1d2e83dafd2cea625ce333 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 6a16125f8f41a2179403068c58e69b347c31fb1a..f3478e80b32e5109f30b8e70c62e2f14b0091bbd 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 1e4f934e757debd9094d910be85045463382e779..ac4df025296e5e9f2594933068bedda172e13419 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 7d11e8c5ba0e7ae6b63261de92eda3234e313c27..2f0989102207220ff8e91b4998c140a505977834 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 eb1b021db7be229eb963cd9bdb96ac463d9f3328..772457b3ff998471d38343d34b67b8bea87fee39 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 8179b675534a963f3a658655e2bfd2f3d39dde1f..ebb6991aba30717cdbb81333a64540521aa68fc8 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 d4336dd3c7640bed79203fe3b267a6c009b01d5f..4df1c317a5fdeaf1bfdaba78d103413564a06765 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 1f452986b6038a965586948aaf586d4dc7d107e9..e7aabf242ad24af8c75daca944e26059b3b61232 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 01d416d03580b77a2aa684555156585b12c11bc6..cc175862641b8de14a3830600799cb0ecb5d8dd3 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 fb670bc53eefab0c01b84330578aef45a03dd8f5..d415b9c03035db83e3f62ef2a5dd17a8521b870f 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 1b897d7a61e15392dfdd59edc42f993021c3ae12..ef13824206f26b8fa92731a62f54d868400b9a95 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 7e9bc5a0104092a630731504ae8f1ac515fbfb3b..86f3432a72cb59de37aebb1688265e478ae95a26 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 c0307676b7f5f61eea411d05e15fc5e0d1db2f84..f9f78d2d2d40bafe410b9bece8b32f7b2c9dbd7b 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 5fdc255b70323ca2e9ded5895d36dafba77b75c7..c3f0af471af45e1dfbca85a1a9c7c3d96640c1cd 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 c77ec73321347cfac29985d6873ea9553d40427c..e6201ee327f4645eb9ff754b26b82441745b230c 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 2aa5c07f9f10fe1a8ec713f2e0fcc603b3c27b17..666af9dc28a6c62fcafd4480f114d272b5bb3b49 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 239cb6edcf04ff632a3a60a7d911baf2bdde01eb..cc7f40c745f98e7a471b388da77dffdf8eb64a8a 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 46bbdfc7868d47b876f56c1693add112be4154df..738cde1275ec6db9cbeb9c610382a2c41a8674c6 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 1820bebfa2782dcb15a088b0525e5a7d957d9e0d..3a305820a84d76ab6a20463970cf8b8ff35210be 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 402f9129813208a845b82cc953f1ef83213a6357..cda0d2ec763d546f8d9b104fcca8d1c7693a48a3 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 9a5fafefa9870bd25c0b92ecba3d45d9ac2a80dd..6441efddce2f57fb3c41a76ef9e9758f8ac6eefd 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 0923015d838076dff028092fec0a0620fda457a4..440288d022c1574c0952c8fcb090e2a7a4ff5099 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 7aac1ee2daac9401803b1b3664989714b6ef70a0..4e56adeb3d8a92b1c59a54c11a9cf30ee7435ff0 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 81a47f7d93b41ec21e1373b9c1d747243769d344..411bb59ba43536b9a09d32977e3b5fc4b94c308a 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 6bdc46baf51b94a1282c4b560c01d044c565653b..14115509ab9fd330300dd5078bcff7adc380aece 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 0c8c348cbf85cf26aedc8df253c4499846965552..f4d676933f27b7b38bd49d0ce40aff974a97d34a 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 df3c4aecbe0e84c9af4d7cd8f7fdc9322da1f107..0fed669c5a350d60e80999d1ba930b394410dda6 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 dc942889e18373c23411d0cb3f711bc288a14abb..ccde8893250323e8812a21b0cf6d772a7005aeb7 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 ad37d25c3b114d82c70bd9b4d7009c5a893ec1cb..12c6f73ec36e698bc18914f65ac2c3ffc423ddf1 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 af628bfa7a376b7d5202e18d325e533d4ff2f168..e4a9b01661b502a4c0c7442ba2e858ad6f3576a0 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 2cd9c3918562f6ba850a203c610f098b2ff7996e..0910fa3e7a278b5fe44a6f6d8cbcbcf78cc28394 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 ) );