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

    Status: Open => Answered

Bruno Chareyre proposed the following answer:
Hi, documentation might help here:

In [4]: TwoPhaseFlowEngine.getCell?                                             
                                                                 
Docstring:
getCell( (TwoPhaseFlowEngineT)arg1, (float)X, (float)Y, (float)Z) -> int :
    get id of the cell containing (X,Y,Z).
Type:      function

In [5]: TwoPhaseFlowEngine.getCellCenter?                                       
                                                                 
Docstring:
getCellCenter( (TwoPhaseFlowEngineT)arg1, (int)id) -> Vector3 :
    get voronoi center of cell 'id'.

They do nearly the opposite.

Bruno

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

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to