Sophie

Sophie

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

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::IntegrationWeight 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:17:03 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::IntegrationWeight  Class Reference</h1>An abstract base class for computing grid weights. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="integrator_h-source.html">integrator.h</a>&gt;</code>
<p>
Inheritance diagram for sc::IntegrationWeight<p><center><img src="class_sc__IntegrationWeight_inherit_graph.gif" border="0" usemap="#sc::IntegrationWeight_inherit_map" alt="Inheritance graph"></center>
<map name="sc::IntegrationWeight_inherit_map">
<area href="class_sc__BeckeIntegrationWeight.html" shape="rect" coords="14,347,177,365">
<area href="class_sc__SavableState.html" shape="rect" coords="45,213,146,232">
<area href="class_sc__DescribedClass.html" shape="rect" coords="38,147,153,165">
<area href="class_sc__RefCount.html" shape="rect" coords="54,80,137,99">
<area href="class_sc__Identity.html" shape="rect" coords="59,13,131,32">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for sc::IntegrationWeight:<p><center><img src="class_sc__IntegrationWeight_coll_graph.gif" border="0" usemap="#sc::IntegrationWeight_coll_map" alt="Collaboration graph"></center>
<map name="sc::IntegrationWeight_coll_map">
<area href="class_sc__SavableState.html" shape="rect" coords="21,222,122,241">
<area href="class_sc__DescribedClass.html" shape="rect" coords="14,153,129,171">
<area href="class_sc__RefCount.html" shape="rect" coords="30,83,113,102">
<area href="class_sc__Identity.html" shape="rect" coords="35,14,107,33">
<area href="class_sc__Ref.html" shape="rect" coords="146,222,269,241">
<area href="class_sc__RefBase.html" shape="rect" coords="169,153,246,171">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_sc__IntegrationWeight-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::IntegrationWeight::IntegrationWeight"></a>
&nbsp;</td><td valign=bottom><b>IntegrationWeight</b> ()</td></tr>
<tr><td nowrap align=right valign=top><a name="a1" doxytag="sc::IntegrationWeight::IntegrationWeight"></a>
&nbsp;</td><td valign=bottom><b>IntegrationWeight</b> (const <a class="el" href="class_sc__Ref.html">Ref</a>&lt; <a class="el" href="class_sc__KeyVal.html">KeyVal</a> &gt; &amp;)</td></tr>
<tr><td nowrap align=right valign=top><a name="a2" doxytag="sc::IntegrationWeight::IntegrationWeight"></a>
&nbsp;</td><td valign=bottom><b>IntegrationWeight</b> (<a class="el" href="class_sc__StateIn.html">StateIn</a> &amp;)</td></tr>
<tr><td nowrap align=right valign=top><a name="a3" doxytag="sc::IntegrationWeight::~IntegrationWeight"></a>
&nbsp;</td><td valign=bottom><b>~IntegrationWeight</b> ()</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_sc__IntegrationWeight.html#a4">save_data_state</a> (<a class="el" href="class_sc__StateOut.html">StateOut</a> &amp;)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Save the base classes (with save_data_state) and the members in the same order that the <a class="el" href="class_sc__StateIn.html">StateIn</a> CTOR initializes them.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a5" doxytag="sc::IntegrationWeight::test"></a>
void&nbsp;</td><td valign=bottom><b>test</b> (int icenter, SCVector3 &amp;point)</td></tr>
<tr><td nowrap align=right valign=top><a name="a6" doxytag="sc::IntegrationWeight::test"></a>
void&nbsp;</td><td valign=bottom><b>test</b> ()</td></tr>
<tr><td nowrap align=right valign=top><a name="a7" doxytag="sc::IntegrationWeight::init"></a>
virtual void&nbsp;</td><td valign=bottom><a class="el" href="class_sc__IntegrationWeight.html#a7">init</a> (const <a class="el" href="class_sc__Ref.html">Ref</a>&lt; <a class="el" href="class_sc__Molecule.html">Molecule</a> &gt; &amp;, double tolerance)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Initialize the integration weight object.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a8" doxytag="sc::IntegrationWeight::done"></a>
virtual void&nbsp;</td><td valign=bottom><a class="el" href="class_sc__IntegrationWeight.html#a8">done</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Called when finished with the integration weight object.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual double&nbsp;</td><td valign=bottom><a class="el" href="class_sc__IntegrationWeight.html#a9">w</a> (int center, SCVector3 &amp;point, double *grad_w=0)=0</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Computes the weight for a given center at a given point in space.</em> <a href="#a9">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><a name="b0" doxytag="sc::IntegrationWeight::fd_w"></a>
void&nbsp;</td><td valign=bottom><b>fd_w</b> (int icenter, SCVector3 &amp;point, double *fd_grad_w)</td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="n0" doxytag="sc::IntegrationWeight::mol_"></a>
<a class="el" href="class_sc__Ref.html">Ref</a>&lt;<a class="el" href="class_sc__Molecule.html">Molecule</a>&gt;&nbsp;</td><td valign=bottom><b>mol_</b></td></tr>
<tr><td nowrap align=right valign=top><a name="n1" doxytag="sc::IntegrationWeight::tol_"></a>
double&nbsp;</td><td valign=bottom><b>tol_</b></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
An abstract base class for computing grid weights.
<p>
<hr><h2>Member Function Documentation</h2>
<a name="a4" doxytag="sc::IntegrationWeight::save_data_state"></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::IntegrationWeight::save_data_state (
          </b></td>
          <td valign="bottom"><b>
<a class="el" href="class_sc__StateOut.html">StateOut</a> &amp; <em>s</em>&nbsp;)<code> [virtual]</code>
          </b></td>
        </tr>

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

<p>
Save the base classes (with save_data_state) and the members in the same order that the <a class="el" href="class_sc__StateIn.html">StateIn</a> CTOR initializes them.
<p>
This must be implemented by the derived class if the class has data. 
<p>
Reimplemented from <a class="el" href="class_sc__SavableState.html#a5">sc::SavableState</a>.
<p>
Reimplemented in <a class="el" href="class_sc__BeckeIntegrationWeight.html#a4">sc::BeckeIntegrationWeight</a>.    </td>
  </tr>
</table>
<a name="a9" doxytag="sc::IntegrationWeight::w"></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> 
double sc::IntegrationWeight::w (
          </b></td>
          <td valign="bottom"><b>
int <em>center</em>, 
          </b></td>
        </tr>
        <tr>
          <td></td>
          <td><b>
SCVector3 &amp; <em>point</em>, 
          </b></td>
        </tr>
        <tr>
          <td></td>
          <td><b>
double * <em>grad_w</em> = 0&nbsp;)<code> [pure virtual]</code>
          </b></td>
        </tr>

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

<p>
Computes the weight for a given center at a given point in space.
<p>
Derivatives of the weigth with respect to nuclear coordinates are optionally returned in grad_w. This must be called after init, but before done. It must also be thread-safe. 
<p>
Reimplemented in <a class="el" href="class_sc__BeckeIntegrationWeight.html#a7">sc::BeckeIntegrationWeight</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="integrator_h-source.html">integrator.h</a></ul>
<hr>
<address>
<small>

Generated at Mon Oct 14 14:17:03 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>