Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 247b28499c443e092731ffba814075f2 > files > 914

mpqc-html-2.3.1-9mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>MPQC: sc::TwoBodyInt Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</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&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><b>sc</b>::<a class="el" href="classsc_1_1TwoBodyInt.html">TwoBodyInt</a>
  </div>
</div>
<div class="contents">
<h1>sc::TwoBodyInt Class Reference</h1><!-- doxytag: class="sc::TwoBodyInt" --><!-- doxytag: inherits="sc::RefCount" -->This is an abstract base type for classes that compute integrals involving two electrons.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="tbint_8h_source.html">tbint.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for sc::TwoBodyInt:</div>
<div class="dynsection">

<p><center><img src="classsc_1_1TwoBodyInt.png" usemap="#sc::TwoBodyInt_map" border="0" alt=""></center>
<map name="sc::TwoBodyInt_map">
<area href="classsc_1_1RefCount.html" alt="sc::RefCount" shape="rect" coords="134,56,258,80">
<area href="classsc_1_1Identity.html" alt="sc::Identity" shape="rect" coords="134,0,258,24">
<area href="classsc_1_1TwoBodyIntCCA.html" alt="sc::TwoBodyIntCCA" shape="rect" coords="0,168,124,192">
<area href="classsc_1_1TwoBodyIntCints.html" alt="sc::TwoBodyIntCints" shape="rect" coords="134,168,258,192">
<area href="classsc_1_1TwoBodyIntV3.html" alt="sc::TwoBodyIntV3" shape="rect" coords="268,168,392,192">
</map>
</div>

