37 #ifndef vtkPLagrangianParticleTracker_h 38 #define vtkPLagrangianParticleTracker_h 40 #include "vtkFiltersParallelFlowPathsModule.h" 44 class MasterFlagManager;
45 class ParticleStreamManager;
46 class RankFlagManager;
68 int nVar, std::queue<vtkLagrangianParticle*>& particles)
override;
84 virtual void GetParticleFeed(std::queue<vtkLagrangianParticle*>& particleQueue)
override;
86 std::queue<vtkLagrangianParticle*>& particleQueue,
vtkPolyData* particlePathsOutput,
94 void ReceiveParticles(std::queue<vtkLagrangianParticle*>& particleQueue);
ParticleStreamManager * StreamManager
represent and manipulate point attribute data
static vtkLagrangianParticleTracker * New()
virtual bool FinalizeOutputs(vtkPolyData *particlePathsOutput, vtkDataObject *interactionOutput)
parallel Lagrangian particle tracker
vtkNew< vtkMultiBlockDataSet > TmpSurfaceInputMB
abstract class to specify dataset behavior
RankFlagManager * RFlagManager
virtual int Integrate(vtkInitialValueProblemSolver *integrator, vtkLagrangianParticle *, std::queue< vtkLagrangianParticle *> &, vtkPolyData *particlePathsOutput, vtkPolyLine *particlePath, vtkDataObject *interactionOutput)
This method is thread safe.
concrete dataset represents vertices, lines, polygons, and triangle strips
virtual void GetParticleFeed(std::queue< vtkLagrangianParticle *> &particleQueue)
std::mutex StreamManagerMutex
vtkNew< vtkUnstructuredGrid > TmpSurfaceInput
a simple class to control print indentation
dataset represents arbitrary combinations of all possible cell types
abstract superclass for arrays of numeric data
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Process communication using MPI.
Basis class for Lagrangian particles.
virtual bool UpdateSurfaceCacheIfNeeded(vtkDataObject *&surfaces)
virtual void GenerateParticles(const vtkBoundingBox *bounds, vtkDataSet *seeds, vtkDataArray *initialVelocities, vtkDataArray *initialIntegrationTimes, vtkPointData *seedData, int nVar, std::queue< vtkLagrangianParticle *> &particles)
MasterFlagManager * MFlagManager
Composite dataset that organizes datasets into blocks.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual vtkIdType GetNewParticleId()
Get an unique id for a particle This method is thread safe.
general representation of visualization data
Filter to inject and track particles in a flow.
cell represents a set of 1D lines
Fast, simple class for dealing with 3D bounds.
Integrate a set of ordinary differential equations (initial value problem) in time.
vtkMPIController * Controller