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
|
\\ / 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
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
const Foam::coordSystem::cartesian Foam::coordSystem::cartesian::null;
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::coordSystem::cartesian::cartesian()
|
Foam::coordSystem::cartesian::cartesian()
|
||||||
|
|||||||
@ -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:
|
|||||||
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 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / 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
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
const Foam::coordSystem::cylindrical Foam::coordSystem::cylindrical::null;
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * Local Functions * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Local Functions * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
namespace Foam
|
namespace Foam
|
||||||
|
|||||||
@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user