]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Document problem (in a comment) with OutputIterator - this is an @todo.
authoryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 3 Oct 2013 15:04:48 +0000 (15:04 +0000)
committeryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 3 Oct 2013 15:04:48 +0000 (15:04 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_petscscalar_complex@31090 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/petsc_vector_base.h

index 930aef000b4666a6202cf39624abad33bd7da29b..52910827d47d0626dbd85f6df0b9804bae536025 100644 (file)
@@ -1297,13 +1297,8 @@ namespace PETScWrappers
             && index<static_cast<unsigned int>(end) )
         {
           //local entry
-/* @whattodo */
+/* @whattodo Note: OutputIterator needs to be instantiated as PetscScalar (or std::complex) */
 //       *(values_begin+i) = *(ptr+index-begin);  
-
-/* @testcheck */
-         /* std::double<double> cheese = *(values_begin+i);  */
-         /* PetscScalar fish = *(ptr+index-begin); ok */ 
-/* @endtestcheck */
         }
         else
         {
@@ -1312,7 +1307,7 @@ namespace PETScWrappers
            = ghost_indices.index_within_set(index); 
 
          Assert(ghostidx+end-begin<(unsigned int)lsize, ExcInternalError()); 
-/* @whattodo */
+/* @whattodo Note: OutputIterator needs to be instantiated as PetscScalar (or std::complex) */
 //          *(values_begin+i) = *(ptr+ghostidx+end-begin);
         }
       }
@@ -1345,8 +1340,8 @@ namespace PETScWrappers
         Assert(index>=static_cast<unsigned int>(begin)
             && index<static_cast<unsigned int>(end), ExcInternalError());
 
-/* @whattodo */
-        /* *(values_begin+i) = *(ptr+index-begin); */
+/* @whattodo Note: OutputIterator needs to be instantiated as PetscScalar (or std::complex) */
+       /* *(values_begin+i) = *(ptr+index-begin);  */
       }
 
       ierr = VecRestoreArray(vector, &ptr);

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.