Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 60f1dc962abad0f3b492991a4fbef9be > files > 494

vtk-doc-5.4.2-5mdv2010.0.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>VTK: vtkExodusModel Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="classes.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>vtkExodusModel Class Reference</h1><!-- doxytag: class="vtkExodusModel" --><!-- doxytag: inherits="vtkObject" --><code>#include &lt;<a class="el" href="a04615.html">vtkExodusModel.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkExodusModel:</div>
<div class="dynsection">
<p><center><img src="a09583.png" border="0" usemap="#a09584" alt="Inheritance graph"></center>
<map name="a09584">
<area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="27,80,107,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="12,6,121,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for vtkExodusModel:</div>
<div class="dynsection">
<p><center><img src="a09585.png" border="0" usemap="#a09586" alt="Collaboration graph"></center>
<map name="a09586">
<area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="87,96,167,123"><area shape="rect" href="a01046.html" title="This class encapsulates the metadata that appear in mesh&#45;based file formats but do..." alt="" coords="148,173,282,200"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="6,5,115,32"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="139,5,248,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="a09587.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Exodus Model. 
<p>
A <a class="el" href="a01789.html" title="dataset represents arbitrary combinations of all possible cell types">vtkUnstructuredGrid</a> output by <a class="el" href="a00492.html" title="Read exodus 2 files .ex2.">vtkExodusReader</a> or <a class="el" href="a01210.html" title="Read exodus 2 files .ex2.">vtkPExodusReader</a> is missing a great deal of initialization and static model data that is in an Exodus II file. (Global variables, properties, node sets, side sets, and so on.) This data can be stored in a <a class="el" href="a01046.html" title="This class encapsulates the metadata that appear in mesh-based file formats but do...">vtkModelMetadata</a> object, which can be initialized using this <a class="el" href="a00491.html" title="Exodus Model.">vtkExodusModel</a> class.<p>
This class can be initialized with a file handle for an open Exodus file, and the <a class="el" href="a01789.html" title="dataset represents arbitrary combinations of all possible cell types">vtkUnstructuredGrid</a> derived from that file. The methods used would be SetGlobalInformation, SetLocalInformation, AddUGridElementVariable and AddUGridNodeVariable. The <a class="el" href="a00492.html" title="Read exodus 2 files .ex2.">vtkExodusReader</a> does this.<p>
It can also be initialized (using UnpackExodusModel) from a <a class="el" href="a01789.html" title="dataset represents arbitrary combinations of all possible cell types">vtkUnstructuredGrid</a> that has had metadata packed into it's field arrays with PackExodusModel. The <a class="el" href="a00488.html" title="Write Exodus II files.">vtkExodusIIWriter</a> does this.<p>
If you plan to write out the Exodus file (with <a class="el" href="a00488.html" title="Write Exodus II files.">vtkExodusIIWriter</a>), you should direct the Exodus reader to create a <a class="el" href="a00491.html" title="Exodus Model.">vtkExodusModel</a> object. This will be used by the Exodus writer to create a correct Exodus II file on output. In addition, the <a class="el" href="a00431.html" title="Distribute data among processors.">vtkDistributedDataFilter</a> is cognizant of the ExodusModel object and will unpack, extract, merge, and pack these objects associated with the grids it is partitioning.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="a00492.html" title="Read exodus 2 files .ex2.">vtkExodusReader</a> <a class="el" href="a01210.html" title="Read exodus 2 files .ex2.">vtkPExodusReader</a> <a class="el" href="a00488.html" title="Write Exodus II files.">vtkExodusIIWriter</a> <a class="el" href="a01046.html" title="This class encapsulates the metadata that appear in mesh-based file formats but do...">vtkModelMetadata</a> <a class="el" href="a00431.html" title="Distribute data among processors.">vtkDistributedDataFilter</a> </dd></dl>

