function
   
petsc-3.4.3 2013-10-15
[] = PetscCHKERRQ(err) if (err) error('Errors generated on calling Petsc library function'); end