]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use SphericalManifold in mpi/p4est_2d_constraintmatrix_03 5703/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Fri, 5 Jan 2018 14:08:11 +0000 (15:08 +0100)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Fri, 5 Jan 2018 17:01:40 +0000 (18:01 +0100)
tests/mpi/p4est_2d_constraintmatrix_03.cc
tests/mpi/p4est_2d_constraintmatrix_03.with_trilinos=true.mpirun=10.output
tests/mpi/p4est_2d_constraintmatrix_03.with_trilinos=true.mpirun=4.output

index 7fe9d470bdb725b163921ef7bb8239d028102d1b..ff0d86e8ec3956fe972bf97615750f3eb53cfb4a 100644 (file)
@@ -35,7 +35,6 @@
 #include <deal.II/grid/tria_accessor.h>
 #include <deal.II/grid/tria_iterator.h>
 #include <deal.II/dofs/dof_accessor.h>
-#include <deal.II/grid/tria_boundary_lib.h>
 #include <deal.II/grid/manifold_lib.h>
 #include <deal.II/numerics/data_out.h>
 #include <deal.II/lac/trilinos_vector.h>
@@ -64,13 +63,9 @@ void test()
                               12,
                               true);
 
-  static HyperShellBoundary<dim> boundary;
-  tr.set_boundary (0, boundary);
-  tr.set_boundary (1, boundary);
-
-/*  static SphericalManifold<dim> boundary;
+  static SphericalManifold<dim> boundary;
   tr.set_manifold (0, boundary);
-  tr.set_manifold (1, boundary);*/
+  tr.set_manifold (1, boundary);
 
   tr.refine_global (1);
   for (unsigned int step=0; step<20; ++step)
@@ -136,9 +131,9 @@ void test()
   TrilinosWrappers::MPI::Vector x_dub;
   x_dub.reinit(complete_index_set(dof_set.size()));
   x_dub.reinit(x_rel, false, true);
-  
+
   if (myid==0)
-     x_dub.print(deallog.get_file_stream(), 8, true, false);
+    x_dub.print(deallog.get_file_stream(), 8, true, false);
 
   tr.set_manifold (0);
   tr.set_manifold (1);
index bdf366028c9483d28874a07473c276a9e45fa59d..44f2ebda68873cb81e83712fe888062e6c888f0d 100644 (file)
@@ -15,7 +15,7 @@
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--2.63304995e-01
+-1.30333082e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
@@ -53,7 +53,7 @@
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--1.53465398e+00
+-1.33527178e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
@@ -68,7 +68,7 @@
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--1.53465398e+00
+-1.33527178e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-9.86290852e-01
+1.06914255e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-6.78908518e-01
+7.52853500e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--6.78908518e-01
+-7.52853500e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 8.16987298e-01
 2.00000000e+00
--9.86290852e-01
+-1.06914255e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-3.97824735e-01
+4.66433230e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 1.25000000e+00
 2.00000000e+00
-1.31086926e-01
+1.97077264e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--8.28427125e-01
+-9.87224211e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--2.63304995e-01
+-3.98605130e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-6.78908518e-01
+6.06591211e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-1.31086926e-01
+6.53795718e-02
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-3.97824735e-01
+3.30105238e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-9.06188211e-01
+8.67017967e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-1.06902227e+00
+1.11148712e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-1.75395293e+00
+1.87338004e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-1.33635728e+00
+1.43332132e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-1.33635728e+00
+1.24355020e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-1.75395293e+00
+1.87338004e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-1.75395293e+00
+1.87338004e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-1.33635728e+00
+1.24355020e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-1.24367992e+00
+1.19873798e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-1.43317973e+00
+1.38420293e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-1.64135758e+00
+1.69689373e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-1.87320442e+00
+1.93562081e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-9.86290852e-01
+1.06914255e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-6.78908518e-01
+6.06591211e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-3.97824735e-01
+3.30105238e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-1.31086926e-01
+6.53795718e-02
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--6.78908518e-01
+-6.06591211e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--9.86290852e-01
+-9.06075459e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--1.31086926e-01
+-6.53795718e-02
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--3.97824735e-01
+-3.30105238e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--1.24367992e+00
+-1.19873798e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 6.74504759e-01
 2.00000000e+00
