Hi Vaclav,
It is not very clear for me how postLoad should be used in this situation.
What will happen if the engine is created and used straight away without
saving/loading :
file not opened?
I don't see it used in Recorder.
Thanks.
Bruno
>
>>> void FlowEngine::action ( )
>>> ...
>>> + std::ofstream eps_vol ("Epsilon_volume.txt",
>>> std::ios::app);
> Ema, you can use the postLoad function (equivalent more or lett to
> postProcessAttributes) where you open the stream, and then just write to
> it in action. See e.g. how it is done in the base Recorder engine.
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp