function
   
petsc-3.4.4 2014-03-13
[] = PetscCHKERRQ(err) if (err) error('Errors generated on calling Petsc library function'); end