[cig-commits] r8999 - in short/3D/PyLith/trunk/libsrc: faults
meshio topology utils
knepley at geodynamics.org
knepley at geodynamics.org
Fri Jan 11 13:20:43 PST 2008
Author: knepley
Date: 2008-01-11 13:20:42 -0800 (Fri, 11 Jan 2008)
New Revision: 8999
Modified:
short/3D/PyLith/trunk/libsrc/faults/Fault.hh
short/3D/PyLith/trunk/libsrc/meshio/MeshIO.hh
short/3D/PyLith/trunk/libsrc/topology/Distributor.hh
short/3D/PyLith/trunk/libsrc/utils/sievefwd.hh
Log:
Now forward declarations work
Modified: short/3D/PyLith/trunk/libsrc/faults/Fault.hh
===================================================================
--- short/3D/PyLith/trunk/libsrc/faults/Fault.hh 2008-01-11 16:47:12 UTC (rev 8998)
+++ short/3D/PyLith/trunk/libsrc/faults/Fault.hh 2008-01-11 21:20:42 UTC (rev 8999)
@@ -23,6 +23,7 @@
#include "pylith/utils/sievefwd.hh" // USES PETSc Mesh
#include "pylith/utils/arrayfwd.hh" // USES double_array
+#include <ALE.hh>
#include <string> // HASA std::string
/// Namespace for pylith package
Modified: short/3D/PyLith/trunk/libsrc/meshio/MeshIO.hh
===================================================================
--- short/3D/PyLith/trunk/libsrc/meshio/MeshIO.hh 2008-01-11 16:47:12 UTC (rev 8998)
+++ short/3D/PyLith/trunk/libsrc/meshio/MeshIO.hh 2008-01-11 21:20:42 UTC (rev 8999)
@@ -18,6 +18,8 @@
#include "pylith/utils/sievefwd.hh" // USES ALE::Obj, ALE::Mesh
+#include <ALE.hh>
+
namespace pylith {
namespace meshio {
class MeshIO;
Modified: short/3D/PyLith/trunk/libsrc/topology/Distributor.hh
===================================================================
--- short/3D/PyLith/trunk/libsrc/topology/Distributor.hh 2008-01-11 16:47:12 UTC (rev 8998)
+++ short/3D/PyLith/trunk/libsrc/topology/Distributor.hh 2008-01-11 21:20:42 UTC (rev 8999)
@@ -21,6 +21,8 @@
#include "pylith/utils/sievefwd.hh" // USES PETSc Mesh
+#include <ALE.hh>
+
namespace pylith {
namespace topology {
class Distributor;
Modified: short/3D/PyLith/trunk/libsrc/utils/sievefwd.hh
===================================================================
--- short/3D/PyLith/trunk/libsrc/utils/sievefwd.hh 2008-01-11 16:47:12 UTC (rev 8998)
+++ short/3D/PyLith/trunk/libsrc/utils/sievefwd.hh 2008-01-11 21:20:42 UTC (rev 8999)
@@ -19,19 +19,15 @@
#if !defined(pylith_utils_sievefwd_hh)
#define pylith_utils_sievefwd_hh
-#if 0
/// Namespace for Sieve package.
namespace ALE {
/// ALE::Obj
- template<class T> class Obj;
+ template<class T, typename A> class Obj;
/// PETSc mesh
class Mesh;
} // ALE
-#else
-#include "sievetypes.hh"
-#endif
#endif // pylith_utils_sievefwd_hh
More information about the cig-commits
mailing list