ENH: autoLayerDriver: better layering information message
[OpenFOAM-2.0.x.git] / src / sampling / sampledSet / midPointAndFace / midPointAndFaceSet.H
blob1fa80f79293a668b0ecae116216b0cc58db953da
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright (C) 2011 OpenFOAM Foundation
6      \\/     M anipulation  |
7 -------------------------------------------------------------------------------
8 License
9     This file is part of OpenFOAM.
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.
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.
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/>.
24 Class
25     Foam::midPointAndFaceSet
27 Description
29 SourceFiles
30     midPointAndFaceSet.C
32 \*---------------------------------------------------------------------------*/
34 #ifndef midPointAndFaceSet_H
35 #define midPointAndFaceSet_H
37 #include "faceOnlySet.H"
39 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
41 namespace Foam
44 // Forward declaration of classes
45 class meshSearch;
47 /*---------------------------------------------------------------------------*\
48                            Class midPointAndFaceSet Declaration
49 \*---------------------------------------------------------------------------*/
51 class midPointAndFaceSet
53     public faceOnlySet
56     // Private Member Functions
58         void genSamples();
61 public:
63     //- Runtime type information
64     TypeName("midPointAndFace");
67     // Constructors
69         //- Construct from components
70         midPointAndFaceSet
71         (
72             const word& name,
73             const polyMesh& mesh,
74             meshSearch& searchEngine,
75             const word& axis,
76             const point& start,
77             const point& end
78         );
80         //- Construct from dictionary
81         midPointAndFaceSet
82         (
83             const word& name,
84             const polyMesh& mesh,
85             meshSearch& searchEngine,
86             const dictionary& dict
87         );
90     //- Destructor
91     virtual ~midPointAndFaceSet();
95 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
97 } // End namespace Foam
99 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
101 #endif
103 // ************************************************************************* //