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 @@
========= |
\\ / 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()
......
......@@ -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.
......
......@@ -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
......
......@@ -105,6 +105,12 @@ public:
TypeNameNoDebug("cylindrical");
// Static Members
//- Global (identity) cylindrical coordinate system
static const cylindrical null;
// Constructors
//- Construct null (identity coordinateSystem)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment