ENH: add refCast variant with an index to convey the context
- can be helpful, for example, when the refCast has been used on a boundary patch. Knowing which patch index triggered the problem helps with isolating the issue.
Showing
- src/OpenFOAM/db/typeInfo/typeInfo.H 24 additions, 0 deletionssrc/OpenFOAM/db/typeInfo/typeInfo.H
- src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutWallFunction/nutWallFunctionFvPatchScalarField.C 2 additions, 1 deletion...tions/nutWallFunction/nutWallFunctionFvPatchScalarField.C
Please register or sign in to comment