cartesianCS.C
Go to the documentation of this file.
1/*---------------------------------------------------------------------------*\
2 ========= |
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4 \\ / O peration |
5 \\ / A nd | www.openfoam.com
6 \\/ M anipulation |
7-------------------------------------------------------------------------------
8 Copyright (C) 2011-2014 OpenFOAM Foundation
9 Copyright (C) 2018-2021 OpenCFD Ltd.
10-------------------------------------------------------------------------------
11License
12 This file is part of OpenFOAM.
13
14 OpenFOAM is free software: you can redistribute it and/or modify it
15 under the terms of the GNU General Public License as published by
16 the Free Software Foundation, either version 3 of the License, or
17 (at your option) any later version.
18
19 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
20 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22 for more details.
23
24 You should have received a copy of the GNU General Public License
25 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
26
27\*---------------------------------------------------------------------------*/
28
29#include "cartesianCS.H"
31
32// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
33
34namespace Foam
35{
36namespace coordSystem
37{
40}
41}
42
43
45
46
47// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
48
50:
52{}
53
54
56:
58{}
59
60
62:
63 coordinateSystem(std::move(csys))
64{}
65
66
68:
69 coordinateSystem(std::move(csys))
70{}
71
72
74:
76{}
77
78
80(
81 const point& origin,
82 const coordinateRotation& crot
83)
84:
85 coordinateSystem(origin, crot)
86{}
87
88
90(
91 const point& origin,
92 const vector& axis,
93 const vector& dirn
94)
95:
96 coordinateSystem(origin, axis, dirn)
97{}
98
99
101(
102 const word& name,
103 const point& origin,
104 const vector& axis,
105 const vector& dirn
106)
107:
108 coordinateSystem(name, origin, axis, dirn)
109{}
110
111
113(
114 const word& name,
115 const dictionary& dict
116)
117:
119{}
120
121
123:
125{}
126
127
129(
130 const dictionary& dict,
131 const word& dictName
132)
133:
135{}
136
137
138// ************************************************************************* //
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Definition: autoPtr.H:66
A Cartesian coordinate system.
Definition: cartesianCS.H:72
cartesian()
Default construct. This is an identity coordinate system.
Definition: cartesianCS.C:49
static const cartesian null
Global (identity) cartesian coordinate system.
Definition: cartesianCS.H:82
User specification of a coordinate rotation.
Base class for coordinate system specification, the default coordinate system type is cartesian .
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:126
A class for handling words, derived from Foam::string.
Definition: word.H:68
#define defineTypeName(Type)
Define the typeName.
Definition: className.H:96
const word dictName("faMeshDefinition")
Namespace for OpenFOAM.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
Definition: exprTraits.C:59
dictionary dict