[cig-commits] r13735 - cs/cigma/trunk/src
luis at geodynamics.org
luis at geodynamics.org
Wed Dec 17 02:32:34 PST 2008
Author: luis
Date: 2008-12-17 02:32:34 -0800 (Wed, 17 Dec 2008)
New Revision: 13735
Modified:
cs/cigma/trunk/src/MeshPart.cpp
cs/cigma/trunk/src/io_hdf5.h
Log:
Logger updates
Modified: cs/cigma/trunk/src/MeshPart.cpp
===================================================================
--- cs/cigma/trunk/src/MeshPart.cpp 2008-12-17 10:32:28 UTC (rev 13734)
+++ cs/cigma/trunk/src/MeshPart.cpp 2008-12-17 10:32:34 UTC (rev 13735)
@@ -152,7 +152,7 @@
void MeshPart::setPath2(const DataPath& p_nc, const DataPath& p_eb)
{
- TRI_LOG_STR("MeshPart::setPath2");
+ TRI_LOG_STR("MeshPart::setPath2()");
TRI_LOG(p_nc);
TRI_LOG(p_eb);
Modified: cs/cigma/trunk/src/io_hdf5.h
===================================================================
--- cs/cigma/trunk/src/io_hdf5.h 2008-12-17 10:32:28 UTC (rev 13734)
+++ cs/cigma/trunk/src/io_hdf5.h 2008-12-17 10:32:34 UTC (rev 13735)
@@ -112,7 +112,15 @@
int size = dataspace.getSimpleExtentNpoints();
MT *array = 0;
- TRI_LOG(ndims);
+ if (rank == 1)
+ {
+ TRI_LOG(dims[0]);
+ }
+ else if (rank == 2)
+ {
+ TRI_LOG(dims[0]);
+ TRI_LOG(dims[1]);
+ }
TRI_LOG(size);
try
More information about the CIG-COMMITS
mailing list