<p>
<a href="classsc_1_1TwoBodyInt-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 Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1TwoBodyInt.html#bdb2ef0bc352b1fc45d24762db128740">tbint_type</a> { <b>eri</b> = 0, 
<b>r12</b> = 1, 
<b>r12t1</b> = 2, 
<b>r12t2</b> = 3
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Types of two-body integrals that <a class="el" href="classsc_1_1TwoBodyInt.html" title="This is an abstract base type for classes that compute integrals involving two electrons...">TwoBodyInt</a> understands: eri stands for electron repulsion integral, r12 stands for integrals of r12 operator, r12t1 and r12t2 are integrals of [r12,T1] and [r12,T2] operators. <br></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0041992c66d116f14ac8eae28badd157"></a><!-- doxytag: member="sc::TwoBodyInt::nbasis" ref="0041992c66d116f14ac8eae28badd157" args="() const " -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1TwoBodyInt.html#0041992c66d116f14ac8eae28badd157">nbasis</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the number of basis functions on center one. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="001a9fcd555544d771bd8330d617538f"></a><!-- doxytag: member="sc::TwoBodyInt::nbasis1" ref="001a9fcd555544d771bd8330d617538f" args="() const " -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1TwoBodyInt.html#001a9fcd555544d771bd8330d617538f">nbasis1</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the number of basis functions on center one. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b799c42bc8d67508267ed704712e277c"></a><!-- doxytag: member="sc::TwoBodyInt::nbasis2" ref="b799c42bc8d67508267ed704712e277c" args="() const " -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1TwoBodyInt.html#b799c42bc8d67508267ed704712e277c">nbasis2</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the number of basis functions on center two. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="81f6a560ed0fed432435b1032963082b"></a><!-- doxytag: member="sc::TwoBodyInt::nbasis3" ref="81f6a560ed0fed432435b1032963082b" args="() const " -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1TwoBodyInt.html#81f6a560ed0fed432435b1032963082b">nbasis3</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the number of basis functions on center three. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7cb3ec17a751dc9caa7d9410e8d5e0b7"></a><!-- doxytag: member="sc::TwoBodyInt::nbasis4" ref="7cb3ec17a751dc9caa7d9410e8d5e0b7" args="() const " -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1TwoBodyInt.html#7cb3ec17a751dc9caa7d9410e8d5e0b7">nbasis4</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the number of basis functions on center four. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="14abd020cdd7f1e767c8642087ae08df"></a><!-- doxytag: member="sc::TwoBodyInt::nshell" ref="14abd020cdd7f1e767c8642087ae08df" args="() const " -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1TwoBodyInt.html#14abd020cdd7f1e767c8642087ae08df">nshell</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the number of shells on center one. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bfae3c604e9d20bd6724d0d61b8ddd04"></a><!-- doxytag: member="sc::TwoBodyInt::nshell1" ref="bfae3c604e9d20bd6724d0d61b8ddd04" args="() const " -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1TwoBodyInt.html#bfae3c604e9d20bd6724d0d61b8ddd04">nshell1</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the number of shells on center one. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eab51aaa244d6e1b903df9537a1447a5"></a><!-- doxytag: member="sc::TwoBodyInt::nshell2" ref="eab51aaa244d6e1b903df9537a1447a5" args="() const " -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1TwoBodyInt.html#eab51aaa244d6e1b903df9537a1447a5">nshell2</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the number of shells on center two. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d506593d15a1cc62f8a1b1e875a6012d"></a><!-- doxytag: member="sc::TwoBodyInt::nshell3" ref="d506593d15a1cc62f8a1b1e875a6012d" args="() const " -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1TwoBodyInt.html#d506593d15a1cc62f8a1b1e875a6012d">nshell3</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the number of shells on center three. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4f616aa16fd50e4d707fbcce91a61efe"></a><!-- doxytag: member="sc::TwoBodyInt::nshell4" ref="4f616aa16fd50e4d707fbcce91a61efe" args="() const " -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1TwoBodyInt.html#4f616aa16fd50e4d707fbcce91a61efe">nshell4</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the number of shells on center four. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7c69c6f54992af91b7a0c6c17deceb73"></a><!-- doxytag: member="sc::TwoBodyInt::basis" ref="7c69c6f54992af91b7a0c6c17deceb73" args="()" -->
<a class="el" href="classsc_1_1Ref.html">Ref</a>&lt; <a class="el" href="classsc_1_1GaussianBasisSet.html">GaussianBasisSet</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1TwoBodyInt.html#7c69c6f54992af91b7a0c6c17deceb73">basis</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the basis set on center one. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eedf76f3df61201745b95641f4d7148a"></a><!-- doxytag: member="sc::TwoBodyInt::basis1" ref="eedf76f3df61201745b95641f4d7148a" args="()" -->
<a class="el" href="classsc_1_1Ref.html">Ref</a>&lt; <a class="el" href="classsc_1_1GaussianBasisSet.html">GaussianBasisSet</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1TwoBodyInt.html#eedf76f3df61201745b95641f4d7148a">basis1</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the basis set on center one. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="04e231a4b59a1ca7131e89c077788c1e"></a><!-- doxytag: member="sc::TwoBodyInt::basis2" ref="04e231a4b59a1ca7131e89c077788c1e" args="()" -->
<a class="el" href="classsc_1_1Ref.html">Ref</a>&lt; <a class="el" href="classsc_1_1GaussianBasisSet.html">GaussianBasisSet</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1TwoBodyInt.html#04e231a4b59a1ca7131e89c077788c1e">basis2</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the basis set on center two. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3fd5b40b06f36f555708350aa2ceeed1"></a><!-- doxytag: member="sc::TwoBodyInt::basis3" ref="3fd5b40b06f36f555708350aa2ceeed1" args="()" -->
<a class="el" href="classsc_1_1Ref.html">Ref</a>&lt; <a class="el" href="classsc_1_1GaussianBasisSet.html">GaussianBasisSet</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1TwoBodyInt.html#3fd5b40b06f36f555708350aa2ceeed1">basis3</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the basis set on center three. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f0c92b225a0ee35d15c88de3093f8147"></a><!-- doxytag: member="sc::TwoBodyInt::basis4" ref="f0c92b225a0ee35d15c88de3093f8147" args="()" -->
<a class="el" href="classsc_1_1Ref.html">Ref</a>&lt; <a class="el" href="classsc_1_1GaussianBasisSet.html">GaussianBasisSet</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1TwoBodyInt.html#f0c92b225a0ee35d15c88de3093f8147">basis4</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the basis set on center four. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const double *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1TwoBodyInt.html#b24568aed97fba3ae323fc6651074aa6">buffer</a> (<a class="el" href="classsc_1_1TwoBodyInt.html#bdb2ef0bc352b1fc45d24762db128740">tbint_type</a> type=eri) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The computed shell integrals will be put in the buffer returned by this member.  <a href="#b24568aed97fba3ae323fc6651074aa6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1TwoBodyInt.html#8d1110a67d7886e6251a5d8158f603ed">compute_shell</a> (int, int, int, int)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Given four shell indices, integrals will be computed and placed in the buffer.  <a href="#8d1110a67d7886e6251a5d8158f603ed"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1TwoBodyInt.html#31e5b92b6c787ab65e76399eaae50389">log2_shell_bound</a> (int=-1, int=-1, int=-1, int=-1)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return log base 2 of the maximum magnitude of any integral in a shell block obtained from compute_shell.  <a href="#31e5b92b6c787ab65e76399eaae50389"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1TwoBodyInt.html#cfda525dc7b4539a69fb2ff432061c5c">redundant</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">If redundant is true, then keep redundant integrals in the buffer.  <a href="#cfda525dc7b4539a69fb2ff432061c5c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4255c234dfbf5b609fad2611146bfcaf"></a><!-- doxytag: member="sc::TwoBodyInt::set_redundant" ref="4255c234dfbf5b609fad2611146bfcaf" args="(int i)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1TwoBodyInt.html#4255c234dfbf5b609fad2611146bfcaf">set_redundant</a> (int i)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See <a class="el" href="classsc_1_1TwoBodyInt.html#cfda525dc7b4539a69fb2ff432061c5c" title="If redundant is true, then keep redundant integrals in the buffer.">redundant()</a>. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0a7baae7f8d06897887dc7fa08fd50a6"></a><!-- doxytag: member="sc::TwoBodyInt::set_integral_storage" ref="0a7baae7f8d06897887dc7fa08fd50a6" args="(size_t storage)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1TwoBodyInt.html#0a7baae7f8d06897887dc7fa08fd50a6">set_integral_storage</a> (size_t storage)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This storage is used to cache computed integrals. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d82057c5dd1dec3ea34955d5f983f051"></a><!-- doxytag: member="sc::TwoBodyInt::integral" ref="d82057c5dd1dec3ea34955d5f983f051" args="() const " -->
<a class="el" href="classsc_1_1Integral.html">Integral</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1TwoBodyInt.html#d82057c5dd1dec3ea34955d5f983f051">integral</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the integral factory that was used to create this object. <br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a07c640739f7c8eaa241e9627cdbc257"></a><!-- doxytag: member="sc::TwoBodyInt::num_tbint_types" ref="a07c640739f7c8eaa241e9627cdbc257" args="" -->
static const int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1TwoBodyInt.html#a07c640739f7c8eaa241e9627cdbc257">num_tbint_types</a> = 4</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The total number of such types. <br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9d00e34f88d41bba0b25471fe08c03ac"></a><!-- doxytag: member="sc::TwoBodyInt::TwoBodyInt" ref="9d00e34f88d41bba0b25471fe08c03ac" args="(Integral *integral, const Ref&lt; GaussianBasisSet &gt; &amp;bs1, const Ref&lt; GaussianBasisSet &gt; &amp;bs2, const Ref&lt; GaussianBasisSet &gt; &amp;bs3, const Ref&lt; GaussianBasisSet &gt; &amp;bs4)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>TwoBodyInt</b> (<a class="el" href="classsc_1_1Integral.html">Integral</a> *integral, const <a class="el" href="classsc_1_1Ref.html">Ref</a>&lt; <a class="el" href="classsc_1_1GaussianBasisSet.html">GaussianBasisSet</a> &gt; &amp;bs1, const <a class="el" href="classsc_1_1Ref.html">Ref</a>&lt; <a class="el" href="classsc_1_1GaussianBasisSet.html">GaussianBasisSet</a> &gt; &amp;bs2, const <a class="el" href="classsc_1_1Ref.html">Ref</a>&lt; <a class="el" href="classsc_1_1GaussianBasisSet.html">GaussianBasisSet</a> &gt; &amp;bs3, const <a class="el" href="classsc_1_1Ref.html">Ref</a>&lt; <a class="el" href="classsc_1_1GaussianBasisSet.html">GaussianBasisSet</a> &gt; &amp;bs4)</td></tr>

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bc149102c534d92a2232d6394f53ac6d"></a><!-- doxytag: member="sc::TwoBodyInt::integral_" ref="bc149102c534d92a2232d6394f53ac6d" args="" -->
<a class="el" href="classsc_1_1Integral.html">Integral</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>integral_</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="db026ff64466208cc29cc806607637a5"></a><!-- doxytag: member="sc::TwoBodyInt::bs1_" ref="db026ff64466208cc29cc806607637a5" args="" -->
<a class="el" href="classsc_1_1Ref.html">Ref</a>&lt; <a class="el" href="classsc_1_1GaussianBasisSet.html">GaussianBasisSet</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><b>bs1_</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a883e37ce1f66ec5c073572c7aace529"></a><!-- doxytag: member="sc::TwoBodyInt::bs2_" ref="a883e37ce1f66ec5c073572c7aace529" args="" -->
<a class="el" href="classsc_1_1Ref.html">Ref</a>&lt; <a class="el" href="classsc_1_1GaussianBasisSet.html">GaussianBasisSet</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><b>bs2_</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3b13d1f00881bcdd284c2f4b7628a9e2"></a><!-- doxytag: member="sc::TwoBodyInt::bs3_" ref="3b13d1f00881bcdd284c2f4b7628a9e2" args="" -->
<a class="el" href="classsc_1_1Ref.html">Ref</a>&lt; <a class="el" href="classsc_1_1GaussianBasisSet.html">GaussianBasisSet</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><b>bs3_</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5bd7d2aa9fb871ba038f97517d3fe33b"></a><!-- doxytag: member="sc::TwoBodyInt::bs4_" ref="5bd7d2aa9fb871ba038f97517d3fe33b" args="" -->
<a class="el" href="classsc_1_1Ref.html">Ref</a>&lt; <a class="el" href="classsc_1_1GaussianBasisSet.html">GaussianBasisSet</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><b>bs4_</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="89e0a5bcf1a807da7bf3eb7c92542342"></a><!-- doxytag: member="sc::TwoBodyInt::buffer_" ref="89e0a5bcf1a807da7bf3eb7c92542342" args="" -->
double *&nbsp;</td><td class="memItemRight" valign="bottom"><b>buffer_</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3e925f92c8021f2f0b6882dcea2fdac5"></a><!-- doxytag: member="sc::TwoBodyInt::redundant_" ref="3e925f92c8021f2f0b6882dcea2fdac5" args="" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><b>redundant_</b></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
This is an abstract base type for classes that compute integrals involving two electrons. <hr><h2>Member Function Documentation</h2>
<a class="anchor" name="b24568aed97fba3ae323fc6651074aa6"></a><!-- doxytag: member="sc::TwoBodyInt::buffer" ref="b24568aed97fba3ae323fc6651074aa6" args="(tbint_type type=eri) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const double* sc::TwoBodyInt::buffer           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsc_1_1TwoBodyInt.html#bdb2ef0bc352b1fc45d24762db128740">tbint_type</a>&nbsp;</td>
          <td class="paramname"> <em>type</em> = <code>eri</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The computed shell integrals will be put in the buffer returned by this member. 
<p>
Some <a class="el" href="classsc_1_1TwoBodyInt.html" title="This is an abstract base type for classes that compute integrals involving two electrons...">TwoBodyInt</a> specializations have more than one buffer: The type arguments selects which buffer is returned. If the requested type is not supported, then 0 is returned. 
<p>Reimplemented in <a class="el" href="classsc_1_1TwoBodyIntCints.html#d98bd834fff500cc5c05fe5d4e6ccb67">sc::TwoBodyIntCints</a>.</p>

</div>
</div><p>
<a class="anchor" name="8d1110a67d7886e6251a5d8158f603ed"></a><!-- doxytag: member="sc::TwoBodyInt::compute_shell" ref="8d1110a67d7886e6251a5d8158f603ed" args="(int, int, int, int)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void sc::TwoBodyInt::compute_shell           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Given four shell indices, integrals will be computed and placed in the buffer. 
<p>
The first two indices correspond to electron 1 and the second two indices correspond to electron 2. 
<p>Implemented in <a class="el" href="classsc_1_1TwoBodyIntCints.html#48a318b5e482aa5b8fd87095ba1b1cfb">sc::TwoBodyIntCints</a>, <a class="el" href="classsc_1_1TwoBodyIntCCA.html#6f0bbacaa3c9a59201d9dea831cc1559">sc::TwoBodyIntCCA</a>, and <a class="el" href="classsc_1_1TwoBodyIntV3.html#f51ab7eb3ef22b2b75350adac2ebeceb">sc::TwoBodyIntV3</a>.</p>

</div>
</div><p>
<a class="anchor" name="31e5b92b6c787ab65e76399eaae50389"></a><!-- doxytag: member="sc::TwoBodyInt::log2_shell_bound" ref="31e5b92b6c787ab65e76399eaae50389" args="(int=&#45;1, int=&#45;1, int=&#45;1, int=&#45;1)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int sc::TwoBodyInt::log2_shell_bound           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> = <code>-1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> = <code>-1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> = <code>-1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> = <code>-1</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return log base 2 of the maximum magnitude of any integral in a shell block obtained from compute_shell. 
<p>
An index of -1 for any argument indicates any shell. 
<p>Implemented in <a class="el" href="classsc_1_1TwoBodyIntCints.html#e4fdb2c01087c4a666cb5a530c6b7c72">sc::TwoBodyIntCints</a>, <a class="el" href="classsc_1_1TwoBodyIntCCA.html#458fca9f38a54486106aec3debbe983d">sc::TwoBodyIntCCA</a>, and <a class="el" href="classsc_1_1TwoBodyIntV3.html#5d1af04de0db81358c8cbd9e3f033e73">sc::TwoBodyIntV3</a>.</p>

</div>
</div><p>
<a class="anchor" name="cfda525dc7b4539a69fb2ff432061c5c"></a><!-- doxytag: member="sc::TwoBodyInt::redundant" ref="cfda525dc7b4539a69fb2ff432061c5c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int sc::TwoBodyInt::redundant           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
If redundant is true, then keep redundant integrals in the buffer. 
<p>
The default is true. 
<p>Reimplemented in <a class="el" href="classsc_1_1TwoBodyIntCCA.html#3578340af06d314a553cc62c92bd6a44">sc::TwoBodyIntCCA</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="tbint_8h_source.html">tbint.h</a></ul>
</div>
<hr>
<address>
<small>

Generated at Wed Oct 14 14:12:13 2009 for <a
href="http://www.mpqc.org">MPQC</a>
2.3.1 using the documentation package <a
href="http://www.doxygen.org">Doxygen</a>
1.5.9.

</small>
</address>
</body>
</html>