From: Denis Davydov Date: Mon, 28 Mar 2016 17:33:18 +0000 (+0200) Subject: extend tests/mpi/constraint_matrix_set_zero_01 to complex-valued PETSc X-Git-Tag: v8.5.0-rc1~1153^2~42 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6582a1db572be13f13e0727a97243e98f2a18583;p=dealii.git extend tests/mpi/constraint_matrix_set_zero_01 to complex-valued PETSc --- diff --git a/tests/mpi/constraint_matrix_set_zero_01.with_petsc=true.mpirun=1.output.2 b/tests/mpi/constraint_matrix_set_zero_01.with_petsc=true.mpirun=1.output.2 new file mode 100644 index 0000000000..b9be28e5b9 --- /dev/null +++ b/tests/mpi/constraint_matrix_set_zero_01.with_petsc=true.mpirun=1.output.2 @@ -0,0 +1,10 @@ + +DEAL:0::vector before: +C0:[Proc0 0-0] (1.000e+00,0.000e+00) +C1:[Proc0 0-1] (2.000e+00,0.000e+00) (3.000e+00,0.000e+00) +DEAL:0::CM: + 1 = 0 +DEAL:0::vector after: +C0:[Proc0 0-0] (1.000e+00,0.000e+00) +C1:[Proc0 0-1] (0.000e+00,0.000e+00) (3.000e+00,0.000e+00) +DEAL:0::OK diff --git a/tests/mpi/constraint_matrix_set_zero_01.with_petsc=true.mpirun=2.output.2 b/tests/mpi/constraint_matrix_set_zero_01.with_petsc=true.mpirun=2.output.2 new file mode 100644 index 0000000000..a2eee3b7ca --- /dev/null +++ b/tests/mpi/constraint_matrix_set_zero_01.with_petsc=true.mpirun=2.output.2 @@ -0,0 +1,20 @@ + +DEAL:0::vector before: +C0:[Proc0 0-0] (1.000e+00,0.000e+00) +C1:[Proc0 0-1] (3.000e+00,0.000e+00) (4.000e+00,0.000e+00) +DEAL:0::CM: + 2 = 0 +DEAL:0::vector after: +C0:[Proc0 0-0] (1.000e+00,0.000e+00) +C1:[Proc0 0-1] (0.000e+00,0.000e+00) (4.000e+00,0.000e+00) +DEAL:0::OK + +DEAL:1::vector before: +C0:[Proc1 1-1] (2.000e+00,0.000e+00) +C1:[Proc1 2-3] (5.000e+00,0.000e+00) (6.000e+00,0.000e+00) +DEAL:1::CM: + 4 = 0 +DEAL:1::vector after: +C0:[Proc1 1-1] (2.000e+00,0.000e+00) +C1:[Proc1 2-3] (0.000e+00,0.000e+00) (6.000e+00,0.000e+00) +DEAL:1::OK \ No newline at end of file