#include <vtkTemporalStreamTracer.h>
vtkTemporalStreamTracer is a filter that integrates a vector field to generate
Definition at line 87 of file vtkTemporalStreamTracer.h.
vtkTemporalStreamTracer::vtkTemporalStreamTracer | ( | ) | [protected] |
vtkTemporalStreamTracer::~vtkTemporalStreamTracer | ( | ) | [protected] |
virtual const char* vtkTemporalStreamTracer::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkStreamTracer.
static int vtkTemporalStreamTracer::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkStreamTracer.
virtual int vtkTemporalStreamTracer::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkStreamTracer.
static vtkTemporalStreamTracer* vtkTemporalStreamTracer::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkStreamTracer.
void vtkTemporalStreamTracer::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkStreamTracer.
static vtkTemporalStreamTracer* vtkTemporalStreamTracer::New | ( | ) | [static] |
Construct object using 2nd order Runge Kutta
Reimplemented from vtkStreamTracer.
virtual void vtkTemporalStreamTracer::SetTimeStep | ( | unsigned | int | ) | [virtual] |
Set/Get the TimeStep. This is the primary means of advancing the particles. The TimeStep should be animated and this will drive the pipeline forcing timesteps to be fetched from upstream.
virtual unsigned int vtkTemporalStreamTracer::GetTimeStep | ( | ) | [virtual] |
Set/Get the TimeStep. This is the primary means of advancing the particles. The TimeStep should be animated and this will drive the pipeline forcing timesteps to be fetched from upstream.
virtual void vtkTemporalStreamTracer::SetIgnorePipelineTime | ( | int | ) | [virtual] |
To get around problems with the Paraview Animation controls we can just animate the time step and ignore the TIME_ requests
virtual int vtkTemporalStreamTracer::GetIgnorePipelineTime | ( | ) | [virtual] |
To get around problems with the Paraview Animation controls we can just animate the time step and ignore the TIME_ requests
virtual void vtkTemporalStreamTracer::IgnorePipelineTimeOn | ( | ) | [virtual] |
To get around problems with the Paraview Animation controls we can just animate the time step and ignore the TIME_ requests
virtual void vtkTemporalStreamTracer::IgnorePipelineTimeOff | ( | ) | [virtual] |
To get around problems with the Paraview Animation controls we can just animate the time step and ignore the TIME_ requests
virtual void vtkTemporalStreamTracer::SetTimeStepResolution | ( | double | ) | [virtual] |
If the data source does not have the correct time values present on each time step - setting this value to non unity can be used to adjust the time step size from 1s pre step to 1x_TimeStepResolution : Not functional in this version. Broke it
virtual double vtkTemporalStreamTracer::GetTimeStepResolution | ( | ) | [virtual] |
If the data source does not have the correct time values present on each time step - setting this value to non unity can be used to adjust the time step size from 1s pre step to 1x_TimeStepResolution : Not functional in this version. Broke it
virtual void vtkTemporalStreamTracer::SetForceReinjectionEveryNSteps | ( | int | ) | [virtual] |
When animating particles, it is nice to inject new ones every Nth step to produce a continuous flow. Setting ForceReinjectionEveryNSteps to a non zero value will cause the particle source to reinject particles every Nth step even if it is otherwise unchanged. Note that if the particle source is also animated, this flag will be redundant as the particles will be reinjected whenever the source changes anyway
virtual int vtkTemporalStreamTracer::GetForceReinjectionEveryNSteps | ( | ) | [virtual] |
When animating particles, it is nice to inject new ones every Nth step to produce a continuous flow. Setting ForceReinjectionEveryNSteps to a non zero value will cause the particle source to reinject particles every Nth step even if it is otherwise unchanged. Note that if the particle source is also animated, this flag will be redundant as the particles will be reinjected whenever the source changes anyway
virtual void vtkTemporalStreamTracer::SetTerminationTime | ( | double | ) | [virtual] |
Setting TerminationTime to a positive value will cause particles to terminate when the time is reached. Use a vlue of zero to diable termination. The units of time should be consistent with the primary time variable.
virtual double vtkTemporalStreamTracer::GetTerminationTime | ( | ) | [virtual] |
Setting TerminationTime to a positive value will cause particles to terminate when the time is reached. Use a vlue of zero to diable termination. The units of time should be consistent with the primary time variable.
virtual void vtkTemporalStreamTracer::SetTerminationTimeUnit | ( | int | ) | [virtual] |
The units of TerminationTime may be actual 'Time' units as described by the data, or just TimeSteps of iteration.
virtual int vtkTemporalStreamTracer::GetTerminationTimeUnit | ( | ) | [virtual] |
The units of TerminationTime may be actual 'Time' units as described by the data, or just TimeSteps of iteration.
void vtkTemporalStreamTracer::SetTerminationTimeUnitToTimeUnit | ( | ) | [inline] |
The units of TerminationTime may be actual 'Time' units as described by the data, or just TimeSteps of iteration.
Definition at line 157 of file vtkTemporalStreamTracer.h.
void vtkTemporalStreamTracer::SetTerminationTimeUnitToStepUnit | ( | ) | [inline] |
The units of TerminationTime may be actual 'Time' units as described by the data, or just TimeSteps of iteration.
Definition at line 159 of file vtkTemporalStreamTracer.h.
virtual void vtkTemporalStreamTracer::SetStaticSeeds | ( | int | ) | [virtual] |
if StaticSeeds is set and the mesh is static, then every time particles are injected we can re-use the same injection information. We classify particles according to processor just once before start. If StaticSeeds is set and a moving seed source is specified the motion will be ignored and results will not be as expected.
virtual int vtkTemporalStreamTracer::GetStaticSeeds | ( | ) | [virtual] |
if StaticSeeds is set and the mesh is static, then every time particles are injected we can re-use the same injection information. We classify particles according to processor just once before start. If StaticSeeds is set and a moving seed source is specified the motion will be ignored and results will not be as expected.
virtual void vtkTemporalStreamTracer::StaticSeedsOn | ( | ) | [virtual] |
if StaticSeeds is set and the mesh is static, then every time particles are injected we can re-use the same injection information. We classify particles according to processor just once before start. If StaticSeeds is set and a moving seed source is specified the motion will be ignored and results will not be as expected.
virtual void vtkTemporalStreamTracer::StaticSeedsOff | ( | ) | [virtual] |
if StaticSeeds is set and the mesh is static, then every time particles are injected we can re-use the same injection information. We classify particles according to processor just once before start. If StaticSeeds is set and a moving seed source is specified the motion will be ignored and results will not be as expected.
virtual void vtkTemporalStreamTracer::SetStaticMesh | ( | int | ) | [virtual] |
if StaticMesh is set, many optimizations for cell caching can be assumed. if StaticMesh is not set, the algorithm will attempt to find out if optimizations can be used, but setting it to true will force all optimizations. Do not Set StaticMesh to true if a dynamic mesh is being used as this will invalidate all results.
virtual int vtkTemporalStreamTracer::GetStaticMesh | ( | ) | [virtual] |
if StaticMesh is set, many optimizations for cell caching can be assumed. if StaticMesh is not set, the algorithm will attempt to find out if optimizations can be used, but setting it to true will force all optimizations. Do not Set StaticMesh to true if a dynamic mesh is being used as this will invalidate all results.
virtual void vtkTemporalStreamTracer::StaticMeshOn | ( | ) | [virtual] |
if StaticMesh is set, many optimizations for cell caching can be assumed. if StaticMesh is not set, the algorithm will attempt to find out if optimizations can be used, but setting it to true will force all optimizations. Do not Set StaticMesh to true if a dynamic mesh is being used as this will invalidate all results.
virtual void vtkTemporalStreamTracer::StaticMeshOff | ( | ) | [virtual] |
if StaticMesh is set, many optimizations for cell caching can be assumed. if StaticMesh is not set, the algorithm will attempt to find out if optimizations can be used, but setting it to true will force all optimizations. Do not Set StaticMesh to true if a dynamic mesh is being used as this will invalidate all results.
virtual void vtkTemporalStreamTracer::SetController | ( | vtkMultiProcessController * | controller | ) | [virtual] |
Set/Get the controller used when sending particles between processes The controller must be an instance of vtkMPIController. If VTK was compiled without VTK_USE_MPI on, then the Controller is simply ignored.
virtual vtkMultiProcessController* vtkTemporalStreamTracer::GetController | ( | ) | [virtual] |
Set/Get the controller used when sending particles between processes The controller must be an instance of vtkMPIController. If VTK was compiled without VTK_USE_MPI on, then the Controller is simply ignored.
virtual void vtkTemporalStreamTracer::SetParticleWriter | ( | vtkAbstractParticleWriter * | pw | ) | [virtual] |
Set/Get the Writer associated with this Particle Tracer Ideally a parallel IO capable vtkH5PartWriter should be used which will collect particles from all parallel processes and write them to a single HDF5 file.
virtual vtkAbstractParticleWriter* vtkTemporalStreamTracer::GetParticleWriter | ( | ) | [virtual] |
Set/Get the Writer associated with this Particle Tracer Ideally a parallel IO capable vtkH5PartWriter should be used which will collect particles from all parallel processes and write them to a single HDF5 file.
virtual void vtkTemporalStreamTracer::SetParticleFileName | ( | const char * | ) | [virtual] |
Set/Get the filename to be used with the particle writer when dumping particles to disk
virtual char* vtkTemporalStreamTracer::GetParticleFileName | ( | ) | [virtual] |
Set/Get the filename to be used with the particle writer when dumping particles to disk
virtual void vtkTemporalStreamTracer::SetEnableParticleWriting | ( | int | ) | [virtual] |
Set/Get the filename to be used with the particle writer when dumping particles to disk
virtual int vtkTemporalStreamTracer::GetEnableParticleWriting | ( | ) | [virtual] |
Set/Get the filename to be used with the particle writer when dumping particles to disk
virtual void vtkTemporalStreamTracer::EnableParticleWritingOn | ( | ) | [virtual] |
Set/Get the filename to be used with the particle writer when dumping particles to disk
virtual void vtkTemporalStreamTracer::EnableParticleWritingOff | ( | ) | [virtual] |
Set/Get the filename to be used with the particle writer when dumping particles to disk
void vtkTemporalStreamTracer::AddSourceConnection | ( | vtkAlgorithmOutput * | input | ) |
Provide support for multiple see sources
void vtkTemporalStreamTracer::RemoveAllSources | ( | ) |
Provide support for multiple see sources
virtual int vtkTemporalStreamTracer::FillInputPortInformation | ( | int | port, | |
vtkInformation * | info | |||
) | [protected, virtual] |
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkStreamTracer.
virtual int vtkTemporalStreamTracer::ProcessRequest | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
see vtkAlgorithm for details
Reimplemented from vtkPolyDataAlgorithm.
virtual int vtkTemporalStreamTracer::RequestInformation | ( | vtkInformation * | request, | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector | |||
) | [protected, virtual] |
Reimplemented from vtkPolyDataAlgorithm.
virtual int vtkTemporalStreamTracer::RequestUpdateExtent | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkPolyDataAlgorithm.
virtual int vtkTemporalStreamTracer::RequestData | ( | vtkInformation * | request, | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector | |||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkStreamTracer.
int vtkTemporalStreamTracer::InitializeInterpolator | ( | ) | [protected] |
int vtkTemporalStreamTracer::AddTemporalInput | ( | vtkTemporalDataSet * | td | ) | [protected] |
void vtkTemporalStreamTracer::TestParticles | ( | vtkTemporalStreamTracerNamespace::ParticleVector & | candidates, | |
vtkTemporalStreamTracerNamespace::ParticleVector & | passed, | |||
int & | count | |||
) | [protected] |
inside our data. Add good ones to passed list and set count to the number that passed
void vtkTemporalStreamTracer::AssignSeedsToProcessors | ( | vtkDataSet * | source, | |
int | sourceID, | |||
int | ptId, | |||
vtkTemporalStreamTracerNamespace::ParticleVector & | LocalSeedPoints, | |||
int & | LocalAssignedCount | |||
) | [protected] |
all the injection/seed points according to which processor they belong to. This saves us retesting at every injection time providing 1) The volumes are static, 2) the seed points are static If either are non static, then this step is skipped.
void vtkTemporalStreamTracer::AssignUniqueIds | ( | vtkTemporalStreamTracerNamespace::ParticleVector & | LocalSeedPoints | ) | [protected] |
give each one a uniqu ID. We need to use MPI to find out who is using which numbers.
void vtkTemporalStreamTracer::UpdateParticleList | ( | vtkTemporalStreamTracerNamespace::ParticleVector & | candidates | ) | [protected] |
and sending between processors, into a list, which is used as the master list on this processor
void vtkTemporalStreamTracer::TransmitReceiveParticles | ( | vtkTemporalStreamTracerNamespace::ParticleVector & | outofdomain, | |
vtkTemporalStreamTracerNamespace::ParticleVector & | received, | |||
bool | removeself | |||
) | [protected] |
this is used during classification of seed points and also between iterations of the main loop as particles leave each processor domain
void vtkTemporalStreamTracer::IntegrateParticle | ( | vtkTemporalStreamTracerNamespace::ParticleListIterator & | it, | |
double | currenttime, | |||
double | terminationtime, | |||
vtkInitialValueProblemSolver * | integrator | |||
) | [protected] |
particle between the two times supplied.
bool vtkTemporalStreamTracer::RetryWithPush | ( | vtkTemporalStreamTracerNamespace::ParticleInformation & | info, | |
double | velocity[3], | |||
double | delT | |||
) | [protected] |
and sent to the other processors for possible continuation. These routines manage the collection and sending after each main iteration. RetryWithPush adds a small pusj to aparticle along it's current velocity vector, this helps get over cracks in dynamic/rotating meshes
bool vtkTemporalStreamTracer::SendParticleToAnotherProcess | ( | vtkTemporalStreamTracerNamespace::ParticleInformation & | info, | |
double | point1[4], | |||
double | delT | |||
) | [protected] |
void vtkTemporalStreamTracer::AddParticleToMPISendList | ( | vtkTemporalStreamTracerNamespace::ParticleInformation & | info | ) | [protected] |
bool vtkTemporalStreamTracer::ComputeDomainExitLocation | ( | double | pos[4], | |
double | p2[4], | |||
double | intersection[4], | |||
vtkGenericCell * | cell | |||
) | [protected] |
In dnamic meshes, particles might leave the domain and need to be extrapolated across a gap between the meshes before they re-renter another domain dodgy rotating meshes need special care....
bool vtkTemporalStreamTracer::InsideBounds | ( | double | point[] | ) | [protected] |
int vtkTemporalStreamTracer::UpdatePiece [protected] |
Definition at line 360 of file vtkTemporalStreamTracer.h.
int vtkTemporalStreamTracer::UpdateNumPieces [protected] |
Definition at line 361 of file vtkTemporalStreamTracer.h.
int vtkTemporalStreamTracer::AllFixedGeometry [protected] |
Definition at line 364 of file vtkTemporalStreamTracer.h.
int vtkTemporalStreamTracer::StaticMesh [protected] |
Definition at line 365 of file vtkTemporalStreamTracer.h.
int vtkTemporalStreamTracer::StaticSeeds [protected] |
Definition at line 366 of file vtkTemporalStreamTracer.h.
unsigned int vtkTemporalStreamTracer::TimeStep [protected] |
Definition at line 369 of file vtkTemporalStreamTracer.h.
unsigned int vtkTemporalStreamTracer::ActualTimeStep [protected] |
Definition at line 370 of file vtkTemporalStreamTracer.h.
int vtkTemporalStreamTracer::IgnorePipelineTime [protected] |
Definition at line 371 of file vtkTemporalStreamTracer.h.
unsigned int vtkTemporalStreamTracer::NumberOfInputTimeSteps [protected] |
Definition at line 372 of file vtkTemporalStreamTracer.h.
vtkstd::vector<double> vtkTemporalStreamTracer::InputTimeValues [protected] |
Definition at line 374 of file vtkTemporalStreamTracer.h.
vtkstd::vector<double> vtkTemporalStreamTracer::OutputTimeValues [protected] |
Definition at line 375 of file vtkTemporalStreamTracer.h.
double vtkTemporalStreamTracer::EarliestTime [protected] |
Definition at line 379 of file vtkTemporalStreamTracer.h.
double vtkTemporalStreamTracer::CurrentTimeSteps[2] [protected] |
Definition at line 380 of file vtkTemporalStreamTracer.h.
double vtkTemporalStreamTracer::TimeStepResolution [protected] |
Definition at line 381 of file vtkTemporalStreamTracer.h.
double vtkTemporalStreamTracer::TerminationTime [protected] |
Definition at line 384 of file vtkTemporalStreamTracer.h.
int vtkTemporalStreamTracer::TerminationTimeUnit [protected] |
Definition at line 385 of file vtkTemporalStreamTracer.h.
int vtkTemporalStreamTracer::ForceReinjectionEveryNSteps [protected] |
Definition at line 388 of file vtkTemporalStreamTracer.h.
bool vtkTemporalStreamTracer::ReinjectionFlag [protected] |
Definition at line 389 of file vtkTemporalStreamTracer.h.
int vtkTemporalStreamTracer::ReinjectionCounter [protected] |
Definition at line 390 of file vtkTemporalStreamTracer.h.
Definition at line 391 of file vtkTemporalStreamTracer.h.
Definition at line 394 of file vtkTemporalStreamTracer.h.
char* vtkTemporalStreamTracer::ParticleFileName [protected] |
Definition at line 395 of file vtkTemporalStreamTracer.h.
int vtkTemporalStreamTracer::EnableParticleWriting [protected] |
Definition at line 396 of file vtkTemporalStreamTracer.h.
unsigned int vtkTemporalStreamTracer::NumberOfParticles [protected] |
Definition at line 400 of file vtkTemporalStreamTracer.h.
vtkTemporalStreamTracerNamespace::ParticleDataList vtkTemporalStreamTracer::ParticleHistories [protected] |
Definition at line 401 of file vtkTemporalStreamTracer.h.
Definition at line 402 of file vtkTemporalStreamTracer.h.
Definition at line 409 of file vtkTemporalStreamTracer.h.
Definition at line 410 of file vtkTemporalStreamTracer.h.
Definition at line 411 of file vtkTemporalStreamTracer.h.
Definition at line 412 of file vtkTemporalStreamTracer.h.
Definition at line 413 of file vtkTemporalStreamTracer.h.
vtkSmartPointer<vtkIntArray> vtkTemporalStreamTracer::ErrorCode [protected] |
The error code contains a possible error that occured while reading or writing the file.
Reimplemented from vtkAlgorithm.
Definition at line 414 of file vtkTemporalStreamTracer.h.
Definition at line 415 of file vtkTemporalStreamTracer.h.
Definition at line 416 of file vtkTemporalStreamTracer.h.
Definition at line 417 of file vtkTemporalStreamTracer.h.
Definition at line 418 of file vtkTemporalStreamTracer.h.
Definition at line 419 of file vtkTemporalStreamTracer.h.
int vtkTemporalStreamTracer::InterpolationCount [protected] |
Definition at line 420 of file vtkTemporalStreamTracer.h.
Definition at line 423 of file vtkTemporalStreamTracer.h.
Definition at line 424 of file vtkTemporalStreamTracer.h.
Definition at line 427 of file vtkTemporalStreamTracer.h.
vtkSmartPointer<vtkTemporalInterpolatedVelocityField> vtkTemporalStreamTracer::Interpolator [protected] |
Definition at line 430 of file vtkTemporalStreamTracer.h.
vtkSmartPointer<vtkMultiBlockDataSet> vtkTemporalStreamTracer::InputDataT[2] [protected] |
Definition at line 433 of file vtkTemporalStreamTracer.h.
vtkSmartPointer<vtkDataSet> vtkTemporalStreamTracer::DataReferenceT[2] [protected] |
Definition at line 434 of file vtkTemporalStreamTracer.h.
vtkstd::vector<bounds> vtkTemporalStreamTracer::CachedBounds[2] [protected] |
Definition at line 440 of file vtkTemporalStreamTracer.h.
Definition at line 448 of file vtkTemporalStreamTracer.h.
vtkIdType vtkTemporalStreamTracer::UniqueIdCounter [protected] |
Definition at line 451 of file vtkTemporalStreamTracer.h.
vtkIdType vtkTemporalStreamTracer::UniqueIdCounterMPI [protected] |
Definition at line 452 of file vtkTemporalStreamTracer.h.
int vtkTemporalStreamTracer::substeps [protected] |
Definition at line 454 of file vtkTemporalStreamTracer.h.