]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove trace.h since it does not really fit into the deal.II framework.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 19 Jul 1999 07:53:53 +0000 (07:53 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 19 Jul 1999 07:53:53 +0000 (07:53 +0000)
git-svn-id: https://svn.dealii.org/trunk@1593 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/trace.h [deleted file]

diff --git a/deal.II/base/include/base/trace.h b/deal.II/base/include/base/trace.h
deleted file mode 100644 (file)
index 4d3e3c1..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-/* Tracing macros for logging purpose if DEBUG is set. */
-#ifndef __trace_h
-#define __trace_h
-#include <base/logstream.h>
-#ifdef DEBUG
-// Trace a variable, i.e. print variable name and value to deallog
-#define TRACEVAR(arg) deallog << __LINE__ << ": " << # arg << " = " << (arg) << endl; 
-// Trace a message, i.e. print message to deallog
-#define TRACEMSG(arg) deallog << __LINE__ << ": " << arg << endl;
-// Trace vector, i.e. print vector components to deallog
-#define TRACEVEC(arg) deallog << __LINE__ << ": " << #arg << " = "; \
-                      for(int TRACE_i = 0; TRACE_i < arg.size(); TRACE_i ++) deallog << arg(TRACE_i) << " "; \
-                      deallog << endl;
-#else
-#define TRACEVAR(arg)
-#define TRACEMSG(arg)
-#define TRACEVEC(arg)
-#endif
-#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.