← Back to team overview

yade-dev team mailing list archive

Mandatory engines

 

Hello everybody,

I'm Vincent, a new yade-dev member. I am currently in a learning phase in yade.

* HERE IS THE STORY:

Say I want to implement a new geometry for bodies. I code pluggins that I needed (GeometriclModel, InteractingGeometry,Functors, GLDraw*,Preprocessor...) after discussing with Janeck

I wanted to make some check on the displaying of this new geometry so I created a new PreProcessor that generates the wanted bodies. In a first stage, the 'lists' rootBody->engines and rootBody->initializers was copy&past from the TetrahedronsTest pre-processor. It worked fine at generation but crashed during the first step of simulation (!)

I decided to clear all engines and initializers... it crashed during generation!

* HERE ARE MY QUESTIONS:

Can we have empty 'lists' of engines and initializers without crash (only to make some graphical checks)? If it does not, what are the engines (and initializers) that MUST absolutely be 'defined'?

Thanks,
Vincent




Follow ups