VTK
vtkPTemporalStreamTracer.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkTemporalStreamTracer.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
27#ifndef vtkPTemporalStreamTracer_h
28#define vtkPTemporalStreamTracer_h
29
30#include "vtkFiltersParallelFlowPathsModule.h" // For export macro
31#include "vtkSmartPointer.h" // For protected ivars.
33
34#include <vector> // STL Header
35#include <list> // STL Header
36
38
40class vtkDataArray;
41class vtkDoubleArray;
42class vtkGenericCell;
43class vtkIntArray;
45class vtkPoints;
46class vtkCellArray;
47class vtkDoubleArray;
48class vtkFloatArray;
49class vtkIntArray;
50class vtkCharArray;
52
53class VTKFILTERSPARALLELFLOWPATHS_EXPORT vtkPTemporalStreamTracer : public vtkTemporalStreamTracer
54{
55public:
56
58 void PrintSelf(ostream& os, vtkIndent indent);
59
64
66
70 virtual void SetController(vtkMultiProcessController* controller);
71 vtkGetObjectMacro(Controller, vtkMultiProcessController);
73
74 protected:
75
78
79 //
80 // Generate output
81 //
82 virtual int RequestData(vtkInformation* request,
83 vtkInformationVector** inputVector,
84 vtkInformationVector* outputVector);
85
86//
87
88//
89
97 vtkDataSet *source, int sourceID, int ptId,
99 int &LocalAssignedCount);
100
105 virtual void AssignUniqueIds(
107
115 bool removeself);
116
119
120//
121
122//
123
124 // MPI controller needed when running in parallel
126
127private:
128 vtkPTemporalStreamTracer(const vtkPTemporalStreamTracer&) VTK_DELETE_FUNCTION;
129 void operator=(const vtkPTemporalStreamTracer&) VTK_DELETE_FUNCTION;
130};
131
132#endif
abstract class to write particle data to file
object to represent cell connectivity
Definition: vtkCellArray.h:51
dynamic, self-adjusting array of char
Definition: vtkCharArray.h:39
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:55
abstract class to specify dataset behavior
Definition: vtkDataSet.h:63
dynamic, self-adjusting array of double
dynamic, self-adjusting array of float
Definition: vtkFloatArray.h:42
provides thread-safe access to cells
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
dynamic, self-adjusting array of int
Definition: vtkIntArray.h:46
Composite dataset that organizes datasets into blocks.
Multiprocessing communication superclass.
vtkMultiProcessController * Controller
virtual void TransmitReceiveParticles(vtkTemporalStreamTracerNamespace::ParticleVector &outofdomain, vtkTemporalStreamTracerNamespace::ParticleVector &received, bool removeself)
this is used during classification of seed points and also between iterations of the main loop as par...
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void AssignUniqueIds(vtkTemporalStreamTracerNamespace::ParticleVector &LocalSeedPoints)
give each one a uniqu ID.
void AddParticleToMPISendList(vtkTemporalStreamTracerNamespace::ParticleInformation &info)
virtual void AssignSeedsToProcessors(vtkDataSet *source, int sourceID, int ptId, vtkTemporalStreamTracerNamespace::ParticleVector &LocalSeedPoints, int &LocalAssignedCount)
all the injection/seed points according to which processor they belong to.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
static vtkPTemporalStreamTracer * New()
Construct object using 2nd order Runge Kutta.
virtual void SetController(vtkMultiProcessController *controller)
Set/Get the controller used when sending particles between processes The controller must be an instan...
represent and manipulate 3D points
Definition: vtkPoints.h:40
A helper class for interpolating between times during particle tracing.
A Parallel Particle tracer for unsteady vector fields.
std::vector< ParticleInformation > ParticleVector
@ info
Definition: vtkX3D.h:376
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)