mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: add global identity cartesian and cylindrical systems (#863)
This commit is contained in:
committed by
Andrew Heather
parent
55b1c57275
commit
6e17bf616e
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user