ENH: simplify objectRegistry access names (issue #322)
New name: findObject(), cfindObject() Old name: lookupObjectPtr() Return a const pointer or nullptr on failure. New name: findObject() Old name: -- Return a non-const pointer or nullptr on failure. New name: getObjectPtr() Old name: lookupObjectRefPtr() Return a non-const pointer or nullptr on failure. Can be called on a const object and it will perform a const_cast. - use these updated names and functionality in more places NB: The older methods names are deprecated, but continue to be defined.
Showing
- applications/solvers/multiphase/icoReactingMultiphaseInterFoam/phasesSystem/phaseSystem/phaseSystem.H 2 additions, 11 deletions...ultiphaseInterFoam/phasesSystem/phaseSystem/phaseSystem.H
- applications/solvers/multiphase/reactingEulerFoam/phaseSystems/PhaseSystems/ThermalPhaseChangePhaseSystem/ThermalPhaseChangePhaseSystem.C 13 additions, 21 deletions...malPhaseChangePhaseSystem/ThermalPhaseChangePhaseSystem.C
- src/OpenFOAM/db/functionObjects/regionFunctionObject/regionFunctionObject.C 14 additions, 17 deletions...nctionObjects/regionFunctionObject/regionFunctionObject.C
- src/OpenFOAM/db/functionObjects/regionFunctionObject/regionFunctionObject.H 49 additions, 13 deletions...nctionObjects/regionFunctionObject/regionFunctionObject.H
- src/OpenFOAM/db/functionObjects/regionFunctionObject/regionFunctionObjectTemplates.C 30 additions, 9 deletions...ects/regionFunctionObject/regionFunctionObjectTemplates.C
- src/OpenFOAM/db/objectRegistry/objectRegistry.H 80 additions, 20 deletionssrc/OpenFOAM/db/objectRegistry/objectRegistry.H
- src/OpenFOAM/db/objectRegistry/objectRegistryTemplates.C 60 additions, 43 deletionssrc/OpenFOAM/db/objectRegistry/objectRegistryTemplates.C
- src/OpenFOAM/matrices/lduMatrix/lduMatrix/lduMatrix.C 2 additions, 2 deletionssrc/OpenFOAM/matrices/lduMatrix/lduMatrix/lduMatrix.C
- src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/outletMachNumberPressure/outletMachNumberPressureFvPatchScalarField.C 1 addition, 1 deletion...mberPressure/outletMachNumberPressureFvPatchScalarField.C
- src/TurbulenceModels/compressible/turbulentFluidThermoModels/derivedFvPatchFields/turbulentTemperatureRadCoupledMixed/turbulentTemperatureRadCoupledMixedFvPatchScalarField.C 2 additions, 2 deletions...d/turbulentTemperatureRadCoupledMixedFvPatchScalarField.C
- src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/epsilonWallFunctions/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C 1 addition, 5 deletions...silonWallFunction/epsilonWallFunctionFvPatchScalarField.C
- src/dynamicFvMesh/dynamicInkJetFvMesh/dynamicInkJetFvMesh.C 1 addition, 3 deletionssrc/dynamicFvMesh/dynamicInkJetFvMesh/dynamicInkJetFvMesh.C
- src/dynamicFvMesh/dynamicMotionSolverListFvMesh/dynamicMotionSolverListFvMesh.C 4 additions, 3 deletions...micMotionSolverListFvMesh/dynamicMotionSolverListFvMesh.C
- src/dynamicFvMesh/dynamicMultiMotionSolverFvMesh/dynamicMultiMotionSolverFvMesh.C 1 addition, 2 deletions...cMultiMotionSolverFvMesh/dynamicMultiMotionSolverFvMesh.C
- src/engine/engineMesh/fvMotionSolverEngineMesh/fvMotionSolverEngineMesh.C 1 addition, 2 deletions...eMesh/fvMotionSolverEngineMesh/fvMotionSolverEngineMesh.C
- src/engine/engineMesh/layeredEngineMesh/layeredEngineMesh.C 1 addition, 2 deletionssrc/engine/engineMesh/layeredEngineMesh/layeredEngineMesh.C
- src/finiteVolume/fields/fvPatchFields/derived/pressurePIDControlInletVelocity/pressurePIDControlInletVelocityFvPatchVectorField.C 7 additions, 15 deletions...ocity/pressurePIDControlInletVelocityFvPatchVectorField.C
- src/finiteVolume/fields/fvPatchFields/derived/waveSurfacePressure/waveSurfacePressureFvPatchScalarField.C 1 addition, 5 deletions...veSurfacePressure/waveSurfacePressureFvPatchScalarField.C
- src/finiteVolume/finiteVolume/ddtSchemes/CrankNicolsonDdtScheme/CrankNicolsonDdtScheme.C 1 addition, 4 deletions...dtSchemes/CrankNicolsonDdtScheme/CrankNicolsonDdtScheme.C
- src/finiteVolume/finiteVolume/gradSchemes/gradScheme/gradScheme.C 11 additions, 14 deletions...teVolume/finiteVolume/gradSchemes/gradScheme/gradScheme.C
Please register or sign in to comment