<!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::SCMatrixBlock 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:42 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::SCMatrixBlock Class Reference</h1><a class="el" href="class_sc__SCMatrixBlock.html">SCMatrixBlock</a> is the base clase for all types of blocks that comprise matrices and vectors. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="block_h-source.html">block.h</a>></code> <p> Inheritance diagram for sc::SCMatrixBlock<p><center><img src="class_sc__SCMatrixBlock_inherit_graph.gif" border="0" usemap="#sc::SCMatrixBlock_inherit_map" alt="Inheritance graph"></center> <map name="sc::SCMatrixBlock_inherit_map"> <area href="class_sc__SCMatrixDiagBlock.html" shape="rect" coords="357,3,498,21"> <area href="class_sc__SCMatrixDiagSubBlock.html" shape="rect" coords="346,45,509,64"> <area href="class_sc__SCMatrixLTriBlock.html" shape="rect" coords="357,88,498,107"> <area href="class_sc__SCMatrixLTriSubBlock.html" shape="rect" coords="347,131,507,149"> <area href="class_sc__SCMatrixRectBlock.html" shape="rect" coords="357,173,498,192"> <area href="class_sc__SCMatrixRectSubBlock.html" shape="rect" coords="347,216,507,235"> <area href="class_sc__SCVectorSimpleBlock.html" shape="rect" coords="350,259,505,277"> <area href="class_sc__SCVectorSimpleSubBlock.html" shape="rect" coords="341,301,514,320"> <area href="class_sc__SavableState.html" shape="rect" coords="25,152,126,171"> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for sc::SCMatrixBlock:<p><center><img src="class_sc__SCMatrixBlock_coll_graph.gif" border="0" usemap="#sc::SCMatrixBlock_coll_map" alt="Collaboration graph"></center> <map name="sc::SCMatrixBlock_coll_map"> <area href="class_sc__SavableState.html" shape="rect" coords="21,214,122,233"> <area href="class_sc__DescribedClass.html" shape="rect" coords="14,147,129,166"> <area href="class_sc__RefCount.html" shape="rect" coords="30,81,113,99"> <area href="class_sc__Identity.html" shape="rect" coords="35,14,107,33"> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_sc__SCMatrixBlock-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::SCMatrixBlock::SCMatrixBlock"></a> </td><td valign=bottom><b>SCMatrixBlock</b> ()</td></tr> <tr><td nowrap align=right valign=top><a name="a1" doxytag="sc::SCMatrixBlock::SCMatrixBlock"></a> </td><td valign=bottom><b>SCMatrixBlock</b> (<a class="el" href="class_sc__StateIn.html">StateIn</a> &s)</td></tr> <tr><td nowrap align=right valign=top><a name="a2" doxytag="sc::SCMatrixBlock::~SCMatrixBlock"></a> virtual </td><td valign=bottom><b>~SCMatrixBlock</b> ()</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_sc__SCMatrixBlock.html#a3">save_data_state</a> (<a class="el" href="class_sc__StateOut.html">StateOut</a> &s)</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>virtual SCMatrixBlock* </td><td valign=bottom><a class="el" href="class_sc__SCMatrixBlock.html#a4">deepcopy</a> () const</td></tr> <tr><td> </td><td><font size=-1><em>Return of copy of this.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>virtual double* </td><td valign=bottom><a class="el" href="class_sc__SCMatrixBlock.html#a5">dat</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Return a pointer to the block's data and the number of elements in the block.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a name="a6" doxytag="sc::SCMatrixBlock::ndat"></a> virtual int </td><td valign=bottom><b>ndat</b> () const</td></tr> <tr><td nowrap align=right valign=top><a name="a7" doxytag="sc::SCMatrixBlock::process"></a> virtual void </td><td valign=bottom><b>process</b> (<a class="el" href="class_sc__SCElementOp.html">SCElementOp</a> *)=0</td></tr> <tr><td nowrap align=right valign=top><a name="a8" doxytag="sc::SCMatrixBlock::process"></a> virtual void </td><td valign=bottom><b>process</b> (<a class="el" href="class_sc__SCElementOp2.html">SCElementOp2</a> *, SCMatrixBlock *)=0</td></tr> <tr><td nowrap align=right valign=top><a name="a9" doxytag="sc::SCMatrixBlock::process"></a> virtual void </td><td valign=bottom><b>process</b> (<a class="el" href="class_sc__SCElementOp3.html">SCElementOp3</a> *, SCMatrixBlock *, SCMatrixBlock *)=0</td></tr> <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> <tr><td nowrap align=right valign=top><a name="m0" doxytag="sc::SCMatrixBlock::blocki"></a> int </td><td valign=bottom><b>blocki</b></td></tr> <tr><td nowrap align=right valign=top><a name="m1" doxytag="sc::SCMatrixBlock::blockj"></a> int </td><td valign=bottom><b>blockj</b></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <a class="el" href="class_sc__SCMatrixBlock.html">SCMatrixBlock</a> is the base clase for all types of blocks that comprise matrices and vectors. <p> <hr><h2>Member Function Documentation</h2> <a name="a5" doxytag="sc::SCMatrixBlock::dat"></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::SCMatrixBlock::dat ( </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> </td> <td> <p> Return a pointer to the block's data and the number of elements in the block. <p> Some blocks cannot provide this information and a runtime error will be generated if these members are called. These routines are only used internally in the matrix library. <p> Reimplemented in <a class="el" href="class_sc__SCVectorSimpleBlock.html#a8">sc::SCVectorSimpleBlock</a>, <a class="el" href="class_sc__SCMatrixRectBlock.html#a8">sc::SCMatrixRectBlock</a>, <a class="el" href="class_sc__SCMatrixLTriBlock.html#a8">sc::SCMatrixLTriBlock</a>, and <a class="el" href="class_sc__SCMatrixDiagBlock.html#a9">sc::SCMatrixDiagBlock</a>. </td> </tr> </table> <a name="a4" doxytag="sc::SCMatrixBlock::deepcopy"></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> SCMatrixBlock * sc::SCMatrixBlock::deepcopy ( </b></td> <td valign="bottom"><b> ) const<code> [virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Return of copy of this. <p> A runtime error will be generated for blocks that cannot do a deepcopy. These routines are only used internally in the matrix library. <p> Reimplemented in <a class="el" href="class_sc__SCVectorSimpleBlock.html#a4">sc::SCVectorSimpleBlock</a>, <a class="el" href="class_sc__SCMatrixRectBlock.html#a4">sc::SCMatrixRectBlock</a>, <a class="el" href="class_sc__SCMatrixLTriBlock.html#a4">sc::SCMatrixLTriBlock</a>, and <a class="el" href="class_sc__SCMatrixDiagBlock.html#a5">sc::SCMatrixDiagBlock</a>. </td> </tr> </table> <a name="a3" doxytag="sc::SCMatrixBlock::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::SCMatrixBlock::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__SavableState.html#a5">sc::SavableState</a>. <p> Reimplemented in <a class="el" href="class_sc__SCVectorSimpleBlock.html#a3">sc::SCVectorSimpleBlock</a>, <a class="el" href="class_sc__SCVectorSimpleSubBlock.html#a3">sc::SCVectorSimpleSubBlock</a>, <a class="el" href="class_sc__SCMatrixRectBlock.html#a3">sc::SCMatrixRectBlock</a>, <a class="el" href="class_sc__SCMatrixRectSubBlock.html#a3">sc::SCMatrixRectSubBlock</a>, <a class="el" href="class_sc__SCMatrixLTriBlock.html#a3">sc::SCMatrixLTriBlock</a>, <a class="el" href="class_sc__SCMatrixLTriSubBlock.html#a3">sc::SCMatrixLTriSubBlock</a>, <a class="el" href="class_sc__SCMatrixDiagBlock.html#a4">sc::SCMatrixDiagBlock</a>, and <a class="el" href="class_sc__SCMatrixDiagSubBlock.html#a4">sc::SCMatrixDiagSubBlock</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="block_h-source.html">block.h</a></ul> <hr> <address> <small> Generated at Mon Oct 14 14:17:42 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>