NURBS3DVolumeI.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) 2007-2020 PCOpt/NTUA
9 Copyright (C) 2013-2020 FOSS GP
10 Copyright (C) 2019 OpenCFD Ltd.
11-------------------------------------------------------------------------------
12License
13 This file is part of OpenFOAM.
14
15 OpenFOAM is free software: you can redistribute it and/or modify it
16 under the terms of the GNU General Public License as published by
17 the Free Software Foundation, either version 3 of the License, or
18 (at your option) any later version.
19
20 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
21 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
22 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
23 for more details.
24
25 You should have received a copy of the GNU General Public License
26 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
27
28\*---------------------------------------------------------------------------*/
29
30
31// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
32
34{
35 return name_;
36}
37
38
40{
41 return activeControlPoints_;
42}
43
44
45inline const Foam::boolList&
47{
48 return activeDesignVariables_;
49}
50
51
53{
54 return cps_;
55}
56
57
59{
60 return cps_;
61}
62
63
65{
66 return confineUMovement_;
67}
68
69
71{
72 return confineVMovement_;
73}
74
75
77{
78 return confineWMovement_;
79}
80
81
83{
84 return basisU_;
85}
86
87
89{
90 return basisV_;
91}
92
93
95{
96 return basisW_;
97}
98
99
101{
102 return mesh_;
103}
104
105
107{
108 return dict_;
109}
110
111
112// ************************************************************************* //
const boolList & getActiveDesignVariables() const
Which design variables are active?
bool confineVMovement() const
bool confineWMovement() const
const dictionary & dict() const
Get dictionary.
const NURBSbasis & basisV() const
const NURBSbasis & basisW() const
const fvMesh & mesh() const
Get mesh.
const word & name() const
Get box name.
bool confineUMovement() const
Get confine movements.
const boolList & getActiveCPs() const
Which control points are active?
const NURBSbasis & basisU() const
Get basis functions.
const vectorField & getControlPoints() const
Get control points.
NURBSbasis function. Used to construct NURBS curves, surfaces and volumes.
Definition: NURBSbasis.H:56
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:126
Mesh data needed to do the Finite Volume discretisation.
Definition: fvMesh.H:91
A class for handling words, derived from Foam::string.
Definition: word.H:68