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

Method CloneInputData

Parallel/DIY/vtkDIYGhostUtilities.cxx:5894–5913  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

5892
5893//----------------------------------------------------------------------------
5894void vtkDIYGhostUtilities::CloneInputData(std::vector<vtkDataSet*>& inputs,
5895 std::vector<vtkDataSet*>& outputs, bool syncCell, bool syncPoint)
5896{
5897 auto outputIter = outputs.begin();
5898 for (const auto& input : inputs)
5899 {
5900 vtkDataSet* output = *outputIter;
5901 output->CopyStructure(input);
5902 outputIter++;
5903
5904 if (syncCell)
5905 {
5906 CloneInputData(input, output, vtkDataSet::AttributeTypes::CELL);
5907 }
5908 if (syncPoint)
5909 {
5910 CloneInputData(input, output, vtkDataSet::AttributeTypes::POINT);
5911 }
5912 }
5913}
5914
5915//----------------------------------------------------------------------------
5916void vtkDIYGhostUtilities::CloneInputData(vtkDataSet* input, vtkDataSet* output, int fieldType)

Callers

nothing calls this directly

Calls 15

GetGlobalIdsMethod · 0.80
GetProcessIdsMethod · 0.80
GetAbstractArrayMethod · 0.80
SetGlobalIdsMethod · 0.80
SetProcessIdsMethod · 0.80
beginMethod · 0.45
CopyStructureMethod · 0.45
GetAttributesMethod · 0.45
GetGhostArrayMethod · 0.45
RemoveArrayMethod · 0.45
GetNameMethod · 0.45
CopyAllOnMethod · 0.45

Tested by

no test coverage detected