The issue happens iff I use two screens on my Lubuntu machine
simultaneously. Then vtk_pipeline->get_screen_size returns zero-sized
screen from some reason. On colleague's Ubuntu machine same DOLFIN and
VTK (on remote machine) works well.
Hence this issue is probably caused by poor integration of multiple
screens in LXDE desktop and/or an interaction with VTK, X11.
>From this reason, default value of
VTKPlotter::parameters["tile_windows"]
could be set to false. I don't care a much - what do you think?
Jan
On Fri, 8 Nov 2013 14:40:13 +0100
Jan Blechta <[email protected]> wrote:
> Hi,
>
> it happens to me that after lines
>
> 279 int swidth, sheight;
> 280 vtk_pipeline->get_screen_size(swidth, sheight);
>
> in VTKPlotter::init() variables swidth, sheight are zero sometimes
> which in turn causes arithmetic exception on lines
>
> 282 // Tile windows horizontally across screen
> 283 int num_rows = swidth/width;
> 284 int num_cols = sheight/height;
> 285 row = num_old_plots % num_rows;
> 286 col = (num_old_plots / num_rows) % num_cols;
>
> It happens for me during plot in auto-adaptive-poisson-demo. There
> is a simple workaround to do
>
> plot(..., tile_windows=False)
>
> which skips these broken lines. Hence I'm just curious if the issue
> should be treated or we can ignore it.
>
> Jan
> _______________________________________________
> fenics mailing list
> [email protected]
> http://fenicsproject.org/mailman/listinfo/fenics
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics