]> https://gitweb.dealii.org/ - dealii.git/commitdiff
typedef LinearAlgebraDealII::BlockSparseMatrix is defined 9082/head
authorReza Rastak <rastak@stanford.edu>
Fri, 22 Nov 2019 22:20:50 +0000 (14:20 -0800)
committerReza Rastak <rastak@stanford.edu>
Fri, 22 Nov 2019 22:20:50 +0000 (14:20 -0800)
include/deal.II/lac/generic_linear_algebra.h

index b6cba764eb83961319ad874ce1881c80378a12f5..23b18392d7abc41fd14b43f434f7336453f40179 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <deal.II/base/config.h>
 
+#include <deal.II/lac/block_sparse_matrix.h>
 #include <deal.II/lac/block_vector.h>
 #include <deal.II/lac/precondition.h>
 #include <deal.II/lac/sparse_matrix.h>
@@ -50,6 +51,11 @@ namespace LinearAlgebraDealII
    */
   using SparseMatrix = SparseMatrix<double>;
 
+  /**
+   * Typedef describing sparse matrices that consist of multiple blocks.
+   */
+  using BlockSparseMatrix = BlockSparseMatrix<double>;
+
   /**
    * Typedef for the SSOR preconditioner used
    */

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.