fromFile.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) 2020 PCOpt/NTUA
9  Copyright (C) 2020 FOSS GP
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 Class
29  Foam::fromFile
30 
31 Description
32  Reads control points from constant/controlPoints
33 
34 SourceFiles
35  fromFile.C
36 
37 \*---------------------------------------------------------------------------*/
38 
39 #ifndef fromFile_H
40 #define fromFile_H
41 
43 
44 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45 
46 namespace Foam
47 {
48 
49 /*---------------------------------------------------------------------------*\
50  Class fromFile Declaration
51 \*---------------------------------------------------------------------------*/
52 
53 class fromFile
54 :
56 {
57 
58 protected:
59 
60  // Protected Member Functions
61 
62  //- Compute control points
63  virtual void computeControlPoints();
64 
65 
66 private:
67 
68  // Private Member Functions
69 
70  //- No copy construct
71  fromFile(const fromFile&) = delete;
72 
73  //- No copy assignment
74  void operator=(const fromFile&) = delete;
75 
76 
77 public:
78 
79  //- Runtime type information
80  TypeName("fromFile");
81 
82 
83  // Constructors
84 
85  //- Construct from components
86  fromFile(NURBS3DVolume& box);
87 
88 
89  //- Destructor
90  virtual ~fromFile() = default;
91 };
92 
93 
94 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
95 
96 } // End namespace Foam
97 
98 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
99 
100 #endif
101 
102 // ************************************************************************* //
Foam::NURBS3DVolume
NURBS3DVolume morpher. Includes support functions for gradient computations Base class providing supp...
Definition: NURBS3DVolume.H:72
Foam::fromFile::~fromFile
virtual ~fromFile()=default
Destructor.
controlPointsDefinition.H
Foam::fromFile::computeControlPoints
virtual void computeControlPoints()
Compute control points.
Definition: fromFile.C:51
Foam::fromFile
Reads control points from constant/controlPoints.
Definition: fromFile.H:52
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::fromFile::TypeName
TypeName("fromFile")
Runtime type information.
Foam::controlPointsDefinition
Abstract base for selecting how to construct the control points of a volumetric B-Splines morpher.
Definition: controlPointsDefinition.H:52