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-2019 OpenCFD Ltd.
10 -------------------------------------------------------------------------------
11 License
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 
34 namespace Foam
35 {
36 namespace coordSystem
37 {
40 }
41 }
42 
43 
45 
46 
47 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
48 
50 :
52 {}
53 
54 
56 :
57  coordinateSystem(csys)
58 {}
59 
60 
62 :
63  coordinateSystem(std::move(csys))
64 {}
65 
66 
68 :
69  coordinateSystem(std::move(csys))
70 {}
71 
72 
74 (
75  const point& origin,
76  const coordinateRotation& crot
77 )
78 :
79  coordinateSystem(origin, crot)
80 {}
81 
82 
84 (
85  const point& origin,
86  const vector& axis,
87  const vector& dirn
88 )
89 :
90  coordinateSystem(origin, axis, dirn)
91 {}
92 
93 
95 (
96  const word& name,
97  const point& origin,
98  const vector& axis,
99  const vector& dirn
100 )
101 :
102  coordinateSystem(name, origin, axis, dirn)
103 {}
104 
105 
107 (
108  const word& name,
109  const dictionary& dict
110 )
111 :
113 {}
114 
115 
117 :
119 {}
120 
121 
123 (
124  const dictionary& dict,
125  const word& dictName
126 )
127 :
129 {}
130 
131 
132 // ************************************************************************* //
Foam::coordSystem::cartesian::cartesian
cartesian()
Construct null. This is an identity coordinateSystem.
Definition: cartesianCS.C:49
Foam::word
A class for handling words, derived from Foam::string.
Definition: word.H:62
dictName
const word dictName("blockMeshDict")
cartesianCS.H
Foam::coordinateRotation
User specification of a coordinate rotation.
Definition: coordinateRotation.H:77
Foam::name
word name(const complex &c)
Return string representation of complex.
Definition: complex.C:76
dict
dictionary dict
Definition: searchingEngine.H:14
Foam::dictionary
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:121
addToRunTimeSelectionTable.H
Macros for easy insertion into run-time selection tables.
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::autoPtr
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Definition: HashPtrTable.H:53
Foam::coordSystem::defineTypeName
defineTypeName(cartesian)
Foam::coordSystem::cartesian
A Cartesian coordinate system.
Definition: cartesianCS.H:69
Foam::Vector< scalar >
Foam::coordSystem::addToRunTimeSelectionTable
addToRunTimeSelectionTable(coordinateSystem, cartesian, dictionary)
Foam::coordinateSystem
Base class for coordinate system specification, the default coordinate system type is cartesian .
Definition: coordinateSystem.H:122
Foam::coordSystem::cartesian::null
static const cartesian null
Global (identity) cartesian coordinate system.
Definition: cartesianCS.H:82