← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 3787: fix undefined "key" in triax-tutorial/script-session1.py

 

------------------------------------------------------------
revno: 3787
committer: Bruno Chareyre <bruno.chareyre@xxxxxxxxxxxxxxx>
timestamp: Fri 2014-01-03 21:43:21 +0100
message:
  fix undefined "key" in triax-tutorial/script-session1.py
modified:
  examples/triax-tutorial/script-session1.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/triax-tutorial/script-session1.py'
--- examples/triax-tutorial/script-session1.py	2013-07-16 09:57:52 +0000
+++ examples/triax-tutorial/script-session1.py	2014-01-03 20:43:21 +0000
@@ -35,6 +35,7 @@
 from yade.params import table
 
 num_spheres=table.num_spheres# number of spheres
+key=table.key
 targetPorosity = 0.43 #the porosity we want for the packing
 compFricDegree = table.compFricDegree # initial contact friction during the confining phase (will be decreased during the REFD compaction process)
 finalFricDegree = 30 # contact friction during the deviatoric loading