From: guido Date: Fri, 11 Feb 2000 17:57:47 +0000 (+0000) Subject: dummy for 1d X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7f61edd79b35f33d5949536ce347ef999ab3617;p=dealii-svn.git dummy for 1d git-svn-id: https://svn.dealii.org/trunk@2391 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/multigrid/multigrid.templates.h b/deal.II/deal.II/include/multigrid/multigrid.templates.h index 38d8050dc6..412a840924 100644 --- a/deal.II/deal.II/include/multigrid/multigrid.templates.h +++ b/deal.II/deal.II/include/multigrid/multigrid.templates.h @@ -14,12 +14,22 @@ //TODO: This function needs to be specially implemented, since in 2d mode we use faces -#if deal_II_dimension != 1 +#if deal_II_dimension == 1 template template void -Multigrid::copy_to_mg(const Vector& src) +Multigrid::copy_to_mg (const Vector&) +{ + Assert(false, ExcNotImplemented()); +} + +#else + +template +template +void +Multigrid::copy_to_mg (const Vector& src) { const unsigned int dofs_per_cell = mg_dof_handler->get_fe().dofs_per_cell; const unsigned int dofs_per_face = mg_dof_handler->get_fe().dofs_per_face;