[cig-commits] r6619 -
short/3D/PyLith/branches/pylith-0.8/pylith3d/module
willic3 at geodynamics.org
willic3 at geodynamics.org
Fri Apr 20 10:19:09 PDT 2007
Author: willic3
Date: 2007-04-20 10:19:09 -0700 (Fri, 20 Apr 2007)
New Revision: 6619
Modified:
short/3D/PyLith/branches/pylith-0.8/pylith3d/module/PyLithLib.pyx
Log:
Put in changes to ntimdat array (removal of ndtot) that had been done
for fortran code.
Modified: short/3D/PyLith/branches/pylith-0.8/pylith3d/module/PyLithLib.pyx
===================================================================
--- short/3D/PyLith/branches/pylith-0.8/pylith3d/module/PyLithLib.pyx 2007-04-20 17:04:36 UTC (rev 6618)
+++ short/3D/PyLith/branches/pylith-0.8/pylith3d/module/PyLithLib.pyx 2007-04-20 17:19:09 UTC (rev 6619)
@@ -445,7 +445,7 @@
cdef int nvisdat[4]
cdef double rgiter[3]
cdef double rtimdat[4]
- cdef int ntimdat[9]
+ cdef int ntimdat[8]
def __new__(self):
@@ -1854,11 +1854,11 @@
cdef int *ntimdat
cdef int nstep, maxitp, ntdinitp
cdef int lgdefp, itmaxp, nittot
- cdef int nrftot, ndtot , ireform
+ cdef int nrftot, ireform
ntimdat = &self.ntimdat[0] - 1 # convert to one-based
nstep = 0; maxitp = 0; ntdinitp = 0
lgdefp = 0; itmaxp = 0; nittot = 0
- nrftot = 0; ndtot = 0; ireform = 0
+ nrftot = 0; ireform = 0
ntimdat[1] = nstep
ntimdat[2] = maxitp
ntimdat[3] = ntdinitp
@@ -1866,9 +1866,8 @@
ntimdat[5] = itmaxp
ntimdat[6] = nittot
ntimdat[7] = nrftot
- ntimdat[8] = ndtot
- ntimdat[9] = ireform
- assert( 9 == sizeof(self.ntimdat)/sizeof(self.ntimdat[0]))
+ ntimdat[8] = ireform
+ assert( 8 == sizeof(self.ntimdat)/sizeof(self.ntimdat[0]))
self.trace.log("Hello from pl3dsetup.allocateremaining (end)!")
@@ -2623,7 +2622,6 @@
print " Total number of equilibrium iterations =",self.ntimdat[5]
print " Total number of stiffness matrix reformations =",self.ntimdat[6]
- print " Total number of displacement subiterations =",self.ntimdat[7]
libpylith3d.viscos_cleanup(
self.ntimdat,
More information about the cig-commits
mailing list