[petsc-users] hand-coded Jacobian

(Rebecca) Xuefei YUAN xy2102 at columbia.edu
Sun Jul 11 19:30:11 CDT 2010


Dear Jed,

Thanks a lot!

R

Quoting Jed Brown <jed at 59A2.org>:

> On Sun, 11 Jul 2010 00:50:30 -0400, "(Rebecca) Xuefei YUAN"   
> <xy2102 at columbia.edu> wrote:
>> Dear all,
>>
>> If testing the hand coded Jacobian, the ratio is 1e-10, but the
>> difference is 1e-4, would this be some mistakes in Jacobian?
>
> This is fine, it just means that your matrix hasn't been scaled to O(1).
>
> Jed
>
>



-- 
(Rebecca) Xuefei YUAN
Department of Applied Physics and Applied Mathematics
Columbia University
Tel:917-399-8032
www.columbia.edu/~xy2102



More information about the petsc-users mailing list