----------------------------------------------------------------------------
| 5892 | |
| 5893 | //---------------------------------------------------------------------------- |
| 5894 | void 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 | //---------------------------------------------------------------------------- |
| 5916 | void vtkDIYGhostUtilities::CloneInputData(vtkDataSet* input, vtkDataSet* output, int fieldType) |
nothing calls this directly
no test coverage detected