Loading...
Searching...
No Matches
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-2023 PCOpt/NTUA
9 Copyright (C) 2013-2023 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 * * * * * * * * * * * * * //
33inline const Foam::word& Foam::NURBS3DVolume::name() const
34{
35 return name_;
36}
37
38
43
44
49}
50
53{
54 return cps_;
55}
56
61}
62
65{
66 return confineUMovement_;
67}
68
71{
72 return confineVMovement_;
73}
74
77{
78 return confineWMovement_;
79}
80
83{
84 return basisU_;
85}
86
89{
90 return basisV_;
91}
92
93
95{
96 return basisW_;
97}
98
99
104}
105
108{
109 return mesh_;
110}
111
112
114{
115 return dict_;
116}
117
118
119// ************************************************************************* //
const fvMesh & mesh_
const boolList & getActiveDesignVariables() const
Which design variables are active?
bool confineVMovement() const
boolList activeDesignVariables_
Which design variables are changed in an optimisation.
NURBSbasis basisU_
NURBS basis functions.
label confineUMovement_
Confine movement in certain directions and control points. Refers to the local system.
bool confineWMovement() const
const dictionary & dict() const
Get dictionary.
vectorField cps_
The volumetric B-Splines control points.
const NURBSbasis & basisV() const
const NURBSbasis & basisW() const
const fvMesh & mesh() const
Get mesh.
Vector< label > nCPsPerDirection() const
Get number of control points per direction.
const word & name() const
Get box name.
bool confineUMovement() const
Get confine movements.
const boolList & getActiveCPs() const
Which control points are active?
boolList activeControlPoints_
Which of the cps are moved in an optimisation.
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:52
Templated 3D Vector derived from VectorSpace adding construction from 3 components,...
Definition Vector.H:61
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition dictionary.H:133
Mesh data needed to do the Finite Volume discretisation.
Definition fvMesh.H:85
A class for handling words, derived from Foam::string.
Definition word.H:66
Field< vector > vectorField
Specialisation of Field<T> for vector.
List< bool > boolList
A List of bools.
Definition List.H:60