]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Correct some comments.
authoryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 19 Oct 2013 14:41:09 +0000 (14:41 +0000)
committeryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 19 Oct 2013 14:41:09 +0000 (14:41 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_petscscalar_complex@31317 0785d39b-7218-0410-832d-ea1e28bc413d

tests/petsc_scalar_complex/element_access_01.cc
tests/petsc_scalar_complex/element_access_02.cc

index 84904fe36d5f7fc80e92c1efba26b0dfdc343e2a..a293cf3c7936b32b6094f67c4ce68ccf9acc693a 100644 (file)
@@ -26,9 +26,7 @@
 
 #include <complex>
 
-// test dealii::internal::VectorReference::real() 
-// test dealii::internal::VectorReference::imag() 
-// on vector and matrix
+// test read/write access to matrices using explicit cast always.
 
 // sparse matrix elements
 void test_matrix (PETScWrappers::SparseMatrix &m)
index 1fc62730c733e30002964181dedaedd2a6e98ce5..62d79cd28b84c93d8e4030806d727fdb7b523288 100644 (file)
 
 #include <complex>
 
-// test dealii::internal::VectorReference::real() 
-// test dealii::internal::VectorReference::imag() 
-// test element access (read/write) on matrix
+// test read/write access to matrices AS IS (no cast).
+//
+
+// Note: this test fails where an -1.*(unsigned integer) is used as
+// the input value to a matrix element. This needs to be fixed.
 
 // sparse matrix elements
 void test_matrix (PETScWrappers::SparseMatrix &m)
 {
-  deallog << "Check 02 matrix access" << std::endl;
+  deallog << "Check matrix access" << std::endl;
 
   // fill up a matrix with some numbers
   for (unsigned int k=0; k<m.m(); ++k)

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.