Skip to content

Commit

Permalink
Update anim_to_vtk.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
williampiat3 authored and sebastienVilleneuve committed Dec 11, 2024
1 parent 57f7550 commit 8be5679
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions output_converters/anim_to_vtk/src/anim_to_vtk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1027,21 +1027,11 @@ void readRadiossAnim(char *fileName)
}
for (int icon = 0; icon < nbFacets; icon++)
{
if(is2DTriangle[icon])
{
cout << 3 << " "
<< connectA[(icon * 4)] << " "
<< connectA[(icon * 4) + 1] << " "
<< connectA[(icon * 4) + 2] << "\n";
}
else
{
cout << 4 << " "
<< connectA[(icon * 4)] << " "
<< connectA[(icon * 4) + 1] << " "
<< connectA[(icon * 4) + 2] << " "
<< connectA[(icon * 4) + 3] << "\n";
}
cout << 4 << " "
<< connectA[(icon * 4)] << " "
<< connectA[(icon * 4) + 1] << " "
<< connectA[(icon * 4) + 2] << " "
<< connectA[(icon * 4) + 3] << "\n";

}
for (int icon = 0; icon < nbElts3D; icon++)
Expand Down

0 comments on commit 8be5679

Please sign in to comment.