diff options
author | Erik Schnetter <schnetter@aei.mpg.de> | 2005-05-14 11:53:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@aei.mpg.de> | 2005-05-14 11:53:00 +0000 |
commit | a86ebe0c9aa5a6227b49bbefca4886ba3d4a823d (patch) | |
tree | 1330bb75815cce0cc0c0d9f1671bbbfc893d92e1 /CarpetDev/CarpetIOF5/src/simulation.cc | |
parent | 5326f24e1a10b0832cbb0bac93f50a7de3114909 (diff) |
CarpetIOF5: More development
darcs-hash:20050514115336-891bb-a65eca247e30c35b99c6d5a6c98b759489372276.gz
Diffstat (limited to 'CarpetDev/CarpetIOF5/src/simulation.cc')
-rw-r--r-- | CarpetDev/CarpetIOF5/src/simulation.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/CarpetDev/CarpetIOF5/src/simulation.cc b/CarpetDev/CarpetIOF5/src/simulation.cc index 22fe58d57..eaf83fb1c 100644 --- a/CarpetDev/CarpetIOF5/src/simulation.cc +++ b/CarpetDev/CarpetIOF5/src/simulation.cc @@ -1,6 +1,4 @@ #include <cassert> -#include <string> -#include <sstream> #include <hdf5.h> @@ -22,12 +20,9 @@ namespace CarpetIOF5 { simulation_t:: simulation_t (timestep_t & timestep, char const * const name) - : m_timestep (timestep) + : m_timestep (timestep), + m_name (name) { - ostringstream buf; - buf << name; - m_name = buf.str(); - m_hdf5_simulation = open_or_create_group (m_timestep.get_hdf5_timestep(), m_name.c_str()); |