Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkInSituPParticlePathFilter Class Reference

An In Situ Particle tracer for unsteady vector fields. More...

#include <vtkInSituPParticlePathFilter.h>

Inheritance diagram for vtkInSituPParticlePathFilter:
Inheritance graph
[legend]
Collaboration diagram for vtkInSituPParticlePathFilter:
Collaboration graph
[legend]

Public Types

typedef vtkLegacyPParticlePathFilter Superclass
 
- Public Types inherited from vtkLegacyPParticlePathFilter
typedef vtkLegacyPParticleTracerBase Superclass
 
- Public Types inherited from vtkLegacyPParticleTracerBase
typedef vtkLegacyParticleTracerBase Superclass
 
- Public Types inherited from vtkLegacyParticleTracerBase
enum  Solvers {
  RUNGE_KUTTA2, RUNGE_KUTTA4, RUNGE_KUTTA45, NONE,
  UNKNOWN
}
 
enum  MeshOverTimeTypes { DIFFERENT = 0, STATIC = 1, LINEAR_TRANSFORMATION = 2, SAME_TOPOLOGY = 3 }
 Types of Variance of Mesh over time. More...
 
enum  { INTERPOLATOR_WITH_DATASET_POINT_LOCATOR, INTERPOLATOR_WITH_CELL_LOCATOR }
 
typedef vtkPolyDataAlgorithm Superclass
 
- Public Types inherited from vtkPolyDataAlgorithm
typedef vtkAlgorithm Superclass
 
- Public Types inherited from vtkAlgorithm
enum  DesiredOutputPrecision
 
enum  DesiredOutputPrecision
 
typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void SetClearCache (bool)
 Set whether or not to clear out cache of previous time steps. More...
 
void AddRestartConnection (vtkAlgorithmOutput *input)
 Provide support pre-pending previously computed particle paths. More...
 
void RemoveAllRestarts ()
 Provide support pre-pending previously computed particle paths. More...
 
virtual void SetRestartedSimulation (bool)
 Set/Get if the simulation has been restarted. More...
 
virtual bool GetRestartedSimulation ()
 Set/Get if the simulation has been restarted. More...
 
virtual void SetFirstTimeStep (int)
 Specify the first time step that particle paths are computed. More...
 
virtual int GetFirstTimeStep ()
 Specify the first time step that particle paths are computed. More...
 
- Public Member Functions inherited from vtkLegacyPParticlePathFilter
void PrintSelf (ostream &os, vtkIndent indent) override
 
- Public Member Functions inherited from vtkLegacyPParticleTracerBase
void PrintSelf (ostream &os, vtkIndent indent) override
 
virtual void SetController (vtkMultiProcessController *controller)
 Set/Get the controller used when sending particles between processes The controller must be an instance of vtkMPIController. More...
 
virtual vtkMultiProcessControllerGetController ()
 Set/Get the controller used when sending particles between processes The controller must be an instance of vtkMPIController. More...
 
- Public Member Functions inherited from vtkLegacyParticleTracerBase
void PrintParticleHistories ()
 
void SetIntegrator (vtkInitialValueProblemSolver *)
 
virtual vtkInitialValueProblemSolverGetIntegrator ()
 
void SetIntegratorType (int type)
 
int GetIntegratorType ()
 
void SetInterpolatorType (int interpolatorType)
 Set the type of the velocity field interpolator to determine whether INTERPOLATOR_WITH_DATASET_POINT_LOCATOR or INTERPOLATOR_WITH_CELL_LOCATOR is employed for locating cells during streamline integration. More...
 
void SetInterpolatorTypeToDataSetPointLocator ()
 Set the velocity field interpolator type to one that uses a point locator to perform local spatial searching. More...
 
void SetInterpolatorTypeToCellLocator ()
 Set the velocity field interpolator type to one that uses a cell locator to perform spatial searching. More...
 
