From 4fb6a91665447fd7f151cdda4c7ea3648a88a2a9 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Mon, 28 May 2018 23:13:15 +0200 Subject: [PATCH] Fix multigrid/transfer_04b --- tests/multigrid/transfer_04b.cc | 2 +- ..._petsc_with_complex=false.mpirun=1.output} | 0 ..._petsc_with_complex=false.mpirun=2.output} | 0 ...th_petsc_with_complex=true.mpirun=1.output | 75 ++++++++++++ ...th_petsc_with_complex=true.mpirun=2.output | 109 ++++++++++++++++++ 5 files changed, 185 insertions(+), 1 deletion(-) rename tests/multigrid/{transfer_04b.with_trilinos=true.mpirun=1.debug.output => transfer_04b.with_petsc=true.with_petsc_with_complex=false.mpirun=1.output} (100%) rename tests/multigrid/{transfer_04b.with_trilinos=true.mpirun=2.debug.output => transfer_04b.with_petsc=true.with_petsc_with_complex=false.mpirun=2.output} (100%) create mode 100644 tests/multigrid/transfer_04b.with_petsc=true.with_petsc_with_complex=true.mpirun=1.output create mode 100644 tests/multigrid/transfer_04b.with_petsc=true.with_petsc_with_complex=true.mpirun=2.output diff --git a/tests/multigrid/transfer_04b.cc b/tests/multigrid/transfer_04b.cc index 8a76c922ed..8caaa9aa07 100644 --- a/tests/multigrid/transfer_04b.cc +++ b/tests/multigrid/transfer_04b.cc @@ -158,7 +158,7 @@ check_fe(FiniteElement &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(v(index)) << " "; } } // v.print(deallog.get_file_stream()); diff --git a/tests/multigrid/transfer_04b.with_trilinos=true.mpirun=1.debug.output b/tests/multigrid/transfer_04b.with_petsc=true.with_petsc_with_complex=false.mpirun=1.output similarity index 100% rename from tests/multigrid/transfer_04b.with_trilinos=true.mpirun=1.debug.output rename to tests/multigrid/transfer_04b.with_petsc=true.with_petsc_with_complex=false.mpirun=1.output diff --git a/tests/multigrid/transfer_04b.with_trilinos=true.mpirun=2.debug.output b/tests/multigrid/transfer_04b.with_petsc=true.with_petsc_with_complex=false.mpirun=2.output similarity index 100% rename from tests/multigrid/transfer_04b.with_trilinos=true.mpirun=2.debug.output rename to tests/multigrid/transfer_04b.with_petsc=true.with_petsc_with_complex=false.mpirun=2.output 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 index 0000000000..de0703dd6a --- /dev/null +++ b/tests/multigrid/transfer_04b.with_petsc=true.with_petsc_with_complex=true.mpirun=1.output @@ -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 index 0000000000..9390518626 --- /dev/null +++ b/tests/multigrid/transfer_04b.with_petsc=true.with_petsc_with_complex=true.mpirun=2.output @@ -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 + -- 2.39.5