Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > f37f2c0b149d5391818dc5157943cda0 > files > 24

gnome-chemistry-utils-devel-0.10.8-3mdv2010.0.i586.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>The Gnome Chemistry Utils: chemistry.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="dir_3f1a4fbcec42af7c381c8030b930461d.html">libs</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_4dc46c636cfd3997b28f6cceab9d70bd.html">gcu</a>
  </div>
</div>
<div class="contents">
<h1>chemistry.h File Reference</h1><code>#include &lt;glib.h&gt;</code><br/>

<p><a href="chemistry_8h_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGcuValue.html">GcuValue</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGcuDimensionalValue.html">GcuDimensionalValue</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGcuAtomicRadius.html">GcuAtomicRadius</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGcuElectronegativity.html">GcuElectronegativity</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGcuIsotope.html">GcuIsotope</a></td></tr>
<tr><td colspan="2"><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="chemistry_8h.html#a604cc7a28c5846b3ac8424acf3b76de3">MAX_ELT</a>&nbsp;&nbsp;&nbsp;116</td></tr>
<tr><td colspan="2"><h2>Enumerations</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="chemistry_8h.html#a22b7c0b822ebadd84b01ed5294e1903d">gcu_spin_state</a> </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="chemistry_8h.html#a9727e94d105ee7c3991d6abc884c5501">gcu_radius_type</a> </td></tr>
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const gdouble *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="chemistry_8h.html#a5eb26194e0aee749cd0fbb842c6ca0a5">gcu_element_get_default_color</a> (gint Z)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const gchar *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="chemistry_8h.html#a4fda378f405278311ca8e4f5becc6660">gcu_element_get_symbol</a> (gint Z)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const gchar *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="chemistry_8h.html#a8f8ce3cf03b32ceccc69b1d20ae007a4">gcu_element_get_name</a> (gint Z)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">gint&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="chemistry_8h.html#abb0aa6f1d149ebf33481df3f37b898e4">gcu_element_get_Z</a> (gchar *symbol)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">gboolean&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="chemistry_8h.html#ad4e300a2e688de23489a0d33fbe6d1d8">gcu_element_get_radius</a> (<a class="el" href="structGcuAtomicRadius.html">GcuAtomicRadius</a> *radius)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">gboolean&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="chemistry_8h.html#a4a6a6b33d9bb06aee489350d045e68fd">gcu_element_get_electronegativity</a> (<a class="el" href="structGcuElectronegativity.html">GcuElectronegativity</a> *en)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structGcuDimensionalValue.html">GcuDimensionalValue</a> const *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="chemistry_8h.html#a79ddaf2775b177a8328deb20141f8870">gcu_element_get_ionization_energy</a> (int Z, int N)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structGcuDimensionalValue.html">GcuDimensionalValue</a> const *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="chemistry_8h.html#aa2946a7ec3381ceb552e63fd0e05df11">gcu_element_get_electron_affinity</a> (int Z, int N)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structGcuAtomicRadius.html">GcuAtomicRadius</a> **&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="chemistry_8h.html#af3e8a763ebcd1e98b356f6fbb8119a24">gcu_element_get_radii</a> (gint Z)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structGcuElectronegativity.html">GcuElectronegativity</a> **&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="chemistry_8h.html#ab701f78c3a84e495ab306c7d1bb1a782">gcu_element_get_electronegativities</a> (gint Z)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="chemistry_8h.html#aabec300016d5a3d7a3b5574ff3ce9a37">gcu_element_load_databases</a> (char const *name,...)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">gchar *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="chemistry_8h.html#a89f4927ba366db8a65b8a8b9b09fb4ef">gcu_value_get_string</a> (<a class="el" href="structGcuValue.html">GcuValue</a> const *value)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">gchar *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="chemistry_8h.html#ad5e128370a3eca29d9b24d25a8d87600">gcu_dimensional_value_get_string</a> (<a class="el" href="structGcuDimensionalValue.html">GcuDimensionalValue</a> const *value)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>C interface to the chemistry library.</p>
<p>To use this file, add the following line to your source file: </p>
<div class="fragment"><pre class="fragment"><span class="preprocessor">#include &lt;<a class="code" href="chemistry_8h.html">gcu/chemistry.h</a>&gt;</span>
</pre></div> 
<p>Definition in file <a class="el" href="chemistry_8h_source.html">chemistry.h</a>.</p>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="a604cc7a28c5846b3ac8424acf3b76de3"></a><!-- doxytag: member="chemistry.h::MAX_ELT" ref="a604cc7a28c5846b3ac8424acf3b76de3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MAX_ELT&nbsp;&nbsp;&nbsp;116</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The greatest atomic number known in this version of the Gnome Chemictry Utils </p>

