]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Adjust tests. 5308/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 24 Oct 2017 13:54:39 +0000 (07:54 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 25 Oct 2017 04:07:15 +0000 (22:07 -0600)
tests/dofs/dof_renumbering.cc
tests/dofs/dof_renumbering_02.cc
tests/multigrid/transfer_compare_01.cc

index 92f8493c26d3ad3eb009c4efa493e2f8ab532dd4..02ea777a8e1af83bafb6724a845479edf628eeb8 100644 (file)
@@ -83,9 +83,9 @@ check_renumbering(DoFHandler<dim> &mgdof, bool discontinuous)
   std::vector<unsigned int> order(element.n_components());
   for (unsigned int i=0; i<order.size(); ++i) order[i] = order.size()-i-1;
 
-  Point<dim> direction;
+  Tensor<1,dim> direction;
   for (unsigned int i=0; i<dim; ++i)
-    direction(i) = std::pow(10.,static_cast<double>(i));
+    direction[i] = std::pow(10.,static_cast<double>(i));
 
   // Check global ordering
   print_dofs (dof);
index 6daa7c710d730fb64ba8655979b969f0fa0bc047..e1f353191018c36f8907631c11604460b5351054 100644 (file)
@@ -113,9 +113,9 @@ check_renumbering(DoFHandler<dim> &mgdof)
   std::vector<unsigned int> order(element.n_components());
   for (unsigned int i=0; i<order.size(); ++i) order[i] = order.size()-i-1;
 
-  Point<dim> direction;
+  Tensor<1,dim> direction;
   for (unsigned int i=0; i<dim; ++i)
-    direction(i) = -5.0001+i;
+    direction[i] = -5.0001+i;
 
   deallog << std::endl << "Downstream numbering cell-wise" << std::endl;
   DoFRenumbering::downstream(dof, direction);
index dd001e3654e9d6347e31ba7350a8e8b08cc299d2..d075228656bb7214210a138ad6c6ee570d635f1e 100644 (file)
@@ -130,7 +130,7 @@ void check_block(const FiniteElement<dim> &fe)
 
   // Make sure all orderings are the
   // same
-  Point<dim> direction;
+  Tensor<1,dim> direction;
   for (unsigned int d=0; d<dim; ++d)
     direction[d] = d*d*d;
   DoFRenumbering::downstream(dof, direction);

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.