37#ifndef vtkPLagrangianParticleTracker_h
38#define vtkPLagrangianParticleTracker_h
40#include "vtkFiltersParallelFlowPathsModule.h"
46class ParticleFeedManager;
47class ParticleIdManager;
48class ParticleStreamManager;
69 int nVar, std::queue<vtkLagrangianParticle*>& particles)
override;
87 std::queue<vtkLagrangianParticle*>& particleQueue,
vtkPolyData* particlePathsOutput,
Fast, simple class for representing and operating on 3D bounds.
abstract superclass for arrays of numeric data
general representation of visualization data
abstract class to specify dataset behavior
a simple class to control print indentation
Integrate a set of ordinary differential equations (initial value problem) in time.
Filter to inject and track particles in a flow.
Basis class for Lagrangian particles.
Process communication using MPI.
Composite dataset that organizes datasets into blocks.
parallel Lagrangian particle tracker
ParticleStreamManager * StreamManager
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
ParticleIdManager * TransferredParticleIdManager
vtkIdType GetNewParticleId() override
Get an unique id for a particle This method is thread safe.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPLagrangianParticleTracker()
void GenerateParticles(const vtkBoundingBox *bounds, vtkDataSet *seeds, vtkDataArray *initialVelocities, vtkDataArray *initialIntegrationTimes, vtkPointData *seedData, int nVar, std::queue< vtkLagrangianParticle * > &particles) override
~vtkPLagrangianParticleTracker() override
int Integrate(vtkInitialValueProblemSolver *integrator, vtkLagrangianParticle *, std::queue< vtkLagrangianParticle * > &particleQueue, vtkPolyData *particlePathsOutput, vtkPolyLine *particlePath, vtkDataObject *interactionOutput) override
This method is thread safe.
void ReceiveTransferredParticleIds()
Non threadsafe methods to receive transferred particle ids.
ParticleFeedManager * FeedManager
void DeleteParticle(vtkLagrangianParticle *particle) override
Delete a particle if not out of domain If out of domain, it will be stored and deleted later in case ...
void GetParticleFeed(std::queue< vtkLagrangianParticle * > &particleQueue) override
Flags description : Worker flag working : the worker has at least one particle in it's queue and is c...
static vtkPLagrangianParticleTracker * New()
vtkNew< vtkUnstructuredGrid > TmpSurfaceInput
bool UpdateSurfaceCacheIfNeeded(vtkDataObject *&surfaces) override
vtkMPIController * Controller
bool FinalizeOutputs(vtkPolyData *particlePathsOutput, vtkDataObject *interactionOutput) override
std::map< vtkIdType, vtkLagrangianParticle * > OutOfDomainParticleMap
void ReceiveParticles(std::queue< vtkLagrangianParticle * > &particleQueue)
Non threadsafe methods to receive particles.
std::mutex StreamManagerMutex
vtkNew< vtkMultiBlockDataSet > TmpSurfaceInputMB
std::mutex OutOfDomainParticleMapMutex
represent and manipulate point attribute data
concrete dataset represents vertices, lines, polygons, and triangle strips
cell represents a set of 1D lines
dataset represents arbitrary combinations of all possible cell types