virtual bool GetComputeVorticity ()
 Turn on/off vorticity computation at streamline points (necessary for generating proper stream-ribbons using the vtkRibbonFilter. More...
 
void SetComputeVorticity (bool)
 Turn on/off vorticity computation at streamline points (necessary for generating proper stream-ribbons using the vtkRibbonFilter. More...
 
virtual double GetTerminalSpeed ()
 Specify the terminal speed value, below which integration is terminated. More...
 
void SetTerminalSpeed (double)
 Specify the terminal speed value, below which integration is terminated. More...
 
virtual double GetRotationScale ()
 This can be used to scale the rate with which the streamribbons twist. More...
 
void SetRotationScale (double)
 This can be used to scale the rate with which the streamribbons twist. More...
 
virtual void SetIgnorePipelineTime (vtkTypeBool)
 To get around problems with the Paraview Animation controls we can just animate the time step and ignore the TIME_ requests. More...
 
virtual vtkTypeBool GetIgnorePipelineTime ()
 To get around problems with the Paraview Animation controls we can just animate the time step and ignore the TIME_ requests. More...
 
virtual void IgnorePipelineTimeOn ()
 To get around problems with the Paraview Animation controls we can just animate the time step and ignore the TIME_ requests. More...
 
virtual void IgnorePipelineTimeOff ()
 To get around problems with the Paraview Animation controls we can just animate the time step and ignore the TIME_ requests. More...
 
virtual int GetForceReinjectionEveryNSteps ()
 When animating particles, it is nice to inject new ones every Nth step to produce a continuous flow. More...
 
void SetForceReinjectionEveryNSteps (int)
 When animating particles, it is nice to inject new ones every Nth step to produce a continuous flow. More...
 
void SetTerminationTime (double t)
 Setting TerminationTime to a positive value will cause particles to terminate when the time is reached. More...
 
virtual double GetTerminationTime ()
 Setting TerminationTime to a positive value will cause particles to terminate when the time is reached. More...
 
virtual double GetStartTime ()
 Set the time value for particle tracing to begin. More...
 
void SetStartTime (double t)
 Set the time value for particle tracing to begin. More...
 
virtual void SetStaticSeeds (vtkTypeBool)
 if StaticSeeds is set and the mesh is static, then every time particles are injected we can re-use the same injection information. More...
 
virtual vtkTypeBool GetStaticSeeds ()
 if StaticSeeds is set and the mesh is static, then every time particles are injected we can re-use the same injection information. More...
 
virtual void SetMeshOverTime (int meshOverTime)
 
virtual int GetMeshOverTimeMinValue ()
 
virtual int GetMeshOverTimeMaxValue ()
 
void SetMeshOverTimeToDifferent ()
 
void SetMeshOverTimeToStatic ()
 
void SetMeshOverTimeToLinearTransformation ()
 
void SetMeshOverTimeToSameTopology ()
 
virtual int GetMeshOverTime ()
 
virtual void SetStaticMesh (vtkTypeBool staticMesh)
 if StaticMesh is set, many optimizations for cell caching can be assumed. More...
 
virtual vtkTypeBool GetStaticMesh ()
 if StaticMesh is set, many optimizations for cell caching can be assumed. More...
 
virtual void SetParticleWriter (vtkAbstractParticleWriter *pw)
 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. More...
 
virtual vtkAbstractParticleWriterGetParticleWriter ()
 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. More...
 
 vtkSetFilePathMacro (ParticleFileName)
 Set/Get the filename to be used with the particle writer when dumping particles to disk. More...
 
 vtkGetFilePathMacro (ParticleFileName)
 Set/Get the filename to be used with the particle writer when dumping particles to disk. More...
 
virtual void SetEnableParticleWriting (vtkTypeBool)
 Set/Get the filename to be used with the particle writer when dumping particles to disk. More...
 
virtual vtkTypeBool GetEnableParticleWriting ()
 Set/Get the filename to be used with the particle writer when dumping particles to disk. More...
 
virtual void EnableParticleWritingOn ()
 Set/Get the filename to be used with the particle writer when dumping particles to disk. More...
 
virtual void EnableParticleWritingOff ()
 Set/Get the filename to be used with the particle writer when dumping particles to disk. More...
 
virtual void SetDisableResetCache (vtkTypeBool)
 Set/Get the flag to disable cache This is off by default and turned on in special circumstances such as in a coprocessing workflow. More...
 
virtual vtkTypeBool GetDisableResetCache ()
 Set/Get the flag to disable cache This is off by default and turned on in special circumstances such as in a coprocessing workflow. More...
 
virtual void DisableResetCacheOn ()
 Set/Get the flag to disable cache This is off by default and turned on in special circumstances such as in a coprocessing workflow. More...
 
virtual void DisableResetCacheOff ()
 Set/Get the flag to disable cache This is off by default and turned on in special circumstances such as in a coprocessing workflow. More...
 
void AddSourceConnection (vtkAlgorithmOutput *input)
 Provide support for multiple seed sources. More...
 
void RemoveAllSources ()
 Provide support for multiple seed sources. More...
 
virtual bool GetForceSerialExecution ()
 Force the filter to run particle tracer in serial. More...
 
virtual void SetForceSerialExecution (bool)
 Force the filter to run particle tracer in serial. More...
 
virtual void ForceSerialExecutionOn ()
 Force the filter to run particle tracer in serial. More...
 
virtual void ForceSerialExecutionOff ()
 Force the filter to run particle tracer in serial. More...
 
- Public Member Functions inherited from vtkPolyDataAlgorithm
vtkPolyDataAlgorithmNewInstance () const
 
vtkDataObjectGetInput ()
 
vtkDataObjectGetInput (int port)
 
vtkPolyDataGetPolyDataInput (int port)
 
vtkPolyDataGetOutput ()
 
vtkPolyDataGetOutput (int)
 
virtual void SetOutput (vtkDataObject *d)
 
void SetInputData (vtkDataObject *)
 
void SetInputData (int, vtkDataObject *)
 
void AddInputData (vtkDataObject *)
 
void AddInputData (int, vtkDataObject *)
 
vtkPolyDataGetOutput ()
 
vtkPolyDataGetOutput (int)
 
virtual void SetOutput (vtkDataObject *d)
 
void SetInputData (vtkDataObject *)
 
void SetInputData (int, vtkDataObject *)
 
void AddInputData (vtkDataObject *)
 
void AddInputData (int, vtkDataObject *)
 
- Public Member Functions inherited from vtkAlgorithm
vtkAlgorithmNewInstance () const
 
int HasExecutive ()
 
vtkExecutiveGetExecutive ()
 
virtual void SetExecutive (vtkExecutive *executive)
 
virtual int ModifyRequest (vtkInformation *request, int when)
 
vtkInformationGetInputPortInformation (int port)
 
vtkInformationGetOutputPortInformation (int port)
 
int GetNumberOfInputPorts ()
 
int GetNumberOfOutputPorts ()
 
void UpdateProgress (double amount)
 
vtkInformationGetInputArrayInformation (int idx)
 
void RemoveAllInputs ()
 
vtkDataObjectGetOutputDataObject (int port)
 
virtual void RemoveInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void RemoveInputConnection (int port, int idx)
 
virtual void RemoveAllInputConnections (int port)
 
int GetNumberOfInputConnections (int port)
 
int GetTotalNumberOfInputConnections ()
 
vtkAlgorithmOutputGetInputConnection (int port, int index)
 
vtkAlgorithmGetInputAlgorithm (int port, int index, int &algPort)
 
vtkAlgorithmGetInputAlgorithm (int port, int index)
 
vtkExecutiveGetInputExecutive (int port, int index)
 
vtkInformationGetInputInformation (int port, int index)
 
vtkInformationGetOutputInformation (int port)
 
virtual int Update (int port, vtkInformationVector *requests)
 
virtual int Update (vtkInformation *requests)
 
virtual int UpdateExtent (const int extents[6])
 
virtual void UpdateInformation ()
 
virtual void UpdateDataObject ()
 
virtual void PropagateUpdateExtent ()
 
virtual void UpdateWholeExtent ()
 
void ConvertTotalInputToPortConnection (int ind, int &port, int &conn)
 
int SetUpdateExtentToWholeExtent (int port)
 
int SetUpdateExtentToWholeExtent ()
 
void SetUpdateExtent (int port, int extent[6])
 
void SetUpdateExtent (int extent[6])
 
int ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo)
 
virtual int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime)
 
