← Back to team overview

yade-dev team mailing list archive

Re: Mandatory engines

 

> Thanks a lot for explanations. I will write the needed
> physicalAction(s) after.
> For the moment, I would simply like to test (with display) two new
> functors:
> - the one make interactingGeometry (BssSweptSphereLineSegment) from
> GeometricalModel (BshTube),
> - the other make AABB from interactingGeometry.
> To 'launch' these functor, I pushed back to the initializers.
> Nevertheless, it seems that initializations
> are performed during the first step of calculation. Is it right?
Yes, initializers are run right before the first iteration (though there
is some confusion now if that means before iteration #1 or also before
the first iteration after having loaded a simulation etc -- not
important for now).

You should put the InteractingGeometryMetaEngine to initializers (sice
it needs to be run only once, the Bss doesn't change), but the
BoundingVolumeMetaEngine should be in Omega().engines, since you need to
update that at every iteration as the body moves.


>
> do you think I can add to svn repository my pluggins even if they are
> not yet usable?
> (I'm sure they will not interact with the rest)
> Is there a rule about that?
Yes, you are actually encouraged to commit your stuff, the only rule is
that your code should compile so that you don't break other peoples'
builds; it doens't matter if it is functionally wrong, since other
people won't be using it for now.

Regards, Vaclav




References