]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix path to output file.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 18 Sep 2013 14:37:30 +0000 (14:37 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 18 Sep 2013 14:37:30 +0000 (14:37 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30793 0785d39b-7218-0410-832d-ea1e28bc413d

tests/trilinos/mg_transfer_prebuilt_01.cc
tests/trilinos/sparse_matrix_iterator.cc

index 9fd6d336f45b4484a5405d12a763adc46b267787..7468f345decfdd01c3d7606480e48af8b01badfa 100644 (file)
@@ -145,8 +145,7 @@ int main(int argc, char **argv)
 {
   Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv);
 
-  const std::string logname = JobIdentifier::base_name(__FILE__) + std::string("/output");
-  std::ofstream logfile(logname.c_str());
+  std::ofstream logfile("output");
   deallog << std::setprecision(6);
   deallog.threshold_double(1.e-10);
   deallog.attach(logfile);
index 3704dcd2c0e4d0a14c85edbc33946d9b0c66a01e..8f3c8098ed307a476cc4951843c8b84733ab71b3 100644 (file)
@@ -22,8 +22,7 @@
 
 int main(int argc, char **argv)
 {
-  const std::string logname = JobIdentifier::base_name(__FILE__) + std::string("/output");
-  std::ofstream logfile(logname.c_str());
+  std::ofstream logfile("output");
   deallog.attach(logfile);
   deallog.depth_console (0);
 

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.