|
Reference documentation for deal.II version 9.2.0
|
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\)
\(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\)
\(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\)
\(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Go to the documentation of this file.
16 #ifndef dealii_petsc_matrix_free_h
17 # define dealii_petsc_matrix_free_h
22 # ifdef DEAL_II_WITH_PETSC
85 const unsigned int local_rows,
86 const unsigned int local_columns);
100 const unsigned int m,
101 const unsigned int n,
102 const std::vector<unsigned int> &local_rows_per_process,
103 const std::vector<unsigned int> &local_columns_per_process,
104 const unsigned int this_process);
112 const unsigned int n,
113 const unsigned int local_rows,
114 const unsigned int local_columns);
122 const unsigned int n,
123 const std::vector<unsigned int> &local_rows_per_process,
124 const std::vector<unsigned int> &local_columns_per_process,
125 const unsigned int this_process);
134 const unsigned int m,
135 const unsigned int n,
136 const unsigned int local_rows,
137 const unsigned int local_columns);
146 const unsigned int m,
147 const unsigned int n,
148 const std::vector<unsigned int> &local_rows_per_process,
149 const std::vector<unsigned int> &local_columns_per_process,
150 const unsigned int this_process);
158 const unsigned int n,
159 const unsigned int local_rows,
160 const unsigned int local_columns);
168 const unsigned int n,
169 const std::vector<unsigned int> &local_rows_per_process,
170 const std::vector<unsigned int> &local_columns_per_process,
171 const unsigned int this_process);
254 vmult(Vec &dst,
const Vec &src)
const;
284 const unsigned int n,
285 const unsigned int local_rows,
286 const unsigned int local_columns);
302 # endif // DEAL_II_WITH_PETSC
static int matrix_free_mult(Mat A, Vec src, Vec dst)
virtual void vmult_add(VectorBase &dst, const VectorBase &src) const =0
void reinit(const MPI_Comm &communicator, const unsigned int m, const unsigned int n, const unsigned int local_rows, const unsigned int local_columns)
virtual void Tvmult(VectorBase &dst, const VectorBase &src) const =0
#define DEAL_II_NAMESPACE_OPEN
const MPI_Comm & get_mpi_communicator() const override
void do_reinit(const unsigned int m, const unsigned int n, const unsigned int local_rows, const unsigned int local_columns)
virtual void vmult(VectorBase &dst, const VectorBase &src) const =0
#define DEAL_II_NAMESPACE_CLOSE
virtual void Tvmult_add(VectorBase &dst, const VectorBase &src) const =0