diff --git a/src/Mod/Fem/App/VTKExtensions/vtkCleanUnstructuredGrid.cxx b/src/Mod/Fem/App/VTKExtensions/vtkCleanUnstructuredGrid.cxx index 94118758d7..baeaae7b75 100644 --- a/src/Mod/Fem/App/VTKExtensions/vtkCleanUnstructuredGrid.cxx +++ b/src/Mod/Fem/App/VTKExtensions/vtkCleanUnstructuredGrid.cxx @@ -284,7 +284,7 @@ struct SpatialDensityStrategy: public WeighingStrategy } distribute(0, ds->GetNumberOfCells()); // Merits a dedicated struct with a reduce operation - // collisions occuring in the += operation + // collisions occurring in the += operation // vtkSMPTools::For(0, ds->GetNumberOfCells(), distribute); // Normalize spatial densities with respect to point map { @@ -300,7 +300,7 @@ struct SpatialDensityStrategy: public WeighingStrategy }; computeMasses(0, ds->GetNumberOfPoints()); // Merits a dedicated struct with a reduce operation - // collisions occuring in the += operation + // collisions occurring in the += operation // vtkSMPTools::For(0, ds->GetNumberOfPoints(), computeMasses); vtkSMPTools::For(0, ds->GetNumberOfPoints(), @@ -364,7 +364,7 @@ struct WeighingWorklet }; weighing(0, inArray->GetNumberOfTuples()); // Merits a dedicated struct with a reduce operation - // collisions occuring in the += operation + // collisions occurring in the += operation // vtkSMPTools::For(0, inArray->GetNumberOfTuples(), weighing); } }; diff --git a/src/Mod/Fem/App/VTKExtensions/vtkSMPTools.h b/src/Mod/Fem/App/VTKExtensions/vtkSMPTools.h index 611860721b..2c887b8d89 100644 --- a/src/Mod/Fem/App/VTKExtensions/vtkSMPTools.h +++ b/src/Mod/Fem/App/VTKExtensions/vtkSMPTools.h @@ -403,7 +403,7 @@ public: /** * /!\ This method is not thread safe. * Initialize the underlying libraries for execution. This is - * not required as it is automatically defined by the libaries. + * not required as it is automatically defined by the libraries. * However, it can be used to control the maximum number of thread used. * Make sure to call it before the parallel operation. *