[cig-commits] r4658 - short/3D/PyLith/branches/pylith-0.8/pylith3d/module

willic3 at geodynamics.org willic3 at geodynamics.org
Thu Sep 28 13:36:44 PDT 2006


Author: willic3
Date: 2006-09-28 13:36:43 -0700 (Thu, 28 Sep 2006)
New Revision: 4658

Modified:
   short/3D/PyLith/branches/pylith-0.8/pylith3d/module/scanner.cc
Log:
Updated bindings to reflect change in argument list for scan_tractions.


Modified: short/3D/PyLith/branches/pylith-0.8/pylith3d/module/scanner.cc
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/module/scanner.cc	2006-09-28 20:36:05 UTC (rev 4657)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/module/scanner.cc	2006-09-28 20:36:43 UTC (rev 4658)
@@ -1254,14 +1254,12 @@
 PyObject * pypylith3d_scan_tractions(PyObject *, PyObject *args)
 {
   int maxElementNodes2d;
-  int numberDegreesFreedom;
   int f77FileInput;
   char *tractionUnits;
   char *tractionInputFile;
 
-  int ok = PyArg_ParseTuple(args, (char *) "iiiss:scan_tractions",
+  int ok = PyArg_ParseTuple(args, (char *) "iiss:scan_tractions",
                             &maxElementNodes2d,
-                            &numberDegreesFreedom,
 			    &f77FileInput,
 			    &tractionUnits,
 			    &tractionInputFile);
@@ -1277,7 +1275,6 @@
 
   scan_tractions_f(&numberTractionBc,
 		   &maxElementNodes2d,
-		   &numberDegreesFreedom,
 		   &f77FileInput,
 		   tractionUnits,
 		   tractionInputFile,



More information about the cig-commits mailing list