Skip to content

Commit

Permalink
Add comment for clarification.
Browse files Browse the repository at this point in the history
  • Loading branch information
Arushi committed Jan 21, 2025
1 parent 7d922ad commit b9d9db6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/gwb-grid/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ void filter_vtu_mesh(int dim,
output_mesh.points().emplace_back(input_mesh.points()[src_vid*3+i]);

for (unsigned int d=0; d<input_data.size(); ++d)
// The following line checks if we are accessing the velocity data, which is
// currently stored as the third property after depth and temperature, and if so,
// we need to copy all 3 components.
if (d == 2)
{
for (unsigned int i=0; i<3; ++i)
Expand Down

0 comments on commit b9d9db6

Please sign in to comment.