pointFeatureEdgesTypes.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 | Copyright (C) 2012-2013 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 Class
25  pointFeatureEdgesTypes
26 
27 Description
28  Holds information on the types of feature edges attached to feature points.
29 
30 SourceFiles
31  pointFeatureEdgesTypes.C
32 
33 \*---------------------------------------------------------------------------*/
34 
35 #ifndef pointFeatureEdgesTypes_H
36 #define pointFeatureEdgesTypes_H
37 
38 #include "HashTable.H"
40 #include "List.H"
41 
42 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
43 
44 namespace Foam
45 {
46 
47 /*---------------------------------------------------------------------------*\
48  Class pointFeatureEdgesTypes Declaration
49 \*---------------------------------------------------------------------------*/
50 
51 //- Hold the types of feature edges attached to the point.
53 :
54  public HashTable<label, extendedFeatureEdgeMesh::edgeStatus>
55 {
56  // Private data
57 
58  //- Reference to the feature edge mesh
59  const extendedFeatureEdgeMesh& feMesh_;
60 
61  //- label of the point
62  label pointLabel_;
63 
64 
65 public:
66 
67  // Constructors
68 
69  //- Construct from components
71  (
72  const extendedFeatureEdgeMesh& feMesh,
73  const label pointLabel
74  );
75 
76 
77  //- Destructor
79 
80 
81  // Member Functions
82 
83  //- Fill the pointFeatureEdgesType class with the types of feature
84  // edges that are attached to the point.
86 
87 
88  // Info
89 
90  friend Ostream& operator<<
91  (
92  Ostream& os,
94  );
95 };
96 
97 
98 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
99 
100 } // End namespace Foam
101 
102 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
103 
104 #endif
105 
106 // ************************************************************************* //
volScalarField & p
Definition: createFields.H:51
Hold the types of feature edges attached to the point.
List< extendedFeatureEdgeMesh::edgeStatus > calcPointFeatureEdgesTypes()
Fill the pointFeatureEdgesType class with the types of feature.
pointFeatureEdgesTypes(const extendedFeatureEdgeMesh &feMesh, const label pointLabel)
Construct from components.
~pointFeatureEdgesTypes()
Destructor.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Definition: Ostream.H:54
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Definition: HashTable.H:60
An STL-conforming hash table.
Definition: HashTable.H:62