pi-DoMUS: Parallel Deal.II MUltiphysics Solver
lac_type.h
Go to the documentation of this file.
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2008 - 2015 by the deal.II authors
4 //
5 // This file is part of the deal.II library.
6 //
7 // The deal.II library is free software; you can use it, redistribute
8 // it, and/or modify it under the terms of the GNU Lesser General
9 // Public License as published by the Free Software Foundation; either
10 // version 2.1 of the License, or (at your option) any later version.
11 // The full text of the license can be found in the file LICENSE at
12 // the top level of the deal.II distribution.
13 //
14 // ---------------------------------------------------------------------
15 #ifndef _LAC_TYPE_H_
16 #define _LAC_TYPE_H_
17 
18 
19 #include <deal.II/base/config.h>
20 
21 
22 #include <deal.II/lac/vector.h>
29 
30 using namespace dealii;
31 using namespace deal2lkit;
32 
33 class LADealII
34 {
35 public:
38  typedef dealii::BlockSparsityPattern BlockSparsityPattern;
39 };
40 
41 
42 #ifdef DEAL_II_WITH_PETSC
43 
49 
56 class LAPETSc
57 {
58 public:
64 
69  typedef PETScWrappers::MPI::BlockSparseMatrix BlockMatrix;
70 
71  typedef dealii::BlockSparsityPattern BlockSparsityPattern;
72 };
73 
74 #endif // DEAL_II_WITH_PETSC
75 
76 #ifdef DEAL_II_WITH_TRILINOS
77 
83 
90 class LATrilinos
91 {
92 public:
97 
102  typedef TrilinosWrappers::BlockSparseMatrix BlockMatrix;
103 
105 };
106 
107 #endif // DEAL_II_WITH_TRILINOS
108 
109 
110 
111 #endif
dealii::BlockSparsityPattern BlockSparsityPattern
Definition: lac_type.h:38
Definition: lac_type.h:33
BlockSparseMatrix< double > BlockMatrix
Definition: lac_type.h:37
VectorType
BlockVector< double > VectorType
Definition: lac_type.h:36