]> https://gitweb.dealii.org/ - dealii.git/commitdiff
replace invalid unsigned ints 17068/head
authorJohannes Heinz <43043310+jh66637@users.noreply.github.com>
Thu, 23 May 2024 15:46:51 +0000 (17:46 +0200)
committerJohannes Heinz <43043310+jh66637@users.noreply.github.com>
Thu, 23 May 2024 15:46:51 +0000 (17:46 +0200)
include/deal.II/matrix_free/fe_remote_evaluation.h

index 930dd9ef17718cef20e310bf9f4604eb5c6631fb..4272efb2b4959abfba18dcc3f2db0c4955ed6bd6 100644 (file)
@@ -1208,6 +1208,12 @@ namespace Utilities
     // with the communication objects.
     FERemoteEvaluationCommunicator<dim> remote_communicator;
 
+    // if no quadrature size is set, an empty quadrature is considered
+    std::replace(global_quadrature_sizes.begin(),
+                 global_quadrature_sizes.end(),
+                 numbers::invalid_unsigned_int,
+                 0u);
+
     remote_communicator.reinit_faces(comm_objects,
                                      face_batch_range,
                                      global_quadrature_vector);

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.