searchableBoxFeatures.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 -------------------------------------------------------------------------------
10 License
11  This file is part of OpenFOAM.
12 
13  OpenFOAM is free software: you can redistribute it and/or modify it
14  under the terms of the GNU General Public License as published by
15  the Free Software Foundation, either version 3 of the License, or
16  (at your option) any later version.
17 
18  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21  for more details.
22 
23  You should have received a copy of the GNU General Public License
24  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25 
26 Class
27  Foam::searchableBoxFeatures
28 
29 Description
30 
31 SourceFiles
32  searchableBoxFeatures.C
33 
34 \*---------------------------------------------------------------------------*/
35 
36 #ifndef searchableBoxFeatures_H
37 #define searchableBoxFeatures_H
38 
40 
41 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42 
43 namespace Foam
44 {
45 
46 /*---------------------------------------------------------------------------*\
47  Class searchableBoxFeatures Declaration
48 \*---------------------------------------------------------------------------*/
49 
51 :
53 {
54 private:
55 
56  // Private Member Data
57 
58  //- Which side of the box to mesh
60 
61 
62  // Private Member Functions
63 
64  //- No copy construct
66 
67  //- No copy assignment
68  void operator=(const searchableBoxFeatures&) = delete;
69 
70 
71 public:
72 
73  //- Runtime type information
74  TypeName("searchableBoxFeatures");
75 
76 
77  // Constructors
78 
79  //- Construct from searchable surface and dictionary
81  (
83  const dictionary& dict
84  );
85 
86 
87  //- Destructor
88  virtual ~searchableBoxFeatures();
89 
90 
91  // Member Functions
92 
93  //- Return true for a searchable box having features
94  virtual bool hasFeatures() const
95  {
96  return true;
97  }
98 
99  //- Return an extendedFeatureEdgeMesh containing the features
101 };
102 
103 
104 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
105 
106 } // End namespace Foam
107 
108 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
109 
110 #endif
111 
112 // ************************************************************************* //
Foam::searchableBoxFeatures::~searchableBoxFeatures
virtual ~searchableBoxFeatures()
Destructor.
searchableSurfaceFeatures.H
Foam::searchableBoxFeatures::TypeName
TypeName("searchableBoxFeatures")
Runtime type information.
Foam::searchableBoxFeatures
Definition: searchableBoxFeatures.H:49
Foam::extendedEdgeMesh::sideVolumeType
sideVolumeType
Normals point to the outside.
Definition: extendedEdgeMesh.H:117
Foam::searchableSurface
Base class of (analytical or triangulated) surface. Encapsulates all the search routines....
Definition: searchableSurface.H:69
Foam::searchableBoxFeatures::hasFeatures
virtual bool hasFeatures() const
Return true for a searchable box having features.
Definition: searchableBoxFeatures.H:93
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
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::searchableBoxFeatures::features
virtual autoPtr< extendedFeatureEdgeMesh > features() const
Return an extendedFeatureEdgeMesh containing the features.
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::searchableSurfaceFeatures
Decorator that returns the features of a searchable surface.
Definition: searchableSurfaceFeatures.H:53