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-2015 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  Foam::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
60 
61  //- Label of the point
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 // ************************************************************************* //
List.H
p
p
Definition: pEqn.H:62
HashTable.H
extendedFeatureEdgeMesh.H
Foam::label
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Definition: label.H:59
Foam::pointFeatureEdgesTypes::~pointFeatureEdgesTypes
~pointFeatureEdgesTypes()
Destructor.
Foam::pointFeatureEdgesTypes::pointFeatureEdgesTypes
pointFeatureEdgesTypes(const extendedFeatureEdgeMesh &feMesh, const label pointLabel)
Construct from components.
Foam
Namespace for OpenFOAM.
Definition: combustionModel.C:30
Foam::HashTable
An STL-conforming hash table.
Definition: HashTable.H:61
Foam::List
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Definition: HashTable.H:59
Foam::pointFeatureEdgesTypes::calcPointFeatureEdgesTypes
List< extendedFeatureEdgeMesh::edgeStatus > calcPointFeatureEdgesTypes()
Fill the pointFeatureEdgesType class with the types of feature.
Foam::pointFeatureEdgesTypes
Hold the types of feature edges attached to the point.
Definition: pointFeatureEdgesTypes.H:51
Foam::extendedFeatureEdgeMesh
extendedEdgeMesh + IO.
Definition: extendedFeatureEdgeMesh.H:52
Foam::pointFeatureEdgesTypes::feMesh_
const extendedFeatureEdgeMesh & feMesh_
Reference to the feature edge mesh.
Definition: pointFeatureEdgesTypes.H:58
Foam::pointFeatureEdgesTypes::pointLabel_
label pointLabel_
Label of the point.
Definition: pointFeatureEdgesTypes.H:61
Foam::Ostream
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition: Ostream.H:53