virtual vtkInformationGetInformation ()
 
virtual void SetInformation (vtkInformation *)
 
void Register (vtkObjectBase *o) VTK_OVERRIDE
 
void UnRegister (vtkObjectBase *o) VTK_OVERRIDE
 
virtual void SetAbortExecute (int)
 
virtual int GetAbortExecute ()
 
virtual void AbortExecuteOn ()
 
virtual void AbortExecuteOff ()
 
virtual void SetProgress (double)
 
virtual double GetProgress ()
 
void SetProgressText (const char *ptext)
 
virtual char * GetProgressText ()
 
virtual unsigned long GetErrorCode ()
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType)
 
virtual void SetInputArrayToProcess (int idx, vtkInformation *info)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName)
 
vtkDataObjectGetInputDataObject (int port, int connection)
 
virtual void SetInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void SetInputConnection (vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (vtkAlgorithmOutput *input)
 
virtual void SetInputDataObject (int port, vtkDataObject *data)
 
virtual void SetInputDataObject (vtkDataObject *data)
 
virtual void AddInputDataObject (int port, vtkDataObject *data)
 
virtual void AddInputDataObject (vtkDataObject *data)
 
vtkAlgorithmOutputGetOutputPort (int index)
 
vtkAlgorithmOutputGetOutputPort ()
 
vtkAlgorithmGetInputAlgorithm ()
 
vtkExecutiveGetInputExecutive ()
 
vtkInformationGetInputInformation ()
 
virtual void Update (int port)
 
virtual void Update ()
 
virtual int UpdatePiece (int piece, int numPieces, int ghostLevels, const int extents[6]=0)
 
virtual int UpdateTimeStep (double time, int piece=-1, int numPieces=1, int ghostLevels=0, const int extents[6]=0)
 
virtual void SetReleaseDataFlag (int)
 
virtual int GetReleaseDataFlag ()
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output)
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType)
 
void SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel)
 
void SetUpdateExtent (int piece, int numPieces, int ghostLevel)
 
intGetUpdateExtent ()
 
intGetUpdateExtent (int port)
 
void GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int extent[6])
 
void GetUpdateExtent (int port, int extent[6])
 
int GetUpdatePiece ()
 
int GetUpdatePiece (int port)
 
int GetUpdateNumberOfPieces ()
 
int GetUpdateNumberOfPieces (int port)
 
int GetUpdateGhostLevel ()
 
int GetUpdateGhostLevel (int port)
 
void SetProgressObserver (vtkProgressObserver *)
 
virtual vtkProgressObserverGetProgressObserver ()
 
int ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo)
 
virtual int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime)
 
virtual vtkInformationGetInformation ()
 
virtual void SetInformation (vtkInformation *)
 
void Register (vtkObjectBase *o) VTK_OVERRIDE
 
void UnRegister (vtkObjectBase *o) VTK_OVERRIDE
 
virtual void SetAbortExecute (int)
 
virtual int GetAbortExecute ()
 
virtual void AbortExecuteOn ()
 
virtual void AbortExecuteOff ()
 
virtual void SetProgress (double)
 
virtual double GetProgress ()
 
void SetProgressText (const char *ptext)
 
virtual char * GetProgressText ()
 
virtual unsigned long GetErrorCode ()
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType)
 
virtual void SetInputArrayToProcess (int idx, vtkInformation *info)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName)
 
vtkDataObjectGetInputDataObject (int port, int connection)
 
virtual void SetInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void SetInputConnection (vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (vtkAlgorithmOutput *input)
 
virtual void SetInputDataObject (int port, vtkDataObject *data)
 
virtual void SetInputDataObject (vtkDataObject *data)
 
virtual void AddInputDataObject (int port, vtkDataObject *data)
 
virtual void AddInputDataObject (vtkDataObject *data)
 
vtkAlgorithmOutputGetOutputPort (int index)
 
vtkAlgorithmOutputGetOutputPort ()
 
vtkAlgorithmGetInputAlgorithm ()
 
vtkExecutiveGetInputExecutive ()
 
vtkInformationGetInputInformation ()
 
virtual void Update (int port)
 
virtual void Update ()
 
virtual int UpdatePiece (int piece, int numPieces, int ghostLevels, const int extents[6]=0)
 
virtual int UpdateTimeStep (double time, int piece=-1, int numPieces=1, int ghostLevels=0, const int extents[6]=0)
 
virtual void SetReleaseDataFlag (int)
 
virtual int GetReleaseDataFlag ()
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output)
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType)
 
void SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel)
 
void SetUpdateExtent (int piece, int numPieces, int ghostLevel)
 
intGetUpdateExtent ()
 
intGetUpdateExtent (int port)
 
void GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int extent[6])
 
void GetUpdateExtent (int port, int extent[6])
 
int GetUpdatePiece ()
 
int GetUpdatePiece (int port)
 
int GetUpdateNumberOfPieces ()
 
int GetUpdateNumberOfPieces (int port)
 
int GetUpdateGhostLevel ()
 
int GetUpdateGhostLevel (int port)
 
void SetProgressObserver (vtkProgressObserver *)
 
virtual vtkProgressObserverGetProgressObserver ()
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
virtual vtkMTimeType GetMTime ()
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
void SetReferenceCount (int)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkInSituPParticlePathFilterSafeDownCast (vtkObject *o)
 
static vtkInSituPParticlePathFilterNew ()
 
