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

Reply via email to