From: guido Date: Sat, 2 Jun 2001 17:52:54 +0000 (+0000) Subject: eliminate copy constructors and some more documentation X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=582e919c663847c89325a55db17cbd377e86be26;p=dealii-svn.git eliminate copy constructors and some more documentation git-svn-id: https://svn.dealii.org/trunk@4740 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/schur_matrix.h b/deal.II/lac/include/lac/schur_matrix.h index 45deeca3a6..3a7255e916 100644 --- a/deal.II/lac/include/lac/schur_matrix.h +++ b/deal.II/lac/include/lac/schur_matrix.h @@ -141,10 +141,34 @@ class SchurMatrix : const BlockVector& src, const BlockVector& rhs) const; private: + /** + * No copy constructor. + */ + SchurMatrix (const SchurMatrix&); + /** + * No assignment. + */ + SchurMatrix& operator = (const SchurMatrix&); + + /** + * Pointer to inverse of upper left block. + */ const SmartPointer Ainv; + /** + * Pointer to lower left block. + */ const SmartPointer B; + /** + * Pointer to transpose of upper right block. + */ const SmartPointer Dt; + /** + * Pointer to lower right block. + */ const SmartPointer C; + /** + * Auxiliary memory for vectors. + */ VectorMemory >& mem; }; @@ -156,7 +180,8 @@ SchurMatrix const MC& C, VectorMemory >& mem) : Ainv(&Ainv), B(&B), Dt(&Dt), C(&C), mem(mem) -{} +{ +} template diff --git a/deal.II/lac/include/lac/solver_gmres.h b/deal.II/lac/include/lac/solver_gmres.h index 73dcd35b2f..b5a4103754 100644 --- a/deal.II/lac/include/lac/solver_gmres.h +++ b/deal.II/lac/include/lac/solver_gmres.h @@ -151,6 +151,12 @@ class SolverGMRES : public Subscriptor, private Solver * Auxiliary matrix for inverting @p{H} */ FullMatrix H1; + + private: + /** + * No copy constructor. + */ + SolverGMRES (const SolverGMRES&); };