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-2022 OpenCFD Ltd.
10-------------------------------------------------------------------------------
11License
12 This file is part of OpenFOAM.
13
14 OpenFOAM is free software: you can redistribute it and/or modify it
15 under the terms of the GNU General Public License as published by
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
27Typedef
28 Foam::primitivePatch
29
30Description
31 A PrimitivePatch with a SubList \em addressing for the faces,
32 const reference for the point field.
33
34 Can be used as addressing for a faceList slice.
35
36Typedef
37 Foam::primitiveFacePatch
38
39Description
40 A PrimitivePatch with List \em storage for the faces,
41 const reference for the point field.
42
43 Can be used to store faces.
44
45\*---------------------------------------------------------------------------*/
46
47#ifndef Foam_primitivePatch_H
48#define Foam_primitivePatch_H
49
50#include "PrimitivePatch.H"
51#include "face.H"
52#include "SubList.H"
53#include "List.H"
54#include "pointField.H"
55
56// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
57
58namespace Foam
59{
60
61typedef
62 PrimitivePatch<SubList<face>, const pointField&>
64
65typedef
68}
69
70// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
71
72#endif
73
74// ************************************************************************* //
A list of faces which address into the list of points.
Namespace for OpenFOAM.
vectorField pointField
pointField is a vectorField.
Definition: pointFieldFwd.H:44
PrimitivePatch< SubList< face >, const pointField & > primitivePatch
A PrimitivePatch with a SubList addressing for the faces, const reference for the point field.
PrimitivePatch< List< face >, const pointField & > primitiveFacePatch
A PrimitivePatch with List storage for the faces, const reference for the point field.