From cfca7e3a728f83bdc04365783d56bb7cfa8a3a2e Mon Sep 17 00:00:00 2001 From: luzpaz Date: Mon, 29 Sep 2025 07:50:11 -0400 Subject: [PATCH] FEM: fix source comment typos Fix various source comment typos introduced recently. --- src/Mod/Fem/App/VTKExtensions/vtkCleanUnstructuredGrid.cxx | 6 +++--- src/Mod/Fem/App/VTKExtensions/vtkSMPTools.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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. *