From: Wolfgang Bangerth Date: Mon, 21 Nov 2022 18:12:13 +0000 (-0700) Subject: Rename a variable. X-Git-Tag: v9.5.0-rc1~800^2~4 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95c2f457809bac90554eedd664e15b5cf6bc1397;p=dealii.git Rename a variable. --- diff --git a/source/base/data_out_base.cc b/source/base/data_out_base.cc index dc4dbc82cd..c333d04335 100644 --- a/source/base/data_out_base.cc +++ b/source/base/data_out_base.cc @@ -6311,9 +6311,12 @@ namespace DataOutBase { case 0: { - const unsigned int offset = first_vertex_of_patch; + const unsigned int starting_offset = + first_vertex_of_patch; // First write line in x direction - vtu_out.template write_cell<0>(count++, offset, {}); + vtu_out.template write_cell<0>(count++, + starting_offset, + {}); break; } @@ -6322,11 +6325,11 @@ namespace DataOutBase const unsigned int d1 = 1; for (unsigned int i1 = 0; i1 < n_subdivisions; ++i1) { - const unsigned int offset = + const unsigned int starting_offset = first_vertex_of_patch + i1 * d1; // First write line in x direction vtu_out.template write_cell<1>(count++, - offset, + starting_offset, {{d1}}); } break; @@ -6339,11 +6342,11 @@ namespace DataOutBase for (unsigned int i2 = 0; i2 < n_subdivisions; ++i2) for (unsigned int i1 = 0; i1 < n_subdivisions; ++i1) { - const unsigned int offset = + const unsigned int starting_offset = first_vertex_of_patch + i2 * d2 + i1 * d1; // First write line in x direction vtu_out.template write_cell<2>(count++, - offset, + starting_offset, {{d1, d2}}); } break; @@ -6358,12 +6361,12 @@ namespace DataOutBase for (unsigned int i2 = 0; i2 < n_subdivisions; ++i2) for (unsigned int i1 = 0; i1 < n_subdivisions; ++i1) { - const unsigned int offset = + const unsigned int starting_offset = first_vertex_of_patch + i3 * d3 + i2 * d2 + i1 * d1; // First write line in x direction vtu_out.template write_cell<3>(count++, - offset, + starting_offset, {{d1, d2, d3}}); } break;