Mercurial > hg > kwantix
view html/classbvp_1_1Laplacian.html @ 4:9d4fda54a41d
Buggy, must check why interpolator assignment destroys precomputed
data.
author | Jordi Guitérrez Hermoso <jordigh@gmail.com> |
---|---|
date | Sun, 29 Jun 2008 04:06:48 -0500 |
parents | 4fa56dc7e271 |
children |
line wrap: on
line source
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>bvp::Laplacian Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.6 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespacebvp.html">bvp</a>::<a class="el" href="classbvp_1_1Laplacian.html">Laplacian</a> </div> </div> <div class="contents"> <h1>bvp::Laplacian Class Reference</h1><!-- doxytag: class="bvp::Laplacian" --><!-- doxytag: inherits="bvp::linear_diff_op2" --><code>#include <<a class="el" href="diff__op_8hpp-source.html">diff_op.hpp</a>></code> <p> <div class="dynheader"> Inheritance diagram for bvp::Laplacian:</div> <div class="dynsection"> <p><center><img src="classbvp_1_1Laplacian__inherit__graph.png" border="0" usemap="#bvp_1_1Laplacian__inherit__map" alt="Inheritance graph"></center> <map name="bvp_1_1Laplacian__inherit__map"> <area shape="rect" href="classbvp_1_1linear__diff__op2.html" title="bvp::linear_diff_op2" alt="" coords="72,161,216,188"><area shape="rect" href="classbvp_1_1linear__diff__op.html" title="bvp::linear_diff_op" alt="" coords="5,84,141,111"><area shape="rect" href="classbvp_1_1diff__op.html" title="bvp::diff_op" alt="" coords="97,7,191,33"><area shape="rect" href="classbvp_1_1diff__op2.html" title="bvp::diff_op2" alt="" coords="165,84,267,111"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for bvp::Laplacian:</div> <div class="dynsection"> <p><center><img src="classbvp_1_1Laplacian__coll__graph.png" border="0" usemap="#bvp_1_1Laplacian__coll__map" alt="Collaboration graph"></center> <map name="bvp_1_1Laplacian__coll__map"> <area shape="rect" href="classbvp_1_1linear__diff__op2.html" title="bvp::linear_diff_op2" alt="" coords="72,161,216,188"><area shape="rect" href="classbvp_1_1linear__diff__op.html" title="bvp::linear_diff_op" alt="" coords="5,84,141,111"><area shape="rect" href="classbvp_1_1diff__op.html" title="bvp::diff_op" alt="" coords="97,7,191,33"><area shape="rect" href="classbvp_1_1diff__op2.html" title="bvp::diff_op2" alt="" coords="165,84,267,111"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="classbvp_1_1Laplacian-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbvp_1_1Laplacian.html#2c8d057b236483344849adbf478a71b6">at</a> (const <a class="el" href="classbvp_1_1realfunc.html">realfunc</a> &f, const point &p) const </td></tr> </table> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="2c8d057b236483344849adbf478a71b6"></a><!-- doxytag: member="bvp::Laplacian::at" ref="2c8d057b236483344849adbf478a71b6" args="(const realfunc &f, const point &p) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double bvp::Laplacian::at </td> <td>(</td> <td class="paramtype">const <a class="el" href="classbvp_1_1realfunc.html">realfunc</a> & </td> <td class="paramname"> <em>f</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const point & </td> <td class="paramname"> <em>p</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Implements <a class="el" href="classbvp_1_1diff__op.html#246b88c69ac22a44d907276da496fae4">bvp::diff_op</a>.</p> <div class="fragment"><pre class="fragment"><a name="l00074"></a>00074 { <a name="l00075"></a>00075 <span class="keywordtype">size_t</span> n = p.size(); <a name="l00076"></a>00076 <span class="keywordtype">double</span> result = 0; <a name="l00077"></a>00077 del2 D2; <a name="l00078"></a>00078 <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = 1; i <=n; i++){ <a name="l00079"></a>00079 result += D2.at(f, p, i, i); <a name="l00080"></a>00080 } <a name="l00081"></a>00081 <span class="keywordflow">return</span> result; <a name="l00082"></a>00082 } </pre></div> <p> <p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dynsection"> <p><center><img src="classbvp_1_1Laplacian_2c8d057b236483344849adbf478a71b6_cgraph.png" border="0" usemap="#classbvp_1_1Laplacian_2c8d057b236483344849adbf478a71b6_cgraph_map" alt=""></center> <map name="classbvp_1_1Laplacian_2c8d057b236483344849adbf478a71b6_cgraph_map"> <area shape="rect" href="classbvp_1_1del2.html#789bb5c0ca071d696b024e548eeff560" title="bvp::del2::at" alt="" coords="188,5,287,32"><area shape="rect" href="classbvp_1_1realfunc.html#38d0bf190a56e64d8aea80a14a380e8d" title="bvp::realfunc::d2" alt="" coords="336,5,464,32"></map> </div> </div> </div><p> <hr>The documentation for this class was generated from the following files:<ul> <li>include/<a class="el" href="diff__op_8hpp-source.html">diff_op.hpp</a><li><a class="el" href="diff__op_8cpp.html">diff_op.cpp</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Sat Jun 28 00:33:26 2008 by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>