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 -------------------------------------------------------------------------------
12 License
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 
45 inline 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 // ************************************************************************* //
Foam::NURBS3DVolume::dict
const dictionary & dict() const
Get dictionary.
Definition: NURBS3DVolumeI.H:106
Foam::NURBS3DVolume::name_
word name_
Definition: NURBS3DVolume.H:82
Foam::word
A class for handling words, derived from Foam::string.
Definition: word.H:65
Foam::NURBS3DVolume::basisV
const NURBSbasis & basisV() const
Definition: NURBS3DVolumeI.H:88
Foam::NURBS3DVolume::confineWMovement
bool confineWMovement() const
Definition: NURBS3DVolumeI.H:76
Foam::NURBSbasis
NURBSbasis function. Used to construct NURBS curves, surfaces and volumes.
Definition: NURBSbasis.H:55
Foam::Field< vector >
Foam::NURBS3DVolume::confineVMovement
bool confineVMovement() const
Definition: NURBS3DVolumeI.H:70
Foam::NURBS3DVolume::getActiveDesignVariables
const boolList & getActiveDesignVariables() const
Which design variables are active?
Definition: NURBS3DVolumeI.H:46
Foam::dictionary
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:123
Foam::fvMesh
Mesh data needed to do the Finite Volume discretisation.
Definition: fvMesh.H:85
Foam::NURBS3DVolume::basisW
const NURBSbasis & basisW() const
Definition: NURBS3DVolumeI.H:94
Foam::NURBS3DVolume::getActiveCPs
const boolList & getActiveCPs() const
Which control points are active?
Definition: NURBS3DVolumeI.H:39
Foam::List< bool >
Foam::NURBS3DVolume::name
const word & name() const
Get box name.
Definition: NURBS3DVolumeI.H:33
Foam::NURBS3DVolume::confineUMovement
bool confineUMovement() const
Get confine movements.
Definition: NURBS3DVolumeI.H:64
Foam::NURBS3DVolume::mesh
const fvMesh & mesh() const
Get mesh.
Definition: NURBS3DVolumeI.H:100
Foam::NURBS3DVolume::basisU
const NURBSbasis & basisU() const
Get basis functions.
Definition: NURBS3DVolumeI.H:82
Foam::NURBS3DVolume::getControlPoints
const vectorField & getControlPoints() const
Get control points.
Definition: NURBS3DVolumeI.H:52