VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkPExodusIIWriter Class Reference

Write Exodus II files. More...

#include <vtkPExodusIIWriter.h>

Inheritance diagram for vtkPExodusIIWriter:
Inheritance graph
[legend]
Collaboration diagram for vtkPExodusIIWriter:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkExodusIIWriter Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkPExodusIIWriterNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)

Static Public Member Functions

static vtkPExodusIIWriterNew ()
static int IsTypeOf (const char *type)
static vtkPExodusIIWriterSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkPExodusIIWriter ()
 ~vtkPExodusIIWriter ()
virtual int CheckParameters ()
virtual void CheckBlockInfoMap ()

Detailed Description

Write Exodus II files.

This is a vtkWriter that writes it's vtkUnstructuredGrid input out to an Exodus II file. Go to http://endo.sandia.gov/SEACAS/ for more information about the Exodus II format.

Exodus files contain much information that is not captured in a vtkUnstructuredGrid, such as time steps, information lines, node sets, and side sets. This information can be stored in a vtkModelMetadata object.

The vtkExodusReader and vtkPExodusReader can create a vtkModelMetadata object and embed it in a vtkUnstructuredGrid in a series of field arrays. This writer searches for these field arrays and will use the metadata contained in them when creating the new Exodus II file.

You can also explicitly give the vtkExodusIIWriter a vtkModelMetadata object to use when writing the file.

In the absence of the information provided by vtkModelMetadata, if this writer is not part of a parallel application, we will use reasonable defaults for all the values in the output Exodus file. If you don't provide a block ID element array, we'll create a block for each cell type that appears in the unstructured grid.

However if this writer is part of a parallel application (hence writing out a distributed Exodus file), then we need at the very least a list of all the block IDs that appear in the file. And we need the element array of block IDs for the input unstructured grid.

In the absence of a vtkModelMetadata object, you can also provide time step information which we will include in the output Exodus file.

Warning:
If the input floating point field arrays and point locations are all floats or all doubles, this class will operate more efficiently. Mixing floats and doubles will slow you down, because Exodus II requires that we write only floats or only doubles.
We use the terms "point" and "node" interchangeably. Also, we use the terms "element" and "cell" interchangeably.

Definition at line 83 of file vtkPExodusIIWriter.h.


Member Typedef Documentation

Reimplemented from vtkExodusIIWriter.

Definition at line 87 of file vtkPExodusIIWriter.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkExodusIIWriter.

static int vtkPExodusIIWriter::IsTypeOf ( const char *  name) [static]

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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkExodusIIWriter.

virtual int vtkPExodusIIWriter::IsA ( const char *  name) [virtual]

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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkExodusIIWriter.

Reimplemented from vtkExodusIIWriter.

virtual vtkObjectBase* vtkPExodusIIWriter::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkExodusIIWriter.

Reimplemented from vtkExodusIIWriter.

void vtkPExodusIIWriter::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkExodusIIWriter.

virtual int vtkPExodusIIWriter::CheckParameters ( ) [protected, virtual]

Reimplemented from vtkExodusIIWriter.

virtual void vtkPExodusIIWriter::CheckBlockInfoMap ( ) [protected, virtual]

Reimplemented from vtkExodusIIWriter.


The documentation for this class was generated from the following file: