diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-02-03 18:54:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-02-03 18:54:00 +0000 |
commit | 70d713e63149b4bbfcd5a1ae10b973c3ad6cf127 (patch) | |
tree | 40cfe1ae2e1fde68619c00a4582f56e6c24fdad8 | |
parent | 41a4555f76ec9df89e20232bad299d4fa8b23182 (diff) |
CarpetLib: Define constant eol
Define a constant eol containing a newline character. Unlike endl, it
does not flush the I/O stream.
darcs-hash:20070203185434-dae7b-1f057e593cc45b3d5cf1b067b247b6de071230da.gz
-rw-r--r-- | Carpet/CarpetLib/src/defs.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/defs.hh b/Carpet/CarpetLib/src/defs.hh index 7ca919866..3ae0b8261 100644 --- a/Carpet/CarpetLib/src/defs.hh +++ b/Carpet/CarpetLib/src/defs.hh @@ -36,6 +36,11 @@ using namespace std; +// Begin a new line without flushing the output buffer +char const * const eol = "\n"; + + + // Number of dimensions const int dim = 3; |