[MOAB-dev] r5642 - in MOAB/trunk/src: . io
tautges at mcs.anl.gov
tautges at mcs.anl.gov
Fri Jul 27 08:36:13 CDT 2012
Author: tautges
Date: 2012-07-27 08:36:13 -0500 (Fri, 27 Jul 2012)
New Revision: 5642
Modified:
MOAB/trunk/src/ReaderWriterSet.cpp
MOAB/trunk/src/TagInfo.hpp
MOAB/trunk/src/io/DamselUtil.hpp
MOAB/trunk/src/io/Makefile.am
MOAB/trunk/src/io/ReadDamsel.cpp
MOAB/trunk/src/io/ReadDamsel.hpp
MOAB/trunk/src/io/WriteDamsel.cpp
MOAB/trunk/src/io/WriteDamsel.hpp
Log:
Improvements to Damsel reader/writer. Change to TagInfo is strictly
documentation, clarifying one function description a bit.
Modified: MOAB/trunk/src/ReaderWriterSet.cpp
===================================================================
--- MOAB/trunk/src/ReaderWriterSet.cpp 2012-07-26 16:42:21 UTC (rev 5641)
+++ MOAB/trunk/src/ReaderWriterSet.cpp 2012-07-27 13:36:13 UTC (rev 5642)
@@ -62,7 +62,7 @@
#ifdef DAMSEL_FILE
# include "WriteDamsel.hpp"
-//# include "ReadDamsel.hpp"
+# include "ReadDamsel.hpp"
#endif
#ifdef HDF5_FILE
@@ -137,7 +137,7 @@
#ifdef DAMSEL_FILE
const char* damsel_sufxs[] = { "h5", NULL };
- register_factory( NULL, WriteDamsel::factory, "Damsel files", damsel_sufxs, "DAMSEL");
+ register_factory( ReadDamsel::factory, WriteDamsel::factory, "Damsel files", damsel_sufxs, "DAMSEL");
#endif
register_factory( NULL, WriteGMV::factory, "GMV", "gmv", "GMV" );
Modified: MOAB/trunk/src/TagInfo.hpp
===================================================================
--- MOAB/trunk/src/TagInfo.hpp 2012-07-26 16:42:21 UTC (rev 5641)
+++ MOAB/trunk/src/TagInfo.hpp 2012-07-27 13:36:13 UTC (rev 5642)
@@ -66,7 +66,7 @@
inline DataType get_data_type() const { return dataType; }
- //! get the size of the data
+ //! get the size of the data in bytes
int get_size() const { return mDataSize; }
//! Check if variable-length tag
Modified: MOAB/trunk/src/io/DamselUtil.hpp
===================================================================
--- MOAB/trunk/src/io/DamselUtil.hpp 2012-07-26 16:42:21 UTC (rev 5641)
+++ MOAB/trunk/src/io/DamselUtil.hpp 2012-07-27 13:36:13 UTC (rev 5642)
@@ -1,11 +1,60 @@
-#ifndef READDAMSEL_HPP
-#define READDAMSEL_HPP
+#ifndef DAMSEL_UTIL_HPP
+#define DAMSEL_UTIL_HPP
#include "moab/Forward.hpp"
#include "DebugOutput.hpp"
#include "damsel.h"
More information about the moab-dev
mailing list