]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix SLEPc complex test.
authoryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 22 Oct 2013 10:15:31 +0000 (10:15 +0000)
committeryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 22 Oct 2013 10:15:31 +0000 (10:15 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_petscscalar_complex@31382 0785d39b-7218-0410-832d-ea1e28bc413d

tests/slepc_complex/00.cc
tests/slepc_complex/00.output

index 3a076f1bb6ed839d49f269b7c13844f880a9186c..be75da6d840516689feea01e74d3256241e6dcfc 100644 (file)
@@ -27,9 +27,8 @@
 #include <fstream>
 #include <iostream>
 
-#ifdef PETSC_USE_COMPLEX
 
-std::ofstream logfile ("00/output");
+std::ofstream logfile ("output");
 
 int main (int argc, char **argv)
 {
@@ -98,4 +97,4 @@ int main (int argc, char **argv)
     };
 }
 
-#endif
+
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..10a07daa2765fedd4252fbac9719dcf4b0439fa4 100644 (file)
@@ -0,0 +1,8 @@
+
+Initializing SLEPc (PETSc): ok
+Using PetscScalar:
+   pi+1i:           (3.14159,1.00000)
+   two:             (2.00000,0.00000)
+   two times pi+1i: (6.28319,2.00000)
+Finalizing SLEPc (PETSc): ok
+

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.