patchIntersectionI.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration | Website: https://openfoam.org
5  \\ / A nd | Copyright (C) 2023 OpenFOAM Foundation
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
11  OpenFOAM is free software: you can redistribute it and/or modify it
12  under the terms of the GNU General Public License as published by
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
16  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19  for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23 
24 \*---------------------------------------------------------------------------*/
25 
26 #include "patchIntersection.H"
27 
28 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
29 
31 {
32  return points_;
33 }
34 
35 
36 inline const Foam::labelList&
38 {
39  return srcPointPoints_;
40 }
41 
42 
43 inline const Foam::labelList&
45 {
46  return tgtPointPoints_;
47 }
48 
49 
52 {
53  return pointSrcPoints_;
54 }
55 
56 
59 {
60  return pointTgtPoints_;
61 }
62 
63 
66 {
67  return srcEdgePoints_;
68 }
69 
70 
73 {
74  return tgtEdgePoints_;
75 }
76 
77 
80 {
81  return pointSrcEdges_;
82 }
83 
84 
87 {
88  return pointTgtEdges_;
89 }
90 
91 
94 {
95  return pointSrcFaces_;
96 }
97 
98 
101 {
102  return pointTgtFaces_;
103 }
104 
105 
107 {
108  return faces_;
109 }
110 
111 
114 {
115  return srcFaceFaces_;
116 }
117 
118 
121 {
122  return tgtFaceFaces_;
123 }
124 
125 
126 inline const Foam::DynamicList<Foam::label>&
128 {
129  return faceSrcFaces_;
130 }
131 
132 
133 inline const Foam::DynamicList<Foam::label>&
135 {
136  return faceTgtFaces_;
137 }
138 
139 
140 // ************************************************************************* //
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
Definition: DynamicList.H:78
const DynamicList< label > & pointSrcFaces() const
The intersection points' source faces, or -1 if the point.
const DynamicList< label > & pointSrcPoints() const
The intersection points' corresponding source points, or -1.
const DynamicList< label > & faceSrcFaces() const
The intersection faces' corresponding source faces, or -1.
const List< DynamicList< label > > & tgtEdgePoints() const
The target edges' intersection points. Ordered along the edge.
DynamicField< point > points_
The intersection points.
const faceList & faces() const
The intersection faces.
const List< DynamicList< label > > & srcFaceFaces() const
The source faces' intersection faces.
const labelList & srcPointPoints() const
The source points' corresponding intersection points.
const DynamicList< label > & pointSrcEdges() const
The intersection points' source edges, or -1 if the point.
const DynamicList< label > & faceTgtFaces() const
The intersection faces' corresponding target faces, or -1.
const DynamicList< label > & pointTgtFaces() const
The intersection points' target faces, or -1 if the point.
const List< DynamicList< label > > & tgtFaceFaces() const
The target faces' intersection faces.
const DynamicList< label > & pointTgtEdges() const
The intersection points' target edges, or -1 if the point.
const labelList & tgtPointPoints() const
The target points' corresponding intersection points.
const pointField & points() const
The intersection points.
const List< DynamicList< label > > & srcEdgePoints() const
The source edges' intersection points. Ordered along the edge.
const DynamicList< label > & pointTgtPoints() const
The intersection points' corresponding target points, or -1.