Is there a way to check whether an object has been created? I noticed PetSc
crashes when calling PCView on a declared PC that has not been created yet.


PC pc1;
PCView(pc1, PETSC_VIEWER_STDOUT_WORLD);

- Koen


-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110621/19dd4607/attachment.htm>

Reply via email to