From 827866b72cc17cadf95fbaa458af219e013f6982 Mon Sep 17 00:00:00 2001 From: young Date: Tue, 22 Oct 2013 19:03:44 +0000 Subject: [PATCH] Commit output for 33x2 petsc_complex tests. That concludes the complex port to cmake. git-svn-id: https://svn.dealii.org/branches/branch_petscscalar_complex@31388 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/petsc_complex/00.output | 14 ++++++ tests/petsc_complex/01.output | 2 + tests/petsc_complex/02.output | 2 + tests/petsc_complex/04.output | 2 + tests/petsc_complex/05.output | 4 ++ tests/petsc_complex/06.output | 3 ++ tests/petsc_complex/07.output | 3 ++ tests/petsc_complex/08.output | 3 ++ tests/petsc_complex/09.cc | 2 +- tests/petsc_complex/09.output | 2 + tests/petsc_complex/10.cc | 2 +- tests/petsc_complex/10.output | 2 + tests/petsc_complex/11.output | 2 + tests/petsc_complex/12.output | 3 ++ tests/petsc_complex/13.output | 2 + tests/petsc_complex/17.output | 2 + tests/petsc_complex/18.output | 2 + tests/petsc_complex/19.output | 2 + tests/petsc_complex/element_access_00.output | 6 +++ tests/petsc_complex/element_access_01.output | 30 ++++++++++++ tests/petsc_complex/element_access_02.output | 50 ++++++++++++++++++++ tests/petsc_complex/element_access_03.output | 30 ++++++++++++ tests/petsc_complex/solver_real_01.output | 18 +++++++ tests/petsc_complex/solver_real_02.output | 18 +++++++ tests/petsc_complex/solver_real_03.output | 6 +++ tests/petsc_complex/solver_real_03_mf.output | 6 +++ tests/petsc_complex/solver_real_04.output | 6 +++ tests/petsc_complex/sparse_matrix_01.output | 8 ++++ tests/petsc_complex/vector_02.output | 8 ++++ tests/petsc_complex/vector_assign_01.output | 2 + tests/petsc_complex/vector_assign_02.output | 6 +++ tests/petsc_complex/vector_equality_1.output | 6 +++ tests/petsc_complex/vector_equality_2.cc | 14 +----- tests/petsc_complex/vector_equality_2.output | 6 +++ tests/petsc_complex/vector_print.output | 10 ++++ tests/petsc_complex/vector_wrap_01.output | 2 + 36 files changed, 272 insertions(+), 14 deletions(-) create mode 100644 tests/petsc_complex/00.output create mode 100644 tests/petsc_complex/01.output create mode 100644 tests/petsc_complex/02.output create mode 100644 tests/petsc_complex/04.output create mode 100644 tests/petsc_complex/05.output create mode 100644 tests/petsc_complex/06.output create mode 100644 tests/petsc_complex/07.output create mode 100644 tests/petsc_complex/08.output create mode 100644 tests/petsc_complex/09.output create mode 100644 tests/petsc_complex/10.output create mode 100644 tests/petsc_complex/11.output create mode 100644 tests/petsc_complex/12.output create mode 100644 tests/petsc_complex/13.output create mode 100644 tests/petsc_complex/17.output create mode 100644 tests/petsc_complex/18.output create mode 100644 tests/petsc_complex/19.output create mode 100644 tests/petsc_complex/element_access_00.output create mode 100644 tests/petsc_complex/element_access_01.output create mode 100644 tests/petsc_complex/element_access_02.output create mode 100644 tests/petsc_complex/element_access_03.output create mode 100644 tests/petsc_complex/solver_real_01.output create mode 100644 tests/petsc_complex/solver_real_02.output create mode 100644 tests/petsc_complex/solver_real_03.output create mode 100644 tests/petsc_complex/solver_real_03_mf.output create mode 100644 tests/petsc_complex/solver_real_04.output create mode 100644 tests/petsc_complex/sparse_matrix_01.output create mode 100644 tests/petsc_complex/vector_02.output create mode 100644 tests/petsc_complex/vector_assign_01.output create mode 100644 tests/petsc_complex/vector_assign_02.output create mode 100644 tests/petsc_complex/vector_equality_1.output create mode 100644 tests/petsc_complex/vector_equality_2.output create mode 100644 tests/petsc_complex/vector_print.output create mode 100644 tests/petsc_complex/vector_wrap_01.output diff --git a/tests/petsc_complex/00.output b/tests/petsc_complex/00.output new file mode 100644 index 0000000000..8fc890b1ae --- /dev/null +++ b/tests/petsc_complex/00.output @@ -0,0 +1,14 @@ + +DEAL::Check PetscScalar initialisation +DEAL::OK +DEAL::Check a nonzero PetscScalar +DEAL::OK +DEAL::Check PetscScalar initialised from std +DEAL::OK +DEAL::Check std initialised from PetscScalar +DEAL::OK +DEAL::Check PetscScalar division +DEAL::OK +DEAL::Check PetscScalar multiply +DEAL::OK + diff --git a/tests/petsc_complex/01.output b/tests/petsc_complex/01.output new file mode 100644 index 0000000000..0fd8fc12f0 --- /dev/null +++ b/tests/petsc_complex/01.output @@ -0,0 +1,2 @@ + +DEAL::OK diff --git a/tests/petsc_complex/02.output b/tests/petsc_complex/02.output new file mode 100644 index 0000000000..0fd8fc12f0 --- /dev/null +++ b/tests/petsc_complex/02.output @@ -0,0 +1,2 @@ + +DEAL::OK diff --git a/tests/petsc_complex/04.output b/tests/petsc_complex/04.output new file mode 100644 index 0000000000..0fd8fc12f0 --- /dev/null +++ b/tests/petsc_complex/04.output @@ -0,0 +1,2 @@ + +DEAL::OK diff --git a/tests/petsc_complex/05.output b/tests/petsc_complex/05.output new file mode 100644 index 0000000000..ab056528b5 --- /dev/null +++ b/tests/petsc_complex/05.output @@ -0,0 +1,4 @@ + +DEAL::8 +DEAL::OK +DEAL::OK diff --git a/tests/petsc_complex/06.output b/tests/petsc_complex/06.output new file mode 100644 index 0000000000..c3a0c690b9 --- /dev/null +++ b/tests/petsc_complex/06.output @@ -0,0 +1,3 @@ + +DEAL::7.00000 +DEAL::OK diff --git a/tests/petsc_complex/07.output b/tests/petsc_complex/07.output new file mode 100644 index 0000000000..22d8c0e810 --- /dev/null +++ b/tests/petsc_complex/07.output @@ -0,0 +1,3 @@ + +DEAL::8.50000 +DEAL::OK diff --git a/tests/petsc_complex/08.output b/tests/petsc_complex/08.output new file mode 100644 index 0000000000..d4083f6573 --- /dev/null +++ b/tests/petsc_complex/08.output @@ -0,0 +1,3 @@ + +DEAL::9.04157 +DEAL::OK diff --git a/tests/petsc_complex/09.cc b/tests/petsc_complex/09.cc index 458eec615d..04eb6d22f3 100644 --- a/tests/petsc_complex/09.cc +++ b/tests/petsc_complex/09.cc @@ -24,7 +24,7 @@ #include -void test_complex (PETScWrappers::SparseMatrix &m) +void test (PETScWrappers::SparseMatrix &m) { // first set a few entries for (unsigned int i=0; i in function + void dealii::PETScWrappers::SolverBase::solve(const dealii::PETScWrappers::MatrixBase&, dealii::PETScWrappers::VectorBase&, const dealii::PETScWrappers::VectorBase&, const dealii::PETScWrappers::PreconditionerBase&) +The violated condition was: + false +The name and call sequence of the exception was: + SolverControl::NoConvergence (solver_control.last_step(), solver_control.last_value()) +Additional Information: +Iterative method reported convergence failure in step 100 with residual 4.00437 +-------------------------------------------------------- + +DEAL::Solver stopped after 100 iterations diff --git a/tests/petsc_complex/solver_real_02.output b/tests/petsc_complex/solver_real_02.output new file mode 100644 index 0000000000..de02386e0c --- /dev/null +++ b/tests/petsc_complex/solver_real_02.output @@ -0,0 +1,18 @@ + +DEAL::Size 32 Unknowns 961 +DEAL::Solver type: N6dealii13PETScWrappers15SolverChebychevE +DEAL::Starting value 7.551 +DEAL::Failure step 100 value 2.942 +DEAL:: +-------------------------------------------------------- +An error occurred in file in function + void dealii::PETScWrappers::SolverBase::solve(const dealii::PETScWrappers::MatrixBase&, dealii::PETScWrappers::VectorBase&, const dealii::PETScWrappers::VectorBase&, const dealii::PETScWrappers::PreconditionerBase&) +The violated condition was: + false +The name and call sequence of the exception was: + SolverControl::NoConvergence (solver_control.last_step(), solver_control.last_value()) +Additional Information: +Iterative method reported convergence failure in step 100 with residual 2.94179 +-------------------------------------------------------- + +DEAL::Solver stopped after 100 iterations diff --git a/tests/petsc_complex/solver_real_03.output b/tests/petsc_complex/solver_real_03.output new file mode 100644 index 0000000000..2237281800 --- /dev/null +++ b/tests/petsc_complex/solver_real_03.output @@ -0,0 +1,6 @@ + +DEAL::Size 32 Unknowns 961 +DEAL::Solver type: N6dealii13PETScWrappers8SolverCGE +DEAL::Starting value 7.750 +DEAL::Convergence step 41 value 0.0006730 +DEAL::Solver stopped after 41 iterations diff --git a/tests/petsc_complex/solver_real_03_mf.output b/tests/petsc_complex/solver_real_03_mf.output new file mode 100644 index 0000000000..bea3eb1acb --- /dev/null +++ b/tests/petsc_complex/solver_real_03_mf.output @@ -0,0 +1,6 @@ + +DEAL::Size 32 Unknowns 961 +DEAL::Solver type: N6dealii13PETScWrappers8SolverCGE +DEAL::Starting value 31.00 +DEAL::Convergence step 43 value 0.0008189 +DEAL::Solver stopped after 43 iterations diff --git a/tests/petsc_complex/solver_real_04.output b/tests/petsc_complex/solver_real_04.output new file mode 100644 index 0000000000..d69ef9440f --- /dev/null +++ b/tests/petsc_complex/solver_real_04.output @@ -0,0 +1,6 @@ + +DEAL::Size 32 Unknowns 961 +DEAL::Solver type: N6dealii13PETScWrappers10SolverBiCGE +DEAL::Starting value 7.750 +DEAL::Convergence step 41 value 0.0006730 +DEAL::Solver stopped after 41 iterations diff --git a/tests/petsc_complex/sparse_matrix_01.output b/tests/petsc_complex/sparse_matrix_01.output new file mode 100644 index 0000000000..0fac50fa1c --- /dev/null +++ b/tests/petsc_complex/sparse_matrix_01.output @@ -0,0 +1,8 @@ + +DEAL::before: (0.00000,0.00000) +DEAL::(0.00000,0.00000) (3.00000,0.00000) (6.00000,0.00000) (9.00000,0.00000) (12.0000,0.00000) (15.0000,0.00000) (18.0000,0.00000) (21.0000,0.00000) (24.0000,0.00000) (27.0000,0.00000) +DEAL::after: (5.00000,0.00000) +DEAL::(1.00000,-1.00000) (5.00000,-2.00000) (9.00000,-3.00000) (13.0000,-4.00000) (17.0000,-5.00000) (21.0000,-6.00000) (25.0000,-7.00000) (29.0000,-8.00000) (33.0000,-9.00000) (37.0000,-10.0000) +DEAL::back to original: (0.00000,0.00000) +DEAL::(0.00000,0.00000) (3.00000,0.00000) (6.00000,0.00000) (9.00000,0.00000) (12.0000,0.00000) (15.0000,0.00000) (18.0000,0.00000) (21.0000,0.00000) (24.0000,0.00000) (27.0000,0.00000) +DEAL::OK diff --git a/tests/petsc_complex/vector_02.output b/tests/petsc_complex/vector_02.output new file mode 100644 index 0000000000..d20636e80b --- /dev/null +++ b/tests/petsc_complex/vector_02.output @@ -0,0 +1,8 @@ + +DEAL::before: +DEAL::(0,0i) (1.00000,0i) (2.00000,0i) (3.00000,0i) (4.00000,0i) (5.00000,0i) (6.00000,0i) (7.00000,0i) (8.00000,0i) (9.00000,0i) +DEAL::after: +DEAL::(0,0i) (2.00000,-1.00000i) (4.00000,-2.00000i) (6.00000,-3.00000i) (8.00000,-4.00000i) (10.0000,-5.00000i) (12.0000,-6.00000i) (14.0000,-7.00000i) (16.0000,-8.00000i) (18.0000,-9.00000i) +DEAL::back to original: +DEAL::(0,0i) (1.00000,0i) (2.00000,0i) (3.00000,0i) (4.00000,0i) (5.00000,0i) (6.00000,0i) (7.00000,0i) (8.00000,0i) (9.00000,0i) +DEAL::OK diff --git a/tests/petsc_complex/vector_assign_01.output b/tests/petsc_complex/vector_assign_01.output new file mode 100644 index 0000000000..0fd8fc12f0 --- /dev/null +++ b/tests/petsc_complex/vector_assign_01.output @@ -0,0 +1,2 @@ + +DEAL::OK diff --git a/tests/petsc_complex/vector_assign_02.output b/tests/petsc_complex/vector_assign_02.output new file mode 100644 index 0000000000..f432760cf7 --- /dev/null +++ b/tests/petsc_complex/vector_assign_02.output @@ -0,0 +1,6 @@ + +DEAL::OK +DEAL::Complex vectors: +DEAL::v: (0.,0.) (1.,1.) (2.,4.) (3.,9.) (4.,16.) (5.,25.) (6.,36.) (7.,49.) (8.,64.) (9.,81.) (10.,100.) (11.,121.) (12.,144.) (13.,169.) (14.,196.) (15.,225.) (16.,256.) (17.,289.) (18.,324.) (19.,361.) +w: (0.,0.) (1.,1.) (2.,4.) (3.,9.) (4.,16.) (5.,25.) (6.,36.) (7.,49.) (8.,64.) (9.,81.) (10.,100.) (11.,121.) (12.,144.) (13.,169.) (14.,196.) (15.,225.) (16.,256.) (17.,289.) (18.,324.) (19.,361.) +OK diff --git a/tests/petsc_complex/vector_equality_1.output b/tests/petsc_complex/vector_equality_1.output new file mode 100644 index 0000000000..450c4b40d9 --- /dev/null +++ b/tests/petsc_complex/vector_equality_1.output @@ -0,0 +1,6 @@ + +DEAL::OK +DEAL::Complex vectors: +(0.,0.) (1.,1.) (2.,2.) (3.,3.) (4.,4.) (5.,5.) (6.,6.) (7.,7.) (8.,8.) (9.,9.) (10.,10.) (11.,11.) (12.,12.) (13.,13.) (14.,14.) (15.,15.) (16.,16.) (17.,17.) (18.,18.) (19.,19.) +(1.,1.) (0.,0.) (0.,0.) (4.,4.) (0.,0.) (0.,0.) (7.,7.) (0.,0.) (0.,0.) (10.,10.) (0.,0.) (0.,0.) (13.,13.) (0.,0.) (0.,0.) (16.,16.) (0.,0.) (0.,0.) (19.,19.) (0.,0.) +DEAL::OK diff --git a/tests/petsc_complex/vector_equality_2.cc b/tests/petsc_complex/vector_equality_2.cc index c802ba41e3..e0d5cb929d 100644 --- a/tests/petsc_complex/vector_equality_2.cc +++ b/tests/petsc_complex/vector_equality_2.cc @@ -59,19 +59,9 @@ int main (int argc, char **argv) { PETScWrappers::Vector v (20); PETScWrappers::Vector w (20); - test_real (v,w); + test (v,w); - // Just incase, *read* these vectors are correct. - deallog << "Real vectors: " << std::endl; - v.print (logfile, 0, false, true); - w.print (logfile, 0, false, true); - deallog << "OK" << std::endl; - - v.reinit (20); - w.reinit (20); - test_complex (v,w); - - // Just incase, *read* these vectors are correct. + // Output deallog << "Complex vectors: " << std::endl; v.print (logfile, 0, false, true); w.print (logfile, 0, false, true); diff --git a/tests/petsc_complex/vector_equality_2.output b/tests/petsc_complex/vector_equality_2.output new file mode 100644 index 0000000000..b49f220c60 --- /dev/null +++ b/tests/petsc_complex/vector_equality_2.output @@ -0,0 +1,6 @@ + +DEAL::OK +DEAL::Complex vectors: +(1.,1.) (0.,0.) (0.,0.) (4.,4.) (0.,0.) (0.,0.) (7.,7.) (0.,0.) (0.,0.) (10.,10.) (0.,0.) (0.,0.) (13.,13.) (0.,0.) (0.,0.) (16.,16.) (0.,0.) (0.,0.) (19.,19.) (0.,0.) +(1.,1.) (0.,0.) (0.,0.) (4.,4.) (0.,0.) (0.,0.) (7.,7.) (0.,0.) (0.,0.) (10.,10.) (0.,0.) (0.,0.) (13.,13.) (0.,0.) (0.,0.) (16.,16.) (0.,0.) (0.,0.) (19.,19.) (0.,0.) +DEAL::OK diff --git a/tests/petsc_complex/vector_print.output b/tests/petsc_complex/vector_print.output new file mode 100644 index 0000000000..a2b6107901 --- /dev/null +++ b/tests/petsc_complex/vector_print.output @@ -0,0 +1,10 @@ + +DEAL::unreadable=true,across=false +(0.0000000000e+00,0.0000000000e+00) +(1.2345678901e+00,2.4691357802e+00) +(2.4691357802e+00,4.9382715605e+00) +(3.7037036704e+00,7.4074073407e+00) +(4.9382715605e+00,9.8765431210e+00) + +DEAL::unreadable=false,across=true +(0.000,0.000) (1.235,2.469) (2.469,4.938) (3.704,7.407) (4.938,9.877) diff --git a/tests/petsc_complex/vector_wrap_01.output b/tests/petsc_complex/vector_wrap_01.output new file mode 100644 index 0000000000..0fd8fc12f0 --- /dev/null +++ b/tests/petsc_complex/vector_wrap_01.output @@ -0,0 +1,2 @@ + +DEAL::OK -- 2.39.5