radial.H
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) 2013-2016 OpenFOAM Foundation
9  Copyright (C) 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 Class
28  Foam::extrudeModels::radial
29 
30 Description
31  Extrudes radially according to the Function1 description.
32 
33  The radialCoeffs dictionary entries
34  \table
35  Property | Description | Required | Default
36  R | The radii as a Function1 | yes |
37  \endtable
38 
39 \*---------------------------------------------------------------------------*/
40 
41 #ifndef radial_H
42 #define radial_H
43 
44 #include "extrudeModel.H"
45 #include "Function1.H"
46 
47 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
48 
49 namespace Foam
50 {
51 namespace extrudeModels
52 {
53 
54 /*---------------------------------------------------------------------------*\
55  Class extrudeModels::radial Declaration
56 \*---------------------------------------------------------------------------*/
57 
58 class radial
59 :
60  public extrudeModel
61 {
62  // Private data
63 
65 
66 
67 public:
68 
69  //- Runtime type information
70  TypeName("radial");
71 
72  // Constructors
73 
74  //- Construct from dictionary
75  explicit radial(const dictionary& dict);
76 
77 
78  //- Destructor
79  virtual ~radial() = default;
80 
81 
82  // Member Operators
83 
84  point operator()
85  (
86  const point& surfacePoint,
87  const vector& surfaceNormal,
88  const label layer
89  ) const;
90 };
91 
92 
93 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
94 
95 } // End namespace extrudeModels
96 } // End namespace Foam
97 
98 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
99 
100 #endif
101 
102 // ************************************************************************* //
dictionary dict
radial(const dictionary &dict)
Construct from dictionary.
Definition: radial.C:40
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Definition: dictionary.H:129
TypeName("radial")
Runtime type information.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Definition: HashPtrTable.H:48
virtual ~radial()=default
Destructor.
Namespace for OpenFOAM.