From bdc8579a74b280cad55622ffa7d99299ea88077c Mon Sep 17 00:00:00 2001 From: heister Date: Tue, 11 Jun 2013 17:01:15 +0000 Subject: [PATCH] no copy or assignment allowed git-svn-id: https://svn.dealii.org/branches/branch_unify_linear_algebra@29808 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/lac/petsc_matrix_base.h | 10 ++++++++++ deal.II/include/deal.II/lac/petsc_sparse_matrix.h | 9 +++++++++ 2 files changed, 19 insertions(+) diff --git a/deal.II/include/deal.II/lac/petsc_matrix_base.h b/deal.II/include/deal.II/lac/petsc_matrix_base.h index 500b40d778..2049138aa7 100644 --- a/deal.II/include/deal.II/lac/petsc_matrix_base.h +++ b/deal.II/include/deal.II/lac/petsc_matrix_base.h @@ -1292,6 +1292,16 @@ namespace PETScWrappers private: + + /** + * purposefully not implemented + */ + MatrixBase(const MatrixBase &); + /** + * purposefully not implemented + */ + MatrixBase& operator=(const MatrixBase &); + /** * An internal array of integer * values that is used to store the diff --git a/deal.II/include/deal.II/lac/petsc_sparse_matrix.h b/deal.II/include/deal.II/lac/petsc_sparse_matrix.h index ac36203b50..0359c2003b 100644 --- a/deal.II/include/deal.II/lac/petsc_sparse_matrix.h +++ b/deal.II/include/deal.II/lac/petsc_sparse_matrix.h @@ -321,6 +321,15 @@ namespace PETScWrappers private: + /** + * Purposefully not implemented + */ + SparseMatrix(const SparseMatrix &); + /** + * Purposefully not implemented + */ + SparseMatrix& operator= (const SparseMatrix &); + /** * Do the actual work for the * respective reinit() function and the -- 2.39.5