VTK
|
#include <vtkPParticleTracerBase.h>
Classes | |
struct | RemoteParticleInfo |
Public Types | |
typedef vtkParticleTracerBase | Superclass |
![]() | |
enum | Solvers { RUNGE_KUTTA2, RUNGE_KUTTA4, RUNGE_KUTTA45, NONE, UNKNOWN } |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkPParticleTracerBase * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetController (vtkMultiProcessController *controller) |
virtual vtkMultiProcessController * | GetController () |
![]() | |
vtkParticleTracerBase * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | PrintParticleHistories () |
void | SetIntegrator (vtkInitialValueProblemSolver *) |
virtual vtkInitialValueProblemSolver * | GetIntegrator () |
void | SetIntegratorType (int type) |
int | GetIntegratorType () |
virtual bool | GetComputeVorticity () |
void | SetComputeVorticity (bool) |
virtual double | GetTerminalSpeed () |
void | SetTerminalSpeed (double) |
void | SetRotationScale (double) |
virtual double | GetRotationScale () |
virtual void | SetIgnorePipelineTime (int) |
virtual int | GetIgnorePipelineTime () |
virtual void | IgnorePipelineTimeOn () |
virtual void | IgnorePipelineTimeOff () |
void | SetForceReinjectionEveryNSteps (int) |
virtual int | GetForceReinjectionEveryNSteps () |
void | SetTerminationTime (double t) |
virtual double | GetTerminationTime () |
void | SetStartTime (double t) |
virtual double | GetStartTime () |
virtual int | GetStaticSeeds () |
virtual int | GetStaticMesh () |
virtual void | SetParticleWriter (vtkAbstractParticleWriter *pw) |
virtual vtkAbstractParticleWriter * | GetParticleWriter () |
virtual void | SetParticleFileName (const char *) |
virtual char * | GetParticleFileName () |
virtual void | SetEnableParticleWriting (int) |
virtual int | GetEnableParticleWriting () |
virtual void | EnableParticleWritingOn () |
virtual void | EnableParticleWritingOff () |
virtual void | SetDisableResetCache (int) |
virtual int | GetDisableResetCache () |
virtual void | DisableResetCacheOn () |
virtual void | DisableResetCacheOff () |
void | AddSourceConnection (vtkAlgorithmOutput *input) |
void | RemoveAllSources () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkPParticleTracerBase * | SafeDownCast (vtkObjectBase *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkParticleTracerBase * | SafeDownCast (vtkObjectBase *o) |
Protected Types | |
typedef std::vector < RemoteParticleInfo > | RemoteParticleVector |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkPParticleTracerBase () | |
~vtkPParticleTracerBase () | |
virtual int | RequestUpdateExtent (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual vtkPolyData * | Execute (vtkInformationVector **inputVector) |
virtual bool | SendParticleToAnotherProcess (vtkParticleTracerBaseNamespace::ParticleInformation &info, vtkParticleTracerBaseNamespace::ParticleInformation &previous, vtkPointData *) |
virtual void | SendReceiveParticles (RemoteParticleVector &outofdomain, RemoteParticleVector &received) |
void | UpdateParticleListFromOtherProcesses () |
virtual bool | IsPointDataValid (vtkDataObject *input) |
virtual void | AssignSeedsToProcessors (double time, vtkDataSet *source, int sourceID, int ptId, vtkParticleTracerBaseNamespace::ParticleVector &LocalSeedPoints, int &LocalAssignedCount) |
virtual void | AssignUniqueIds (vtkParticleTracerBaseNamespace::ParticleVector &LocalSeedPoints) |
![]() | |
vtkParticleTracerBase () | |
virtual | ~vtkParticleTracerBase () |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
virtual int | ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual int | RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual int | ProcessInput (vtkInformationVector **inputVector) |
virtual void | Initialize () |
virtual int | OutputParticles (vtkPolyData *poly)=0 |
virtual void | Finalize () |
int | InitializeInterpolator () |
int | UpdateDataCache (vtkDataObject *td) |
void | TestParticles (vtkParticleTracerBaseNamespace::ParticleVector &candidates, std::vector< int > &passed) |
void | CreateProtoPD (vtkDataObject *input) |
vtkFloatArray * | GetParticleAge (vtkPointData *) |
vtkIntArray * | GetParticleIds (vtkPointData *) |
vtkCharArray * | GetParticleSourceIds (vtkPointData *) |
vtkIntArray * | GetInjectedPointIds (vtkPointData *) |
vtkIntArray * | GetInjectedStepIds (vtkPointData *) |
vtkIntArray * | GetErrorCodeArr (vtkPointData *) |
vtkFloatArray * | GetParticleVorticity (vtkPointData *) |
vtkFloatArray * | GetParticleRotation (vtkPointData *) |
vtkFloatArray * | GetParticleAngularVel (vtkPointData *) |
bool | InsideBounds (double point[]) |
void | CalculateVorticity (vtkGenericCell *cell, double pcoords[3], vtkDoubleArray *cellVectors, double vorticity[3]) |
double | GetCacheDataTime (int i) |
double | GetCacheDataTime () |
virtual void | ResetCache () |
void | AddParticle (vtkParticleTracerBaseNamespace::ParticleInformation &info, double *velocity) |
void | TestParticles (vtkParticleTracerBaseNamespace::ParticleVector &candidates, vtkParticleTracerBaseNamespace::ParticleVector &passed, int &count) |
void | UpdateParticleList (vtkParticleTracerBaseNamespace::ParticleVector &candidates) |
void | IntegrateParticle (vtkParticleTracerBaseNamespace::ParticleListIterator &it, double currenttime, double terminationtime, vtkInitialValueProblemSolver *integrator) |
bool | ComputeDomainExitLocation (double pos[4], double p2[4], double intersection[4], vtkGenericCell *cell) |
bool | IsPointDataValid (vtkCompositeDataSet *input, std::vector< std::string > &arrayNames) |
void | GetPointDataArrayNames (vtkDataSet *input, std::vector< std::string > &names) |
Protected Attributes | |
vtkMultiProcessController * | Controller |
RemoteParticleVector | MPISendList |
int | Rank |
int | NumProcs |
RemoteParticleVector | Tail |
![]() | |
vtkSmartPointer< vtkPolyData > | Output |
vtkSmartPointer< vtkPointData > | ProtoPD |
vtkIdType | UniqueIdCounter |
vtkParticleTracerBaseNamespace::ParticleDataList | ParticleHistories |
vtkSmartPointer< vtkPointData > | ParticlePointData |
int | ReinjectionCounter |
int | IgnorePipelineTime |
int | DisableResetCache |
Definition at line 39 of file vtkPParticleTracerBase.h.
Definition at line 43 of file vtkPParticleTracerBase.h.
|
protected |
Definition at line 62 of file vtkPParticleTracerBase.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkParticleTracerBase.
Reimplemented in vtkPParticleTracer, vtkPStreaklineFilter, and vtkPParticlePathFilter.
|
static |
|
protectedvirtual |
Reimplemented from vtkParticleTracerBase.
Reimplemented in vtkPParticleTracer, vtkPStreaklineFilter, and vtkPParticlePathFilter.
vtkPParticleTracerBase* vtkPParticleTracerBase::NewInstance | ( | ) | const |
void vtkPParticleTracerBase::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
Set/Get the controller used when sending particles between processes The controller must be an instance of vtkMPIController.
|
virtual |
Set/Get the controller used when sending particles between processes The controller must be an instance of vtkMPIController.
|
protectedvirtual |
Reimplemented from vtkParticleTracerBase.
|
protectedvirtual |
Reimplemented from vtkParticleTracerBase.
|
protectedvirtual |
Reimplemented from vtkParticleTracerBase.
|
protectedvirtual |
Reimplemented from vtkParticleTracerBase.
|
protectedvirtual |
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.
Reimplemented from vtkParticleTracerBase.
|
protectedvirtual |
give each one a uniqu ID. We need to use MPI to find out who is using which numbers.
Reimplemented from vtkParticleTracerBase.
|
protectedvirtual |
this is used during classification of seed points and also between iterations of the main loop as particles leave each processor domain
|
protectedvirtual |
this is used during classification of seed points and also between iterations of the main loop as particles leave each processor domain
Reimplemented from vtkParticleTracerBase.
|
protectedvirtual |
Method that checks that the input arrays are ordered the same on all data sets. This needs to be true for all blocks in a composite data set as well as across all processes.
Reimplemented from vtkParticleTracerBase.
|
protected |
Definition at line 123 of file vtkPParticleTracerBase.h.
|
protected |
Definition at line 126 of file vtkPParticleTracerBase.h.
|
protected |
Definition at line 128 of file vtkPParticleTracerBase.h.
|
protected |
Definition at line 129 of file vtkPParticleTracerBase.h.
|
protected |
Definition at line 130 of file vtkPParticleTracerBase.h.