[petsc-users] How to manually set the matrix-free differencing parameter h?

Ping He friedenhe at gmail.com
Tue May 23 12:09:05 CDT 2017


Hi,

I am using PETSc-SNES matrix free approach, and I would like to know how 
to manually set the differencing parameter h. I tried to use the 
SNESDefaultMatrixFreeSetParameters2 function but I got an error when 
compiling: ‘SNESDefaultMatrixFreeSetParameters2’ was not declared in 
this scope.

Thanks very much in advance.

Regards,
Ping
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170523/801ef39f/attachment-0001.html>


More information about the petsc-users mailing list