<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>hi</p>
<p>Sorry, I realise now I was barking up the wrong tree in trying to
use MatMFFDSetType().</p>
<p>What I'm actually looking for is just the equivalent of setting
the command line option "-mat_fd_type ds" as default in my code-
for an ordinary Jacobian matrix, not for a matrix-free method.</p>
<p>The doc page on MatFDColoringSetFromOptions():</p>
<p><a class="moz-txt-link-freetext" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/MatFD/MatFDColoringSetFromOptions.html">http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/MatFD/MatFDColoringSetFromOptions.html</a></p>
<p>mentions setting the fd type to 'wp' or 'ds', and links to pages
about MATMFFD_WP and MATMFFD_DS, which is probably where I started
going astray.</p>
<p><br>
</p>
<p>How do I do the equivalent of setting the option "-mat_fd_type
ds" in my code? There is MatMFFDSetType() for MATMFFD, but doesn't
seem to be anything like a plain MatFDSetType().</p>
<p>- Adrian<br>
</p>
<pre class="moz-signature" cols="72">--
Dr Adrian Croucher
Senior Research Fellow
Department of Engineering Science
University of Auckland, New Zealand
email: <a class="moz-txt-link-abbreviated" href="mailto:a.croucher@auckland.ac.nz">a.croucher@auckland.ac.nz</a>
tel: +64 (0)9 923 84611
</pre>
</body>
</html>