ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkCPTestDriver Class Reference

Class for creating a co-processor test driver. More...

#include <vtkCPTestDriver.h>

Inheritance diagram for vtkCPTestDriver:
Inheritance graph
[legend]

Public Types

typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual int Run ()
 Run the test driver. More...
 
virtual double GetTime (unsigned long timeStep)
 Given a TimeStep, return the simulation time corresponding to that time step. More...
 
virtual void SetNumberOfTimeSteps (unsigned long)
 Set/get NumberOfTimeSteps. More...
 
virtual unsigned long GetNumberOfTimeSteps ()
 Set/get NumberOfTimeSteps. More...
 
void SetGridBuilder (vtkCPBaseGridBuilder *gridBuilder)
 Set/get GridBuilder. More...
 
vtkCPBaseGridBuilderGetGridBuilder ()
 Set/get GridBuilder. More...
 
virtual void SetStartTime (double)
 Set/get the start and end times of the simulation. More...
 
virtual double GetStartTime ()
 Set/get the start and end times of the simulation. More...
 
virtual void SetEndTime (double)
 Set/get the start and end times of the simulation. More...
 
virtual double GetEndTime ()
 Set/get the start and end times of the simulation. More...
 

Static Public Member Functions

static vtkCPTestDriverNew ()
 
static int IsTypeOf (const char *type)
 
static vtkCPTestDriverSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkCPTestDriver ()
 
 ~vtkCPTestDriver ()
 

Detailed Description

Class for creating a co-processor test driver.

Class for creating a co-processor test driver. It is intended as a framework for creating custom inputs replicating a simulation for the co-processing library.

Definition at line 32 of file vtkCPTestDriver.h.

Member Typedef Documentation

§ Superclass

typedef vtkObject vtkCPTestDriver::Superclass

Definition at line 36 of file vtkCPTestDriver.h.

Constructor & Destructor Documentation

§ vtkCPTestDriver()

vtkCPTestDriver::vtkCPTestDriver ( )
protected

§ ~vtkCPTestDriver()

vtkCPTestDriver::~vtkCPTestDriver ( )
protected

Member Function Documentation

§ New()

static vtkCPTestDriver* vtkCPTestDriver::New ( )
static

§ GetClassName()

virtual const char* vtkCPTestDriver::GetClassName ( )
virtual

Reimplemented in vtkPVCustomTestDriver.

§ IsTypeOf()

static int vtkCPTestDriver::IsTypeOf ( const char *  type)
static

§ IsA()

virtual int vtkCPTestDriver::IsA ( const char *  type)
virtual

Reimplemented in vtkPVCustomTestDriver.

§ SafeDownCast()

static vtkCPTestDriver* vtkCPTestDriver::SafeDownCast ( vtkObject *  o)
static

§ PrintSelf()

void vtkCPTestDriver::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

§ Run()

virtual int vtkCPTestDriver::Run ( )
virtual

Run the test driver.

Returns 0 if there were no errors.

Reimplemented in vtkPVCustomTestDriver.

§ SetNumberOfTimeSteps()

virtual void vtkCPTestDriver::SetNumberOfTimeSteps ( unsigned  long)
virtual

Set/get NumberOfTimeSteps.

§ GetNumberOfTimeSteps()

virtual unsigned long vtkCPTestDriver::GetNumberOfTimeSteps ( )
virtual

Set/get NumberOfTimeSteps.

§ GetTime()

virtual double vtkCPTestDriver::GetTime ( unsigned long  timeStep)
virtual

Given a TimeStep, return the simulation time corresponding to that time step.

This implementation has constant time steps between StartTime and EndTime.

§ SetGridBuilder()

void vtkCPTestDriver::SetGridBuilder ( vtkCPBaseGridBuilder gridBuilder)

Set/get GridBuilder.

§ GetGridBuilder()

vtkCPBaseGridBuilder* vtkCPTestDriver::GetGridBuilder ( )

Set/get GridBuilder.

§ SetStartTime()

virtual void vtkCPTestDriver::SetStartTime ( double  )
virtual

Set/get the start and end times of the simulation.

§ GetStartTime()

virtual double vtkCPTestDriver::GetStartTime ( )
virtual

Set/get the start and end times of the simulation.

§ SetEndTime()

virtual void vtkCPTestDriver::SetEndTime ( double  )
virtual

Set/get the start and end times of the simulation.

§ GetEndTime()

virtual double vtkCPTestDriver::GetEndTime ( )
virtual

Set/get the start and end times of the simulation.


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