&& 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
{
= 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);
}
}
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);