FEM: fix source comment typos

Fix various source comment typos introduced recently.
This commit is contained in:
luzpaz
2025-09-29 07:50:11 -04:00
committed by Chris Hennes
parent 4517452306
commit cfca7e3a72
2 changed files with 4 additions and 4 deletions

View File

@@ -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);
}
};

View File

@@ -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.
*