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-------------------------------------------------------------------------------
10License
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
26Class
27 Foam::searchableBoxFeatures
28
29Description
30
31SourceFiles
32 searchableBoxFeatures.C
33
34\*---------------------------------------------------------------------------*/
35
36#ifndef searchableBoxFeatures_H
37#define searchableBoxFeatures_H
38
40
41// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42
43namespace Foam
44{
45
46/*---------------------------------------------------------------------------*\
47 Class searchableBoxFeatures Declaration
48\*---------------------------------------------------------------------------*/
51:
53{
54private:
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
71public:
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// ************************************************************************* //
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Definition: autoPtr.H:66
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition: dictionary.H:126
sideVolumeType
Normals point to the outside.
virtual ~searchableBoxFeatures()
Destructor.
searchableBoxFeatures(const searchableSurface &surface, const dictionary &dict)
Construct from searchable surface and dictionary.
virtual autoPtr< extendedFeatureEdgeMesh > features() const
Return an extendedFeatureEdgeMesh containing the features.
TypeName("searchableBoxFeatures")
Runtime type information.
virtual bool hasFeatures() const
Return true for a searchable box having features.
Decorator that returns the features of a searchable surface.
const dictionary & dict() const
Return a reference to the dictionary.
const searchableSurface & surface() const
Return a reference to the searchable surface.
Base class of (analytical or triangulated) surface. Encapsulates all the search routines....
Namespace for OpenFOAM.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Definition: typeInfo.H:73