VTK
|
Write Exodus II files. More...
#include <vtkPExodusIIWriter.h>
Public Types | |
typedef vtkExodusIIWriter | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkPExodusIIWriter * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
static vtkPExodusIIWriter * | New () |
static int | IsTypeOf (const char *type) |
static vtkPExodusIIWriter * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkPExodusIIWriter () | |
~vtkPExodusIIWriter () | |
virtual int | CheckParameters () |
virtual void | CheckBlockInfoMap () |
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.
Definition at line 83 of file vtkPExodusIIWriter.h.
Reimplemented from vtkExodusIIWriter.
Definition at line 87 of file vtkPExodusIIWriter.h.
vtkPExodusIIWriter::vtkPExodusIIWriter | ( | ) | [protected] |
vtkPExodusIIWriter::~vtkPExodusIIWriter | ( | ) | [protected] |
static vtkPExodusIIWriter* vtkPExodusIIWriter::New | ( | ) | [static] |
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.
static vtkPExodusIIWriter* vtkPExodusIIWriter::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
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.