VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
vtkADIOSWriter Class Reference

Write ADIOS files. More...

#include <vtkADIOSWriter.h>

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

List of all members.

Public Types

enum  { Always = 0, OnChange = 1 }
typedef vtkDataObjectAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkADIOSWriterNewInstance () const
virtual void PrintSelf (ostream &os, vtkIndent indent)
const char * GetDefaultFileExtension ()
void Write ()
virtual char * GetFileName ()
virtual void SetFileName (const char *)
virtual int GetTransportMethod ()
virtual void SetTransportMethod (int)
void SetTransportMethodToNULL ()
void SetTransportMethodToPOSIX ()
void SetTransportMethodToMPI ()
void SetTransportMethodToMPILustre ()
void SetTransportMethodToMPIAggregate ()
void SetTransportMethodToVarMerge ()
void SetTransportMethodToDataSpaces ()
void SetTransportMethodToDIMES ()
void SetTransportMethodToFlexPath ()
void SetTransportMethodToPHDF5 ()
void SetTransportMethodToNetCDF4 ()
virtual void SetTransportMethodArguments (const char *)
virtual char * GetTransportMethodArguments ()
virtual int GetTransform ()
virtual void SetTransform (int)
void SetTransformToNone ()
void SetTransformToZLib ()
void SetTransformToBZip2 ()
void SetTransformToSZip ()
virtual int GetWriteMode ()
virtual void SetWriteMode (int)
void SetWriteModeToAlways ()
void SetWriteModeToOnChange ()
virtual void SetWriteAllTimeSteps (bool)
virtual bool GetWriteAllTimeSteps ()
virtual void WriteAllTimeStepsOn ()
virtual void WriteAllTimeStepsOff ()
void SetController (vtkMultiProcessController *)
virtual vtkMultiProcessControllerGetController ()
virtual int ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Static Public Member Functions

static vtkADIOSWriterNew ()
static int IsTypeOf (const char *type)
static vtkADIOSWriterSafeDownCast (vtkObjectBase *o)

Protected Types

typedef std::map< std::string,
size_t > 
NameIdMap

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkADIOSWriter ()
 ~vtkADIOSWriter ()
int FillInputPortInformation (int port, vtkInformation *info)
virtual int RequestInformation (vtkInformation *request, vtkInformationVector **input, vtkInformationVector *output)
virtual int RequestUpdateExtent (vtkInformation *request, vtkInformationVector **input, vtkInformationVector *output)
virtual int RequestData (vtkInformation *request, vtkInformationVector **input, vtkInformationVector *output)
bool UpdateMTimeTable (const std::string path, const vtkObject *value)
void Define (const std::string &path, const vtkAbstractArray *value)
void Define (const std::string &path, const vtkDataArray *value)
void Define (const std::string &path, const vtkCellArray *value)
void Define (const std::string &path, const vtkFieldData *value)
void Define (const std::string &path, const vtkDataSet *value)
void Define (const std::string &path, const vtkImageData *value)
void Define (const std::string &path, const vtkPolyData *value)
void Define (const std::string &path, const vtkUnstructuredGrid *value)
void OpenFile ()
void CloseFile ()
void Write (const std::string &path, const vtkAbstractArray *value)
void Write (const std::string &path, const vtkDataArray *value)
void Write (const std::string &path, const vtkCellArray *value)
void Write (const std::string &path, const vtkFieldData *value)
void Write (const std::string &path, const vtkDataSet *value)
void Write (const std::string &path, const vtkImageData *value)
void Write (const std::string &path, const vtkPolyData *value)
void Write (const std::string &path, const vtkUnstructuredGrid *value)

Protected Attributes

char * FileName
int TransportMethod
char * TransportMethodArguments
int Transform
int WriteMode
int Rank
int CurrentStep
NameIdMap BlockStepIndexIdMap
std::vector< vtkTypeInt64 > BlockStepIndex
vtkMultiProcessControllerController
ADIOS::Writer * Writer
int BLOCKDEBUG
int NumberOfPieces
int RequestPiece
int NumberOfGhostLevels
bool WriteAllTimeSteps
std::vector< doubleTimeSteps
int CurrentTimeStepIndex
int RequestExtent [6]
std::map< std::string,
unsigned long > 
LastUpdated

Detailed Description

Write ADIOS files.

vtkADIOSWriter is the base class for all ADIOS writers

Tests:
vtkADIOSWriter (Tests)

Definition at line 54 of file vtkADIOSWriter.h.


Member Typedef Documentation

Reimplemented from vtkDataObjectAlgorithm.

Definition at line 58 of file vtkADIOSWriter.h.

typedef std::map<std::string, size_t> vtkADIOSWriter::NameIdMap [protected]

Definition at line 187 of file vtkADIOSWriter.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
Always 
OnChange 

Definition at line 107 of file vtkADIOSWriter.h.


