Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > media > contrib > by-pkgid > 263386785cefb9ae5d63b926d214d809 > files > 124

mpqc-2.1.2-4mdk.ppc.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta name="robots" content="noindex">
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>sc::Compute class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body bgcolor="#ffffff">
<!-- Generated by Doxygen 1.2.5 on Mon Oct 14 14:16:47 2002 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; </center>
<hr><h1>sc::Compute  Class Reference</h1>The <a class="el" href="class_sc__Compute.html">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_h-source.html">compute.h</a>&gt;</code>
<p>
Inheritance diagram for sc::Compute<p><center><img src="class_sc__Compute_inherit_graph.gif" border="0" usemap="#sc::Compute_inherit_map" alt="Inheritance graph"></center>
<map name="sc::Compute_inherit_map">
<area href="class_sc__Function.html" shape="rect" coords="447,80,527,99">
<area href="class_sc__MolecularEnergy.html" shape="rect" coords="278,147,403,166">
<area href="class_sc__Volume.html" shape="rect" coords="582,147,657,166">
<area href="class_sc__Wavefunction.html" shape="rect" coords="371,214,478,232">
<area href="class_sc__Shape.html" shape="rect" coords="737,214,801,232">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for sc::Compute:<p><center><img src="class_sc__Compute_coll_graph.gif" border="0" usemap="#sc::Compute_coll_map" alt="Collaboration graph"></center>
<map name="sc::Compute_coll_map">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_sc__Compute-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="a0" doxytag="sc::Compute::Compute"></a>
&nbsp;</td><td valign=bottom><b>Compute</b> ()</td></tr>
<tr><td nowrap align=right valign=top><a name="a1" doxytag="sc::Compute::~Compute"></a>
virtual&nbsp;</td><td valign=bottom><b>~Compute</b> ()</td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="class_sc__Compute.html#a2">obsolete</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Marks all results as being out of date.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="class_sc__Compute.html#b0">compute</a> ()=0</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Recompute at least the results that have compute true and are not already computed.</em> <a href="#b0">More...</a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Friends</h2></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><b>ResultInfo</b></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><b>AccResultInfo</b></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The <a class="el" href="class_sc__Compute.html">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. 
<p>
<hr><h2>Member Function Documentation</h2>
<a name="b0" doxytag="sc::Compute::compute"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
void sc::Compute::compute (
          </b></td>
          <td valign="bottom"><b>
)<code> [protected, pure virtual]</code>
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Recompute at least the results that have compute true and are not already computed.
<p>
This should only be called by <a class="el" href="class_sc__Result.html">Result</a>'s members. 
<p>
Reimplemented in <a class="el" href="class_sc__MBPT2.html#b1">sc::MBPT2</a>, <a class="el" href="class_sc__PsiWavefunction.html#a5">sc::PsiWavefunction</a>, <a class="el" href="class_sc__SCF.html#b2">sc::SCF</a>, <a class="el" href="class_sc__Shape.html#a5">sc::Shape</a>, and <a class="el" href="class_sc__Volume.html#b1">sc::Volume</a>.    </td>
  </tr>
</table>
<a name="a2" doxytag="sc::Compute::obsolete"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
void sc::Compute::obsolete (
          </b></td>
          <td valign="bottom"><b>
)<code> [virtual]</code>
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Marks all results as being out of date.
<p>
Any subsequent access to results will cause <a class="el" href="class_sc__Compute.html#b0">Compute::compute</a>() to be called. 
<p>
Reimplemented in <a class="el" href="class_sc__MBPT2.html#a15">sc::MBPT2</a>, <a class="el" href="class_sc__SCF.html#a13">sc::SCF</a>, and <a class="el" href="class_sc__Wavefunction.html#a35">sc::Wavefunction</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="compute_h-source.html">compute.h</a></ul>
<hr>
<address>
<small>

Generated at Mon Oct 14 14:16:47 2002 for <a
href="http://aros.ca.sandia.gov/~cljanss/mpqc">MPQC</a>
2.1.2 using the documentation package <a
href="http://www.stack.nl/~dimitri/doxygen/index.html">Doxygen</a>
1.2.5.

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