function
   
petsc-3.5.0 2014-06-30
[] = PetscCHKERRQ(err) if (err) error('Errors generated on calling Petsc library function'); end