← Back to team overview

yade-users team mailing list archive

Re: [Question #695873]: wet phase distribution

 

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.