1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
7 -------------------------------------------------------------------------------
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
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/>.
28 A topoSetSource to select cells based on usage in a cellSet.
33 \*---------------------------------------------------------------------------*/
35 #ifndef setToCellZone_H
36 #define setToCellZone_H
38 #include "topoSetSource.H"
40 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45 /*---------------------------------------------------------------------------*\
46 Class setToCellZone Declaration
47 \*---------------------------------------------------------------------------*/
56 static addToUsageTable usage_;
58 //- Name of set to use
63 //- Runtime type information
64 TypeName("setToCellZone");
68 //- Construct from components
75 //- Construct from dictionary
79 const dictionary& dict
82 //- Construct from Istream
91 virtual ~setToCellZone();
96 virtual sourceType setType() const
98 return CELLZONESOURCE;
101 virtual void applyToSet
103 const topoSetSource::setAction action,
110 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
112 } // End namespace Foam
114 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
118 // ************************************************************************* //