Constructor & Destructor Documentation


Member Function Documentation

static vtkADIOSWriter* vtkADIOSWriter::New ( ) [static]

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

Reimplemented from vtkDataObjectAlgorithm.

static int vtkADIOSWriter::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 vtkDataObjectAlgorithm.

virtual int vtkADIOSWriter::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 vtkDataObjectAlgorithm.

Reimplemented from vtkDataObjectAlgorithm.

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

Reimplemented from vtkDataObjectAlgorithm.

Reimplemented from vtkDataObjectAlgorithm.

virtual void vtkADIOSWriter::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 vtkDataObjectAlgorithm.

virtual char* vtkADIOSWriter::GetFileName ( ) [virtual]

Get/Set the output filename

virtual void vtkADIOSWriter::SetFileName ( const char *  ) [virtual]

Get/Set the output filename

virtual int vtkADIOSWriter::GetTransportMethod ( ) [virtual]

Get/Set the ADIOS transport method.

virtual void vtkADIOSWriter::SetTransportMethod ( int  ) [virtual]

Get/Set the ADIOS transport method.

Get/Set the ADIOS transport method.

Definition at line 75 of file vtkADIOSWriter.h.

Get/Set the ADIOS transport method.

Definition at line 76 of file vtkADIOSWriter.h.

Get/Set the ADIOS transport method.

Definition at line 77 of file vtkADIOSWriter.h.

Get/Set the ADIOS transport method.

Definition at line 78 of file vtkADIOSWriter.h.

Get/Set the ADIOS transport method.

Definition at line 79 of file vtkADIOSWriter.h.

Get/Set the ADIOS transport method.

Definition at line 80 of file vtkADIOSWriter.h.

Get/Set the ADIOS transport method.

Definition at line 81 of file vtkADIOSWriter.h.

Get/Set the ADIOS transport method.

Definition at line 82 of file vtkADIOSWriter.h.

Get/Set the ADIOS transport method.

Definition at line 83 of file vtkADIOSWriter.h.

Get/Set the ADIOS transport method.

Definition at line 84 of file vtkADIOSWriter.h.

Get/Set the ADIOS transport method.

Definition at line 85 of file vtkADIOSWriter.h.

virtual void vtkADIOSWriter::SetTransportMethodArguments ( const char *  ) [virtual]

Get/Set arguments to the ADIOS transport method (default is ""). If called, it must be called BEFORE SetController

virtual char* vtkADIOSWriter::GetTransportMethodArguments ( ) [virtual]

Get/Set arguments to the ADIOS transport method (default is ""). If called, it must be called BEFORE SetController

virtual int vtkADIOSWriter::GetTransform ( ) [virtual]

Get/Set the data transformation.

virtual void vtkADIOSWriter::SetTransform ( int  ) [virtual]

Get/Set the data transformation.

Get/Set the data transformation.

Definition at line 101 of file vtkADIOSWriter.h.

Get/Set the data transformation.

Definition at line 102 of file vtkADIOSWriter.h.

Get/Set the data transformation.

Definition at line 103 of file vtkADIOSWriter.h.

Get/Set the data transformation.

Definition at line 104 of file vtkADIOSWriter.h.

virtual int vtkADIOSWriter::GetWriteMode ( ) [virtual]

Get/Set the write mode for array data

virtual void vtkADIOSWriter::SetWriteMode ( int  ) [virtual]

Get/Set the write mode for array data

Get/Set the write mode for array data

Definition at line 117 of file vtkADIOSWriter.h.

Get/Set the write mode for array data

Definition at line 118 of file vtkADIOSWriter.h.

virtual void vtkADIOSWriter::SetWriteAllTimeSteps ( bool  ) [virtual]

Controls whether writer automatically writes all input time steps, or just the timestep that is currently on the input. Default is OFF.

virtual bool vtkADIOSWriter::GetWriteAllTimeSteps ( ) [virtual]

Controls whether writer automatically writes all input time steps, or just the timestep that is currently on the input. Default is OFF.

virtual void vtkADIOSWriter::WriteAllTimeStepsOn ( ) [virtual]

Controls whether writer automatically writes all input time steps, or just the timestep that is currently on the input. Default is OFF.

virtual void vtkADIOSWriter::WriteAllTimeStepsOff ( ) [virtual]

Controls whether writer automatically writes all input time steps, or just the timestep that is currently on the input. Default is OFF.

Set the MPI controller.

Set the MPI controller.

The main interface which triggers the writer to start

Reimplemented from vtkDataObjectAlgorithm.

void vtkADIOSWriter::Write ( ) [inline]

Declare data if necessary and write the current step to the output stream

Definition at line 143 of file vtkADIOSWriter.h.

void vtkADIOSWriter::Define ( const std::string &  path,
const vtkAbstractArray value 
) [protected]

Define a VTK data type

