]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Error out for situations clearly not implemented. 17761/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Wed, 9 Oct 2024 00:31:08 +0000 (18:31 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 11 Oct 2024 03:50:36 +0000 (21:50 -0600)
source/fe/fe_system.cc

index 13d6869bba02666ce606bf904078f68b1e3e203d..80872c440d5c6e32c7010b31bb8e1cc5f629157e 100644 (file)
@@ -1572,6 +1572,10 @@ FESystem<dim, spacedim>::build_interface_constraints()
 
             case 3:
               {
+                Assert(this->reference_cell() ==
+                         ReferenceCells::get_hypercube<dim>(),
+                       ExcNotImplemented());
+
                 // same way as above, although a little more complicated...
 
                 // the indices m=0..5*d_v-1 are from the center and the four

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.