]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
bug found in copy_from_mg in TransferSelect
authorjanssen <janssen@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 11 Jun 2010 16:41:45 +0000 (16:41 +0000)
committerjanssen <janssen@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 11 Jun 2010 16:41:45 +0000 (16:41 +0000)
git-svn-id: https://svn.dealii.org/trunk@21202 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/multigrid/mg_transfer_component.templates.h

index 2902b33e99a705a542f59700520e292e78206f8f..ab31dd6b9840a77bfffb54cd974269cfb0e25db0 100644 (file)
@@ -42,7 +42,7 @@ MGTransferSelect<number>::copy_to_mg (
   MGLevelObject<Vector<number> > &dst,
   const BlockVector<number2>     &src) const
 {
-  do_copy_to_mg (mg_dof_handler, dst, src);
+  do_copy_to_mg (mg_dof_handler, dst, src.block(target_component[selected_component]));
 }
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.