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

I remark that I have VTK 5.8.

> 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

Reply via email to