<div dir="ltr"><div class="markdown-here-wrapper" style="font-family:'Courier New'"><p style="margin:1.2em 0px!important">Hello,</p>
<p style="margin:1.2em 0px!important">I’m not convinced the following will be find <code style="font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;margin:0px 0.15em;padding:0px 0.15em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248)">simple</code> enough but <a href="http://www.feelpp.org">Feel++</a> match the other expectations.</p>
<p style="margin:1.2em 0px!important">In the example on the main page of the web site, you only have to change the line</p>
<pre style="font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code class="hljs language-c++" style="font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;margin:0px 0.15em;padding:0px 0.15em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248);white-space:pre;overflow:auto;border-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important;display:block;overflow-x:auto;padding:0.5em;color:rgb(51,51,51);background:rgb(248,248,248)">    a+=on(_range=boundaryfaces(mesh), _rhs=l, _element=u, _expr=cst(<span class="hljs-number" style="color:rgb(0,128,128)">0.</span>) );
</code></pre>
<p style="margin:1.2em 0px!important">to </p>
<pre style="font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code class="hljs language-c++" style="font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;margin:0px 0.15em;padding:0px 0.15em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248);white-space:pre;overflow:auto;border-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important;display:block;overflow-x:auto;padding:0.5em;color:rgb(51,51,51);background:rgb(248,248,248)">    a+=on(_range=boundaryfaces(mesh), _rhs=l, _element=u, _expr=expr(soption(<span class="hljs-string" style="color:rgb(221,17,68)">"functions.g"</span>)) );
</code></pre>
<p style="margin:1.2em 0px!important">and run the code with</p>
<pre style="font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code class="hljs language-sh" style="font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;font-family:inherit;margin:0px 0.15em;padding:0px 0.15em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248);white-space:pre;overflow:auto;border-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important;display:block;overflow-x:auto;padding:0.5em;color:rgb(51,51,51);background:rgb(248,248,248)">mpirun -np xxx ./feelpp_theApp --functions.g=<span class="hljs-string" style="color:rgb(221,17,68)">"2*x*y=x=y"</span>
</code></pre>
<p style="margin:1.2em 0px!important">To change the bc you want to impose.</p>
<p style="margin:1.2em 0px!important">I (highly) recommend Ubuntu 14.04 to test the library.<br>The documentation is <a href="http://book.feelpp.org/">here</a></p>
<p style="margin:1.2em 0px!important">You may also have a look to <a href="http://www.freefem.org/">FreeFem++</a></p>
<p style="margin:1.2em 0px!important">All the best,</p>
<p style="margin:1.2em 0px!important">VH</p>
<div title="MDH:PGRpdiBjbGFzcz0iZ21haWxfZGVmYXVsdCIgc3R5bGU9ImZvbnQtZmFtaWx5OiAnY291cmllciBu
ZXcnLCBtb25vc3BhY2U7Ij5IZWxsbyw8L2Rpdj48ZGl2IGNsYXNzPSJnbWFpbF9kZWZhdWx0IiBz
dHlsZT0iZm9udC1mYW1pbHk6ICdjb3VyaWVyIG5ldycsIG1vbm9z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hbWlseTogJ2Nv
dXJpZXIgbmV3JywgbW9ub3NwYWNlOyI+PGJyPjwvZGl2PjxkaXYgc3R5bGU9ImZvbnQtZmFtaWx5
OiAnY291cmllciBuZXcnLCBtb25vc3BhY2U7Ij5WSDwvZGl2PjwvZGl2Pg==" style="height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0">​</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-11 10:18 GMT+01:00 Farshid Mossaiby <span dir="ltr"><<a href="mailto:mossaiby@yahoo.com" target="_blank">mossaiby@yahoo.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:verdana,helvetica,sans-serif;font-size:13px"><div>Hi all,</div><div><br></div><div dir="ltr">Can somebody point me to a simple, linear, parallel FEM code based on PETSc, implementing efficient application of non-homogeneous Dirichlet BC? Domain decomposition code will is also welcome.</div><div dir="ltr"><br></div><div dir="ltr">TIA<br></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><font face="courier new, monospace">Docteur Ingénieur de recherche</font><div><font face="courier new, monospace"><a href="http://www.cemosis.fr" target="_blank">CeMoSiS</a> - <a href="mailto:vincent.huber@cemosis.fr" target="_blank">vincent.huber@cemosis.fr</a></font></div><div><font face="courier new, monospace">Tel: +33 (0)3 68 8<b>5 02 06</b></font></div><div><font face="courier new, monospace">IRMA - 7, rue René Descartes</font></div><div><font face="courier new, monospace">67 000 Strasbourg</font></div><div><br></div><div><img src="http://www.google.com/a/cpanel/cemosis.fr/images/logo.gif"></div></div></div>
</div></div>