Reference documentation for deal.II version 8.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
petsc_full_matrix.h
1 // ---------------------------------------------------------------------
2 // @f$Id: petsc_full_matrix.h 30036 2013-07-18 16:55:32Z maier @f$
3 //
4 // Copyright (C) 2004 - 2013 by the deal.II authors
5 //
6 // This file is part of the deal.II library.
7 //
8 // The deal.II library is free software; you can use it, redistribute
9 // it, and/or modify it under the terms of the GNU Lesser General
10 // Public License as published by the Free Software Foundation; either
11 // version 2.1 of the License, or (at your option) any later version.
12 // The full text of the license can be found in the file LICENSE at
13 // the top level of the deal.II distribution.
14 //
15 // ---------------------------------------------------------------------
16 
17 #ifndef __deal2__petsc_full_matrix_h
18 #define __deal2__petsc_full_matrix_h
19 
20 
21 #include <deal.II/base/config.h>
22 
23 #ifdef DEAL_II_WITH_PETSC
24 
25 # include <deal.II/lac/exceptions.h>
26 # include <deal.II/lac/petsc_matrix_base.h>
27 
29 
30 
31 
32 namespace PETScWrappers
33 {
50  class FullMatrix : public MatrixBase
51  {
52  public:
57 
62  FullMatrix (const size_type m,
63  const size_type n);
64 
72  virtual const MPI_Comm &get_mpi_communicator () const;
73  };
74 
76 }
77 
78 
79 DEAL_II_NAMESPACE_CLOSE
80 
81 #endif // DEAL_II_WITH_PETSC
82 
83 /*---------------------------- petsc_full_matrix.h ---------------------------*/
84 
85 #endif
86 /*---------------------------- petsc_full_matrix.h ---------------------------*/
virtual const MPI_Comm & get_mpi_communicator() const
types::global_dof_index size_type
size_type n() const
size_type m() const
FullMatrix(const size_type m, const size_type n)
unsigned int global_dof_index
Definition: types.h:100