>   3. interactions isNew doesn't exist anymore, snow code needs update for this

Have a look at Interaction::isFresh() for this (deliberately named
differently, to not be confused with the old meaning of isNew).

For the boost::serialization code that I disabled in snow code, it was
because if you #define YADE_BOOST_SERIALIZATION in ClassFactory.hpp
(commented out by default), boost::serialization code will be generated
for all classes automatically inside REGISTER_SERIALIZABLE and
BshSnowGrain will error out as the class will be registered twice IIRC.

The compilation is dead slow with boost::serialization however (like 10x
slower?) and saving via b::s throws exception about unregistered class,
but I didn't find which one -- if you want to try.
Omega().saveXML('file.xml') saves using b::s (defined in
yadeWrapper.cpp).

V.



_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to