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