]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Merge pull request #10783 from peterrum/use_fe_faceno
authorMatthias Maier <tamiko@43-1.org>
Fri, 2 Oct 2020 21:29:39 +0000 (16:29 -0500)
committerGitHub <noreply@github.com>
Fri, 2 Oct 2020 21:29:39 +0000 (16:29 -0500)
Pass face_no to FE functions

1  2 
include/deal.II/dofs/dof_accessor.templates.h
include/deal.II/matrix_free/matrix_free.templates.h
include/deal.II/numerics/vector_tools_project.templates.h
source/dofs/dof_tools.cc

index bd0e040f73c48a9e61847b064a8b63e8f0215da4,e84ffdbda94264adb1646c963d5b032d962d7585..0a31333faa8b7df51367569cb287d43355e21c03
@@@ -819,12 -819,16 +819,12 @@@ namespace interna
            {
              const auto &fe = accessor.get_fe(fe_index_);
  
-             const unsigned int                          //
-               dofs_per_vertex = fe.n_dofs_per_vertex(), //
-               dofs_per_line   = fe.n_dofs_per_line(),   //
-               dofs_per_quad   = fe.n_dofs_per_quad(),   //
-               dofs_per_hex    = fe.n_dofs_per_hex();    //
+             const unsigned int                                   //
+               dofs_per_vertex = fe.n_dofs_per_vertex(),          //
+               dofs_per_line   = fe.n_dofs_per_line(),            //
+               dofs_per_quad   = fe.n_dofs_per_quad(0 /*dummy*/), //
+               dofs_per_hex    = fe.n_dofs_per_hex();             //
  
 -            const unsigned int inner_dofs =
 -              structdim == 1 ? dofs_per_line :
 -                               (structdim == 2 ? dofs_per_quad : dofs_per_hex);
 -
              unsigned int index = 0;
  
              // 1) VERTEX dofs
Simple merge

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.