<!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::DFPUpdate 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:51 2002 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="pages.html">Related Pages</a> </center> <hr><h1>sc::DFPUpdate Class Reference</h1>The <a class="el" href="class_sc__DFPUpdate.html">DFPUpdate</a> class is used to specify a Davidson, Fletcher, and Powell hessian update scheme. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="update_h-source.html">update.h</a>></code> <p> Inheritance diagram for sc::DFPUpdate<p><center><img src="class_sc__DFPUpdate_inherit_graph.gif" border="0" usemap="#sc::DFPUpdate_inherit_map" alt="Inheritance graph"></center> <map name="sc::DFPUpdate_inherit_map"> <area href="class_sc__BFGSUpdate.html" shape="rect" coords="19,414,123,432"> <area href="class_sc__HessianUpdate.html" shape="rect" coords="15,280,127,299"> <area href="class_sc__SavableState.html" shape="rect" coords="21,214,122,232"> <area href="class_sc__DescribedClass.html" shape="rect" coords="14,147,129,166"> <area href="class_sc__RefCount.html" shape="rect" coords="30,80,113,99"> <area href="class_sc__Identity.html" shape="rect" coords="35,14,107,32"> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for sc::DFPUpdate:<p><center><img src="class_sc__DFPUpdate_coll_graph.gif" border="0" usemap="#sc::DFPUpdate_coll_map" alt="Collaboration graph"></center> <map name="sc::DFPUpdate_coll_map"> <area href="class_sc__HessianUpdate.html" shape="rect" coords="18,291,130,310"> <area href="class_sc__SavableState.html" shape="rect" coords="21,222,122,240"> <area href="class_sc__DescribedClass.html" shape="rect" coords="14,152,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,32"> <area href="class_sc__RefSCVector.html" shape="rect" coords="154,291,258,310"> <area href="class_sc__Ref.html" shape="rect" coords="146,222,271,240"> <area href="class_sc__RefBase.html" shape="rect" coords="170,152,247,171"> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_sc__DFPUpdate-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::DFPUpdate::DFPUpdate"></a> </td><td valign=bottom><b>DFPUpdate</b> ()</td></tr> <tr><td nowrap align=right valign=top><a name="a1" doxytag="sc::DFPUpdate::DFPUpdate"></a> </td><td valign=bottom><b>DFPUpdate</b> (<a class="el" href="class_sc__StateIn.html">StateIn</a> &)</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="class_sc__DFPUpdate.html#a2">DFPUpdate</a> (const <a class="el" href="class_sc__Ref.html">Ref</a>< <a class="el" href="class_sc__KeyVal.html">KeyVal</a> > &)</td></tr> <tr><td> </td><td><font size=-1><em>The <a class="el" href="class_sc__KeyVal.html">KeyVal</a> constructor reads the following keywords:.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_sc__DFPUpdate.html#a3">save_data_state</a> (<a class="el" href="class_sc__StateOut.html">StateOut</a> &)</td></tr> <tr><td> </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="#a3">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a name="a4" doxytag="sc::DFPUpdate::~DFPUpdate"></a> </td><td valign=bottom><b>~DFPUpdate</b> ()</td></tr> <tr><td nowrap align=right valign=top><a name="a5" doxytag="sc::DFPUpdate::update"></a> void </td><td valign=bottom><b>update</b> (const <a class="el" href="class_sc__RefSymmSCMatrix.html">RefSymmSCMatrix</a> &ihessian, const <a class="el" href="class_sc__Ref.html">Ref</a>< <a class="el" href="class_sc__Function.html">Function</a> > &, const <a class="el" href="class_sc__RefSCVector.html">RefSCVector</a> &xnew, const <a class="el" href="class_sc__RefSCVector.html">RefSCVector</a> &gnew)</td></tr> <tr><td nowrap align=right valign=top><a name="a6" doxytag="sc::DFPUpdate::apply_transform"></a> void </td><td valign=bottom><b>apply_transform</b> (const <a class="el" href="class_sc__Ref.html">Ref</a>< <a class="el" href="class_sc__NonlinearTransform.html">NonlinearTransform</a> > &)</td></tr> <tr><td nowrap align=right valign=top><a name="a7" doxytag="sc::DFPUpdate::set_inverse"></a> void </td><td valign=bottom><b>set_inverse</b> ()</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::DFPUpdate::xprev"></a> <a class="el" href="class_sc__RefSCVector.html">RefSCVector</a> </td><td valign=bottom><b>xprev</b></td></tr> <tr><td nowrap align=right valign=top><a name="n1" doxytag="sc::DFPUpdate::gprev"></a> <a class="el" href="class_sc__RefSCVector.html">RefSCVector</a> </td><td valign=bottom><b>gprev</b></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> The <a class="el" href="class_sc__DFPUpdate.html">DFPUpdate</a> class is used to specify a Davidson, Fletcher, and Powell hessian update scheme. <p> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a2" doxytag="sc::DFPUpdate::DFPUpdate"></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> sc::DFPUpdate::DFPUpdate ( </b></td> <td valign="bottom"><b> const <a class="el" href="class_sc__Ref.html">Ref</a>< <a class="el" href="class_sc__KeyVal.html">KeyVal</a> > & ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> The <a class="el" href="class_sc__KeyVal.html">KeyVal</a> constructor reads the following keywords:. <p> <dl compact> <p> <dt><code>xprev</code><dd> The previous coordinates can be given (but is not recommended). The default is none. <p> <dt><code>gprev</code><dd> The previous gradient can be given (but is not recommended). The default is none. <p> </dl> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="a3" doxytag="sc::DFPUpdate::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::DFPUpdate::save_data_state ( </b></td> <td valign="bottom"><b> <a class="el" href="class_sc__StateOut.html">StateOut</a> & <em>s</em> )<code> [virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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__HessianUpdate.html#a3">sc::HessianUpdate</a>. <p> Reimplemented in <a class="el" href="class_sc__BFGSUpdate.html#a3">sc::BFGSUpdate</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="update_h-source.html">update.h</a></ul> <hr> <address> <small> Generated at Mon Oct 14 14:16:51 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>