Sophie

Sophie

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

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::SCDimension 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:38 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::SCDimension  Class Reference</h1>The <a class="el" href="class_sc__SCDimension.html">SCDimension</a> class is used to determine the size and blocking of matrices. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="dim_h-source.html">dim.h</a>&gt;</code>
<p>
Inheritance diagram for sc::SCDimension<p><center><img src="class_sc__SCDimension_inherit_graph.gif" border="0" usemap="#sc::SCDimension_inherit_map" alt="Inheritance graph"></center>
<map name="sc::SCDimension_inherit_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>Collaboration diagram for sc::SCDimension:<p><center><img src="class_sc__SCDimension_coll_graph.gif" border="0" usemap="#sc::SCDimension_coll_map" alt="Collaboration graph"></center>
<map name="sc::SCDimension_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,287,241">
<area href="class_sc__RefBase.html" shape="rect" coords="178,153,255,171">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_sc__SCDimension-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>&nbsp;</td><td valign=bottom><a class="el" href="class_sc__SCDimension.html#a0">SCDimension</a> (int n, const char *name=0)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Create a dimension with an optional name.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a1" doxytag="sc::SCDimension::SCDimension"></a>
&nbsp;</td><td valign=bottom><b>SCDimension</b> (const <a class="el" href="class_sc__Ref.html">Ref</a>&lt; <a class="el" href="class_sc__SCBlockInfo.html">SCBlockInfo</a> &gt; &amp;, const char *name=0)</td></tr>
<tr><td nowrap align=right valign=top><a name="a2" doxytag="sc::SCDimension::SCDimension"></a>
&nbsp;</td><td valign=bottom><b>SCDimension</b> (int n, int nblocks, const int *blocksizes=0, const char *name=0)</td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="class_sc__SCDimension.html#a3">SCDimension</a> (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>&nbsp;</td><td><font size=-1><em>The <a class="el" href="class_sc__KeyVal.html">KeyVal</a> constructor.</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::SCDimension::SCDimension"></a>
&nbsp;</td><td valign=bottom><b>SCDimension</b> (<a class="el" href="class_sc__StateIn.html">StateIn</a> &amp;s)</td></tr>
<tr><td nowrap align=right valign=top><a name="a5" doxytag="sc::SCDimension::~SCDimension"></a>
&nbsp;</td><td valign=bottom><b>~SCDimension</b> ()</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_sc__SCDimension.html#a6">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="#a6">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a7" doxytag="sc::SCDimension::equiv"></a>
int&nbsp;</td><td valign=bottom><a class="el" href="class_sc__SCDimension.html#a7">equiv</a> (const SCDimension *) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Test to see if two dimensions are equivalent.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a8" doxytag="sc::SCDimension::n"></a>
int&nbsp;</td><td valign=bottom><a class="el" href="class_sc__SCDimension.html#a8">n</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Return the dimension.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>const char*&nbsp;</td><td valign=bottom><a class="el" href="class_sc__SCDimension.html#a9">name</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Return the name of the dimension.</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a10" doxytag="sc::SCDimension::blocks"></a>
<a class="el" href="class_sc__Ref.html">Ref</a>&lt;<a class="el" href="class_sc__SCBlockInfo.html">SCBlockInfo</a>&gt;&nbsp;</td><td valign=bottom><a class="el" href="class_sc__SCDimension.html#a10">blocks</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Return the blocking information for this dimension.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a11" doxytag="sc::SCDimension::print"></a>
void&nbsp;</td><td valign=bottom><a class="el" href="class_sc__SCDimension.html#a11">print</a> (std::ostream &amp;o=ExEnv::out0()) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Print information about this dimension to o.</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::SCDimension::SCDimension"></a>
&nbsp;</td><td valign=bottom><b>SCDimension</b> (const char *name=0)</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::SCDimension::name_"></a>
char*&nbsp;</td><td valign=bottom><b>name_</b></td></tr>
<tr><td nowrap align=right valign=top><a name="n1" doxytag="sc::SCDimension::n_"></a>
int&nbsp;</td><td valign=bottom><b>n_</b></td></tr>
<tr><td nowrap align=right valign=top><a name="n2" doxytag="sc::SCDimension::blocks_"></a>
<a class="el" href="class_sc__Ref.html">Ref</a>&lt;<a class="el" href="class_sc__SCBlockInfo.html">SCBlockInfo</a>&gt;&nbsp;</td><td valign=bottom><b>blocks_</b></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The <a class="el" href="class_sc__SCDimension.html">SCDimension</a> class is used to determine the size and blocking of matrices.
<p>
The blocking information is stored by an object of class <a class="el" href="class_sc__SCBlockInfo.html">SCBlockInfo</a>. 
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="sc::SCDimension::SCDimension"></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::SCDimension::SCDimension (
          </b></td>
          <td valign="bottom"><b>
int <em>n</em>, 
          </b></td>
        </tr>
        <tr>
          <td></td>
          <td><b>
const char * <em>name</em> = 0&nbsp;)
          </b></td>
        </tr>

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

<p>
Create a dimension with an optional name.
<p>
The name is a copy of the '0' terminated string name.     </td>
  </tr>
</table>
<a name="a3" doxytag="sc::SCDimension::SCDimension"></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::SCDimension::SCDimension (
          </b></td>
          <td valign="bottom"><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;&nbsp;)
          </b></td>
        </tr>

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

<p>
The <a class="el" href="class_sc__KeyVal.html">KeyVal</a> constructor.
<p>

<dl compact>

<p>
<dt><code>n</code><dd> This gives size of the dimension. One of n or blocks is required.
<p>
<dt><code>blocks</code><dd> The block information for the dimension can be given as a <a class="el" href="class_sc__SCBlockInfo.html">SCBlockInfo</a> object. One of n or blocks is required.
<p>

</dl>
     </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a9" doxytag="sc::SCDimension::name"></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> 
const char * sc::SCDimension::name (
          </b></td>
          <td valign="bottom"><b>
) const<code> [inline]</code>
          </b></td>
        </tr>

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

<p>
Return the name of the dimension.
<p>
If no name was given to the constructor, then return 0.     </td>
  </tr>
</table>
<a name="a6" doxytag="sc::SCDimension::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::SCDimension::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>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="dim_h-source.html">dim.h</a></ul>
<hr>
<address>
<small>

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