- Static Public Member Functions inherited from vtkLegacyPParticlePathFilter
static int IsTypeOf (const char *type)
 
static vtkLegacyPParticlePathFilterSafeDownCast (vtkObject *o)
 
static vtkLegacyPParticlePathFilterNew ()
 
- Static Public Member Functions inherited from vtkLegacyPParticleTracerBase
static int IsTypeOf (const char *type)
 
static vtkLegacyPParticleTracerBaseSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkLegacyParticleTracerBase
static int IsTypeOf (const char *type)
 
static vtkLegacyParticleTracerBaseSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkPolyDataAlgorithm
static vtkPolyDataAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPolyDataAlgorithmSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkAlgorithm
static vtkAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkAlgorithmSafeDownCast (vtkObjectBase *o)
 
static vtkInformationIntegerKeyINPUT_IS_OPTIONAL ()
 
static vtkInformationIntegerKeyINPUT_IS_REPEATABLE ()
 
static vtkInformationInformationVectorKeyINPUT_REQUIRED_FIELDS ()
 
static vtkInformationStringVectorKeyINPUT_REQUIRED_DATA_TYPE ()
 
static vtkInformationInformationVectorKeyINPUT_ARRAYS_TO_PROCESS ()
 
static vtkInformationIntegerKeyINPUT_PORT ()
 
static vtkInformationIntegerKeyINPUT_CONNECTION ()
 
static vtkInformationIntegerKeyCAN_PRODUCE_SUB_EXTENT ()
 
static vtkInformationIntegerKeyCAN_HANDLE_PIECE_REQUEST ()
 
static void SetDefaultExecutivePrototype (vtkExecutive *proto)
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 
static vtkObjectBaseNew ()
 

Protected Member Functions

 vtkInSituPParticlePathFilter ()
 
 ~vtkInSituPParticlePathFilter () override
 
std::vector< vtkDataSet * > GetSeedSources (vtkInformationVector *inputVector, int timeStep) override
 Overriding this method allows us to inject the seeds as some point other than the first time step. More...
 
int FillInputPortInformation (int port, vtkInformation *info) override
 We add in a third, optional port for adding in particles for a restarted simulation. More...
 