--1.43317973e+00
+-1.48331920e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--1.75395293e+00
+-1.87338004e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--1.75395293e+00
+-1.64120103e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--1.43317973e+00
+-1.48331920e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 8.16987298e-01
 2.00000000e+00
--1.24367992e+00
+-1.19873798e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--9.86290852e-01
+-1.06914255e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--6.78908518e-01
+-7.52853500e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--3.97824735e-01
+-4.66433230e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--1.31086926e-01
+-1.97077264e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-6.78908518e-01
+7.52853500e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-9.86290852e-01
+1.06914255e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-1.31086926e-01
+6.53795718e-02
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-3.97824735e-01
+4.66433230e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
index 39f096534ce9ba8f063d6b3b5cd86e87fa221899..84ab164fbae9fc7e6ae96efb0303a5b76501c0ec 100644 (file)
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--6.78908518e-01
+-7.52853500e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--9.86290852e-01
+-1.06914255e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--1.33635728e+00
+-1.24355020e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--1.75395293e+00
+-1.64120103e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--1.75395293e+00
+-1.64120103e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--1.33635728e+00
+-1.43332132e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-7.52746698e-01
+7.90355725e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 1.45096189e+00
 2.00000000e+00
-6.06693367e-01
+5.71117827e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--6.54732208e-02
+-9.82654126e-02
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--1.96982807e-01
+-1.63978894e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--3.30201336e-01
+-2.96660033e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 1.04903811e+00
 2.00000000e+00
--4.66334594e-01
+-4.31946369e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-1.06902227e+00
+1.11148712e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-9.06188211e-01
+9.45943851e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-8.28427125e-01
+9.87224211e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--9.86290852e-01
+-1.06914255e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--6.78908518e-01
+-7.52853500e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-1.75395293e+00
+1.87338004e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-1.33635728e+00
+1.43332132e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-3.97824735e-01
+4.66433230e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-1.31086926e-01
+1.97077264e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-1.33635728e+00
+1.24355020e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-1.75395293e+00
+1.87338004e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--3.97824735e-01
+-3.30105238e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--1.31086926e-01
+-6.53795718e-02
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-1.31086926e-01
+6.53795718e-02
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 1.45096189e+00
 2.00000000e+00
-3.97824735e-01
+3.30105238e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-1.53465398e+00
+1.33527178e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-8.28427125e-01
+6.78071492e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-1.75395293e+00
+1.87338004e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 1.68301270e+00
 2.00000000e+00
-1.33635728e+00
+1.24355020e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--1.31086926e-01
+-6.53795718e-02
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-3.97824735e-01
+3.30105238e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-1.31086926e-01
+6.53795718e-02
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--3.30201336e-01
+-3.63924432e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--4.66334594e-01
+-5.00986338e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--5.71130465e-01
+-5.88870669e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--6.42611095e-01
+-6.60712374e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--7.15611443e-01
+-6.97206003e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 9.39339828e-01
 2.00000000e+00
--7.90342216e-01
+-7.71483455e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--1.53465398e+00
+-1.75528131e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--8.28427125e-01
+-9.87224211e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--2.63304995e-01
+-1.30333082e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-2.63304995e-01
+1.30333082e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--1.33635728e+00
+-1.43332132e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 5.00000000e-01
--1.75395293e+00
+-1.87338004e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-6.78908518e-01
+7.52853500e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
-9.86290852e-01
+1.06914255e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
--9.06188211e-01
+-8.67017967e-01
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00
 8.16987298e-01
 2.00000000e+00
--1.06902227e+00
+-1.02729410e+00
 2.00000000e+00
 2.00000000e+00
 2.00000000e+00

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.