I am trying to calculate electric field from -grad(potential). potential is obtained from solving poisson's equation by finite element method and node values are stored in block vector. possion's equation is solved simillar to grid-howto tutorial. now i am stuck in calculating potential gradient with these node values of potential. i tried calculating gradient of shapefunction at nodes and then multiply it with potential node value, but gradient of shapefunction is coming out to be zero at nodes(might be bcoz at node gradient is undefined). so how to calculate gradient?<br>
<br><div class="gmail_quote">On Mon, Jul 11, 2011 at 5:32 PM, Jö Fahlke <span dir="ltr"><<a href="mailto:jorrit@jorrit.de">jorrit@jorrit.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Am Mon, 11. Jul 2011, 10:53:38 +0200 schrieb Oliver Sander:<br>
<div class="im">> Please be more specific when writing questions.<br>
<br>
</div>To make the request to be more specific more specific: what kind of function<br>
are you talking about?  For instance, is it a discrete function, and if so,<br>
what discretization module are you using?<br>
<br>
Bye,<br>
Jö.<br>
<font color="#888888"><br>
--<br>
Computers are like air conditioners.  Both stop working, if you open<br>
windows.<br>
-- Adam Heath<br>
</font><br>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.10 (GNU/Linux)<br>
<br>
iQIVAwUBThrmUOmx9CKgc0OWAQgQOg/+K2bHPhqssBSBrP6KhJIX4JppcXMgkYmO<br>
Eb7O9xuyu6go/LrDzzjLeiJ9WHHih25t+ccYCyjkJpAYRfES8HOKBNRmZUpbgDS+<br>
6P1v9Rzk8Irka+VIaXvmSJaw8DGotW5+h/kMW3/bU/nxkvkMT7nTV8NCZetNSHPP<br>
kRQxwzqw8qf4JXAuoaY3dRV9QZCpokEfqAuSsfjiY6zdHRnSK2epmawc85CxErv8<br>
q3X281eJetmi9tp3vMXHJFx3i05qZSMgjRfwDAS1K6A0ZJsoEGqws1xKZ0T9OS7k<br>
d9IvjK/HpCGo6VrRjn1KTkS795k9LTB4txWmkeQDoh7MRXW30LeYi2z9YwIcJz0N<br>
e9WELHeZDPGeFBkeEFJ6J/SGEK5BkMp2tjvMWh2mfNkG0JPR0CVdkFMMBlFbSfIf<br>
9AvoWvofdSQE09aqSWDG87Pqv1LxSiTKRUYGYl+OVT6ePEwIL1yV0bI0ZMcLeeIW<br>
rMnun+AFziiPgVrv6aMs77KyEk77m2wzTq9/+y9omirWHZb+wmPYKhlwRvOxJI8l<br>
TSQm45C+WTz69ugpPo6inevSmeQdh8ClU48Pqg3ny1r1rvSujE1JJPiMnCwh2GPm<br>
ix+wPcjqdtF2RzKkF+cy8ERrJCsRfH/P/RTAYn+S9ZQAqh6+Gmq/A2FtylZp+TJ3<br>
hg3GPB9t4b4=<br>
=2wbZ<br>
-----END PGP SIGNATURE-----<br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Warm Regards,<br>Dhirendra Vaidya<br><br>