Sophie

Sophie

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

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::Compute 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_1Compute.html">Compute</a>
  </div>
</div>
<div class="contents">
<h1>sc::Compute Class Reference</h1><!-- doxytag: class="sc::Compute" -->The <a class="el" href="classsc_1_1Compute.html" title="The Compute class provides a means of keeping results up to date.">Compute</a> class provides a means of keeping results up to date.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="compute_8h_source.html">compute.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for sc::Compute:</div>
<div class="dynsection">

<p><center><img src="classsc_1_1Compute.png" usemap="#sc::Compute_map" border="0" alt=""></center>
<map name="sc::Compute_map">
<area href="classsc_1_1Function.html" alt="sc::Function" shape="rect" coords="609,56,773,80">
<area href="classsc_1_1MolecularEnergy.html" alt="sc::MolecularEnergy" shape="rect" coords="435,112,599,136">
<area href="classsc_1_1Volume.html" alt="sc::Volume" shape="rect" coords="783,112,947,136">
<area href="classsc_1_1Wavefunction.html" alt="sc::Wavefunction" shape="rect" coords="435,168,599,192">
<area href="classsc_1_1BatchElectronDensity.html" alt="sc::BatchElectronDensity" shape="rect" coords="609,168,773,192">
<area href="classsc_1_1ElectronDensity.html" alt="sc::ElectronDensity" shape="rect" coords="783,168,947,192">
<area href="classsc_1_1Shape.html" alt="sc::Shape" shape="rect" coords="1174,168,1338,192">
<area href="classsc_1_1MBPT2.html" alt="sc::MBPT2" shape="rect" coords="0,224,164,248">
<area href="classsc_1_1OneBodyWavefunction.html" alt="sc::OneBodyWavefunction" shape="rect" coords="435,224,599,248">
<area href="classsc_1_1PsiWavefunction.html" alt="sc::PsiWavefunction" shape="rect" coords="783,224,947,248">
<area href="classsc_1_1ConnollyShape.html" alt="sc::ConnollyShape" shape="rect" coords="957,224,1121,248">
<area href="classsc_1_1UnionShape.html" alt="sc::UnionShape" shape="rect" coords="1392,224,1556,248">
<area href="classsc_1_1MBPT2__R12.html" alt="sc::MBPT2_R12" shape="rect" coords="0,280,164,304">
<area href="classsc_1_1SCF.html" alt="sc::SCF" shape="rect" coords="435,280,599,304">
<area href="classsc_1_1PsiCCSD.html" alt="sc::PsiCCSD" shape="rect" coords="609,280,773,304">
<area href="classsc_1_1PsiCCSD__T.html" alt="sc::PsiCCSD_T" shape="rect" coords="783,280,947,304">
<area href="classsc_1_1PsiSCF.html" alt="sc::PsiSCF" shape="rect" coords="1131,280,1295,304">
<area href="classsc_1_1DiscreteConnollyShape.html" alt="sc::DiscreteConnollyShape" shape="rect" coords="1305,280,1469,304">
<area href="classsc_1_1VDWShape.html" alt="sc::VDWShape" shape="rect" coords="1479,280,1643,304">
<area href="classsc_1_1CLSCF.html" alt="sc::CLSCF" shape="rect" coords="87,336,251,360">
<area href="classsc_1_1HSOSSCF.html" alt="sc::HSOSSCF" shape="rect" coords="435,336,599,360">
<area href="classsc_1_1UnrestrictedSCF.html" alt="sc::UnrestrictedSCF" shape="rect" coords="783,336,947,360">
<area href="classsc_1_1PsiCLHF.html" alt="sc::PsiCLHF" shape="rect" coords="957,336,1121,360">
<area href="classsc_1_1PsiHSOSHF.html" alt="sc::PsiHSOSHF" shape="rect" coords="1131,336,1295,360">
<area href="classsc_1_1PsiUHF.html" alt="sc::PsiUHF" shape="rect" coords="1305,336,1469,360">
<area href="classsc_1_1CLHF.html" alt="sc::CLHF" shape="rect" coords="0,392,164,416">
<area href="classsc_1_1CLKS.html" alt="sc::CLKS" shape="rect" coords="174,392,338,416">
<area href="classsc_1_1HSOSHF.html" alt="sc::HSOSHF" shape="rect" coords="348,392,512,416">
<area href="classsc_1_1HSOSKS.html" alt="sc::HSOSKS" shape="rect" coords="522,392,686,416">
<area href="classsc_1_1UHF.html" alt="sc::UHF" shape="rect" coords="696,392,860,416">
<area href="classsc_1_1UKS.html" alt="sc::UKS" shape="rect" coords="870,392,1034,416">
</map>
</div>

