]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Exceptions for optional libraries added
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Tue, 22 Mar 2005 15:29:11 +0000 (15:29 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Tue, 22 Mar 2005 15:29:11 +0000 (15:29 +0000)
git-svn-id: https://svn.dealii.org/trunk@10202 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/exceptions.h

index 1b3f06c9de0341d7ca204e4ff1a77c79314c119f..6c7a2a3b047a231f84931b849a31b05e7f142209 100644 (file)
@@ -1,15 +1,15 @@
-//----------------------------  exceptions.h  ---------------------------
+//---------------------------------------------------------------------------
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 by the deal.II authors
+//    Copyright (C) 1998 - 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
 //    to the file deal.II/doc/license.html for the  text  and
 //    further information on this license.
 //
-//----------------------------  exceptions.h  ---------------------------
+//---------------------------------------------------------------------------
 #ifndef __deal2__exceptions_h
 #define __deal2__exceptions_h
 
@@ -1016,7 +1016,53 @@ namespace StandardExceptions
                                    * cases, this exception is thrown.
                                    */
   DeclException0 (ExcScalarAssignmentOnlyForZeroValue);
-                                  //@}
+
+                                  /**
+                                   * This function requires the BLAS
+                                   * library. Please reconfigure
+                                   * using the option
+                                   * <tt>--with-blas</tt> and check
+                                   * if it is actually included.
+                                   */
+  DeclException0 (ExcNeedsBLAS);
+  
+                                  /**
+                                   * This function requires the LAPACK
+                                   * library. Please reconfigure
+                                   * using the option
+                                   * <tt>--with-lapack</tt> and check
+                                   * if it is actually included.
+                                   */
+  DeclException0 (ExcNeedsLAPACK);
+  
+                                  /**
+                                   * This function requires the UMFPack
+                                   * library. Please reconfigure
+                                   * using the option
+                                   * <tt>--with-umfpack</tt> and check
+                                   * if it is actually included.
+                                   */
+  DeclException0 (ExcNeedsUMFPack);
+  
+                                  /**
+                                   * This function requires the METIS
+                                   * library. Please reconfigure
+                                   * using the option
+                                   * <tt>--with-metis</tt> and check
+                                   * if it is actually included.
+                                   */
+  DeclException0 (ExcNeedsMETIS);
+  
+                                  /**
+                                   * This function requires the Petsc
+                                   * library. Please reconfigure
+                                   * using the option
+                                   * <tt>--with-petsc</tt> and check
+                                   * if it is actually included.
+                                   */
+  DeclException0 (ExcNeedsPetsc);
+  
+//@}
 }
 
 

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.