[cig-commits] r16993 - short/3D/PyLith/trunk/templates/materials

brad at geodynamics.org brad at geodynamics.org
Fri Jun 11 10:46:50 PDT 2010


Author: brad
Date: 2010-06-11 10:46:50 -0700 (Fri, 11 Jun 2010)
New Revision: 16993

Modified:
   short/3D/PyLith/trunk/templates/materials/PlaneStrainState.cc
   short/3D/PyLith/trunk/templates/materials/PlaneStrainState.hh
   short/3D/PyLith/trunk/templates/materials/PlaneStrainState.i
Log:
Updated interface for material in template.

Modified: short/3D/PyLith/trunk/templates/materials/PlaneStrainState.cc
===================================================================
--- short/3D/PyLith/trunk/templates/materials/PlaneStrainState.cc	2010-06-11 17:16:58 UTC (rev 16992)
+++ short/3D/PyLith/trunk/templates/materials/PlaneStrainState.cc	2010-06-11 17:46:50 UTC (rev 16993)
@@ -142,7 +142,7 @@
 void
 contrib::materials::PlaneStrainState::_dbToProperties(
 				double* const propValues,
-                                const pylith::double_array& dbValues) const
+                                const pylith::double_array& dbValues)
 { // _dbToProperties
   // Check consistency of arguments
   assert(0 != propValues);

Modified: short/3D/PyLith/trunk/templates/materials/PlaneStrainState.hh
===================================================================
--- short/3D/PyLith/trunk/templates/materials/PlaneStrainState.hh	2010-06-11 17:16:58 UTC (rev 16992)
+++ short/3D/PyLith/trunk/templates/materials/PlaneStrainState.hh	2010-06-11 17:46:50 UTC (rev 16993)
@@ -87,7 +87,7 @@
    * @param dbValues Array of database values.
    */
   void _dbToProperties(double* const propValues,
-		       const pylith::double_array& dbValues) const;
+		       const pylith::double_array& dbValues);
 
   /** Nondimensionalize properties.
    *

Modified: short/3D/PyLith/trunk/templates/materials/PlaneStrainState.i
===================================================================
--- short/3D/PyLith/trunk/templates/materials/PlaneStrainState.i	2010-06-11 17:16:58 UTC (rev 16992)
+++ short/3D/PyLith/trunk/templates/materials/PlaneStrainState.i	2010-06-11 17:46:50 UTC (rev 16993)
@@ -63,7 +63,7 @@
        * @param dbValues Array of database values.
        */
       void _dbToProperties(double* const propValues,
-			   const pylith::double_array& dbValues) const;
+			   const pylith::double_array& dbValues);
       
       /** Nondimensionalize properties.
        *



More information about the CIG-COMMITS mailing list