<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
</head>
<body>
<div>I just found out that I can go without the extra calls to coprocessorfinalize() and
coprocessorinitializewithpython("coproc.py",9) (obviously, they can only be called once).
<br />
In the PV pipeline browser the time data is correct after rerunning the simulation and modified system data gets
updated and displayed correctly too.
<br />
<br />
However, I still get following warning:
<br />
<br />
Warning: In C:\Kitware\ParaView-v5.3.0\ParaViewCore\VTKExtensions\Core\vtkPVTriv
<br />
ialProducer.cxx, line 66
<br />
vtkPVTrivialProducer (000000000A19E000): New time step is not after last time st
<br />
ep.
<br />
<br />
That´s why I assumed the state of the coprocessor is not correct after restarting the simulation.
<br />
<br />
But I guess one can savely ignore this warning?!
<br />
<br />
Best,
<br />
Thomas
<br />
<br />
 
<div>
<div>Am Dienstag, 18. April 2017 16:56 schrieb thomasblome@startmail.com:
<br />
 </div>
<blockquote type="cite">
<div>Hi,
<br />
<br />
In my simulation programme one can reinput changed system data after Catalyst has already been initialized to rerun the
simulation with modified data.
<br />
So, I guess the coprocessor has to be reinitialized too. That's why I have tried something like:
<br />
<br />
// first run
<br />
call coprocessorinitializewithpython("coproc.py",9)
<br />
...some code...
<br />
<br />
// after reinput of new system data (same programme session)
<br />
call coprocessorfinalize()
<br />
call coprocessorinitializewithpython("coproc.py",9)
<br />
<br />
but the programme breaks during the second call to coprocessorinitializewithpython().
<br />
The problem is that if I don´t finalize and/or initialize again, I get error messages saying "New time step is not
after last time step" and so on.
<br />
<br />
I don´t want to exit the programme and restart it, just to get it working.
<br />
What is the correct way to solve this?
<br />
<br />
Best regards,
<br />
Thomas</div>
</blockquote>
</div>
</div>
</body>
</html>