Changes

Summary

  1. [all] Convert some loops to range-based (#4485) (details)
Commit 2f6c22ea9782d980f5f136b5782c29e1acaaab78 by noreply
[all] Convert some loops to range-based (#4485)

* [all] Convert some loops to range-based

* const ref in STLExporter

* index to singular

* rename indice to index
The file was modifiedSofa/Component/Topology/Container/Constant/src/sofa/component/topology/container/constant/MeshTopology.cpp (diff)
The file was modifiedSofa/Component/Mass/src/sofa/component/mass/UniformMass.cpp (diff)
The file was modifiedSofa/Component/Engine/Generate/src/sofa/component/engine/generate/MeshTetraStuffing.cpp (diff)
The file was modifiedSofa/Component/IO/Mesh/src/sofa/component/io/mesh/MeshOBJLoader.cpp (diff)
The file was modifiedSofa/Component/IO/Mesh/src/sofa/component/io/mesh/VoxelGridLoader.cpp (diff)
The file was modifiedSofa/Component/Playback/src/sofa/component/playback/ReadState.cpp (diff)
The file was modifiedSofa/Component/StateContainer/src/sofa/component/statecontainer/MechanicalObject.cpp (diff)
The file was modifiedSofa/Component/IO/Mesh/src/sofa/component/io/mesh/STLExporter.cpp (diff)
The file was modifiedSofa/Component/SolidMechanics/FEM/Elastic/src/sofa/component/solidmechanics/fem/elastic/HexahedronFEMForceField.inl (diff)
The file was modifiedSofa/Component/Playback/src/sofa/component/playback/ReadTopology.cpp (diff)
The file was modifiedSofa/Component/Constraint/Lagrangian/Solver/src/sofa/component/constraint/lagrangian/solver/LCPConstraintSolver.cpp (diff)
The file was modifiedSofa/Component/Constraint/Projective/src/sofa/component/constraint/projective/FixedProjectiveConstraint.cpp (diff)
The file was modifiedSofa/Component/Collision/Geometry/src/sofa/component/collision/geometry/TriangleModelInRegularGrid.cpp (diff)
The file was modifiedSofa/Component/Topology/Container/Dynamic/src/sofa/component/topology/container/dynamic/DynamicSparseGridTopologyContainer.cpp (diff)
The file was modifiedSofa/Component/Mapping/Linear/src/sofa/component/mapping/linear/BarycentricMappingRigid.cpp (diff)
The file was modifiedSofa/Component/SolidMechanics/FEM/Elastic/src/sofa/component/solidmechanics/fem/elastic/HexahedronFEMForceFieldAndMass.inl (diff)
The file was modifiedSofa/Component/Collision/Detection/Algorithm/src/sofa/component/collision/detection/algorithm/IncrSAP.cpp (diff)
The file was modifiedSofa/Component/Collision/Detection/Intersection/src/sofa/component/collision/detection/intersection/LocalMinDistance.cpp (diff)
The file was modifiedapplications/plugins/MultiThreading/src/MultiThreading/component/solidmechanics/fem/elastic/ParallelHexahedronFEMForceField.inl (diff)
The file was modifiedSofa/Component/SolidMechanics/FEM/Elastic/src/sofa/component/solidmechanics/fem/elastic/HexahedralFEMForceFieldAndMass.inl (diff)
The file was modifiedSofa/Component/Playback/src/sofa/component/playback/WriteState.cpp (diff)
The file was modifiedSofa/Component/Collision/Response/Contact/src/sofa/component/collision/response/contact/RuleBasedContactManager.cpp (diff)
The file was modifiedSofa/Component/Playback/src/sofa/component/playback/WriteTopology.cpp (diff)
The file was modifiedSofa/Component/IO/Mesh/src/sofa/component/io/mesh/MeshGmshLoader.cpp (diff)
The file was modifiedapplications/projects/runSofa/Main.cpp (diff)
The file was modifiedSofa/Component/Collision/Geometry/src/sofa/component/collision/geometry/TriangleOctreeModel.cpp (diff)
The file was modifiedSofa/Component/SolidMechanics/FEM/Elastic/src/sofa/component/solidmechanics/fem/elastic/HexahedralFEMForceField.inl (diff)
The file was modifiedSofa/Component/IO/Mesh/src/sofa/component/io/mesh/VTKExporter.cpp (diff)
The file was modifiedSofa/Component/Collision/Response/Contact/src/sofa/component/collision/response/contact/CollisionResponse.cpp (diff)
The file was modifiedSofa/Component/Mapping/Linear/src/sofa/component/mapping/linear/SimpleTesselatedTetraTopologicalMapping.cpp (diff)
The file was modifiedSofa/Component/ODESolver/Backward/src/sofa/component/odesolver/backward/VariationalSymplecticSolver.cpp (diff)
The file was modifiedSofa/Component/Engine/Select/src/sofa/component/engine/select/MeshBoundaryROI.cpp (diff)
The file was modifiedSofa/Component/IO/Mesh/src/sofa/component/io/mesh/GridMeshCreator.cpp (diff)
The file was modifiedSofa/Component/SolidMechanics/FEM/NonUniform/src/sofa/component/solidmechanics/fem/nonuniform/NonUniformHexahedralFEMForceFieldAndMass.inl (diff)
The file was modifiedSofa/Component/IO/Mesh/src/sofa/component/io/mesh/MeshVTKLoader.cpp (diff)
The file was modifiedSofa/Component/ODESolver/Backward/src/sofa/component/odesolver/backward/EulerImplicitSolver.cpp (diff)