← Back to team overview

yade-users team mailing list archive

Re: loading a modified plugin fails

 

--- Janek Kozicki <janek_listy@xxxxx> wrote:

> Andreas Plesch said:     (by the date of Thu, 3 Nov
> 2005 15:17:07 -0800 (PST))
> 
> > The serialization works
> > great ! I would also gladly contribute the file
> > generator derived from SDECSpherePlane if there is
> > interest.
> 
> yes, I will gladly include it into yade! Just give
> it
> another name, so it will not be in conflict with
> currently
> existing name SDECSpheresPlane.

ok, I will clean it up a little bit and rename things.
 
> If you want to add/remove an actor you can open .xml
> 
> The only problem here - is to know what attributes
> each actor is using.
> Until this information will land in documentation
> you have to determine
> the perameters yourself (two ways to do that):
> 
> 1. open that actor's .cpp file, and look what
> REGISTER_ATTRIBUTEs are
> called, and do the same to all classes it is derived
> from (it is
> important, otherwise it's base classes will have
> undefined attribute
> values, which can lead to program crash).
> 
> 2. or, modify some filegenerator to add this actor,
> then save it, then
> look into .xml
> 
> the order of attributes is not important (like it
> should be in real XML
> format), so checking what are registered attributes
> should be enough.

Yes, I will look into this.
 
> > > save/load from QtGUI will be added quite soon.
> > 
> > great ! You had mentioned that the Null-gui will
> save
> > to .xml as well ?
> 
> NullGUI already can do that :) I was talking about
> that, but maybe in
> unclear way ;) you only have to give parametr '-s'
> to say that you want
> to save an .xml snapshot.
> 
> try running  ./yade -n -H
> 
> and you will see:
> 
>         -s number       - if specified, a snapshot
> is saved every 'number'
>                           INTERVALs. Eg. if INTERVAL
> is 100, and 'number' is 5,
>                           you will have a snpashot
> every 500th iteration.
> 
> and of course '-f filename.xml' to specify a file to
> load

ok
 
> > On another note: Did you have a chance to contact
> the
> > author of the linking/bonding code/formulas ? 
> 
> he didn't respond yet, perhaps he has a lot of
> causal PhD's student work
> now. New semester has started last month ;)

Sofar I am not sure where we would be going with YADE.
When it will, the glueing/bondind/linking may
become important.

Andreas
_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
http://lists.berlios.de/mailman/listinfo/yade-users



References