vtkVortexCore is running very slow

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.

Hello @adeelz92

You should check that the CMake variable VTK_SMP_IMPLEMENTATION_TYPE is set to tbb or openmp to enable multithread computation.

Best,

I tried changing the variable to openmp and built again but no difference.