]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove no longer user preprocessor define. 15271/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 25 May 2023 21:43:04 +0000 (15:43 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 25 May 2023 21:43:04 +0000 (15:43 -0600)
include/deal.II/lac/petsc_snes.templates.h

index db5d8d7965c9da9607552e70047955e2ed62d47c..16b9b647ac93d4ba2104da885c97f09499b36e4a 100644 (file)
@@ -38,16 +38,6 @@ DEAL_II_NAMESPACE_OPEN
       }                                              \
     while (0)
 
-// Shorthand notation for User error codes.
-#  define AssertUser(code, name)                                               \
-    do                                                                         \
-      {                                                                        \
-        int ierr = (code);                                                     \
-        AssertThrow(ierr == 0,                                                 \
-                    StandardExceptions::ExcFunctionNonzeroReturn(name, ierr)); \
-      }                                                                        \
-    while (0)
-
 namespace PETScWrappers
 {
   namespace
@@ -514,7 +504,6 @@ namespace PETScWrappers
 } // namespace PETScWrappers
 
 #  undef AssertPETSc
-#  undef AssertUser
 
 DEAL_II_NAMESPACE_CLOSE
 

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.