]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Merge pull request #12868 from bangerth/read-2
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Sat, 23 Oct 2021 08:05:16 +0000 (10:05 +0200)
committerGitHub <noreply@github.com>
Sat, 23 Oct 2021 08:05:16 +0000 (10:05 +0200)
Make code a bit more readable.

1  2 
include/deal.II/numerics/data_out_dof_data.templates.h

index 9ac6602d8376b887fef8a17eda3b06507cd806e5,5e8c6eb1e7d9023a22aa53be7db744a03af5720f..0a279c1e97e005e62cf4c801864e2e1916307842
@@@ -319,17 -319,12 +318,11 @@@ namespace interna
            if (needs_pyramid_setup)
              {
                Assert(n_subdivisions == 1, ExcNotImplemented());
 +
                quadrature_pyramid = std::make_unique<Quadrature<dim>>(
 -                FE_PyramidP<dim, spacedim>(
 -                  1 /*note: vtk only supports linear wedges*/)
 -                  .get_unit_support_points());
 +                ReferenceCells::Pyramid.get_nodal_type_quadrature<dim>());
              }
  
-           n_q_points =
-             std::max({needs_wedge_setup ? quadrature_wedge->size() : 0,
-                       needs_simplex_setup ? quadrature_simplex->size() : 0,
-                       needs_hypercube_setup ? quadrature_hypercube->size() : 0,
-                       needs_pyramid_setup ? quadrature_pyramid->size() : 0});
            x_fe_values.resize(finite_elements.size());
            for (unsigned int i = 0; i < finite_elements.size(); ++i)
              {

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.