int RequestUpdateExtent (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
 
void AddRestartSeeds (vtkInformationVector **) override
 For restarts of particle paths, we add in the ability to add in particles from a previous computation that we will still advect. More...
 
void AssignSeedsToProcessors (double time, vtkDataSet *source, int sourceID, int ptId, vtkLegacyParticleTracerBaseNamespace::ParticleVector &localSeedPoints, int &localAssignedCount) override
 Before starting the particle trace, classify all the injection/seed points according to which processor they belong to. More...
 
- Protected Member Functions inherited from vtkLegacyPParticlePathFilter
 vtkLegacyPParticlePathFilter ()
 
 ~vtkLegacyPParticlePathFilter () override
 
void ResetCache () override
 
int OutputParticles (vtkPolyData *poly) override
 
void InitializeExtraPointDataArrays (vtkPointData *outputPD) override
 
void SetToExtraPointDataArrays (vtkIdType particleId, vtkLegacyParticleTracerBaseNamespace::ParticleInformation &) override
 
void Finalize () override
 
int RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
 
- Protected Member Functions inherited from vtkLegacyPParticleTracerBase
 vtkLegacyPParticleTracerBase ()
 
 ~vtkLegacyPParticleTracerBase () override
 
int RequestUpdateExtent (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
 
vtkPolyDataExecute (vtkInformationVector **inputVector) override
 
bool SendParticleToAnotherProcess (vtkLegacyParticleTracerBaseNamespace::ParticleInformation &info, vtkLegacyParticleTracerBaseNamespace::ParticleInformation &previous, vtkPointData *) override
 
void AssignSeedsToProcessors (double time, vtkDataSet *source, int sourceID, int ptId, vtkLegacyParticleTracerBaseNamespace::ParticleVector &localSeedPoints, int &localAssignedCount) override
 Before starting the particle trace, classify all the injection/seed points according to which processor they belong to. More...
 
void AssignUniqueIds (vtkLegacyParticleTracerBaseNamespace::ParticleVector &localSeedPoints) override
 give each one a unique ID. More...
 
bool SendReceiveParticles (RemoteParticleVector &outofdomain, RemoteParticleVector &received)
 this is used during classification of seed points and also between iterations of the main loop as particles leave each processor domain. More...
 
bool UpdateParticleListFromOtherProcesses () override
 this is used during classification of seed points and also between iterations of the main loop as particles leave each processor domain. More...
 
bool IsPointDataValid (vtkDataObject *input) override
 Method that checks that the input arrays are ordered the same on all data sets. More...
 
- Protected Member Functions inherited from vtkLegacyParticleTracerBase
 vtkLegacyParticleTracerBase ()
 
 ~vtkLegacyParticleTracerBase () override
 
int FillInputPortInformation (int port, vtkInformation *info) override
 
vtkTypeBool ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
 
int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
 
virtual int ProcessInput (vtkInformationVector **inputVector)
 
virtual void Initialize ()
 
int InitializeInterpolator ()
 
int UpdateDataCache (vtkDataObject *td)
 
void TestParticles (vtkLegacyParticleTracerBaseNamespace::ParticleVector &candidates, vtkLegacyParticleTracerBaseNamespace::ParticleVector &passed, int &count)
 inside our data. More...
 
void TestParticles (vtkLegacyParticleTracerBaseNamespace::ParticleVector &candidates, std::vector< int > &passed)
 
void UpdateParticleList (vtkLegacyParticleTracerBaseNamespace::ParticleVector &candidates)
 and sending between processors, into a list, which is used as the master list on this processor More...
 
void IntegrateParticle (vtkLegacyParticleTracerBaseNamespace::ParticleListIterator &it, double currentTime, double targetTime, vtkInitialValueProblemSolver *integrator, vtkTemporalInterpolatedVelocityField *interpolator, vtkDoubleArray *cellVectors, std::atomic< vtkIdType > &particleCount, std::mutex &eraseMutex, bool sequential)
 particle between the two times supplied. More...
 
bool ComputeDomainExitLocation (double pos[4], double p2[4], double intersection[4], vtkGenericCell *cell)
 This is an old routine kept for possible future use. More...
 
void CreateProtoPD (vtkDataObject *input)
 
vtkFloatArrayGetParticleAge (vtkPointData *)
 
vtkIntArrayGetParticleIds (vtkPointData *)
 
vtkSignedCharArrayGetParticleSourceIds (vtkPointData *)
 
vtkIntArrayGetInjectedPointIds (vtkPointData *)
 
vtkIntArrayGetInjectedStepIds (vtkPointData *)
 
vtkIntArrayGetErrorCodeArr (vtkPointData *)
 
vtkFloatArrayGetParticleVorticity (vtkPointData *)
 
vtkFloatArrayGetParticleRotation (vtkPointData *)
 
vtkFloatArrayGetParticleAngularVel (vtkPointData *)
 
bool InsideBounds (double point[])
 
void CalculateVorticity (vtkGenericCell *cell, double pcoords[3], vtkDoubleArray *cellVectors, double vorticity[3])
 
double GetCacheDataTime (int i)
 
double GetCacheDataTime ()
 
void SetParticle (vtkLegacyParticleTracerBaseNamespace::ParticleInformation &info, double *velocity, vtkTemporalInterpolatedVelocityField *interpolator, vtkIdType particleId, vtkDoubleArray *cellVectors)
 
virtual int GetReinjectionCounter ()
 
virtual double GetCurrentTimeValue ()
 
void ResizeArrays (vtkIdType numTuples)
 
virtual void InitializeExtraPointDataArrays (vtkPointData *vtkNotUsed(outputPD))
 Methods to append values to existing point data arrays that may only be desired on specific concrete derived classes. More...
 
vtkTemporalInterpolatedVelocityFieldGetInterpolator ()
 
virtual void RenameGhostArray (vtkPointData *pd)
 Recover the ghost array in provided point data and rename it by adding "Original_" in front of it, if available. More...
 
bool IsPointDataValid (vtkCompositeDataSet *input, std::vector< std::string > &arrayNames)
 Methods that check that the input arrays are ordered the same on all data sets. More...
 
void GetPointDataArrayNames (vtkDataSet *input, std::vector< std::string > &names)
 Methods that check that the input arrays are ordered the same on all data sets. More...
 
- Protected Member Functions inherited from vtkPolyDataAlgorithm
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkPolyDataAlgorithm ()
 
 ~vtkPolyDataAlgorithm ()
 
virtual int FillOutputPortInformation (int port, vtkInformation *info)
 
- Protected Member Functions inherited from vtkAlgorithm
 vtkAlgorithm ()
 
 ~vtkAlgorithm ()
 
virtual void SetNumberOfInputPorts (int n)
 
virtual void SetNumberOfOutputPorts (int n)
 
int InputPortIndexInRange (int index, const char *action)
 
int OutputPortIndexInRange (int index, const char *action)
 
int GetInputArrayAssociation (int idx, vtkInformationVector **inputVector)
 
virtual vtkExecutiveCreateDefaultExecutive ()
 
void ReportReferences (vtkGarbageCollector *) VTK_OVERRIDE
 
virtual void SetNumberOfInputConnections (int port, int n)
 
int GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector)
 
int GetInputArrayAssociation (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkInformationGetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector)
 
virtual void SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input)
 
