[cig-commits] r17271 - in short/3D/PyLith/trunk/libsrc: meshio topology
brad at geodynamics.org
brad at geodynamics.org
Thu Oct 14 09:42:00 PDT 2010
Author: brad
Date: 2010-10-14 09:42:00 -0700 (Thu, 14 Oct 2010)
New Revision: 17271
Modified:
short/3D/PyLith/trunk/libsrc/meshio/DataWriterHDF5.cc
short/3D/PyLith/trunk/libsrc/topology/RefineFace4Edges2.hh
Log:
Added missing empty method definition.
Modified: short/3D/PyLith/trunk/libsrc/meshio/DataWriterHDF5.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/meshio/DataWriterHDF5.cc 2010-10-14 13:27:28 UTC (rev 17270)
+++ short/3D/PyLith/trunk/libsrc/meshio/DataWriterHDF5.cc 2010-10-14 16:42:00 UTC (rev 17271)
@@ -109,6 +109,7 @@
typedef ALE::OrientedConeSectionV<typename mesh_type::SieveMesh::sieve_type> oriented_cones_wrapper_type;
Obj<oriented_cones_wrapper_type> cones = new oriented_cones_wrapper_type(sieveMesh->getSieve());
+#if 0
// Hack right now, move to HDF5 Section viewer
err = PetscMalloc(sizeof(PetscScalar)*cones->size(), &tmpVertices);CHECK_PETSC_ERROR(err);
for(int p = sieveMesh->getSieve()->getChart().min(), i = 0; p < sieveMesh->getSieve()->getChart().max(); ++p) {
@@ -123,6 +124,7 @@
err = VecView(elemVec, _viewer);CHECK_PETSC_ERROR(err);
err = VecDestroy(elemVec);CHECK_PETSC_ERROR(err);
err = PetscFree(tmpVertices);CHECK_PETSC_ERROR(err);
+#endif
} catch (const std::exception& err) {
std::ostringstream msg;
msg << "Error while preparing for writing data to HDF5 file "
Modified: short/3D/PyLith/trunk/libsrc/topology/RefineFace4Edges2.hh
===================================================================
--- short/3D/PyLith/trunk/libsrc/topology/RefineFace4Edges2.hh 2010-10-14 13:27:28 UTC (rev 17270)
+++ short/3D/PyLith/trunk/libsrc/topology/RefineFace4Edges2.hh 2010-10-14 16:42:00 UTC (rev 17271)
@@ -119,7 +119,7 @@
template<typename Point>
class Face {
public:
- Face(void);
+ Face(void) {};
Face(const Point p) {
_points[0] = p;
_points[1] = p;
More information about the CIG-COMMITS
mailing list