 |
VTK
9.0.1
|
Go to the documentation of this file.
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,
vtkMPIController * Controller
Filter to inject and track particles in a flow.
ParticleStreamManager * StreamManager
represent and manipulate point attribute data
vtkNew< vtkMultiBlockDataSet > TmpSurfaceInputMB
static vtkPLagrangianParticleTracker * New()
RankFlagManager * RFlagManager
virtual void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPLagrangianParticleTracker()
std::mutex StreamManagerMutex
bool UpdateSurfaceCacheIfNeeded(vtkDataObject *&surfaces) override
abstract superclass for arrays of numeric data
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
Composite dataset that organizes datasets into blocks.
vtkNew< vtkUnstructuredGrid > TmpSurfaceInput
Fast, simple class for dealing with 3D bounds.
cell represents a set of 1D lines
~vtkPLagrangianParticleTracker() override
a simple class to control print indentation
parallel Lagrangian particle tracker
Basis class for Lagrangian particles.
void SendParticle(vtkLagrangianParticle *particle)
Non threadsafe methods to send and receive particles.
bool FinalizeOutputs(vtkPolyData *particlePathsOutput, vtkDataObject *interactionOutput) override
abstract class to specify dataset behavior
MasterFlagManager * MFlagManager
virtual 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...
void GenerateParticles(const vtkBoundingBox *bounds, vtkDataSet *seeds, vtkDataArray *initialVelocities, vtkDataArray *initialIntegrationTimes, vtkPointData *seedData, int nVar, std::queue< vtkLagrangianParticle * > &particles) override
void ReceiveParticles(std::queue< vtkLagrangianParticle * > &particleQueue)
concrete dataset represents vertices, lines, polygons, and triangle strips
dataset represents arbitrary combinations of all possible cell types
virtual vtkIdType GetNewParticleId() override
Get an unique id for a particle This method is thread safe.
Integrate a set of ordinary differential equations (initial value problem) in time.
Process communication using MPI.
general representation of visualization data
virtual int Integrate(vtkInitialValueProblemSolver *integrator, vtkLagrangianParticle *, std::queue< vtkLagrangianParticle * > &particleQueue, vtkPolyData *particlePathsOutput, vtkPolyLine *particlePath, vtkDataObject *interactionOutput) override
This method is thread safe.