<p>
<a href="classsc_1_1Compute-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">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1Compute.html#154962783ea8138940fd72a213d3d794">obsolete</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Marks all results as being out of date.  <a href="#154962783ea8138940fd72a213d3d794"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></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_1Compute.html#33f07c9eb2bfeba367f24d537c28c462">compute</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Recompute at least the results that have compute true and are not already computed.  <a href="#33f07c9eb2bfeba367f24d537c28c462"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fb1dc59f2e0edbbfe9016fab50e74fbd"></a><!-- doxytag: member="sc::Compute::ResultInfo" ref="fb1dc59f2e0edbbfe9016fab50e74fbd" args="" -->
class&nbsp;</td><td class="memItemRight" valign="bottom"><b>ResultInfo</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7d3470f5ecfb89da223229e4baa9a64f"></a><!-- doxytag: member="sc::Compute::AccResultInfo" ref="7d3470f5ecfb89da223229e4baa9a64f" args="" -->
class&nbsp;</td><td class="memItemRight" valign="bottom"><b>AccResultInfo</b></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The <a class="el" href="classsc_1_1Compute.html" title="The Compute class provides a means of keeping results up to date.">Compute</a> class provides a means of keeping results up to date. 
<p>
Derived classes can have member data which is registered with the compute class. When this member data is accessed and it is not available, the compute member function is called. The compute member must be implemented in derived classes and is responsible for computed the requested result. <hr><h2>Member Function Documentation</h2>
<a class="anchor" name="33f07c9eb2bfeba367f24d537c28c462"></a><!-- doxytag: member="sc::Compute::compute" ref="33f07c9eb2bfeba367f24d537c28c462" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void sc::Compute::compute           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected, pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Recompute at least the results that have compute true and are not already computed. 
<p>
This should only be called by Result's members. 
<p>Implemented in <a class="el" href="classsc_1_1MBPT2.html#82901a7a04f106506ea52c1efa90b9a2">sc::MBPT2</a>, <a class="el" href="classsc_1_1MBPT2__R12.html#2c4b52bf94aea400495783e94bc672ab">sc::MBPT2_R12</a>, <a class="el" href="classsc_1_1PsiWavefunction.html#8236e97d8ce0bfeeb811181373d6e07e">sc::PsiWavefunction</a>, <a class="el" href="classsc_1_1SCF.html#d9e89b4cd32b77a2d9e7fb7d9be73164">sc::SCF</a>, <a class="el" href="classsc_1_1ElectronDensity.html#22b35573417cca20c48bebccc1bc62ac">sc::ElectronDensity</a>, <a class="el" href="classsc_1_1BatchElectronDensity.html#6dcf55ab4e79bc405ca2eb99820d4c45">sc::BatchElectronDensity</a>, <a class="el" href="classsc_1_1Shape.html#e6781a2c36b01c0570b6d8f612410499">sc::Shape</a>, and <a class="el" href="classsc_1_1Volume.html#021d39d50208f5fbaf57f84f81fbbaf4">sc::Volume</a>.</p>

</div>
</div><p>
<a class="anchor" name="154962783ea8138940fd72a213d3d794"></a><!-- doxytag: member="sc::Compute::obsolete" ref="154962783ea8138940fd72a213d3d794" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void sc::Compute::obsolete           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Marks all results as being out of date. 
<p>
Any subsequent access to results will cause <a class="el" href="classsc_1_1Compute.html#33f07c9eb2bfeba367f24d537c28c462" title="Recompute at least the results that have compute true and are not already computed...">Compute::compute()</a> to be called. 
<p>Reimplemented in <a class="el" href="classsc_1_1MBPT2.html#575eabc3d87cb0561db0ab0c9f232d20">sc::MBPT2</a>, <a class="el" href="classsc_1_1MBPT2__R12.html#57ae00cc2faf12bb911799ace42adea3">sc::MBPT2_R12</a>, <a class="el" href="classsc_1_1SCF.html#23f535268f36b17f41747333b17012e7">sc::SCF</a>, and <a class="el" href="classsc_1_1Wavefunction.html#595e2b893f887458c49b8872e4dde606">sc::Wavefunction</a>.</p>

<p>Referenced by <a class="el" href="function_8h_source.html#l00082">sc::Function::get_x_reference()</a>.</p>

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

Generated at Wed Oct 14 14:12:17 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>