]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Generalize the signature of MeshWorker::loop(). 17050/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 21 May 2024 02:34:53 +0000 (20:34 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 21 May 2024 02:34:53 +0000 (20:34 -0600)
include/deal.II/meshworker/loop.h

index 397e8327d6f1fbca3cad6e1da17dc8017d38c50e..3fcea362f28d9abacbfbc3fbd7cb568d4670833f 100644 (file)
@@ -439,16 +439,16 @@ namespace MeshWorker
             typename AssemblerType,
             typename IteratorType>
   void
-  loop(IteratorType                             begin,
-       std_cxx20::type_identity_t<IteratorType> end,
-       DOFINFO                                 &dinfo,
-       INFOBOX                                 &info,
-       const std::function<void(DOFINFO &, typename INFOBOX::CellInfo &)>
-         &cell_worker,
-       const std::function<void(DOFINFO &, typename INFOBOX::CellInfo &)>
-                                                               &boundary_worker,
-       const std::function<void(DOFINFO &,
-                                DOFINFO &,
+  loop(IteratorType                                             begin,
+       std_cxx20::type_identity_t<IteratorType>                 end,
+       DOFINFO                                                 &dinfo,
+       INFOBOX                                                 &info,
+       const std::function<void(std_cxx20::type_identity_t<DOFINFO> &,
+                                typename INFOBOX::CellInfo &)> &cell_worker,
+       const std::function<void(std_cxx20::type_identity_t<DOFINFO> &,
+                                typename INFOBOX::CellInfo &)> &boundary_worker,
+       const std::function<void(std_cxx20::type_identity_t<DOFINFO> &,
+                                std_cxx20::type_identity_t<DOFINFO> &,
                                 typename INFOBOX::CellInfo &,
                                 typename INFOBOX::CellInfo &)> &face_worker,
        AssemblerType                                           &assembler,

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.