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

Class boundaryRegion

src/conversion/meshTables/boundaryRegion.H:71–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69\*---------------------------------------------------------------------------*/
70
71class boundaryRegion
72:
73 public Map<dictionary>
74{
75 // Private Member Functions
76
77 //- Disallow default bitwise copy construct
78 boundaryRegion(const boundaryRegion&);
79
80
81public:
82
83 // Constructors
84
85 //- Construct null
86 boundaryRegion();
87
88 //- Construct read from registry, name. instance
89 boundaryRegion
90 (
91 const objectRegistry&,
92 const word& name = "boundaryRegion",
93 const fileName& instance = "constant"
94 );
95
96
97 //- Destructor
98 ~boundaryRegion();
99
100
101 // Member Functions
102
103 //- Append to the end, return index
104 label append(const dictionary&);
105
106 //- Return index corresponding to patch 'name'
107 // returns -1 if not found
108 label findIndex(const word& name) const;
109
110 //- Return a Map of (id => name)
111 Map<word> names() const;
112
113 //- Return a Map of (id => names) selected by patterns
114 Map<word> names(const UList<wordRe>& patterns) const;
115
116 //- Return a Map of (id => type)
117 Map<word> boundaryTypes() const;
118
119 //- Return BoundaryType corresponding to patch 'name'
120 word boundaryType(const word& name) const;
121
122 //- Read constant/boundaryRegion
123 void readDict
124 (
125 const objectRegistry&,
126 const word& name = "boundaryRegion",
127 const fileName& instance = "constant"
128 );

Callers 1

boundaryRegion.CFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected