From: Timo Heister Date: Tue, 11 Jun 2013 17:01:15 +0000 (+0000) Subject: no copy or assignment allowed X-Git-Tag: v8.0.0~120^2~17 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bf795255d69d72e679cba13148788995e78bed4;p=dealii.git no copy or assignment allowed git-svn-id: https://svn.dealii.org/branches/branch_unify_linear_algebra@29808 0785d39b-7218-0410-832d-ea1e28bc413d --- 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