Skip to content
Snippets Groups Projects
Commit 6e17bf61 authored by Mark OLESEN's avatar Mark OLESEN Committed by Andrew Heather
Browse files

ENH: add global identity cartesian and cylindrical systems (#863)

parent 55b1c572
Branches
Tags
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2018 OpenCFD Ltd. \\ / A nd | Copyright (C) 2018-2019 OpenCFD Ltd.
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
| Copyright (C) 2011-2014 OpenFOAM Foundation | Copyright (C) 2011-2014 OpenFOAM Foundation
...@@ -40,6 +40,9 @@ namespace coordSystem ...@@ -40,6 +40,9 @@ namespace coordSystem
} }
const Foam::coordSystem::cartesian Foam::coordSystem::cartesian::null;
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
Foam::coordSystem::cartesian::cartesian() Foam::coordSystem::cartesian::cartesian()
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2018 OpenCFD Ltd. \\ / A nd | Copyright (C) 2018-2019 OpenCFD Ltd.
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
| Copyright (C) 2011-2013 OpenFOAM Foundation | Copyright (C) 2011-2013 OpenFOAM Foundation
...@@ -66,6 +66,12 @@ public: ...@@ -66,6 +66,12 @@ public:
TypeNameNoDebug("cartesian"); TypeNameNoDebug("cartesian");
// Static Members
//- Global (identity) cartesian coordinate system
static const cartesian null;
// Constructors // Constructors
//- Construct null. This is an identity coordinateSystem. //- Construct null. This is an identity coordinateSystem.
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2018 OpenCFD Ltd. \\ / A nd | Copyright (C) 2018-2019 OpenCFD Ltd.
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
| Copyright (C) 2011-2016 OpenFOAM Foundation | Copyright (C) 2011-2016 OpenFOAM Foundation
...@@ -41,6 +41,9 @@ namespace coordSystem ...@@ -41,6 +41,9 @@ namespace coordSystem
} }
const Foam::coordSystem::cylindrical Foam::coordSystem::cylindrical::null;
// * * * * * * * * * * * * * * * Local Functions * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * Local Functions * * * * * * * * * * * * * * //
namespace Foam namespace Foam
......
...@@ -105,6 +105,12 @@ public: ...@@ -105,6 +105,12 @@ public:
TypeNameNoDebug("cylindrical"); TypeNameNoDebug("cylindrical");
// Static Members
//- Global (identity) cylindrical coordinate system
static const cylindrical null;
// Constructors // Constructors
//- Construct null (identity coordinateSystem) //- Construct null (identity coordinateSystem)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment