Style: Changing for loops and ints according to the Coding Style Guide
Hi,
With respect to https://openfoam.org/dev/coding-style-guide/ , assuming ESI-OpenFOAM applies the same, the two points might need to be corrected throughout the code:
-- for (int i=0; i<10; i++)
++ for (label i = 0; i < 10; i++)
-- int iter = 0;
++ label iter = 0;
Some examples of the style inconsistencies can be found in src/.../wallFunctions
, e.g.:
Additional typos from OpenFOAM.org issue tracker:
-- type Type name: forces
++ type Type name: forceCoeffs
-- epsilon
++ omega
K