<div dir="ltr">I do have an elasticity solver though. However it's an in-house code hence it's not very straight forward to unroll to make a PETSc example. The example can only read in the provided matrices and apply the preconditioner. However, I think in general standard PETSc example generates the linear system and solve it successively. In that way, ex77 must be extended. What do you think?<div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Giang</div></div></div>
<br><div class="gmail_quote">On Tue, Oct 18, 2016 at 4:36 PM, Jed Brown <span dir="ltr"><<a href="mailto:jed@jedbrown.org" target="_blank">jed@jedbrown.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Hoang Giang Bui <<a href="mailto:hgbk2008@gmail.com">hgbk2008@gmail.com</a>> writes:<br>
<br>
</span><span class="">> Hi Jed<br>
> That's a great idea. Do you have any ex* to start with? Or suggesting me a<br>
> starting point.<br>
<br>
</span>If you don't have an elasticity solver already, you could sart with<br>
src/snes/examples/tutorials/<wbr>ex77.c which solves hyperelasticity using a<br>
potentially unstructured mesh.<br>
</blockquote></div><br></div></div>