]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add an exception
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 26 Sep 2002 16:01:27 +0000 (16:01 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 26 Sep 2002 16:01:27 +0000 (16:01 +0000)
git-svn-id: https://svn.dealii.org/trunk@6529 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/sparse_direct.h

index 73aa378f40ff2dd62cab42935be899387c648d71..0c757bd43f5d05e8b40bdc5ddc523a1c7b56ad8c 100644 (file)
  * your program: you can still acquire and release the lock as before,
  * it will only have no effect now, since different objects of this
  * class no longer share the lock, i.e. you will get it always without
- * waiting.
+ * waiting. On the other hand, it will prevent that you call functions
+ * of this object multiply in parallel at the same time, which is what
+ * you probably wanted.
  * 
  * @author Wolfgang Bangerth, 2000, 2001, 2002
  */
@@ -327,7 +329,15 @@ class SparseDirectMA27 : public Subscriptor
                                      * Exception
                                      */
     DeclException0 (ExcDifferentSparsityPatterns);
-
+                                    /**
+                                     * Exception
+                                     */
+    DeclException2 (ExcReadError,
+                    int, int,
+                    << "Error while reading in detached mode. Return value "
+                    << "for 'read' was " << arg1
+                    << ", errno has value " << arg2);
+    
   private:
                                      /**
                                       * Declare a local type which

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.