void vtkADIOSWriter::Define ( const std::string &  path,
const vtkDataArray value 
) [protected]

Define a VTK data type

void vtkADIOSWriter::Define ( const std::string &  path,
const vtkCellArray value 
) [protected]

Define a VTK data type

void vtkADIOSWriter::Define ( const std::string &  path,
const vtkFieldData value 
) [protected]

Define a VTK data type

void vtkADIOSWriter::Define ( const std::string &  path,
const vtkDataSet value 
) [protected]

Define a VTK data type

void vtkADIOSWriter::Define ( const std::string &  path,
const vtkImageData value 
) [protected]

Define a VTK data type

void vtkADIOSWriter::Define ( const std::string &  path,
const vtkPolyData value 
) [protected]

Define a VTK data type

void vtkADIOSWriter::Define ( const std::string &  path,
const vtkUnstructuredGrid value 
) [protected]

Define a VTK data type

void vtkADIOSWriter::OpenFile ( ) [protected]

Open a file and prepare for writing already defined variables. NOTE: The data is declared only once but the file must be opened and closed for every timestep. Data is not guaranteed to be flushed until application exit and final ADIOS deconstruction.

void vtkADIOSWriter::CloseFile ( ) [protected]

Open a file and prepare for writing already defined variables. NOTE: The data is declared only once but the file must be opened and closed for every timestep. Data is not guaranteed to be flushed until application exit and final ADIOS deconstruction.

void vtkADIOSWriter::Write ( const std::string &  path,
const vtkAbstractArray value 
) [protected]

Write a previously defined VTK data type

void vtkADIOSWriter::Write ( const std::string &  path,
const vtkDataArray value 
) [protected]

Write a previously defined VTK data type

void vtkADIOSWriter::Write ( const std::string &  path,
const vtkCellArray value 
) [protected]

Write a previously defined VTK data type

void vtkADIOSWriter::Write ( const std::string &  path,
const vtkFieldData value 
) [protected]

Write a previously defined VTK data type

void vtkADIOSWriter::Write ( const std::string &  path,
const vtkDataSet value 
) [protected]

Write a previously defined VTK data type

void vtkADIOSWriter::Write ( const std::string &  path,
const vtkImageData value 
) [protected]

Write a previously defined VTK data type

void vtkADIOSWriter::Write ( const std::string &  path,
const vtkPolyData value 
) [protected]

Write a previously defined VTK data type

void vtkADIOSWriter::Write ( const std::string &  path,
const vtkUnstructuredGrid value 
) [protected]

Write a previously defined VTK data type

int vtkADIOSWriter::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkDataObjectAlgorithm.

virtual int vtkADIOSWriter::RequestInformation ( vtkInformation request,
vtkInformationVector **  input,
vtkInformationVector output 
) [protected, virtual]

Reimplemented from vtkDataObjectAlgorithm.

This is called by the superclass. This is the method you should override.

Reimplemented from vtkDataObjectAlgorithm.

virtual int vtkADIOSWriter::RequestData ( vtkInformation request,
vtkInformationVector **  input,
vtkInformationVector output 
) [protected, virtual]

Reimplemented from vtkDataObjectAlgorithm.

bool vtkADIOSWriter::UpdateMTimeTable ( const std::string  path,
const vtkObject value 
) [protected]

Member Data Documentation

char* vtkADIOSWriter::FileName [protected]

Definition at line 180 of file vtkADIOSWriter.h.

Definition at line 181 of file vtkADIOSWriter.h.

Definition at line 182 of file vtkADIOSWriter.h.

Definition at line 183 of file vtkADIOSWriter.h.

Definition at line 184 of file vtkADIOSWriter.h.

Definition at line 185 of file vtkADIOSWriter.h.

Definition at line 186 of file vtkADIOSWriter.h.

Definition at line 188 of file vtkADIOSWriter.h.

std::vector<vtkTypeInt64> vtkADIOSWriter::BlockStepIndex [protected]

Definition at line 189 of file vtkADIOSWriter.h.

Definition at line 190 of file vtkADIOSWriter.h.

ADIOS::Writer* vtkADIOSWriter::Writer [protected]

Definition at line 191 of file vtkADIOSWriter.h.

Definition at line 192 of file vtkADIOSWriter.h.

Definition at line 212 of file vtkADIOSWriter.h.

Definition at line 213 of file vtkADIOSWriter.h.

Definition at line 214 of file vtkADIOSWriter.h.

Definition at line 215 of file vtkADIOSWriter.h.

std::vector<double> vtkADIOSWriter::TimeSteps [protected]

Definition at line 216 of file vtkADIOSWriter.h.

Definition at line 217 of file vtkADIOSWriter.h.

Definition at line 218 of file vtkADIOSWriter.h.

std::map<std::string, unsigned long> vtkADIOSWriter::LastUpdated [protected]

Definition at line 222 of file vtkADIOSWriter.h.


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