From: Wolfgang Bangerth Date: Mon, 30 Sep 2013 13:26:36 +0000 (+0000) Subject: Provide a copy constructor for the accessor class. This should make X-Git-Tag: v8.1.0~681 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d72a91d3a256b10e615219bc9bbc4e59ffcb2de;p=dealii.git Provide a copy constructor for the accessor class. This should make Intel ICC happy. git-svn-id: https://svn.dealii.org/trunk@31028 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 6ef2b51596..8a64919480 100644 --- a/deal.II/include/deal.II/lac/petsc_matrix_base.h +++ b/deal.II/include/deal.II/lac/petsc_matrix_base.h @@ -84,6 +84,11 @@ namespace PETScWrappers const size_type row, const size_type index); + /** + * Copy constructor. + */ + Accessor (const Accessor &a); + /** * Row number of the element * represented by this @@ -1364,6 +1369,18 @@ namespace PETScWrappers } + inline + const_iterator::Accessor:: + Accessor (const Accessor &a) + : + matrix(a.matrix), + a_row(a.a_row), + a_index(a.a_index), + colnum_cache (a.colnum_cache), + value_cache (a.value_cache) + {} + + inline const_iterator::Accessor::size_type const_iterator::Accessor::row() const