]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Only delete tmp files created on the current processor.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 13 Sep 2012 12:06:11 +0000 (12:06 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 13 Sep 2012 12:06:11 +0000 (12:06 +0000)
git-svn-id: https://svn.dealii.org/trunk@26346 0785d39b-7218-0410-832d-ea1e28bc413d

tests/mpi/no_flux_constraints_02.cc
tests/mpi/no_flux_constraints_03.cc

index fc5b4e0fd4d3f9c6077493c23482d63de45c0b29..e60bb67103bccee19e8fa33d0bb9b9b4873fd479 100644 (file)
@@ -146,12 +146,12 @@ void test()
                deallog << str << std::endl;
          }
        }
+       std::remove ((base + "cm").c_str());
+       std::remove ((base + "cm.check").c_str());
   }
 
                                   // remove tmp files again
   std::remove ((base + "cm_" + Utilities::int_to_string(myid) + ".dot").c_str());
-  std::remove ((base + "cm").c_str());
-  std::remove ((base + "cm.check").c_str());
 
                                // print the number of constraints. since
                                // processors might write info in different
index c7b307d45444182b003a09dc94971d09df173587..c0915dd082efc1151dd688e8fc42158f755d384a 100644 (file)
@@ -118,12 +118,12 @@ void test()
             }
         }
 
+       std::remove ((base + "cm").c_str());
+       std::remove ((base + "cm.check").c_str());
   }
 
                                   // remove tmp files again
   std::remove ((base + "cm_" + Utilities::int_to_string(myid) + ".dot").c_str());
-  std::remove ((base + "cm").c_str());
-  std::remove ((base + "cm.check").c_str());
 
 
                                // print the number of constraints. since

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.