OpenFOAM: API Guide
v2112
The open source CFD toolbox
profileModelList.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) 2011-2013 OpenFOAM Foundation
9
-------------------------------------------------------------------------------
10
License
11
This file is part of OpenFOAM.
12
13
OpenFOAM is free software: you can redistribute it and/or modify it
14
under the terms of the GNU General Public License as published by
15
the Free Software Foundation, either version 3 of the License, or
16
(at your option) any later version.
17
18
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21
for more details.
22
23
You should have received a copy of the GNU General Public License
24
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25
26
Class
27
Foam::profileModelList
28
29
Description
30
Base class for profile models
31
32
SourceFiles
33
profileModelList.C
34
35
\*---------------------------------------------------------------------------*/
36
37
#ifndef profileModelList_H
38
#define profileModelList_H
39
40
#include "
PtrList.H
"
41
#include "
profileModel.H
"
42
43
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
44
45
namespace
Foam
46
{
47
48
/*---------------------------------------------------------------------------*\
49
Class profileModelList Declaration
50
\*---------------------------------------------------------------------------*/
51
52
class
profileModelList
53
:
54
public
PtrList
<profileModel>
55
{
56
protected
:
57
58
// Protected Data
59
60
//- Dictionary
61
const
dictionary
dict_
;
62
63
64
public
:
65
66
//- Constructor
67
profileModelList
(
const
dictionary
&
dict
,
const
bool
readFields
=
true
);
68
69
//- Destructor
70
~profileModelList
() =
default
;
71
72
73
// Member Functions
74
75
//- Set blade->profile addressing
76
void
connectBlades
77
(
78
const
List<word>
&
names
,
79
List<label>
& addr
80
)
const
;
81
};
82
83
84
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
85
86
}
// End namespace Foam
87
88
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
89
90
#endif
91
92
// ************************************************************************* //
Foam::profileModelList::dict_
const dictionary dict_
Dictionary.
Definition:
profileModelList.H:60
Foam::profileModelList::~profileModelList
~profileModelList()=default
Destructor.
Foam::profileModelList::profileModelList
profileModelList(const dictionary &dict, const bool readFields=true)
Constructor.
Definition:
profileModelList.C:33
Foam::profileModelList
Base class for profile models.
Definition:
profileModelList.H:51
Foam::PtrList
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
Definition:
List.H:59
dict
dictionary dict
Definition:
searchingEngine.H:14
Foam::dictionary
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition:
dictionary.H:123
Foam
Namespace for OpenFOAM.
Definition:
atmBoundaryLayer.C:33
Foam::readFields
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const wordHashSet &selectedFields, LIFOStack< regIOobject * > &storedObjects)
Read the selected GeometricFields of the templated type.
Definition:
ReadFieldsTemplates.C:312
Foam::List< word >
PtrList.H
Foam::profileModelList::connectBlades
void connectBlades(const List< word > &names, List< label > &addr) const
Set blade->profile addressing.
Definition:
profileModelList.C:73
Foam::PtrListOps::names
List< word > names(const UPtrList< T > &list, const UnaryMatchPredicate &matcher)
profileModel.H
src
fvOptions
sources
derived
rotorDiskSource
profileModel
profileModelList.H
Generated by
1.8.17
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.