function
   
petsc-3.5.2 2014-09-08
[] = PetscCHKERRQ(err) if (err) error('Errors generated on calling Petsc library function'); end