]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix mpi_some_to_some_02 5527/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Fri, 24 Nov 2017 11:36:20 +0000 (12:36 +0100)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Fri, 24 Nov 2017 11:36:20 +0000 (12:36 +0100)
tests/base/mpi_some_to_some_02.cc

index 10b6a4a6c1a391ddb760b1764dbb658d263f9bdf..e6e7a4e4408da22f6e3ba74269aaf58bfa4ca71f 100644 (file)
@@ -33,17 +33,6 @@ inline unsigned int random_index(const unsigned int &max_index)
   return Testing::rand()*(max_index-1)/RAND_MAX;
 }
 
-template<int dim>
-inline Point<dim> random_point(const double &min=0.0,
-                               const double &max=1.0)
-{
-  Assert(max >= min, ExcMessage("Make sure max>=min"));
-  Point<dim> p;
-  for (unsigned int i=0; i<dim; ++i)
-    p[i] = min+(Testing::rand()*(max-min))/((double)RAND_MAX);
-  return p;
-}
-
 template<typename T>
 std::string to_string(const T &object)
 {

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.