diff --git a/src/OpenFOAM/meshes/meshShapes/face/face.H b/src/OpenFOAM/meshes/meshShapes/face/face.H index 1974d557c86c382e3e25b950455cbf0732ab42ec..ecc69a1903b29e2ab07e09e5de3a050cd8381bac 100644 --- a/src/OpenFOAM/meshes/meshShapes/face/face.H +++ b/src/OpenFOAM/meshes/meshShapes/face/face.H @@ -3,7 +3,7 @@ \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation - \\/ M anipulation | Copyright (C) 2017-2018 OpenCFD Ltd. + \\/ M anipulation | Copyright (C) 2017-2019 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -201,6 +201,7 @@ public: //- Legacy name for areaNormal() // \deprecated(2018-06) Deprecated for new use inline vector normal(const UList<point>& p) const + FOAM_DEPRECATED_FOR(2018-12, "areaNormal() or unitNormal()") { return areaNormal(p); // Legacy definition } diff --git a/src/OpenFOAM/meshes/meshShapes/triFace/triFace.H b/src/OpenFOAM/meshes/meshShapes/triFace/triFace.H index 378b3d6e40bd1ba63bd218d061b0f999a6880ad9..0b0b1c5e4272be6cfdb13ee57affaebb102ce6d1 100644 --- a/src/OpenFOAM/meshes/meshShapes/triFace/triFace.H +++ b/src/OpenFOAM/meshes/meshShapes/triFace/triFace.H @@ -3,7 +3,7 @@ \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation - \\/ M anipulation | Copyright (C) 2017-2018 OpenCFD Ltd. + \\/ M anipulation | Copyright (C) 2017-2019 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -132,6 +132,7 @@ public: //- Legacy name for areaNormal() // \deprecated(2018-06) Deprecated for new use inline vector normal(const UList<point>& points) const + FOAM_DEPRECATED_FOR(2018-12, "areaNormal() or unitNormal()") { return areaNormal(points); // Legacy definition } diff --git a/src/OpenFOAM/meshes/primitiveShapes/triangle/triangle.H b/src/OpenFOAM/meshes/primitiveShapes/triangle/triangle.H index de40051cfb5a2c7e96fe434966a68acb8ae0f85f..40415286ce75607110fb7e8624a8d415a187d822 100644 --- a/src/OpenFOAM/meshes/primitiveShapes/triangle/triangle.H +++ b/src/OpenFOAM/meshes/primitiveShapes/triangle/triangle.H @@ -3,7 +3,7 @@ \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation - \\/ M anipulation | Copyright (C) 2018 OpenCFD Ltd. + \\/ M anipulation | Copyright (C) 2018-2019 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -215,6 +215,7 @@ public: //- Legacy name for areaNormal(). // \deprecated(2018-06) Deprecated for new use inline vector normal() const + FOAM_DEPRECATED_FOR(2018-12, "areaNormal() or unitNormal()") { return areaNormal(); }