← Back to team overview

yade-users team mailing list archive

Re: [Question #671468]: How to use TSSR method in order to promote failure in YADE??

 

Question #671468 on Yade changed:
https://answers.launchpad.net/yade/+question/671468

    Status: Answered => Open

Shivpreet sharma is still having a problem:
  It is showing this error:


Running script gravity.py
  File "<string>", line 1
    __builtins__.strength reduction=Omega().labeledEngine('strength reduction')
                                  ^
SyntaxError: invalid syntax
  File "<string>", line 1
    __builtins__.strength reduction=Omega().labeledEngine('strength reduction')
                                  ^
SyntaxError: invalid syntax
/usr/lib/python2.7/dist-packages/matplotlib/artist.py:221: MatplotlibDeprecationWarning: This has been deprecated in mpl 1.5, please use the
axes property.  A removal date has not been set.
  warnings.warn(_get_axes_msg, mplDeprecation, stacklevel=1)


UnboundLocalError                         Traceback (most recent call last)
/usr/bin/yadedaily in <module>()

/usr/bin/yadedaily in reduceStrength()
    134 
    135 
--> 136     srFactor *= 0.9
    137     for cont in O.interactions:
    138       cont.phys.FnMax *= 0.9

UnboundLocalError: local variable 'srFactor' referenced before
assignment

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.