<p>Definition at line <a class="el" href="chemistry_8h_source.html#l00062">62</a> of file <a class="el" href="chemistry_8h_source.html">chemistry.h</a>.</p>

</div>
</div>
<hr/><h2>Enumeration Type Documentation</h2>
<a class="anchor" id="a9727e94d105ee7c3991d6abc884c5501"></a><!-- doxytag: member="chemistry.h::gcu_radius_type" ref="a9727e94d105ee7c3991d6abc884c5501" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="chemistry_8h.html#a9727e94d105ee7c3991d6abc884c5501">gcu_radius_type</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>gcu_radius_type gcu_radius_type describes the type of the atomic radius Possible values are:</p>
<ul>
<li>GCU_RADIUS_UNKNOWN: unknown,.</li>
<li>GCU_ATOMIC: atomic radius,</li>
<li>GCU_IONIC: ionic radius,</li>
<li>GCU_METALLIC: metallic radius,</li>
<li>GCU_COVALENT: covalent radius,</li>
<li>GCU_VAN_DER_WAALS: van der Waals radius,</li>
</ul>
<p>This enumeration is used in the <a class="el" href="structGcuAtomicRadius.html">GcuAtomicRadius</a> structure. </p>

<p>Definition at line <a class="el" href="chemistry_8h_source.html#l00092">92</a> of file <a class="el" href="chemistry_8h_source.html">chemistry.h</a>.</p>

</div>
</div>
<a class="anchor" id="a22b7c0b822ebadd84b01ed5294e1903d"></a><!-- doxytag: member="chemistry.h::gcu_spin_state" ref="a22b7c0b822ebadd84b01ed5294e1903d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="chemistry_8h.html#a22b7c0b822ebadd84b01ed5294e1903d">gcu_spin_state</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>gcu_spin_state gcu_spin_state describes the spin state of a central atom in a complex. Possible values are:</p>
<ul>
<li>GCU_N_A_SPIN: unknown,</li>
<li>GCU_LOW_SPIN: low spin,</li>
<li>GCU_HIGH_SPIN: high spin.</li>
</ul>
<p>This enumeration is used in the <a class="el" href="structGcuAtomicRadius.html">GcuAtomicRadius</a> structure. </p>

<p>Definition at line <a class="el" href="chemistry_8h_source.html#l00073">73</a> of file <a class="el" href="chemistry_8h_source.html">chemistry.h</a>.</p>

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="ad5e128370a3eca29d9b24d25a8d87600"></a><!-- doxytag: member="chemistry.h::gcu_dimensional_value_get_string" ref="ad5e128370a3eca29d9b24d25a8d87600" args="(GcuDimensionalValue const *value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gchar* gcu_dimensional_value_get_string </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structGcuDimensionalValue.html">GcuDimensionalValue</a> const *&nbsp;</td>
          <td class="paramname"> <em>value</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>value,:</em>&nbsp;</td><td>the <a class="el" href="structGcuDimensionalValue.html">GcuDimensionalValue</a> to represent as a string.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the <a class="el" href="structGcuDimensionalValue.html">GcuDimensionalValue</a> as a string taking into account the precision and incertitude </dd></dl>

