]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove file now no longer needed.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 16 Nov 2010 02:45:17 +0000 (02:45 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 16 Nov 2010 02:45:17 +0000 (02:45 +0000)
git-svn-id: https://svn.dealii.org/trunk@22748 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-40/timeblock.h [deleted file]

diff --git a/deal.II/examples/step-40/timeblock.h b/deal.II/examples/step-40/timeblock.h
deleted file mode 100644 (file)
index d86eff8..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * copyright:
- * Research Group on Numerical Methods for PDEs
- * University of Göttingen
- *
- * lube@math.uni-goettingen.de
- */
-
-#ifndef TIMEBLOCK_H
-#define TIMEBLOCK_H
-
-template<typename STREAM>
-class TimeBlock
-{
-  public:
-    TimeBlock(STREAM & stream_, const char* blockname, bool singleline=true)
-                   : m_blockname(blockname),
-                     m_singleline(singleline),
-                     m_timer(MPI_COMM_WORLD, true),
-                     stream(stream_)
-      {
-       MPI_Barrier(MPI_COMM_WORLD);
-       stream << blockname << " ... ";
-       if (singleline)
-         stream << std::flush;
-       else
-         stream << std::endl;
-       m_timer.start();
-      }
-
-    ~TimeBlock()
-      {
-       m_timer.stop();
-       
-       if (!m_singleline)
-         stream << m_blockname << " took ";
-
-       stream << std::fixed << std::setprecision(4);
-       
-       m_timer.print_data(stream);
-       
-       MPI_Barrier(MPI_COMM_WORLD);
-      }
-
-
-  private:
-    const char* m_blockname;
-    bool m_singleline;
-    bool m_issection;
-    dealii::Timer m_timer;
-    STREAM & stream;
-};
-
-#endif

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.