diff --git a/src/meshTools/coordinate/systems/cartesianCS.C b/src/meshTools/coordinate/systems/cartesianCS.C index 28a209568b8d1aaf68b10fbeab706084ee8a8f40..50a0a09c58b3e4d2eb366686f2882b0f9e4d7bdd 100644 --- a/src/meshTools/coordinate/systems/cartesianCS.C +++ b/src/meshTools/coordinate/systems/cartesianCS.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2018 OpenCFD Ltd. + \\ / A nd | Copyright (C) 2018-2019 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- | Copyright (C) 2011-2014 OpenFOAM Foundation @@ -40,6 +40,9 @@ namespace coordSystem } +const Foam::coordSystem::cartesian Foam::coordSystem::cartesian::null; + + // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // Foam::coordSystem::cartesian::cartesian() diff --git a/src/meshTools/coordinate/systems/cartesianCS.H b/src/meshTools/coordinate/systems/cartesianCS.H index b5ed32bcc1a9e30a9c475812a389004915eb3e77..4a593c39a757df7d35c89d1f5bda62153914df49 100644 --- a/src/meshTools/coordinate/systems/cartesianCS.H +++ b/src/meshTools/coordinate/systems/cartesianCS.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2018 OpenCFD Ltd. + \\ / A nd | Copyright (C) 2018-2019 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- | Copyright (C) 2011-2013 OpenFOAM Foundation @@ -66,6 +66,12 @@ public: TypeNameNoDebug("cartesian"); + // Static Members + + //- Global (identity) cartesian coordinate system + static const cartesian null; + + // Constructors //- Construct null. This is an identity coordinateSystem. diff --git a/src/meshTools/coordinate/systems/cylindricalCS.C b/src/meshTools/coordinate/systems/cylindricalCS.C index 286f3ecc4aed10a30b15db2da9df42ad1454c39b..9c01f3f2067ffdbf1a372e8f5e66a0fa6e8d2a5b 100644 --- a/src/meshTools/coordinate/systems/cylindricalCS.C +++ b/src/meshTools/coordinate/systems/cylindricalCS.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2018 OpenCFD Ltd. + \\ / A nd | Copyright (C) 2018-2019 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- | Copyright (C) 2011-2016 OpenFOAM Foundation @@ -41,6 +41,9 @@ namespace coordSystem } +const Foam::coordSystem::cylindrical Foam::coordSystem::cylindrical::null; + + // * * * * * * * * * * * * * * * Local Functions * * * * * * * * * * * * * * // namespace Foam diff --git a/src/meshTools/coordinate/systems/cylindricalCS.H b/src/meshTools/coordinate/systems/cylindricalCS.H index d7262f6489b7616ccd89227958c021fbc1232a0e..06d9fe4d9b22c695e7903deefecc6a28e1c350cb 100644 --- a/src/meshTools/coordinate/systems/cylindricalCS.H +++ b/src/meshTools/coordinate/systems/cylindricalCS.H @@ -105,6 +105,12 @@ public: TypeNameNoDebug("cylindrical"); + // Static Members + + //- Global (identity) cylindrical coordinate system + static const cylindrical null; + + // Constructors //- Construct null (identity coordinateSystem)