</div>
</div>
<a class="anchor" id="a5eb26194e0aee749cd0fbb842c6ca0a5"></a><!-- doxytag: member="chemistry.h::gcu_element_get_default_color" ref="a5eb26194e0aee749cd0fbb842c6ca0a5" args="(gint Z)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const gdouble* gcu_element_get_default_color </td>
          <td>(</td>
          <td class="paramtype">gint&nbsp;</td>
          <td class="paramname"> <em>Z</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>Z,:</em>&nbsp;</td><td>the atomic number of the element.</td></tr>
  </table>
  </dd>
</dl>
<p>Retrieves the default color used for the element. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>an array of three double values for the red, green and blue components of the color. </dd></dl>

</div>
</div>
<a class="anchor" id="aa2946a7ec3381ceb552e63fd0e05df11"></a><!-- doxytag: member="chemistry.h::gcu_element_get_electron_affinity" ref="aa2946a7ec3381ceb552e63fd0e05df11" args="(int Z, int N)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structGcuDimensionalValue.html">GcuDimensionalValue</a> const* gcu_element_get_electron_affinity </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>Z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>N</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>Z,:</em>&nbsp;</td><td>the atomic number. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>N,:</em>&nbsp;</td><td>the rank of the extra electron.</td></tr>
  </table>
  </dd>
</dl>
<p>For some elements, second and even third electron affinities have been estimated. The program searches the Nth electron affinity value for the element and returns it if found. A value of 0 means that the anion is unstable in the gaseous phase and that no better etimation is available.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the electronic affinity as a <a class="el" href="structGcuDimensionalValue.html">GcuDimensionalValue</a> if known or NULL. </dd></dl>

</div>
</div>
<a class="anchor" id="ab701f78c3a84e495ab306c7d1bb1a782"></a><!-- doxytag: member="chemistry.h::gcu_element_get_electronegativities" ref="ab701f78c3a84e495ab306c7d1bb1a782" args="(gint Z)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="structGcuElectronegativity.html">GcuElectronegativity</a>** gcu_element_get_electronegativities </td>
          <td>(</td>
          <td class="paramtype">gint&nbsp;</td>
          <td class="paramname"> <em>Z</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>Z,:</em>&nbsp;</td><td>the atomic number of the element.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>a pointer to the array of pointers to <a class="el" href="structGcuElectronegativity.html">GcuElectronegativity</a> structures for all known electronegativities for the element. Last value in the array is NULL. </dd></dl>

</div>
</div>
<a class="anchor" id="a4a6a6b33d9bb06aee489350d045e68fd"></a><!-- doxytag: member="chemistry.h::gcu_element_get_electronegativity" ref="a4a6a6b33d9bb06aee489350d045e68fd" args="(GcuElectronegativity *en)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gboolean gcu_element_get_electronegativity </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structGcuElectronegativity.html">GcuElectronegativity</a> *&nbsp;</td>
          <td class="paramname"> <em>en</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>en,:</em>&nbsp;</td><td>a pointer to a <a class="el" href="structGcuElectronegativity.html">GcuElectronegativity</a> structure.</td></tr>
  </table>
  </dd>
</dl>
<p>Before calling this function, the following fields in the <a class="el" href="structGcuElectronegativity.html">GcuElectronegativity</a> structure must be filled:</p>
<ul>
<li>Z: the atomic number, mandatory</li>
<li>scale: the name of the scale (e.g. "Pauling") or NULL</li>
</ul>
<p>The programs searches an electronegativity value for the element in the scale if given. If one is found the value and the scale (if NULL on calling) are given the corresponding values of the first match before returning.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>TRUE if a match has been found and FALSE if not. </dd></dl>

</div>
</div>
<a class="anchor" id="a79ddaf2775b177a8328deb20141f8870"></a><!-- doxytag: member="chemistry.h::gcu_element_get_ionization_energy" ref="a79ddaf2775b177a8328deb20141f8870" args="(int Z, int N)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structGcuDimensionalValue.html">GcuDimensionalValue</a> const* gcu_element_get_ionization_energy </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>Z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>N</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>Z,:</em>&nbsp;</td><td>the atomic number. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>N,:</em>&nbsp;</td><td>the rank of the ionization.</td></tr>
  </table>
  </dd>
</dl>
<p>The program searches for the Nth ionization energy value for the element and returns it if found.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the ionization energy as a <a class="el" href="structGcuDimensionalValue.html">GcuDimensionalValue</a> if known or NULL. </dd></dl>

</div>
</div>
<a class="anchor" id="a8f8ce3cf03b32ceccc69b1d20ae007a4"></a><!-- doxytag: member="chemistry.h::gcu_element_get_name" ref="a8f8ce3cf03b32ceccc69b1d20ae007a4" args="(gint Z)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const gchar* gcu_element_get_name </td>
          <td>(</td>
          <td class="paramtype">gint&nbsp;</td>
          <td class="paramname"> <em>Z</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>Z,:</em>&nbsp;</td><td>the atomic number of the element. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the name of the element in the current locale or in english if the current locale is not supported in the database. </dd></dl>

</div>
</div>
<a class="anchor" id="af3e8a763ebcd1e98b356f6fbb8119a24"></a><!-- doxytag: member="chemistry.h::gcu_element_get_radii" ref="af3e8a763ebcd1e98b356f6fbb8119a24" args="(gint Z)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="structGcuAtomicRadius.html">GcuAtomicRadius</a>** gcu_element_get_radii </td>
          <td>(</td>
          <td class="paramtype">gint&nbsp;</td>
          <td class="paramname"> <em>Z</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>Z,:</em>&nbsp;</td><td>the atomic number of the element.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>a pointer to the array of pointers to <a class="el" href="structGcuAtomicRadius.html">GcuAtomicRadius</a> structures for all known radii for the element. Last value in the array is NULL. </dd></dl>

</div>
</div>
<a class="anchor" id="ad4e300a2e688de23489a0d33fbe6d1d8"></a><!-- doxytag: member="chemistry.h::gcu_element_get_radius" ref="ad4e300a2e688de23489a0d33fbe6d1d8" args="(GcuAtomicRadius *radius)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gboolean gcu_element_get_radius </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structGcuAtomicRadius.html">GcuAtomicRadius</a> *&nbsp;</td>
          <td class="paramname"> <em>radius</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>radius,:</em>&nbsp;</td><td>a pointer to a <a class="el" href="structGcuAtomicRadius.html">GcuAtomicRadius</a> structure.</td></tr>
  </table>
  </dd>
</dl>
<p>Before calling this function, most fields in the <a class="el" href="structGcuAtomicRadius.html">GcuAtomicRadius</a> structure must be filled:</p>
<ul>
<li>Z: the atomic number, mandatory</li>
<li>type: the type of the radius searched</li>
<li>charge: the charge of the atom. 0 for all radii except ionic radii.</li>
<li>cn: the coordination number or -1 if not significant</li>
<li>spin: the spin state or GCU_N_A_SPIN if not significant</li>
<li>scale: the name of the scale (e.g. "Pauling") or NULL</li>
</ul>
<p>The programs searches a value corresponding to the fields having a non default value. If one is found the other fields are given the corresponding values f the first match before returning.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>TRUE if a radius has been found and FALSE if not. </dd></dl>

</div>
</div>
<a class="anchor" id="a4fda378f405278311ca8e4f5becc6660"></a><!-- doxytag: member="chemistry.h::gcu_element_get_symbol" ref="a4fda378f405278311ca8e4f5becc6660" args="(gint Z)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const gchar* gcu_element_get_symbol </td>
          <td>(</td>
          <td class="paramtype">gint&nbsp;</td>
          <td class="paramname"> <em>Z</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>gcu_element_get_symbol: </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>Z,:</em>&nbsp;</td><td>the atomic number of the element. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the symbol of the element. </dd></dl>

</div>
</div>
<a class="anchor" id="abb0aa6f1d149ebf33481df3f37b898e4"></a><!-- doxytag: member="chemistry.h::gcu_element_get_Z" ref="abb0aa6f1d149ebf33481df3f37b898e4" args="(gchar *symbol)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gint gcu_element_get_Z </td>
          <td>(</td>
          <td class="paramtype">gchar *&nbsp;</td>
          <td class="paramname"> <em>symbol</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>gcu_element_get_Z: </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>symbol,:</em>&nbsp;</td><td>the symbol of the element (e.g. "C" ot "Pt"). </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the atomic number of the element. </dd></dl>

</div>
</div>
<a class="anchor" id="aabec300016d5a3d7a3b5574ff3ce9a37"></a><!-- doxytag: member="chemistry.h::gcu_element_load_databases" ref="aabec300016d5a3d7a3b5574ff3ce9a37" args="(char const *name,...)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcu_element_load_databases </td>
          <td>(</td>
          <td class="paramtype">char const *&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&nbsp;</td>
          <td class="paramname"> <em>...</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name,:</em>&nbsp;</td><td>name of a database to load such as "radii", "elecprops", "isotopes", the first name is followed by a list of other database terminated by NULL.</td></tr>
  </table>
  </dd>
</dl>
<p>Loads the listed databases. </p>

<p>Referenced by <a class="el" href="testgtkchem3dviewer_8c_source.html#l00046">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a89f4927ba366db8a65b8a8b9b09fb4ef"></a><!-- doxytag: member="chemistry.h::gcu_value_get_string" ref="a89f4927ba366db8a65b8a8b9b09fb4ef" args="(GcuValue const *value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gchar* gcu_value_get_string </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structGcuValue.html">GcuValue</a> const *&nbsp;</td>
          <td class="paramname"> <em>value</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>value,:</em>&nbsp;</td><td>the <a class="el" href="structGcuValue.html">GcuValue</a> to represent as a string.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>the <a class="el" href="structGcuValue.html">GcuValue</a> as a string taking into account the precision and incertitude </dd></dl>

</div>
</div>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Sun Sep 6 18:33:53 2009 for The Gnome Chemistry Utils by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>