From: kanschat Date: Thu, 27 Sep 2012 08:18:43 +0000 (+0000) Subject: add missing copy function to MGDoFAccessor X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8078aa879f8dec9040f731bc5cd94b43931cecd2;p=dealii-svn.git add missing copy function to MGDoFAccessor git-svn-id: https://svn.dealii.org/trunk@26774 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/multigrid/mg_dof_accessor.h b/deal.II/include/deal.II/multigrid/mg_dof_accessor.h index 11a832bb29..7be31fcc80 100644 --- a/deal.II/include/deal.II/multigrid/mg_dof_accessor.h +++ b/deal.II/include/deal.II/multigrid/mg_dof_accessor.h @@ -358,6 +358,12 @@ class MGDoFAccessor : public dealii::internal::MGDoFAccessor::Inheritance& a); + /** * Exception for child classes */ diff --git a/deal.II/source/multigrid/mg_dof_accessor.cc b/deal.II/source/multigrid/mg_dof_accessor.cc index 4847bbb5a9..ee04d227a7 100644 --- a/deal.II/source/multigrid/mg_dof_accessor.cc +++ b/deal.II/source/multigrid/mg_dof_accessor.cc @@ -201,6 +201,15 @@ MGDoFAccessor::copy_from (const MGDoFAccessor &a) +template +void +MGDoFAccessor::copy_from (const TriaAccessorBase &a) +{ + DoFAccessor >::copy_from (a); +} + + + template typename internal::MGDoFHandler::Iterators::line_iterator MGDoFAccessor::line (const unsigned int i) const