| 48 | \*---------------------------------------------------------------------------*/ |
| 49 | |
| 50 | class zoneToFace |
| 51 | : |
| 52 | public topoSetSource |
| 53 | { |
| 54 | |
| 55 | // Private data |
| 56 | |
| 57 | //- Add usage string |
| 58 | static addToUsageTable usage_; |
| 59 | |
| 60 | //- Name/regular expression of cellZone |
| 61 | wordRe zoneName_; |
| 62 | |
| 63 | |
| 64 | // Private Member Functions |
| 65 | |
| 66 | void combine(topoSet& set, const bool add) const; |
| 67 | |
| 68 | |
| 69 | public: |
| 70 | |
| 71 | //- Runtime type information |
| 72 | TypeName("zoneToFace"); |
| 73 | |
| 74 | // Constructors |
| 75 | |
| 76 | //- Construct from components |
| 77 | zoneToFace |
| 78 | ( |
| 79 | const polyMesh& mesh, |
| 80 | const word& zoneName |
| 81 | ); |
| 82 | |
| 83 | //- Construct from dictionary |
| 84 | zoneToFace |
| 85 | ( |
| 86 | const polyMesh& mesh, |
| 87 | const dictionary& dict |
| 88 | ); |
| 89 | |
| 90 | //- Construct from Istream |
| 91 | zoneToFace |
| 92 | ( |
| 93 | const polyMesh& mesh, |
| 94 | Istream& |
| 95 | ); |
| 96 | |
| 97 | |
| 98 | //- Destructor |
| 99 | virtual ~zoneToFace(); |
| 100 | |
| 101 | |
| 102 | // Member Functions |
| 103 | |
| 104 | virtual sourceType setType() const |
| 105 | { |
| 106 | return FACESETSOURCE; |
| 107 | } |