← Back to team overview

yade-users team mailing list archive

Re: [Question #185098]: InteractionLocator.macroAroundPt module

 

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

Emanuele Catalano proposed the following answer:
Hello Giuseppe,
one solution is to add the line

from yade import _eudoxos

inside the function saveData() and not (or not only) outside.

def saveData():
    from yade import _eudoxos
    etc etc
    pointstress=_eudoxos.InteractionLocator.macroAroundPt((0.00001,0.00001,0.00001),0.00001,[-1])
    
This should solve your problem, don't know if finer solutions exist.

Emanuele

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.