MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / patchToFace

Class patchToFace

src/meshTools/sets/faceSources/patchToFace/patchToFace.H:50–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

patchToFace.CFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected