]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Notes to self - @todos.
authoryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 3 Oct 2013 16:44:26 +0000 (16:44 +0000)
committeryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 3 Oct 2013 16:44:26 +0000 (16:44 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_petscscalar_complex@31093 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/constraint_matrix.templates.h

index 1409455c7b478fba90a60b54492973debdf824fe..c055979bc552d8d4344cbecd10c73788cef358e9 100644 (file)
@@ -862,11 +862,11 @@ distribute_local_to_global (const Vector<double>            &local_vector,
   const size_type n_local_dofs = local_vector.size();
   if (lines.empty())
     {
-/* @whattodo */
-    //    global_vector.add(local_dof_indices, local_vector);
-    Assert ((false),
-            ExcMessage ("Your PETSc/SLEPc installation was configured with scalar-type complex "
-                        "but this function is not defined for complex types."));
+/* @whattodo Note: the Vector and FullMatrix coming in should be complex - ie. instantiated that way*/
+      /* global_vector.add(local_dof_indices, local_vector); */
+      Assert ((false),
+             ExcMessage ("Your PETSc/SLEPc installation was configured with scalar-type complex "
+                         "but this function is not defined for complex types."));
     }
   else
     for (size_type i=0; i<n_local_dofs; ++i)
@@ -2657,8 +2657,8 @@ ConstraintMatrix::distribute_local_to_global (
       Assert (n_values == (size_type)(val_ptr - &vals[0]),
               ExcInternalError());
       if (n_values > 0)
-/* @whattodo */
-        /* global_matrix.add(row, n_values, &cols[0], &vals[0], false, true); */
+/* @whattodo Note: Wow, no idea... */
+         /* global_matrix.add(row, n_values, &cols[0], &vals[0], false, true);  */
        {
          Assert ((false),
                  ExcMessage ("Your PETSc/SLEPc installation was configured with scalar-type complex "

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.