]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Merge trunk into branch_port_the_testsuite
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 20 Oct 2013 11:57:11 +0000 (11:57 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 20 Oct 2013 11:57:11 +0000 (11:57 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31324 0785d39b-7218-0410-832d-ea1e28bc413d

1  2 
tests/petsc/vector_print.cc

index c323bcff4ca384b15e0d6c0886104485c5ba7d03,8e5dc944211c2d89e7ab05527d7392b76a360ddc..1c09eb3f36e624af33a8064380530735967b486d
  #include <vector>
  
  
- void test (PETScWrappers::Vector &v,
-            PETScWrappers::Vector &w)
- {
-   // set the first vector
-   for (unsigned int i=0; i<v.size(); ++i)
-     v(i) = i;
-   // copy elements by reference
-   for (unsigned int i=0; i<v.size(); ++i)
-     w(i) = v(i);
-   // check that they're equal
-   Assert (v==w, ExcInternalError());
-   deallog << "OK" << std::endl;
- }
  int main (int argc, char **argv)
  {
 -  std::ofstream logfile("vector_print/output");
 +  std::ofstream logfile("output");
    deallog.attach(logfile);
    deallog.depth_console(0);
    deallog.threshold_double(1.e-10);

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.