function
   
petsc-3.4.2 2013-07-02
[] = PetscCHKERRQ(err) if (err) error('Errors generated on calling Petsc library function'); end