The open source CFD toolbox
primitivePatch.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 OpenFOAM Foundation
9  Copyright (C) 2020 OpenCFD Ltd.
10 -------------------------------------------------------------------------------
12  This file is part of OpenFOAM.
13
14  OpenFOAM is free software: you can redistribute it and/or modify it
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 Typedef
28  Foam::primitivePatch
29
30 Description
31  A PrimitivePatch with a SubList addressing for the faces,
32  const reference for the point field.
33
34  Can be used as addressing for a faceList slice.
35
36 \*---------------------------------------------------------------------------*/
37
38 #ifndef primitivePatch_H
39 #define primitivePatch_H
40
41 #include "PrimitivePatch.H"
42 #include "face.H"
43 #include "SubList.H"
44 #include "pointField.H"
45
46 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
47
48 namespace Foam
49 {
50  typedef PrimitivePatch<SubList<face>, const pointField&>
52 }
53
54 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
55
56 #endif
57
58 // ************************************************************************* //
Foam::pointField
vectorField pointField
pointField is a vectorField.
Definition: pointFieldFwd.H:44
SubList.H
face.H
PrimitivePatch.H
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
pointField.H
Foam::primitivePatch
PrimitivePatch< SubList< face >, const pointField & > primitivePatch
A PrimitivePatch with a SubList addressing for the faces, const reference for the point field.
Definition: primitivePatch.H:51