yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #06419
Re: [Branch ~yade-dev/yade/trunk] Rev 2555: - Retriangulation controlled by a volumetric deformation threshold
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.
Follow ups
References