<p>Definition at line <a class="el" href="a04615.html#l00065">65</a> of file <a class="el" href="a04615.html">vtkExodusModel.h</a>.</p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="a01084.html">vtkObject</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00491.html#cf781b948d66c043383903d95d5b7e0a">Superclass</a></td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00491.html#10f79be6fdfaaed3fd54a99d94a0e3d9">GetClassName</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00491.html#33ee8a228bb0c406db81d383bbba74e2">IsA</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00491.html#94b4908f15eae9be47ffdd45da19ed3c">PrintSelf</a> (ostream &amp;os, <a class="el" href="a00869.html">vtkIndent</a> indent)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00491.html#6bbe9e0e8e281326176ae1270a36a5c9">SetGlobalInformation</a> (int fid, int compute_word_size)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00491.html#01dfa26ffd13d8d0686d4b32717a4751">AddUGridElementVariable</a> (char *ugridVarName, char *origName, int numComponents)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00491.html#94cdbd99e2d873883445f0bf8a555dcb">RemoveUGridElementVariable</a> (char *ugridVarName)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00491.html#92b4fcc66acdf39b114005d73e5714b4">AddUGridNodeVariable</a> (char *ugridVarName, char *origName, int numComponents)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00491.html#fef9aea557acd95563c4e1b97eedcf65">RemoveUGridNodeVariable</a> (char *ugridVarName)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00491.html#6c308fedae8ca48de17c3e6994dd22bf">SetElementVariableInfo</a> (int numOrigNames, char **origNames, int numNames, char **names, int *numComp, int *map)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00491.html#3e6a979c594f84e5c2dab6e4c61bc55d">SetNodeVariableInfo</a> (int numOrigNames, char **origNames, int numNames, char **names, int *numComp, int *map)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00491.html#81d3866a43af4c54d7b0f0561c0745cf">SetLocalInformation</a> (<a class="el" href="a01789.html">vtkUnstructuredGrid</a> *ugrid, int fid, int timeStep, int newGeometry, int compute_word_size)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a01046.html">vtkModelMetadata</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00491.html#51e5d7b528dd2408a9c6f1abc7118bce">GetModelMetadata</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00491.html#b963f25339a0c14b969c662ff1ab724e">SetModelMetadata</a> (<a class="el" href="a01046.html">vtkModelMetadata</a> *emData)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00491.html#fda7f4feb5ca85edd1f128ff8f54f505">UnpackExodusModel</a> (<a class="el" href="a01789.html">vtkUnstructuredGrid</a> *grid, int deleteIt)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00491.html#4695e0a69ecd45e70151804f0b88978c">MergeExodusModel</a> (<a class="el" href="a00491.html">vtkExodusModel</a> *em)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a00491.html">vtkExodusModel</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00491.html#43d6b73f4daebbfa30816494dfb2e4b4">ExtractExodusModel</a> (<a class="el" href="a00722.html">vtkIdTypeArray</a> *globalCellIdList, <a class="el" href="a01789.html">vtkUnstructuredGrid</a> *grid)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00491.html#8538bce860e83addbe87f233f6ef3c10">PackExodusModel</a> (<a class="el" href="a01789.html">vtkUnstructuredGrid</a> *grid)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00491.html#4de206e68e7060f0cea8881a70a07343">Reset</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00491.html#934b00110e13a82b4f5bc895700ab756">IsTypeOf</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a00491.html">vtkExodusModel</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00491.html#da22ec45daa6384cbac5ecd689c2d138">SafeDownCast</a> (<a class="el" href="a01084.html">vtkObject</a> *o)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a00491.html">vtkExodusModel</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00491.html#aff37ba5e8a345c0d2cdb2c59d6efcbd">New</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00491.html#b63b674077b35ed38f6680f1b46b9f96">HasMetadata</a> (<a class="el" href="a01789.html">vtkUnstructuredGrid</a> *grid)</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00491.html#10fa79734fe70873819a732519a57138">vtkExodusModel</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00491.html#8de5693ea27f964ad27642e763f8c94f">~vtkExodusModel</a> ()</td></tr>

</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="cf781b948d66c043383903d95d5b7e0a"></a><!-- doxytag: member="vtkExodusModel::Superclass" ref="cf781b948d66c043383903d95d5b7e0a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="a01084.html">vtkObject</a> <a class="el" href="a01084.html">vtkExodusModel::Superclass</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a01084.html#11429dee69f4b562e03e07b453dae9b5">vtkObject</a>.</p>

<p>Definition at line <a class="el" href="a04615.html#l00068">68</a> of file <a class="el" href="a04615.html">vtkExodusModel.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="10fa79734fe70873819a732519a57138"></a><!-- doxytag: member="vtkExodusModel::vtkExodusModel" ref="10fa79734fe70873819a732519a57138" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkExodusModel::vtkExodusModel           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="8de5693ea27f964ad27642e763f8c94f"></a><!-- doxytag: member="vtkExodusModel::~vtkExodusModel" ref="8de5693ea27f964ad27642e763f8c94f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkExodusModel::~vtkExodusModel           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="10f79be6fdfaaed3fd54a99d94a0e3d9"></a><!-- doxytag: member="vtkExodusModel::GetClassName" ref="10f79be6fdfaaed3fd54a99d94a0e3d9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* vtkExodusModel::GetClassName           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a01084.html#d95975c85c2896ea32ff4cf1f8de0886">vtkObject</a>.</p>

</div>
</div><p>
<a class="anchor" name="934b00110e13a82b4f5bc895700ab756"></a><!-- doxytag: member="vtkExodusModel::IsTypeOf" ref="934b00110e13a82b4f5bc895700ab756" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int vtkExodusModel::IsTypeOf           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. 
<p>Reimplemented from <a class="el" href="a01084.html#e9548a248bce0f02f73bbcccd0a9489e">vtkObject</a>.</p>

</div>
</div><p>
<a class="anchor" name="33ee8a228bb0c406db81d383bbba74e2"></a><!-- doxytag: member="vtkExodusModel::IsA" ref="33ee8a228bb0c406db81d383bbba74e2" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkExodusModel::IsA           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. 
<p>Reimplemented from <a class="el" href="a01084.html#831e57b04e46827a7098aa81abadee69">vtkObject</a>.</p>

</div>
</div><p>
<a class="anchor" name="da22ec45daa6384cbac5ecd689c2d138"></a><!-- doxytag: member="vtkExodusModel::SafeDownCast" ref="da22ec45daa6384cbac5ecd689c2d138" args="(vtkObject *o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00491.html">vtkExodusModel</a>* vtkExodusModel::SafeDownCast           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01084.html">vtkObject</a> *&nbsp;</td>
          <td class="paramname"> <em>o</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a01084.html#bb9351f076544c427ee91229dce83abe">vtkObject</a>.</p>

</div>
</div><p>
<a class="anchor" name="94b4908f15eae9be47ffdd45da19ed3c"></a><!-- doxytag: member="vtkExodusModel::PrintSelf" ref="94b4908f15eae9be47ffdd45da19ed3c" args="(ostream &amp;os, vtkIndent indent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkExodusModel::PrintSelf           </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>os</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00869.html">vtkIndent</a>&nbsp;</td>
          <td class="paramname"> <em>indent</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use <a class="el" href="a01085.html#edadf6378465fd81c2592ef64262e2a5">Print()</a> instead) but used in the hierarchical print process to combine the output of several classes. 
<p>Reimplemented from <a class="el" href="a01084.html#bf3dbb4154289b56a12483eee3866263">vtkObject</a>.</p>

</div>
</div><p>
<a class="anchor" name="aff37ba5e8a345c0d2cdb2c59d6efcbd"></a><!-- doxytag: member="vtkExodusModel::New" ref="aff37ba5e8a345c0d2cdb2c59d6efcbd" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00491.html">vtkExodusModel</a>* vtkExodusModel::New           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. 
<p>Reimplemented from <a class="el" href="a01084.html#4d5b227267c076d6f9e38483370b6612">vtkObject</a>.</p>

