00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef __deal2__lac_exceptions_h
00013 #define __deal2__lac_exceptions_h
00014
00015 #include <deal.II/base/exceptions.h>
00016
00017 DEAL_II_NAMESPACE_OPEN
00018
00019 namespace LACExceptions
00020 {
00025
00030 DeclException0 (ExcNotQuadratic);
00031
00036 DeclException0 (ExcSingular);
00037
00042 DeclException0 (ExcDifferentBlockIndices);
00043
00049 DeclException1 (ExcPETScError,
00050 int,
00051 << "An error with error number " << arg1
00052 << " occured while calling a PETSc function");
00053
00059 DeclException1 (ExcTrilinosError,
00060 int,
00061 << "An error with error number " << arg1
00062 << " occured while calling a Trilinos function");
00063
00065 }
00066
00067
00068 using namespace LACExceptions;
00069
00070
00071 DEAL_II_NAMESPACE_CLOSE
00072
00073 #endif
00074