VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkParticleTracer Class Reference

A Parallel Particle tracer for unsteady vector fields. More...

#include <vtkParticleTracer.h>

Inheritance diagram for vtkParticleTracer:
[legend]
Collaboration diagram for vtkParticleTracer:
[legend]

Public Types

typedef vtkParticleTracerBase Superclass
 
- Public Types inherited from vtkParticleTracerBase
enum  Solvers {
  RUNGE_KUTTA2, RUNGE_KUTTA4, RUNGE_KUTTA45, NONE,
  UNKNOWN
}
 
typedef vtkPolyDataAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkParticleTracerNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
- Public Member Functions inherited from vtkParticleTracerBase
vtkParticleTracerBaseNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void PrintParticleHistories ()
 
void SetIntegrator (vtkInitialValueProblemSolver *)
 
virtual
vtkInitialValueProblemSolver * 
GetIntegrator ()
 
void SetIntegratorType (int type)
 
int GetIntegratorType ()
 
virtual bool GetComputeVorticity ()
 
void SetComputeVorticity (bool)
 
virtual double GetTerminalSpeed ()
 
void SetTerminalSpeed (double)
 
void SetRotationScale (double)
 
virtual double GetRotationScale ()
 
virtual void SetIgnorePipelineTime (int)
 
virtual int GetIgnorePipelineTime ()
 
virtual void IgnorePipelineTimeOn ()
 
virtual void IgnorePipelineTimeOff ()
 
void SetForceReinjectionEveryNSteps (int)
 
virtual int GetForceReinjectionEveryNSteps ()
 
void SetTerminationTime (double t)
 
virtual double GetTerminationTime ()
 
void SetStartTime (double t)
 
virtual double GetStartTime ()
 
virtual int GetStaticSeeds ()
 
virtual int GetStaticMesh ()
 
virtual void SetParticleWriter (vtkAbstractParticleWriter *pw)
 
virtual vtkAbstractParticleWriter * GetParticleWriter ()
 
virtual void SetParticleFileName (const char *)
 
virtual char * GetParticleFileName ()
 
virtual void SetEnableParticleWriting (int)
 
virtual int GetEnableParticleWriting ()
 
virtual void EnableParticleWritingOn ()
 
virtual void EnableParticleWritingOff ()
 
virtual void SetDisableResetCache (int)
 
virtual int GetDisableResetCache ()
 
virtual void DisableResetCacheOn ()
 
virtual void DisableResetCacheOff ()
 
void AddSourceConnection (vtkAlgorithmOutput *input)
 
void RemoveAllSources ()
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkParticleTracerSafeDownCast (vtkObjectBase *o)
 
static vtkParticleTracerNew ()
 
- Static Public Member Functions inherited from vtkParticleTracerBase
static int IsTypeOf (const char *type)
 
static vtkParticleTracerBaseSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkParticleTracer ()
 
virtual ~vtkParticleTracer ()
 
 vtkParticleTracer (const vtkParticleTracer &)
 
void operator= (const vtkParticleTracer &)
 
virtual int OutputParticles (vtkPolyData *poly)
 
- Protected Member Functions inherited from vtkParticleTracerBase
 vtkParticleTracerBase ()
 
