triSurfaceMeshFeatures.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) 2013-2015 OpenFOAM Foundation
9  Copyright (C) 2018 OpenCFD Ltd.
10 -------------------------------------------------------------------------------
11 License
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 
27 Class
28  Foam::triSurfaceMeshFeatures
29 
30 Description
31 
32 SourceFiles
33  triSurfaceMeshFeatures.C
34 
35 \*---------------------------------------------------------------------------*/
36 
37 #ifndef triSurfaceMeshFeatures_H
38 #define triSurfaceMeshFeatures_H
39 
41 
42 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
43 
44 namespace Foam
45 {
46 
47 /*---------------------------------------------------------------------------*\
48  Class triSurfaceMeshFeatures Declaration
49 \*---------------------------------------------------------------------------*/
50 
52 :
54 {
55 private:
56 
57  // Private Member Data
58 
59  const scalar includedAngle_;
60 
61  //- Which side of the surface to mesh
63 
64 
65  // Private Member Functions
66 
67  //- No copy construct
69 
70  //- No copy assignment
71  void operator=(const triSurfaceMeshFeatures&) = delete;
72 
73 
74 public:
75 
76  //- Runtime type information
77  TypeName("triSurfaceMeshFeatures");
78 
79 
80  // Constructors
81 
82  //- Construct from dictionary (used by searchableSurface)
84  (
86  const dictionary& dict
87  );
88 
89 
90  //- Destructor
91  virtual ~triSurfaceMeshFeatures() = default;
92 
93 
94  // Member Functions
95 
96  //- Return true for a triSurfaceMesh having features
97  virtual bool hasFeatures() const
98  {
99  return true;
100  }
101 
102  //- Return an extendedFeatureEdgeMesh containing the features
104 };
105 
106 
107 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
108 
109 } // End namespace Foam
110 
111 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
112 
113 #endif
114 
115 // ************************************************************************* //
searchableSurfaceFeatures.H
Foam::extendedEdgeMesh::sideVolumeType
sideVolumeType
Normals point to the outside.
Definition: extendedEdgeMesh.H:117
Foam::triSurfaceMeshFeatures::hasFeatures
virtual bool hasFeatures() const
Return true for a triSurfaceMesh having features.
Definition: triSurfaceMeshFeatures.H:96
Foam::searchableSurface
Base class of (analytical or triangulated) surface. Encapsulates all the search routines....
Definition: searchableSurface.H:69
Foam::dictionary
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:123
Foam::searchableSurfaceFeatures::dict
const dictionary & dict() const
Return a reference to the dictionary.
Definition: searchableSurfaceFeatures.H:132
Foam::triSurfaceMeshFeatures::TypeName
TypeName("triSurfaceMeshFeatures")
Runtime type information.
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::autoPtr
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Definition: HashPtrTable.H:53
Foam::searchableSurfaceFeatures::surface
const searchableSurface & surface() const
Return a reference to the searchable surface.
Definition: searchableSurfaceFeatures.H:126
Foam::triSurfaceMeshFeatures
Definition: triSurfaceMeshFeatures.H:50
Foam::searchableSurfaceFeatures
Decorator that returns the features of a searchable surface.
Definition: searchableSurfaceFeatures.H:53
Foam::triSurfaceMeshFeatures::features
virtual autoPtr< extendedFeatureEdgeMesh > features() const
Return an extendedFeatureEdgeMesh containing the features.
Foam::triSurfaceMeshFeatures::~triSurfaceMeshFeatures
virtual ~triSurfaceMeshFeatures()=default
Destructor.