26 #ifndef __vtkTemporalStreamTracer_h
27 #define __vtkTemporalStreamTracer_h
29 #include "vtkFiltersTracersModule.h"
55 namespace vtkTemporalStreamTracerNamespace
61 int CachedDataSetId[2];
101 vtkSetMacro(TimeStep,
unsigned int);
102 vtkGetMacro(TimeStep,
unsigned int);
108 vtkSetMacro(IgnorePipelineTime,
int);
109 vtkGetMacro(IgnorePipelineTime,
int);
110 vtkBooleanMacro(IgnorePipelineTime,
int);
119 vtkSetMacro(TimeStepResolution,
double);
120 vtkGetMacro(TimeStepResolution,
double);
131 vtkSetMacro(ForceReinjectionEveryNSteps,
int);
132 vtkGetMacro(ForceReinjectionEveryNSteps,
int);
139 TERMINATION_STEP_UNIT
148 vtkSetMacro(TerminationTime,
double);
149 vtkGetMacro(TerminationTime,
double);
155 vtkSetMacro(TerminationTimeUnit,
int);
156 vtkGetMacro(TerminationTimeUnit,
int);
157 void SetTerminationTimeUnitToTimeUnit()
158 {this->SetTerminationTimeUnit(TERMINATION_TIME_UNIT);};
159 void SetTerminationTimeUnitToStepUnit()
160 {this->SetTerminationTimeUnit(TERMINATION_STEP_UNIT);};
170 vtkSetMacro(StaticSeeds,
int);
171 vtkGetMacro(StaticSeeds,
int);
172 vtkBooleanMacro(StaticSeeds,
int);
181 vtkSetMacro(StaticMesh,
int);
182 vtkGetMacro(StaticMesh,
int);
183 vtkBooleanMacro(StaticMesh,
int);
198 vtkSetStringMacro(ParticleFileName);
205 vtkSetMacro(EnableParticleWriting,
int);
206 vtkGetMacro(EnableParticleWriting,
int);
207 vtkBooleanMacro(EnableParticleWriting,
int);
213 void RemoveAllSources();
266 int InitializeInterpolator();
286 virtual void AssignSeedsToProcessors(
289 int &LocalAssignedCount);
295 virtual void AssignUniqueIds(
302 void UpdateParticleList(
310 virtual void TransmitReceiveParticles(
318 void IntegrateParticle(
320 double currenttime,
double terminationtime,
332 double velocity[3],
double delT);
337 bool SendParticleToAnotherProcess(
339 double point1[4],
double delT);
341 void AddParticleToMPISendList(
348 bool ComputeDomainExitLocation(
349 double pos[4],
double p2[4],
double intersection[4],
380 double CurrentTimeSteps[2];
440 std::vector<bounds> CachedBounds[2];
443 bool InsideBounds(
double point[]);