Skip to content
Snippets Groups Projects
Commit 8c11f20e authored by Norihiro Watanabe's avatar Norihiro Watanabe
Browse files

use for each

parent 02611d49
No related branches found
No related tags found
No related merge requests found
......@@ -41,8 +41,8 @@ void ElementCoordinatesMappingLocal::rotateToLocal(
const RotationMatrix &matR2local,
std::vector<MeshLib::Node*> &vec_pt) const
{
for(unsigned i = 0; i < vec_pt.size(); i++)
vec_pt[i]->setCoords((matR2local* (*vec_pt[i])).getCoords());
for (MeshLib::Node* node : vec_pt)
node->setCoords((matR2local* (*node)).getCoords());
}
void ElementCoordinatesMappingLocal::getRotationMatrixToGlobal(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment