From: Daniel Arndt Date: Tue, 10 Jan 2023 21:54:49 +0000 (-0500) Subject: Merge pull request #14660 from bangerth/array X-Git-Tag: v9.5.0-rc1~665 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73aaa7a732289f8c970605dd9fe9e0c8fc68f28c;p=dealii.git Merge pull request #14660 from bangerth/array --- 73aaa7a732289f8c970605dd9fe9e0c8fc68f28c diff --cc include/deal.II/base/data_out_base.h index d698079803,cbd8f40841..da5e5bb3af --- a/include/deal.II/base/data_out_base.h +++ b/include/deal.II/base/data_out_base.h @@@ -281,13 -281,8 +281,13 @@@ namespace DataOutBas * * The order of points is the same as for cells in the * triangulation. + * + * @note This array is sized to accommodate the maximal number of vertices + * one might encounter in a cell, namely those for a hypercube cell. + * For other kinds of cells (triangles, tetrahedra, etc.), only the + * first few elements of this array will be used. */ - Point vertices[GeometryInfo::vertices_per_cell]; + std::array, GeometryInfo::vertices_per_cell> vertices; /** * Patch indices of neighbors of the current patch. This is made available