]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add comment 6662/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Fri, 25 May 2018 10:08:38 +0000 (12:08 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Fri, 25 May 2018 14:17:10 +0000 (16:17 +0200)
source/multigrid/mg_transfer_prebuilt.cc

index 8d2205bb4b5661a9ba6a953015ba8645469fa842..1fdc0ed80315316f084abbfae58b84c38691dc4a 100644 (file)
@@ -311,6 +311,14 @@ MGTransferPrebuilt<VectorType>::build_matrices(
         mg_dof);
       dsp.reinit(0, 0);
 
+      // In the end, the entries in this object will only be real valued.
+      // Nevertheless, we have to take the underlying scalar type of the
+      // vector we want to use this class with. The global matrix the entries
+      // of this matrix are copied into has to be able to perform a
+      // matrix-vector multiplication and this is in general only implemented if
+      // the scalar type for matrix and vector is the same. Furthermore,
+      // copying entries between this local object and the global matrix is only
+      // implemented if the objects have the same scalar type.
       FullMatrix<typename VectorType::value_type> prolongation;
 
       // now actually build the matrices

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.