<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, May 29, 2018 at 1:14 PM, Valerio Barnabei <span dir="ltr"><<a href="mailto:valerio.barnabei@uniroma1.it" target="_blank">valerio.barnabei@uniroma1.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello,</div><div>I'm trying to figure how to translate snes/ex12, snes/ex56, snes/ex62, snes/ex77 in python using petsc4py. Unfortunately I'm having trouble finding something analogue to the DT class of C++ PETSc, to call methods like PetscFECreateDefault and similar.</div><div>Is this something that can be achieved using petsc4py? <br></div><div>I mean, is there something included in DM, DMDA or DMPlex that takes care of the discretization of a generic value field that I'm missing? (As far as I can see and understand, no DT class is implemented in petsc4py)<br></div><div>I hope i explained myself, unfortunately I'm still a new user.</div></div></blockquote><div><br></div><div>Hi Valerio,</div><div><br></div><div>There are no Python interfaces for DT because it is all experimental code. We have not yet agreed that this is</div><div>the correct way to do things, so its all my own C experimentation. I could help you understand it to make Python</div><div>interfaces if you wanted to.</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thanks in advance for your help.</div><div><br></div><div>Best regards,<br></div><div>Valerio<br></div></div>
<br>
<div style="font-size:small;font-family:arial;background-color:rgb(255,255,255)">______________________________<wbr>_____________</div><div style="font-size:12.8px;font-family:arial,sans-serif;color:rgb(34,34,34);background-color:rgb(255,255,255)"><div style="font-size:12.8px"><b style="color:rgb(150,53,66);font-size:12.8px">Il tuo <span>5</span> diventa 1000</b></div><div style="font-size:12.8px"><span style="font-size:12.8px"><div style="font-size:12.8px">Fai crescere la tua università</div><div style="font-size:12.8px">Dona il <span>5</span> <span>per</span> <span>mille</span> alla Sapienza</div></span><div style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:13px"><font style="font-family:arial,sans-serif;font-size:small">Codice fiscale: </font><b style="font-family:arial,sans-serif;font-size:large">80209930587</b></div><div style="font-size:12.8px;color:rgb(0,0,0);font-family:arial,helvetica,sans-serif"><font size="1"><a href="https://www.uniroma1.it/it/pagina/fai-crescere-la-tua-universita-con-il-cinque-mille" style="color:rgb(17,85,204)" target="_blank">https://www.uniroma1.it/it/pag<wbr>ina/fai-crescere-la-tua-univer<wbr>sita-con-il-cinque-mille</a></font></div><div><br></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.caam.rice.edu/~mk51/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div>
</div></div>