void SetInputDataInternal (int port, vtkDataObject *input)
 
void AddInputDataInternal (int port, vtkDataObject *input)
 
int GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector)
 
int GetInputArrayAssociation (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkInformationGetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector)
 
virtual void SetErrorCode (unsigned long)
 
virtual void SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input)
 
void SetInputDataInternal (int port, vtkDataObject *input)
 
void AddInputDataInternal (int port, vtkDataObject *input)
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Additional Inherited Members

- Public Attributes inherited from vtkAlgorithm
 SINGLE_PRECISION
 
 DOUBLE_PRECISION
 
 DEFAULT_PRECISION
 
int AbortExecute
 
- Protected Types inherited from vtkLegacyPParticleTracerBase
typedef std::vector< RemoteParticleInfoRemoteParticleVector
 
- Static Protected Member Functions inherited from vtkAlgorithm
static vtkInformationIntegerKeyPORT_REQUIREMENTS_FILLED ()
 
- Protected Attributes inherited from vtkLegacyPParticlePathFilter
ParticlePathFilterInternal It
 
vtkDoubleArraySimulationTime
 
vtkIntArraySimulationTimeStep
 
- Protected Attributes inherited from vtkLegacyPParticleTracerBase
vtkMultiProcessControllerController
 
RemoteParticleVector MPISendList
 
RemoteParticleVector Tail
 
- Protected Attributes inherited from vtkLegacyParticleTracerBase
vtkSmartPointer< vtkPolyDataOutput
 
bool ForceSerialExecution
 
vtkSmartPointer< vtkPointDataProtoPD
 ProtoPD is used just to keep track of the input array names and number of components for copy allocating from other vtkPointDatas where the data is really stored. More...
 
vtkIdType UniqueIdCounter
 ProtoPD is used just to keep track of the input array names and number of components for copy allocating from other vtkPointDatas where the data is really stored. More...
 
vtkLegacyParticleTracerBaseNamespace::ParticleDataList ParticleHistories
 ProtoPD is used just to keep track of the input array names and number of components for copy allocating from other vtkPointDatas where the data is really stored. More...
 
vtkSmartPointer< vtkPointDataParticlePointData
 ProtoPD is used just to keep track of the input array names and number of components for copy allocating from other vtkPointDatas where the data is really stored. More...
 
vtkTypeBool IgnorePipelineTime
 ProtoPD is used just to keep track of the input array names and number of components for copy allocating from other vtkPointDatas where the data is really stored. More...
 
vtkTypeBool DisableResetCache
 ProtoPD is used just to keep track of the input array names and number of components for copy allocating from other vtkPointDatas where the data is really stored. More...
 
- Protected Attributes inherited from vtkAlgorithm
vtkInformationInformation
 
double Progress
 
char * ProgressText
 
vtkProgressObserverProgressObserver
 
unsigned long ErrorCode
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 
- Static Protected Attributes inherited from vtkAlgorithm
static vtkExecutiveDefaultExecutivePrototype
 

Detailed Description

An In Situ Particle tracer for unsteady vector fields.

vtkInSituPParticlePathFilter is a filter that integrates a vector field to generate particle paths. It is intended for in situ use. The additions to the parallel particle path filter is that the particle locations at previous time steps can be cleared out (ClearCache data member) and restarted connection can be used to continue advecting particles from a restarted simulation.

See also
vtkPParticlePathFilterBase has the details of the algorithms

Definition at line 23 of file vtkInSituPParticlePathFilter.h.

Member Typedef Documentation

◆ Superclass

Definition at line 27 of file vtkInSituPParticlePathFilter.h.

Constructor & Destructor Documentation

◆ vtkInSituPParticlePathFilter()

vtkInSituPParticlePathFilter::vtkInSituPParticlePathFilter ( )
protected

◆ ~vtkInSituPParticlePathFilter()

