[cig-commits] r6179 - short/3D/PyLith/trunk/libsrc/feassemble
brad at geodynamics.org
brad at geodynamics.org
Mon Mar 5 21:06:16 PST 2007
Author: brad
Date: 2007-03-05 21:06:16 -0800 (Mon, 05 Mar 2007)
New Revision: 6179
Modified:
short/3D/PyLith/trunk/libsrc/feassemble/ExplicitElasticity.cc
short/3D/PyLith/trunk/libsrc/feassemble/Integrator.hh
Log:
Fixed bug in Integrator (destructor MUST be virtual in base class). Doh\!
Modified: short/3D/PyLith/trunk/libsrc/feassemble/ExplicitElasticity.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/feassemble/ExplicitElasticity.cc 2007-03-06 02:32:51 UTC (rev 6178)
+++ short/3D/PyLith/trunk/libsrc/feassemble/ExplicitElasticity.cc 2007-03-06 05:06:16 UTC (rev 6179)
@@ -40,7 +40,6 @@
pylith::feassemble::ExplicitElasticity::ExplicitElasticity(const ExplicitElasticity& i) :
IntegratorExplicit(i)
{ // copy constructor
- std::cout << "In ExplicitElasticity copy constructor." << std::endl;
} // copy constructor
// ----------------------------------------------------------------------
Modified: short/3D/PyLith/trunk/libsrc/feassemble/Integrator.hh
===================================================================
--- short/3D/PyLith/trunk/libsrc/feassemble/Integrator.hh 2007-03-06 02:32:51 UTC (rev 6178)
+++ short/3D/PyLith/trunk/libsrc/feassemble/Integrator.hh 2007-03-06 05:06:16 UTC (rev 6179)
@@ -55,6 +55,7 @@
Integrator(void);
/// Destructor
+ virtual
~Integrator(void);
/** Set quadrature for integrating finite-element quantities.
More information about the cig-commits
mailing list