yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #05420
Re: [Question #185098]: InteractionLocator.macroAroundPt module
Question #185098 on Yade changed:
https://answers.launchpad.net/yade/+question/185098
Jan Stránský proposed the following answer:
Hi Rinaldi,
the problem could be that you have no instance (existing object) of
InteractionLocator. Instead of line 145 try following:
locator = eudoxos.InteractionLocator()
pointstress =
locator.macroAroundPt((0.00001,0.00001,0.00001),0.00001,[-1])
Jan
Rinaldi Giuseppe píše v St 18. 01. 2012 v 17:15 +0000:
> Question #185098 on Yade changed:
> https://answers.launchpad.net/yade/+question/185098
>
> Rinaldi Giuseppe posted a new comment:
> now also if I use eudoxos without underscore I get the following:
>
>
> Yade [1]: ---------------------------------------------------------------------------
> TypeError Traceback (most recent call last)
>
> /usr/lib/yade-daily/py/yade/__init__.pyc in <module>()
> ----> 1
> 2
> 3
> 4
> 5
>
> /usr/lib/yade-daily/py/yade/__init__.pyc in saveData()
> 143
> 144
> --> 145 pointstress=eudoxos.InteractionLocator.macroAroundPt((0.00001,0.00001,0.00001),0.00001,[-1])
> 146
> 147
>
> TypeError: unbound method Boost.Python.function object must be called
> with InteractionLocator instance as first argument (got tuple instance
> instead)
>
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.