vtkInSituPParticlePathFilter::~vtkInSituPParticlePathFilter ( )
overrideprotected

Member Function Documentation

◆ GetClassName()

virtual const char* vtkInSituPParticlePathFilter::GetClassName ( )
virtual

Reimplemented from vtkLegacyPParticlePathFilter.

◆ IsTypeOf()

static int vtkInSituPParticlePathFilter::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkInSituPParticlePathFilter::IsA ( const char *  type)
virtual

Reimplemented from vtkLegacyPParticlePathFilter.

◆ SafeDownCast()

static vtkInSituPParticlePathFilter* vtkInSituPParticlePathFilter::SafeDownCast ( vtkObject o)
static

◆ PrintSelf()

void vtkInSituPParticlePathFilter::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
overridevirtual

Reimplemented from vtkPolyDataAlgorithm.

◆ New()

static vtkInSituPParticlePathFilter* vtkInSituPParticlePathFilter::New ( )
static

◆ SetClearCache()

void vtkInSituPParticlePathFilter::SetClearCache ( bool  )

Set whether or not to clear out cache of previous time steps.

Default value is false. Clearing the cache is aimed towards in situ use.

◆ AddRestartConnection()

void vtkInSituPParticlePathFilter::AddRestartConnection ( vtkAlgorithmOutput input)

Provide support pre-pending previously computed particle paths.

◆ RemoveAllRestarts()

void vtkInSituPParticlePathFilter::RemoveAllRestarts ( )

Provide support pre-pending previously computed particle paths.

◆ SetRestartedSimulation()

virtual void vtkInSituPParticlePathFilter::SetRestartedSimulation ( bool  )
virtual

Set/Get if the simulation has been restarted.

If it is a restarted simulation we may not necessarily want to inject/reinject particles on the first time step. The default is False.

◆ GetRestartedSimulation()

virtual bool vtkInSituPParticlePathFilter::GetRestartedSimulation ( )
virtual

Set/Get if the simulation has been restarted.

If it is a restarted simulation we may not necessarily want to inject/reinject particles on the first time step. The default is False.

◆ SetFirstTimeStep()

virtual void vtkInSituPParticlePathFilter::SetFirstTimeStep ( int  )
virtual

Specify the first time step that particle paths are computed.

This is useful for restarted simulations or when the simulation's first time step isn't 0. The default is 0.

◆ GetFirstTimeStep()

virtual int vtkInSituPParticlePathFilter::GetFirstTimeStep ( )
virtual

Specify the first time step that particle paths are computed.

This is useful for restarted simulations or when the simulation's first time step isn't 0. The default is 0.

◆ GetSeedSources()

std::vector<vtkDataSet*> vtkInSituPParticlePathFilter::GetSeedSources ( vtkInformationVector inputVector,
int  timeStep 
)
overrideprotectedvirtual

Overriding this method allows us to inject the seeds as some point other than the first time step.

This is needed for restarted simulations where the restart step may not coincide with an injection step. Even if it did, the seeds probably were already reinjected before the restart files were written.

Reimplemented from vtkLegacyParticleTracerBase.

◆ FillInputPortInformation()

int vtkInSituPParticlePathFilter::FillInputPortInformation ( int  port,
vtkInformation info 
)
overrideprotectedvirtual

We add in a third, optional port for adding in particles for a restarted simulation.

These particles are only added at the first time step.

Reimplemented from vtkPolyDataAlgorithm.

◆ RequestUpdateExtent()

int vtkInSituPParticlePathFilter::RequestUpdateExtent ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
)
overrideprotectedvirtual

Reimplemented from vtkPolyDataAlgorithm.

◆ AddRestartSeeds()

void vtkInSituPParticlePathFilter::AddRestartSeeds ( vtkInformationVector **  )
overrideprotectedvirtual

For restarts of particle paths, we add in the ability to add in particles from a previous computation that we will still advect.

Reimplemented from vtkLegacyParticleTracerBase.

◆ AssignSeedsToProcessors()

void vtkInSituPParticlePathFilter::AssignSeedsToProcessors ( double  time,
vtkDataSet source,
int  sourceID,
int  ptId,
vtkLegacyParticleTracerBaseNamespace::ParticleVector localSeedPoints,
int localAssignedCount 
)
overrideprotectedvirtual

Before starting the particle trace, classify 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. This takes into account that the "seeds" may just be restarted particles.

Reimplemented from vtkLegacyParticleTracerBase.


The documentation for this class was generated from the following file: