]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix multigrid/transfer_04b 6689/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Mon, 28 May 2018 21:13:15 +0000 (23:13 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Mon, 28 May 2018 21:32:18 +0000 (23:32 +0200)
tests/multigrid/transfer_04b.cc
tests/multigrid/transfer_04b.with_petsc=true.with_petsc_with_complex=false.mpirun=1.output [moved from tests/multigrid/transfer_04b.with_trilinos=true.mpirun=1.debug.output with 100% similarity]
tests/multigrid/transfer_04b.with_petsc=true.with_petsc_with_complex=false.mpirun=2.output [moved from tests/multigrid/transfer_04b.with_trilinos=true.mpirun=2.debug.output with 100% similarity]
tests/multigrid/transfer_04b.with_petsc=true.with_petsc_with_complex=true.mpirun=1.output [new file with mode: 0644]
tests/multigrid/transfer_04b.with_petsc=true.with_petsc_with_complex=true.mpirun=2.output [new file with mode: 0644]

index 8a76c922ed04b436913235efec70cb4920e012ab..8caaa9aa076889532186da57886afbb7c92414dc 100644 (file)
@@ -158,7 +158,7 @@ check_fe(FiniteElement<dim> &fe)
     for (unsigned int i = 0; i < dofh.locally_owned_dofs().n_elements(); ++i)
       {
         unsigned int index = dofh.locally_owned_dofs().nth_index_in_set(i);
-        deallog << v[index] << " ";
+        deallog << static_cast<PetscScalar>(v(index)) << " ";
       }
   }
   // v.print(deallog.get_file_stream());
diff --git a/tests/multigrid/transfer_04b.with_petsc=true.with_petsc_with_complex=true.mpirun=1.output b/tests/multigrid/transfer_04b.with_petsc=true.with_petsc_with_complex=true.mpirun=1.output
new file mode 100644 (file)
index 0000000..de0703d
--- /dev/null
@@ -0,0 +1,75 @@
+
+DEAL:0::FE_Q<2>(1)
+DEAL:0::cell=0_0: level_subdomain_id=0
+DEAL:0::cell=0_1:0 level_subdomain_id=0
+DEAL:0::cell=0_1:1 level_subdomain_id=0
+DEAL:0::cell=0_1:2 level_subdomain_id=0
+DEAL:0::cell=0_1:3 level_subdomain_id=0
+DEAL:0::cell=0_2:00 level_subdomain_id=0
+DEAL:0::cell=0_2:01 level_subdomain_id=0
+DEAL:0::cell=0_2:02 level_subdomain_id=0
+DEAL:0::cell=0_2:03 level_subdomain_id=0
+DEAL:0::cell=0_2:10 level_subdomain_id=0
+DEAL:0::cell=0_2:11 level_subdomain_id=0
+DEAL:0::cell=0_2:12 level_subdomain_id=0
+DEAL:0::cell=0_2:13 level_subdomain_id=0
+DEAL:0::cell=0_2:20 level_subdomain_id=0
+DEAL:0::cell=0_2:21 level_subdomain_id=0
+DEAL:0::cell=0_2:22 level_subdomain_id=0
+DEAL:0::cell=0_2:23 level_subdomain_id=0
+DEAL:0::cell=0_3:000 level_subdomain_id=0
+DEAL:0::cell=0_3:001 level_subdomain_id=0
+DEAL:0::cell=0_3:002 level_subdomain_id=0
+DEAL:0::cell=0_3:003 level_subdomain_id=0
+DEAL:0::cell=0_3:010 level_subdomain_id=0
+DEAL:0::cell=0_3:011 level_subdomain_id=0
+DEAL:0::cell=0_3:012 level_subdomain_id=0
+DEAL:0::cell=0_3:013 level_subdomain_id=0
+DEAL:0::cell=0_3:020 level_subdomain_id=0
+DEAL:0::cell=0_3:021 level_subdomain_id=0
+DEAL:0::cell=0_3:022 level_subdomain_id=0
+DEAL:0::cell=0_3:023 level_subdomain_id=0
+copy_indices[1]        0       3
+copy_indices[1]        1       5
+copy_indices[1]        2       7
+copy_indices[1]        3       8
+copy_indices[2]        0       8
+copy_indices[2]        1       14
+copy_indices[2]        2       20
+copy_indices[2]        4       3
+copy_indices[2]        5       5
+copy_indices[2]        6       7
+copy_indices[2]        7       4
+copy_indices[2]        8       9
+copy_indices[2]        9       10
+copy_indices[2]        10      11
+copy_indices[2]        11      12
+copy_indices[2]        12      13
+copy_indices[2]        13      6
+copy_indices[2]        14      15
+copy_indices[2]        15      16
+copy_indices[2]        16      17
+copy_indices[2]        17      18
+copy_indices[2]        18      19
+copy_indices[3]        4       8
+copy_indices[3]        5       14
+copy_indices[3]        6       20
+copy_indices[3]        7       11
+copy_indices[3]        13      18
+copy_indices[3]        19      0
+copy_indices[3]        20      1
+copy_indices[3]        21      2
+copy_indices[3]        22      3
+copy_indices[3]        23      4
+copy_indices[3]        24      5
+copy_indices[3]        25      6
+copy_indices[3]        26      7
+copy_indices[3]        27      9
+copy_indices[3]        28      10
+copy_indices[3]        29      12
+copy_indices[3]        30      13
+copy_indices[3]        31      15
+copy_indices[3]        32      16
+copy_indices[3]        33      17
+copy_indices[3]        34      19
+DEAL:0::(1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) ok
diff --git a/tests/multigrid/transfer_04b.with_petsc=true.with_petsc_with_complex=true.mpirun=2.output b/tests/multigrid/transfer_04b.with_petsc=true.with_petsc_with_complex=true.mpirun=2.output
new file mode 100644 (file)
index 0000000..9390518
--- /dev/null
@@ -0,0 +1,109 @@
+
+DEAL:0::FE_Q<2>(1)
+DEAL:0::cell=0_0: level_subdomain_id=0
+DEAL:0::cell=0_1:0 level_subdomain_id=0
+DEAL:0::cell=0_1:1 level_subdomain_id=1
+DEAL:0::cell=0_1:2 level_subdomain_id=1
+DEAL:0::cell=0_1:3 level_subdomain_id=1
+DEAL:0::cell=0_2:00 level_subdomain_id=0
+DEAL:0::cell=0_2:01 level_subdomain_id=0
+DEAL:0::cell=0_2:02 level_subdomain_id=0
+DEAL:0::cell=0_2:03 level_subdomain_id=1
+DEAL:0::cell=0_2:10 level_subdomain_id=1
+DEAL:0::cell=0_2:11 level_subdomain_id=4294967294
+DEAL:0::cell=0_2:12 level_subdomain_id=1
+DEAL:0::cell=0_2:13 level_subdomain_id=4294967294
+DEAL:0::cell=0_2:20 level_subdomain_id=1
+DEAL:0::cell=0_2:21 level_subdomain_id=1
+DEAL:0::cell=0_2:22 level_subdomain_id=4294967294
+DEAL:0::cell=0_2:23 level_subdomain_id=4294967294
+DEAL:0::cell=0_3:000 level_subdomain_id=0
+DEAL:0::cell=0_3:001 level_subdomain_id=0
+DEAL:0::cell=0_3:002 level_subdomain_id=0
+DEAL:0::cell=0_3:003 level_subdomain_id=0
+DEAL:0::cell=0_3:010 level_subdomain_id=0
+DEAL:0::cell=0_3:011 level_subdomain_id=0
+DEAL:0::cell=0_3:012 level_subdomain_id=0
+DEAL:0::cell=0_3:013 level_subdomain_id=0
+DEAL:0::cell=0_3:020 level_subdomain_id=0
+DEAL:0::cell=0_3:021 level_subdomain_id=0
+DEAL:0::cell=0_3:022 level_subdomain_id=0
+DEAL:0::cell=0_3:023 level_subdomain_id=0
+copy_indices[2]        8       3
+copy_indices[2]        11      4
+copy_indices[2]        14      5
+copy_indices[2]        18      6
+copy_indices[2]        20      7
+copy_indices[3]        0       0
+copy_indices[3]        1       1
+copy_indices[3]        2       2
+copy_indices[3]        3       3
+copy_indices[3]        4       4
+copy_indices[3]        5       5
+copy_indices[3]        6       6
+copy_indices[3]        7       7
+copy_indices[3]        8       8
+copy_indices[3]        9       9
+copy_indices[3]        10      10
+copy_indices[3]        11      11
+copy_indices[3]        12      12
+copy_indices[3]        13      13
+copy_indices[3]        14      14
+copy_indices[3]        15      15
+copy_indices[3]        16      16
+copy_indices[3]        17      17
+copy_indices[3]        18      18
+copy_indices[3]        19      19
+copy_indices[3]        20      20
+copy_ifrom  [1]        21      3
+DEAL:0::(1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) ok
+
+DEAL:1::FE_Q<2>(1)
+DEAL:1::cell=0_0: level_subdomain_id=0
+DEAL:1::cell=0_1:0 level_subdomain_id=0
+DEAL:1::cell=0_1:1 level_subdomain_id=1
+DEAL:1::cell=0_1:2 level_subdomain_id=1
+DEAL:1::cell=0_1:3 level_subdomain_id=1
+DEAL:1::cell=0_2:00 level_subdomain_id=0
+DEAL:1::cell=0_2:01 level_subdomain_id=0
+DEAL:1::cell=0_2:02 level_subdomain_id=0
+DEAL:1::cell=0_2:03 level_subdomain_id=1
+DEAL:1::cell=0_2:10 level_subdomain_id=1
+DEAL:1::cell=0_2:11 level_subdomain_id=1
+DEAL:1::cell=0_2:12 level_subdomain_id=1
+DEAL:1::cell=0_2:13 level_subdomain_id=1
+DEAL:1::cell=0_2:20 level_subdomain_id=1
+DEAL:1::cell=0_2:21 level_subdomain_id=1
+DEAL:1::cell=0_2:22 level_subdomain_id=1
+DEAL:1::cell=0_2:23 level_subdomain_id=1
+DEAL:1::cell=0_3:000 level_subdomain_id=4294967294
+DEAL:1::cell=0_3:001 level_subdomain_id=4294967294
+DEAL:1::cell=0_3:002 level_subdomain_id=4294967294
+DEAL:1::cell=0_3:003 level_subdomain_id=0
+DEAL:1::cell=0_3:010 level_subdomain_id=4294967294
+DEAL:1::cell=0_3:011 level_subdomain_id=0
+DEAL:1::cell=0_3:012 level_subdomain_id=0
+DEAL:1::cell=0_3:013 level_subdomain_id=0
+DEAL:1::cell=0_3:020 level_subdomain_id=4294967294
+DEAL:1::cell=0_3:021 level_subdomain_id=0
+DEAL:1::cell=0_3:022 level_subdomain_id=0
+DEAL:1::cell=0_3:023 level_subdomain_id=0
+copy_indices[1]        22      5
+copy_indices[1]        23      7
+copy_indices[1]        24      8
+copy_indices[2]        21      8
+copy_indices[2]        22      14
+copy_indices[2]        23      20
+copy_indices[2]        25      9
+copy_indices[2]        26      10
+copy_indices[2]        27      11
+copy_indices[2]        28      12
+copy_indices[2]        29      13
+copy_indices[2]        30      15
+copy_indices[2]        31      16
+copy_indices[2]        32      17
+copy_indices[2]        33      18
+copy_indices[2]        34      19
+copy_ito    [1]        21      3
+DEAL:1::(1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) (1.00000,0.00000) 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.