MCPcopy Create free account
hub / github.com/Kitware/VTK / ReadMesh

Method ReadMesh

IO/Legacy/vtkDataReader.cxx:181–197  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

179
180//------------------------------------------------------------------------------
181int vtkDataReader::ReadMesh(
182 int piece, int npieces, int nghosts, int timestep, vtkDataObject* output)
183{
184 // Not a parallel reader. Cannot handle anything other than the first piece,
185 // which will have everything.
186 if (piece > 0)
187 {
188 return 1;
189 }
190
191 if (this->ReadFromInputString)
192 {
193 return this->ReadMeshSimple(std::string(), output);
194 }
195
196 return this->Superclass::ReadMesh(piece, npieces, nghosts, timestep, output);
197}
198
199//------------------------------------------------------------------------------
200void vtkDataReader::SetInputString(const char* in)

Callers

nothing calls this directly

Calls 2

stringClass · 0.50
ReadMeshSimpleMethod · 0.45

Tested by

no test coverage detected