O.resetTime is not compatible with VTKRecorder

Bug #1153528 reported by Christian Jakob
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Yade
Fix Released
Low
Unassigned

Bug Description

reproduce:
- run a simulation with active VTKRecorder for several steps
- use O.resetTime()
- run further

-> VTKRecorder does not adapt changes done by O.resetTime()

Revision history for this message
Anton Gladky (gladky-anton) wrote :

You mean the old files are overwriting by a new ones?

Anton

Revision history for this message
Christian Jakob (jakob-ifgt) wrote :

No, I mean VTKRecorder waits until the next "specified" iteration (specified before O.resetTime was executed).

Revision history for this message
Christian Jakob (jakob-ifgt) wrote :

Update: This is a general problem for ALL PeriodicEngines, not just VTKRecorder.

If O.iter is set to zero [1], the PeriodicEngine [2] does not take care of that!

[1] https://github.com/yade/trunk/blob/master/py/wrapper/yadeWrapper.cpp#L604
[2] https://github.com/yade/trunk/blob/master/pkg/common/PeriodicEngines.hpp#L21

Revision history for this message
Bruno Chareyre (bruno-chareyre) wrote :
Changed in yade:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.