> There is no such viewer as PETSC_VIEWER_DEFAULT (you just got > lucky it didn't crash in the first call). Maybe you want > PETSC_VIEWER_STDOUT_WORLD? > > Barry > > PETSC_VIEWER_DEFAULT is for setting the particular format a > viewer uses.
Yes that's it, thanks! (should I really get a segmentation fault when running this in debug mode? A message "no such viewer" would be nicer.) dr. ir. Christiaan Klaij CFD Researcher Research & Development E mailto:C.Klaij at marin.nl T +31 317 49 33 44 MARIN 2, Haagsteeg, P.O. Box 28, 6700 AA Wageningen, The Netherlands T +31 317 49 39 11, F +31 317 49 32 45, I www.marin.nl
