MCPcopy Create free account
hub / github.com/Kitware/ParaView / BuildVTKDataStructures

Function BuildVTKDataStructures

Examples/Catalyst/CFullExample/FEAdaptor.cxx:91–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91void BuildVTKDataStructures(vtkCPInputDataDescription* idd, unsigned int numberOfPoints,
92 double* points, double* velocity, unsigned int numberOfCells, unsigned int* cells,
93 float* pressure)
94{
95 if (VTKGrid == nullptr)
96 {
97 // The grid structure isn't changing so we only build it
98 // the first time it's needed. If we needed the memory
99 // we could delete it and rebuild as necessary.
100 VTKGrid = vtkUnstructuredGrid::New();
101 BuildVTKGrid(numberOfPoints, points, numberOfCells, cells);
102 }
103 UpdateVTKAttributes(idd, numberOfPoints, velocity, numberOfCells, pressure);
104}
105}
106
107void CatalystInitialize(int numScripts, char* scripts[])

Callers 1

CatalystCoProcessFunction · 0.70

Calls 3

BuildVTKGridFunction · 0.70
UpdateVTKAttributesFunction · 0.70
NewFunction · 0.50

Tested by

no test coverage detected