function
   
petsc-3.5.4 2015-05-23
[] = PetscCHKERRQ(err) if (err) error('Errors generated on calling Petsc library function'); end