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

Class iNew

src/sampling/sampledSet/sampledSet/sampledSet.H:174–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172 //- Class used for the read-construction of
173 // PtrLists of sampledSet
174 class iNew
175 {
176 const polyMesh& mesh_;
177 const meshSearch& searchEngine_;
178
179 public:
180
181 iNew(const polyMesh& mesh, const meshSearch& searchEngine)
182 :
183 mesh_(mesh),
184 searchEngine_(searchEngine)
185 {}
186
187 autoPtr<sampledSet> operator()(Istream& is) const
188 {
189 word name(is);
190 dictionary dict(is);
191 return sampledSet::New(name, mesh_, searchEngine_, dict);
192 }
193 };
194
195
196 // Constructors

Callers 2

readFunction · 0.50
correctFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected