vtkVortexCore in C++ is running very very slow . It takes around 30 minuntes to get the results. The same code works fine in vtk-python installed with pip. The version for both python and C++ is same, 9.1.
vtkNew<vtkVortexCore> vortexCore;
vortexCore->SetInputArrayToProcess(0, 0, 0, vtkDataObject::FIELD_ASSOCIATION_POINTS, "velocity");
vortexCore->SetInputData(reader->GetOutput());
vortexCore->Update();
Enivronment
Windows: 8.1
Build Tool: Visual Studio 2017
I used default options to build vtk using cmake and visual studio 2017. Any suggestion would be appreciated.