I've not seen anyone doing this before. For representing particle data in parallel, petsc objects (eg vecs) are not really suitable as they don't support dynamic resizing of the local or global size.<div><br></div>
<div>Most SPH calculations are explicit. If you're doing incompressible flow and use a projection scheme which enforces the in compressibility via a variable coefficient poisson solve, petsc would be useful for that solve. </div>
<div><br></div><div>Cheers</div><div> Dave<br><br>On Thursday, 20 March 2014, Ben Huntington <<a href="mailto:bhuntington2716@gmail.com">bhuntington2716@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div>Hi,<br><br></div>I was just wondering if anyone has ever used (or knows of someone using) PETSc for a smoothed particle hydrodynamics code?<br><br></div><div>Thanks,<br></div><div>Ben<br></div><div>
<br><br></div></div>
</blockquote></div>