← Back to team overview

yade-users team mailing list archive

Re: reloading scene after sphere interaction


Andreas Plesch said:     (by the date of Tue, 15 Nov 2005 11:44:21 -0800 (PST))

> I could not find obvious
> differences in the saved xml, so what do the
> additional REGISTER_ATTRIBUTE lines do if I may ask ?

look at the bottom of .xml file, interactions are stored at the end. I
added REGISTER_ATTRIBUTE for variables in SpheresContactGeometry and
ElasticContactParameters. Previously nothing was stored there. you can
just compare the end of old .xml with new .xml.

> hm, for that it would be good to have a way to tell a
> running NullGUI instance of YADE to save and stop.
> Perhaps there is already a way ? Stopping could be
> just finding the PID and killing but saving ? I
> apologize, I did not have a chance to use the NullGUI.

set nullgui to save, for example every 1000 of iterations, set it to
print progress so that you know how much is computed. And to interrupt -
just press ctrl-C in the terminal. nullgui is not interactive.

I have just added an option for nullgui to save using binary format, it
is not committed yet to the repository. Binary saves are quicker to perform.

Janek Kozicki                                                         |
Yade-users mailing list