← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 4012: remove old code

 

------------------------------------------------------------
revno: 4012
committer: Klaus Thoeni <klaus.thoeni@xxxxxxxxx>
timestamp: Tue 2014-06-10 13:36:46 +1000
message:
  remove old code
modified:
  examples/concrete/uniax.py


--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'examples/concrete/uniax.py'
--- examples/concrete/uniax.py	2013-08-09 02:27:56 +0000
+++ examples/concrete/uniax.py	2014-06-10 03:36:46 +0000
@@ -2,7 +2,7 @@
 # -*- coding: utf-8 -*-
 from __future__ import division
 
-from yade import plot,pack,timing,eudoxos
+from yade import plot,pack,timing
 import time, sys, os, copy
 
 #import matplotlib
@@ -142,8 +142,6 @@
 	extremum=max(sigma) if (strainer.strainRate>0) else min(sigma)
 	minMaxRatio=0.5 if mode=='tension' else 0.5
 	if extremum==0: return
-	# uncomment to get graph for the very first time stopIfDamaged() is called
-	#eudoxos.estimatePoissonYoung(principalAxis=axis,stress=strainer.avgStress,plot=True,cutoff=0.3)
 	import sys;	sys.stdout.flush()
 	if abs(sigma[-1]/extremum)<minMaxRatio or abs(strainer.strain)>(5e-3 if isoPrestress==0 else 5e-2):
 		if mode=='tension' and doModes & 2: # only if compression is enabled