From: Alexander Grayver Date: Sat, 28 Jul 2018 20:28:53 +0000 (+0200) Subject: Rename function X-Git-Tag: v9.1.0-rc1~869^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F6994%2Fhead;p=dealii.git Rename function --- diff --git a/source/base/data_out_base.cc b/source/base/data_out_base.cc index 08a8d5c412..62dc21eff0 100644 --- a/source/base/data_out_base.cc +++ b/source/base/data_out_base.cc @@ -1216,15 +1216,17 @@ namespace const unsigned int z_offset); /** - * Writes Lagrange type cell. The connectivity order of Lagrange - * points is given in the @p connectivity array, which are offset + * Write a high-order cell type, i.e., a Lagrange cell + * in the VTK terminology. + * The connectivity order of the points is given in the + * @p connectivity array, which are offset * by the global index @p start. */ template void - write_lagrange_cell(const unsigned int index, - const unsigned int start, - const std::vector &connectivity); + write_high_order_cell(const unsigned int index, + const unsigned int start, + const std::vector &connectivity); }; @@ -1594,9 +1596,9 @@ namespace template void - VtkStream::write_lagrange_cell(const unsigned int, - const unsigned int start, - const std::vector &connectivity) + VtkStream::write_high_order_cell(const unsigned int, + const unsigned int start, + const std::vector &connectivity) { stream << connectivity.size(); for (const auto &c : connectivity) @@ -2576,8 +2578,8 @@ namespace DataOutBase template void - write_lagrange_cells(const std::vector> &patches, - StreamType & out) + write_high_order_cells(const std::vector> &patches, + StreamType & out) { Assert(dim <= 3 && dim > 1, ExcNotImplemented()); unsigned int first_vertex_of_patch = 0; @@ -2616,9 +2618,9 @@ namespace DataOutBase connectivity[connectivity_index] = local_index; } - out.template write_lagrange_cell(count++, - first_vertex_of_patch, - connectivity); + out.template write_high_order_cell(count++, + first_vertex_of_patch, + connectivity); // finally update the number of the first vertex of this patch first_vertex_of_patch += Utilities::fixed_power(n); @@ -5323,7 +5325,7 @@ namespace DataOutBase out << "CELLS " << n_cells << ' ' << n_cells * (n_points_per_cell + 1) << '\n'; if (flags.write_higher_order_cells) - write_lagrange_cells(patches, vtk_out); + write_high_order_cells(patches, vtk_out); else write_cells(patches, vtk_out); out << '\n';