v2.reinit(mgdof.locally_owned_mg_dofs(level), MPI_COMM_WORLD);
v3.reinit(mgdof.locally_owned_mg_dofs(level), MPI_COMM_WORLD);
for (unsigned int i=0; i<v1.local_size(); ++i)
- v1.local_element(i) = (double)rand()/RAND_MAX;
+ v1.local_element(i) = (double)Testing::rand()/RAND_MAX;
v1_cpy = v1;
transfer.prolongate(level, v2, v1);
transfer_ref.prolongate(level, v3, v1_cpy);
v2.reinit(mgdof.locally_owned_mg_dofs(level-1), MPI_COMM_WORLD);
v3.reinit(mgdof.locally_owned_mg_dofs(level-1), MPI_COMM_WORLD);
for (unsigned int i=0; i<v1.local_size(); ++i)
- v1.local_element(i) = (double)rand()/RAND_MAX;
+ v1.local_element(i) = (double)Testing::rand()/RAND_MAX;
v1_cpy = v1;
transfer.restrict_and_add(level, v2, v1);
transfer_ref.restrict_and_add(level, v3, v1_cpy);
v2.reinit(mgdof.locally_owned_mg_dofs(level), MPI_COMM_WORLD);
v3.reinit(mgdof.locally_owned_mg_dofs(level), MPI_COMM_WORLD);
for (unsigned int i=0; i<v1.local_size(); ++i)
- v1.local_element(i) = (double)rand()/RAND_MAX;
+ v1.local_element(i) = (double)Testing::rand()/RAND_MAX;
v1_cpy = v1;
transfer.prolongate(level, v2, v1);
transfer_ref.prolongate(level, v3, v1_cpy);
v2.reinit(mgdof.locally_owned_mg_dofs(level-1), MPI_COMM_WORLD);
v3.reinit(mgdof.locally_owned_mg_dofs(level-1), MPI_COMM_WORLD);
for (unsigned int i=0; i<v1.local_size(); ++i)
- v1.local_element(i) = (double)rand()/RAND_MAX;
+ v1.local_element(i) = (double)Testing::rand()/RAND_MAX;
v1_cpy = v1;
transfer.restrict_and_add(level, v2, v1);
transfer_ref.restrict_and_add(level, v3, v1_cpy);
v2.reinit(mgdof.locally_owned_mg_dofs(level), MPI_COMM_WORLD);
v3.reinit(mgdof.locally_owned_mg_dofs(level), MPI_COMM_WORLD);
for (unsigned int i=0; i<v1.local_size(); ++i)
- v1.local_element(i) = (double)rand()/RAND_MAX;
+ v1.local_element(i) = (double)Testing::rand()/RAND_MAX;
v1_cpy = v1;
transfer.prolongate(level, v2, v1);
transfer_ref.prolongate(level, v3, v1_cpy);
v2.reinit(mgdof.locally_owned_mg_dofs(level-1), MPI_COMM_WORLD);
v3.reinit(mgdof.locally_owned_mg_dofs(level-1), MPI_COMM_WORLD);
for (unsigned int i=0; i<v1.local_size(); ++i)
- v1.local_element(i) = (double)rand()/RAND_MAX;
+ v1.local_element(i) = (double)Testing::rand()/RAND_MAX;
v1_cpy = v1;
transfer.restrict_and_add(level, v2, v1);
transfer_ref.restrict_and_add(level, v3, v1_cpy);
-JobId mklap4 Mon Jan 11 11:42:13 2016
+
DEAL::FE: FE_Q<2>(1)
DEAL::no. cells: 12 on 2 levels
DEAL::Diff prolongate l1: 0
v2.reinit(mgdof.locally_owned_mg_dofs(level), MPI_COMM_WORLD);
v3.reinit(mgdof.locally_owned_mg_dofs(level), MPI_COMM_WORLD);
for (unsigned int i=0; i<v1.local_size(); ++i)
- v1.local_element(i) = (double)rand()/RAND_MAX;
+ v1.local_element(i) = (double)Testing::rand()/RAND_MAX;
v1_cpy = v1;
transfer.prolongate(level, v2, v1);
transfer_ref.prolongate(level, v3, v1_cpy);
v2.reinit(mgdof.locally_owned_mg_dofs(level-1), MPI_COMM_WORLD);
v3.reinit(mgdof.locally_owned_mg_dofs(level-1), MPI_COMM_WORLD);
for (unsigned int i=0; i<v1.local_size(); ++i)
- v1.local_element(i) = (double)rand()/RAND_MAX;
+ v1.local_element(i) = (double)Testing::rand()/RAND_MAX;
v1_cpy = v1;
transfer.restrict_and_add(level, v2, v1);
transfer_ref.restrict_and_add(level, v3, v1_cpy);
v2.reinit(mgdof.locally_owned_mg_dofs(level), MPI_COMM_WORLD);
v3.reinit(mgdof.locally_owned_mg_dofs(level), MPI_COMM_WORLD);
for (unsigned int i=0; i<v1.local_size(); ++i)
- v1.local_element(i) = (double)rand()/RAND_MAX;
+ v1.local_element(i) = (double)Testing::rand()/RAND_MAX;
v1_cpy = v1;
transfer.prolongate(level, v2, v1);
transfer_ref.prolongate(level, v3, v1_cpy);
v2.reinit(mgdof.locally_owned_mg_dofs(level-1), MPI_COMM_WORLD);
v3.reinit(mgdof.locally_owned_mg_dofs(level-1), MPI_COMM_WORLD);
for (unsigned int i=0; i<v1.local_size(); ++i)
- v1.local_element(i) = (double)rand()/RAND_MAX;
+ v1.local_element(i) = (double)Testing::rand()/RAND_MAX;
v1_cpy = v1;
transfer.restrict_and_add(level, v2, v1);
transfer_ref.restrict_and_add(level, v3, v1_cpy);
v2.reinit(mgdof.locally_owned_mg_dofs(level), MPI_COMM_WORLD);
v3.reinit(mgdof.locally_owned_mg_dofs(level), MPI_COMM_WORLD);
for (unsigned int i=0; i<v1.local_size(); ++i)
- v1.local_element(i) = (double)rand()/RAND_MAX;
+ v1.local_element(i) = (double)Testing::rand()/RAND_MAX;
v1_cpy = v1;
transfer.prolongate(level, v2, v1);
transfer_ref.prolongate(level, v3, v1_cpy);
v2.reinit(mgdof.locally_owned_mg_dofs(level-1), MPI_COMM_WORLD);
v3.reinit(mgdof.locally_owned_mg_dofs(level-1), MPI_COMM_WORLD);
for (unsigned int i=0; i<v1.local_size(); ++i)
- v1.local_element(i) = (double)rand()/RAND_MAX;
+ v1.local_element(i) = (double)Testing::rand()/RAND_MAX;
v1_cpy = v1;
transfer.restrict_and_add(level, v2, v1);
transfer_ref.restrict_and_add(level, v3, v1_cpy);