</div>
</div><p>
<a class="anchor" name="6bbe9e0e8e281326176ae1270a36a5c9"></a><!-- doxytag: member="vtkExodusModel::SetGlobalInformation" ref="6bbe9e0e8e281326176ae1270a36a5c9" args="(int fid, int compute_word_size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkExodusModel::SetGlobalInformation           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>fid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>compute_word_size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
In order to write a correct Exodus file from a <a class="el" href="a01789.html" title="dataset represents arbitrary combinations of all possible cell types">vtkUnstructuredGrid</a>, we need to know the global data which does not get represented in the UGrid. Initialize, with an open Exodus file, all the global fields of the ExodusModel object. fid is the file handle of the opened Exodus file. compute_word_size is the size of floating point values exchanged with the the Exodus library. (It's set in ex_open or ex_create.) The global fields are those which don't depend on which cells or field arrays are being read from the file. 
</div>
</div><p>
<a class="anchor" name="01dfa26ffd13d8d0686d4b32717a4751"></a><!-- doxytag: member="vtkExodusModel::AddUGridElementVariable" ref="01dfa26ffd13d8d0686d4b32717a4751" args="(char *ugridVarName, char *origName, int numComponents)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkExodusModel::AddUGridElementVariable           </td>
          <td>(</td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"> <em>ugridVarName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"> <em>origName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>numComponents</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
In order to write Exodus files from <a class="el" href="a01789.html" title="dataset represents arbitrary combinations of all possible cell types">vtkUnstructuredGrid</a> objects that were read from Exodus files, we need to know the mapping from variable names in the UGrid to variable names in the Exodus file. (The Exodus reader combines scalar variables with similar names into vectors in the UGrid.) When building the UGrid to which this ExodusModel refers, add each element and node variable name with this call, including the name of original variable that yielded it's first component, and the number of components. If a variable is removed from the UGrid, remove it from the ExodusModel. (If this information is missing or incomplete, the ExodusIIWriter can still do something sensible in creating names for variables.) 
</div>
</div><p>
<a class="anchor" name="94cdbd99e2d873883445f0bf8a555dcb"></a><!-- doxytag: member="vtkExodusModel::RemoveUGridElementVariable" ref="94cdbd99e2d873883445f0bf8a555dcb" args="(char *ugridVarName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkExodusModel::RemoveUGridElementVariable           </td>
          <td>(</td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"> <em>ugridVarName</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="92b4fcc66acdf39b114005d73e5714b4"></a><!-- doxytag: member="vtkExodusModel::AddUGridNodeVariable" ref="92b4fcc66acdf39b114005d73e5714b4" args="(char *ugridVarName, char *origName, int numComponents)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkExodusModel::AddUGridNodeVariable           </td>
          <td>(</td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"> <em>ugridVarName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"> <em>origName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>numComponents</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="fef9aea557acd95563c4e1b97eedcf65"></a><!-- doxytag: member="vtkExodusModel::RemoveUGridNodeVariable" ref="fef9aea557acd95563c4e1b97eedcf65" args="(char *ugridVarName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkExodusModel::RemoveUGridNodeVariable           </td>
          <td>(</td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"> <em>ugridVarName</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="6c308fedae8ca48de17c3e6994dd22bf"></a><!-- doxytag: member="vtkExodusModel::SetElementVariableInfo" ref="6c308fedae8ca48de17c3e6994dd22bf" args="(int numOrigNames, char **origNames, int numNames, char **names, int *numComp, int *map)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkExodusModel::SetElementVariableInfo           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>numOrigNames</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&nbsp;</td>
          <td class="paramname"> <em>origNames</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>numNames</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&nbsp;</td>
          <td class="paramname"> <em>names</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>numComp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>map</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="3e6a979c594f84e5c2dab6e4c61bc55d"></a><!-- doxytag: member="vtkExodusModel::SetNodeVariableInfo" ref="3e6a979c594f84e5c2dab6e4c61bc55d" args="(int numOrigNames, char **origNames, int numNames, char **names, int *numComp, int *map)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkExodusModel::SetNodeVariableInfo           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>numOrigNames</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&nbsp;</td>
          <td class="paramname"> <em>origNames</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>numNames</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&nbsp;</td>
          <td class="paramname"> <em>names</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>numComp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&nbsp;</td>
          <td class="paramname"> <em>map</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="81d3866a43af4c54d7b0f0561c0745cf"></a><!-- doxytag: member="vtkExodusModel::SetLocalInformation" ref="81d3866a43af4c54d7b0f0561c0745cf" args="(vtkUnstructuredGrid *ugrid, int fid, int timeStep, int newGeometry, int compute_word_size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkExodusModel::SetLocalInformation           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01789.html">vtkUnstructuredGrid</a> *&nbsp;</td>
          <td class="paramname"> <em>ugrid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>fid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>timeStep</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>newGeometry</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>compute_word_size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the local information in the ExodusModel. This is information which depends on which blocks were read in, and which time step was read in. (Example - count of cells in each block, values of global variables, node IDs for nodes in each node set.) Provide the ugrid, the time step (the first time step is 0), the handle of an open Exodus file, and the size of floating point values exchanged with the Exodus library. Also indicate with a 1 if the geometry has changed (new blocks or blocks removed) since the last call. (When in doubt set to 1.) Please call SetGlobalInformation once before calling SetLocalInformation. SetLocalInformation may be called many times if different subsets of an Exodus file are read. Each call replaces the previous local values. 
</div>
</div><p>
<a class="anchor" name="b63b674077b35ed38f6680f1b46b9f96"></a><!-- doxytag: member="vtkExodusModel::HasMetadata" ref="b63b674077b35ed38f6680f1b46b9f96" args="(vtkUnstructuredGrid *grid)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int vtkExodusModel::HasMetadata           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01789.html">vtkUnstructuredGrid</a> *&nbsp;</td>
          <td class="paramname"> <em>grid</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Static function that returns 1 if the <a class="el" href="a01789.html" title="dataset represents arbitrary combinations of all possible cell types">vtkUnstructuredGrid</a> has metadata packed into it's field arrays, 0 otherwise. 
</div>
</div><p>
<a class="anchor" name="51e5d7b528dd2408a9c6f1abc7118bce"></a><!-- doxytag: member="vtkExodusModel::GetModelMetadata" ref="51e5d7b528dd2408a9c6f1abc7118bce" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a01046.html">vtkModelMetadata</a>* vtkExodusModel::GetModelMetadata           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set or get the underlying <a class="el" href="a01046.html" title="This class encapsulates the metadata that appear in mesh-based file formats but do...">vtkModelMetadata</a> object. 
</div>
</div><p>
<a class="anchor" name="b963f25339a0c14b969c662ff1ab724e"></a><!-- doxytag: member="vtkExodusModel::SetModelMetadata" ref="b963f25339a0c14b969c662ff1ab724e" args="(vtkModelMetadata *emData)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkExodusModel::SetModelMetadata           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01046.html">vtkModelMetadata</a> *&nbsp;</td>
          <td class="paramname"> <em>emData</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="fda7f4feb5ca85edd1f128ff8f54f505"></a><!-- doxytag: member="vtkExodusModel::UnpackExodusModel" ref="fda7f4feb5ca85edd1f128ff8f54f505" args="(vtkUnstructuredGrid *grid, int deleteIt)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkExodusModel::UnpackExodusModel           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01789.html">vtkUnstructuredGrid</a> *&nbsp;</td>
          <td class="paramname"> <em>grid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>deleteIt</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
One way to initialize an ExodusModel object is to use SetGlobalInformation, SetLocalInformation, and the Add/Remove Variable calls to initialize it from an open Exodus file. Another way is to initialize it with the ExodusModel which has been packed into field arrays of a <a class="el" href="a01789.html" title="dataset represents arbitrary combinations of all possible cell types">vtkUnstructuredGrid</a>. Set the second argument to 1 if you would like the packed field arrays to be deleted after this ExodusModel is initialized. Returns 1 if there is no ExodusModel object associated with the grid, 0 otherwise. 
</div>
</div><p>
<a class="anchor" name="4695e0a69ecd45e70151804f0b88978c"></a><!-- doxytag: member="vtkExodusModel::MergeExodusModel" ref="4695e0a69ecd45e70151804f0b88978c" args="(vtkExodusModel *em)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkExodusModel::MergeExodusModel           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00491.html">vtkExodusModel</a> *&nbsp;</td>
          <td class="paramname"> <em>em</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Merge the supplied <a class="el" href="a00491.html" title="Exodus Model.">vtkExodusModel</a> object into this one. It is assumed the two objects represent portions of the same distributed data set. (So the list of block IDs is the same, and so on.) 
</div>
</div><p>
<a class="anchor" name="43d6b73f4daebbfa30816494dfb2e4b4"></a><!-- doxytag: member="vtkExodusModel::ExtractExodusModel" ref="43d6b73f4daebbfa30816494dfb2e4b4" args="(vtkIdTypeArray *globalCellIdList, vtkUnstructuredGrid *grid)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00491.html">vtkExodusModel</a>* vtkExodusModel::ExtractExodusModel           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00722.html">vtkIdTypeArray</a> *&nbsp;</td>
          <td class="paramname"> <em>globalCellIdList</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a01789.html">vtkUnstructuredGrid</a> *&nbsp;</td>
          <td class="paramname"> <em>grid</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create a new <a class="el" href="a00491.html" title="Exodus Model.">vtkExodusModel</a> object representing a subset of the cells of this <a class="el" href="a00491.html" title="Exodus Model.">vtkExodusModel</a> object. We need a list of the global IDs of the cells to be extracted, the grid which generated the Exodus Model (so we can find the points associated with each cell), and the name of the grid's global cell ID array, and the name of the grid's global node ID array. 
</div>
</div><p>
<a class="anchor" name="8538bce860e83addbe87f233f6ef3c10"></a><!-- doxytag: member="vtkExodusModel::PackExodusModel" ref="8538bce860e83addbe87f233f6ef3c10" args="(vtkUnstructuredGrid *grid)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkExodusModel::PackExodusModel           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01789.html">vtkUnstructuredGrid</a> *&nbsp;</td>
          <td class="paramname"> <em>grid</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The metadata encapsulated in a <a class="el" href="a00491.html" title="Exodus Model.">vtkExodusModel</a> object can be written to field arrays which are then stored in the <a class="el" href="a01789.html" title="dataset represents arbitrary combinations of all possible cell types">vtkUnstructuredGrid</a> itself. PackExodusModel creates these field arrays and attaches them to the supplied grid. 
</div>
</div><p>
<a class="anchor" name="4de206e68e7060f0cea8881a70a07343"></a><!-- doxytag: member="vtkExodusModel::Reset" ref="4de206e68e7060f0cea8881a70a07343" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkExodusModel::Reset           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reset all fields to their initial value. 
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>dox/Hybrid/<a class="el" href="a04615.html">vtkExodusModel.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:02:03 2009 for VTK by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>