virtual ~vtkParticleTracerBase ()
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 
virtual int ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
virtual int RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
virtual int RequestUpdateExtent (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
virtual int ProcessInput (vtkInformationVector **inputVector)
 
virtual vtkPolyData * Execute (vtkInformationVector **inputVector)
 
virtual void Initialize ()
 
virtual void Finalize ()
 
int InitializeInterpolator ()
 
int UpdateDataCache (vtkDataObject *td)
 
void TestParticles (vtkParticleTracerBaseNamespace::ParticleVector &candidates, std::vector< int > &passed)
 
virtual void UpdateParticleListFromOtherProcesses ()
 
virtual bool SendParticleToAnotherProcess (vtkParticleTracerBaseNamespace::ParticleInformation &, vtkParticleTracerBaseNamespace::ParticleInformation &, vtkPointData *)
 
void CreateProtoPD (vtkDataObject *input)
 
vtkFloatArray * GetParticleAge (vtkPointData *)
 
vtkIntArray * GetParticleIds (vtkPointData *)
 
vtkCharArray * GetParticleSourceIds (vtkPointData *)
 
vtkIntArray * GetInjectedPointIds (vtkPointData *)
 
vtkIntArray * GetInjectedStepIds (vtkPointData *)
 
vtkIntArray * GetErrorCodeArr (vtkPointData *)
 
vtkFloatArray * GetParticleVorticity (vtkPointData *)
 
vtkFloatArray * GetParticleRotation (vtkPointData *)
 
vtkFloatArray * GetParticleAngularVel (vtkPointData *)
 
bool InsideBounds (double point[])
 
void CalculateVorticity (vtkGenericCell *cell, double pcoords[3], vtkDoubleArray *cellVectors, double vorticity[3])
 
double GetCacheDataTime (int i)
 
double GetCacheDataTime ()
 
virtual void ResetCache ()
 
void AddParticle (vtkParticleTracerBaseNamespace::ParticleInformation &info, double *velocity)
 
void TestParticles (vtkParticleTracerBaseNamespace::ParticleVector &candidates, vtkParticleTracerBaseNamespace::ParticleVector &passed, int &count)
 
virtual void AssignSeedsToProcessors (double time, vtkDataSet *source, int sourceID, int ptId, vtkParticleTracerBaseNamespace::ParticleVector &LocalSeedPoints, int &LocalAssignedCount)
 
virtual void AssignUniqueIds (vtkParticleTracerBaseNamespace::ParticleVector &LocalSeedPoints)
 
void UpdateParticleList (vtkParticleTracerBaseNamespace::ParticleVector &candidates)
 
void IntegrateParticle (vtkParticleTracerBaseNamespace::ParticleListIterator &it, double currenttime, double terminationtime, vtkInitialValueProblemSolver *integrator)
 
bool ComputeDomainExitLocation (double pos[4], double p2[4], double intersection[4], vtkGenericCell *cell)
 
virtual bool IsPointDataValid (vtkDataObject *input)
 
bool IsPointDataValid (vtkCompositeDataSet *input, std::vector< std::string > &arrayNames)
 
void GetPointDataArrayNames (vtkDataSet *input, std::vector< std::string > &names)
 

Additional Inherited Members

- Protected Attributes inherited from vtkParticleTracerBase
vtkSmartPointer< vtkPolyData > Output
 
vtkSmartPointer< vtkPointData > ProtoPD
 
vtkIdType UniqueIdCounter
 
vtkParticleTracerBaseNamespace::ParticleDataList ParticleHistories
 
vtkSmartPointer< vtkPointData > ParticlePointData
 
int ReinjectionCounter
 
int IgnorePipelineTime
 
int DisableResetCache
 

Detailed Description

A Parallel Particle tracer for unsteady vector fields.

vtkParticleTracer is a filter that integrates a vector field to advect particles

See Also
vtkParticleTracerBase has the details of the algorithms
Tests:
vtkParticleTracer (Tests)

Definition at line 35 of file vtkParticleTracer.h.

Member Typedef Documentation

Definition at line 38 of file vtkParticleTracer.h.

Constructor & Destructor Documentation

vtkParticleTracer::vtkParticleTracer ( )
protected
virtual vtkParticleTracer::~vtkParticleTracer ( )
inlineprotectedvirtual

Definition at line 45 of file vtkParticleTracer.h.

vtkParticleTracer::vtkParticleTracer ( const vtkParticleTracer )
protected

Member Function Documentation

static int vtkParticleTracer::IsTypeOf ( const char *  type)
static
virtual int vtkParticleTracer::IsA ( const char *  type)
virtual

Reimplemented from vtkParticleTracerBase.

static vtkParticleTracer* vtkParticleTracer::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkParticleTracer::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkParticleTracerBase.

vtkParticleTracer* vtkParticleTracer::NewInstance ( ) const
void vtkParticleTracer::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
static vtkParticleTracer* vtkParticleTracer::New ( )
static
void vtkParticleTracer::operator= ( const vtkParticleTracer )
protected
virtual int vtkParticleTracer::OutputParticles ( vtkPolyData *  poly)
protectedvirtual

Implements vtkParticleTracerBase.


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