From: Guido Kanschat Date: Tue, 22 Mar 2005 15:29:11 +0000 (+0000) Subject: Exceptions for optional libraries added X-Git-Tag: v8.0.0~14336 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5c85816684c9658a83ccae828e69c173914f0c1;p=dealii.git Exceptions for optional libraries added git-svn-id: https://svn.dealii.org/trunk@10202 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/include/base/exceptions.h b/deal.II/base/include/base/exceptions.h index 1b3f06c9de..6c7a2a3b04 100644 --- a/deal.II/base/include/base/exceptions.h +++ b/deal.II/base/include/base/exceptions.h @@ -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 + * --with-blas and check + * if it is actually included. + */ + DeclException0 (ExcNeedsBLAS); + + /** + * This function requires the LAPACK + * library. Please reconfigure + * using the option + * --with-lapack and check + * if it is actually included. + */ + DeclException0 (ExcNeedsLAPACK); + + /** + * This function requires the UMFPack + * library. Please reconfigure + * using the option + * --with-umfpack and check + * if it is actually included. + */ + DeclException0 (ExcNeedsUMFPack); + + /** + * This function requires the METIS + * library. Please reconfigure + * using the option + * --with-metis and check + * if it is actually included. + */ + DeclException0 (ExcNeedsMETIS); + + /** + * This function requires the Petsc + * library. Please reconfigure + * using the option + * --with-petsc and check + * if it is actually included. + */ + DeclException0 (ExcNeedsPetsc); + +//@} }