[petsc-users] Draw '2D' Vector (FFT)

Thomas Hisch t.hisch at gmail.com
Wed Jul 11 15:32:53 CDT 2012


Hello list,

what is the easiest way to 'draw' (PETSC_VIEWER_DRAW_WORLD) a 2D plot
of a petsc vector which was created with MatGetVecsFFTW()? The
employed FFT matrix has DIM=2 and therefore the mentioned vector has
N1*N2 components. As far as I know VecView(x, PETSC_VIEWER_DRAW_WORLD)
only creates a lineplot.

Regards
Thomas


More information about the petsc-users mailing list