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
>
23
#include <
deal.II/lac/block_vector.h
>
24
#include <
deal.II/lac/sparse_matrix.h
>
25
#include <
deal.II/lac/block_sparse_matrix.h
>
26
#include <
deal.II/lac/sparsity_pattern.h
>
27
#include <
deal.II/lac/block_sparsity_pattern.h
>
28
#include <
deal.II/lac/precondition.h
>
29
30
using namespace
dealii
;
31
using namespace
deal2lkit
;
32
33
class
LADealII
34
{
35
public
:
36
typedef
BlockVector<double>
VectorType
;
37
typedef
BlockSparseMatrix<double>
BlockMatrix
;
38
typedef
dealii::BlockSparsityPattern
BlockSparsityPattern
;
39
};
40
41
42
#ifdef DEAL_II_WITH_PETSC
43
44
#include <
deal.II/lac/block_sparsity_pattern.h
>
45
#include <
deal.II/lac/petsc_parallel_sparse_matrix.h
>
46
#include <
deal.II/lac/petsc_parallel_block_sparse_matrix.h
>
47
#include <
deal.II/lac/petsc_precondition.h
>
48
#include <
deal.II/lac/petsc_solver.h
>
49
56
class
LAPETSc
57
{
58
public
:
63
typedef
PETScWrappers::MPI::BlockVector
VectorType
;
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
78
#include <
deal.II/lac/trilinos_block_sparse_matrix.h
>
79
#include <
deal.II/lac/trilinos_sparse_matrix.h
>
80
#include <
deal.II/lac/trilinos_precondition.h
>
81
#include <
deal.II/lac/block_sparsity_pattern.h
>
82
#include <
deal.II/lac/trilinos_solver.h
>
83
90
class
LATrilinos
91
{
92
public
:
96
typedef
TrilinosWrappers::MPI::BlockVector
VectorType
;
97
102
typedef
TrilinosWrappers::BlockSparseMatrix
BlockMatrix;
103
104
typedef
TrilinosWrappers::BlockSparsityPattern
BlockSparsityPattern
;
105
};
106
107
#endif // DEAL_II_WITH_TRILINOS
108
109
110
111
#endif
LADealII::BlockSparsityPattern
dealii::BlockSparsityPattern BlockSparsityPattern
Definition:
lac_type.h:38
LADealII
Definition:
lac_type.h:33
PETScWrappers::MPI::BlockVector
BlockSparsityPattern
sparse_matrix.h
block_vector.h
deal2lkit
TrilinosWrappers::BlockSparsityPattern
config.h
petsc_precondition.h
LADealII::BlockMatrix
BlockSparseMatrix< double > BlockMatrix
Definition:
lac_type.h:37
trilinos_sparse_matrix.h
trilinos_solver.h
TrilinosWrappers::MPI::BlockVector
trilinos_precondition.h
BlockVector< double >
VectorType
VectorType
BlockSparseMatrix
vector.h
LADealII::VectorType
BlockVector< double > VectorType
Definition:
lac_type.h:36
petsc_parallel_block_sparse_matrix.h
petsc_parallel_sparse_matrix.h
PETScWrappers::MPI::BlockSparseMatrix
petsc_solver.h
TrilinosWrappers::BlockSparseMatrix
block_sparsity_pattern.h
block_sparse_matrix.h
dealii
trilinos_block_sparse_matrix.h
sparsity_pattern.h
precondition.h
include
lac
lac_type.h
Generated on Mon Jan 11 2016 13:06:02 for pi-DoMUS: Parallel Deal.II MUltiphysics Solver by
1.8.10