searchablePlateFeatures.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::searchablePlateFeatures
28
29Description
30
31SourceFiles
32 searchablePlateFeatures.C
33
34\*---------------------------------------------------------------------------*/
35
36#ifndef searchablePlateFeatures_H
37#define searchablePlateFeatures_H
38
40
41// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42
43namespace Foam
44{
45
46/*---------------------------------------------------------------------------*\
47 Class searchablePlateFeatures Declaration
48\*---------------------------------------------------------------------------*/
51:
53{
54private:
55
56 //- To initialise edges.
57 static edgeList calcEdges(const label[4][2]);
58
59
60 // Private Member Data
61
62 //- Which side of the plate to mesh
64
65
66 // Private Member Functions
67
68 //- No copy construct
70
71 //- No copy assignment
72 void operator=(const searchablePlateFeatures&) = delete;
73
74
75public:
76
77 //- Runtime type information
78 TypeName("searchablePlateFeatures");
79
80
81 // Static data members
82
83 //- Edge to point addressing
84 static const edgeList edges;
85
86
87 // Constructors
88
89 //- Construct from searchable surface and dictionary
91 (
93 const dictionary& dict
94 );
95
96
97 //- Destructor
99
100
101 // Member Functions
102
103 //- Return true for a searchable plate having features
104 virtual bool hasFeatures() const
105 {
106 return true;
107 }
108
109 //- Return an extendedFeatureEdgeMesh containing the features
111};
112
113
114// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
115
116} // End namespace Foam
117
118// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
119
120#endif
121
122// ************************************************************************* //
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.
static const edgeList edges
Edge to point addressing.
searchablePlateFeatures(const searchableSurface &surface, const dictionary &dict)
Construct from searchable surface and dictionary.
virtual autoPtr< extendedFeatureEdgeMesh > features() const
Return an extendedFeatureEdgeMesh containing the features.
virtual bool hasFeatures() const
Return true for a searchable plate having features.
TypeName("searchablePlateFeatures")
Runtime type information.
virtual ~searchablePlateFeatures()
Destructor.
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