VTK
|
#include <vtkPTemporalStreamTracer.h>
Public Types | |
typedef vtkTemporalStreamTracer | Superclass |
![]() | |
enum | Units { TERMINATION_TIME_UNIT, TERMINATION_STEP_UNIT } |
typedef vtkStreamTracer | Superclass |
![]() | |
enum | Units { LENGTH_UNIT = 1, CELL_LENGTH_UNIT = 2 } |
enum | Solvers { RUNGE_KUTTA2, RUNGE_KUTTA4, RUNGE_KUTTA45, NONE, UNKNOWN } |
enum | ReasonForTermination { OUT_OF_DOMAIN = vtkInitialValueProblemSolver::OUT_OF_DOMAIN, NOT_INITIALIZED = vtkInitialValueProblemSolver::NOT_INITIALIZED, UNEXPECTED_VALUE = vtkInitialValueProblemSolver::UNEXPECTED_VALUE, OUT_OF_LENGTH = 4, OUT_OF_STEPS = 5, STAGNATION = 6 } |
enum | { FORWARD, BACKWARD, BOTH } |
enum | { INTERPOLATOR_WITH_DATASET_POINT_LOCATOR, INTERPOLATOR_WITH_CELL_LOCATOR } |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkPTemporalStreamTracer * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetController (vtkMultiProcessController *controller) |
virtual vtkMultiProcessController * | GetController () |
![]() | |
vtkTemporalStreamTracer * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetTimeStep (unsigned int) |
virtual unsigned int | GetTimeStep () |
virtual void | SetIgnorePipelineTime (int) |
virtual int | GetIgnorePipelineTime () |
virtual void | IgnorePipelineTimeOn () |
virtual void | IgnorePipelineTimeOff () |
virtual void | SetTimeStepResolution (double) |
virtual double | GetTimeStepResolution () |
virtual void | SetForceReinjectionEveryNSteps (int) |
virtual int | GetForceReinjectionEveryNSteps () |
virtual void | SetTerminationTime (double) |
virtual double | GetTerminationTime () |
virtual void | SetTerminationTimeUnit (int) |
virtual int | GetTerminationTimeUnit () |
void | SetTerminationTimeUnitToTimeUnit () |
void | SetTerminationTimeUnitToStepUnit () |
virtual void | SetStaticSeeds (int) |
virtual int | GetStaticSeeds () |
virtual void | StaticSeedsOn () |
virtual void | StaticSeedsOff () |
virtual void | SetStaticMesh (int) |
virtual int | GetStaticMesh () |
virtual void | StaticMeshOn () |
virtual void | StaticMeshOff () |
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 () |
void | AddSourceConnection (vtkAlgorithmOutput *input) |
void | RemoveAllSources () |
![]() | |
vtkStreamTracer * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetSourceConnection (vtkAlgorithmOutput *algOutput) |
void | SetInterpolatorTypeToDataSetPointLocator () |
void | SetInterpolatorTypeToCellLocator () |
void | SetInterpolatorPrototype (vtkAbstractInterpolatedVelocityField *ivf) |
void | SetInterpolatorType (int interpType) |
virtual void | SetStartPosition (double, double, double) |
virtual void | SetStartPosition (double[3]) |
virtual double * | GetStartPosition () |
virtual void | GetStartPosition (double &, double &, double &) |
virtual void | GetStartPosition (double[3]) |
void | SetSourceData (vtkDataSet *source) |
vtkDataSet * | GetSource () |
void | SetIntegrator (vtkInitialValueProblemSolver *) |
virtual vtkInitialValueProblemSolver * | GetIntegrator () |
void | SetIntegratorType (int type) |
int | GetIntegratorType () |
void | SetIntegratorTypeToRungeKutta2 () |
void | SetIntegratorTypeToRungeKutta4 () |
void | SetIntegratorTypeToRungeKutta45 () |
virtual void | SetMaximumPropagation (double) |
virtual double | GetMaximumPropagation () |
void | SetIntegrationStepUnit (int unit) |
int | GetIntegrationStepUnit () |
virtual void | SetInitialIntegrationStep (double) |
virtual double | GetInitialIntegrationStep () |
virtual void | SetMinimumIntegrationStep (double) |
virtual double | GetMinimumIntegrationStep () |
virtual void | SetMaximumIntegrationStep (double) |
virtual double | GetMaximumIntegrationStep () |
virtual void | SetMaximumError (double) |
virtual double | GetMaximumError () |
virtual void | SetMaximumNumberOfSteps (vtkIdType) |
virtual vtkIdType | GetMaximumNumberOfSteps () |
virtual void | SetTerminalSpeed (double) |
virtual double | GetTerminalSpeed () |
virtual void | SetIntegrationDirection (int) |
virtual int | GetIntegrationDirection () |
void | SetIntegrationDirectionToForward () |
void | SetIntegrationDirectionToBackward () |
void | SetIntegrationDirectionToBoth () |
virtual void | SetComputeVorticity (bool) |
virtual bool | GetComputeVorticity () |
virtual void | SetRotationScale (double) |
virtual double | GetRotationScale () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkPTemporalStreamTracer * | SafeDownCast (vtkObjectBase *o) |
static vtkPTemporalStreamTracer * | New () |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkTemporalStreamTracer * | SafeDownCast (vtkObjectBase *o) |
static vtkTemporalStreamTracer * | New () |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkStreamTracer * | SafeDownCast (vtkObjectBase *o) |
static vtkStreamTracer * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkPTemporalStreamTracer () | |
~vtkPTemporalStreamTracer () | |
virtual int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
void | AddParticleToMPISendList (vtkTemporalStreamTracerNamespace::ParticleInformation &info) |
virtual void | AssignSeedsToProcessors (vtkDataSet *source, int sourceID, int ptId, vtkTemporalStreamTracerNamespace::ParticleVector &LocalSeedPoints, int &LocalAssignedCount) |
virtual void | AssignUniqueIds (vtkTemporalStreamTracerNamespace::ParticleVector &LocalSeedPoints) |
virtual void | TransmitReceiveParticles (vtkTemporalStreamTracerNamespace::ParticleVector &outofdomain, vtkTemporalStreamTracerNamespace::ParticleVector &received, bool removeself) |
![]() | |
vtkTemporalStreamTracer () | |
~vtkTemporalStreamTracer () | |
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 | RequestUpdateExtent (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual int | ProcessInput (vtkInformationVector **inputVector) |
virtual int | GenerateOutput (vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
int | InitializeInterpolator () |
int | SetTemporalInput (vtkDataObject *td, int index) |
bool | SendParticleToAnotherProcess (vtkTemporalStreamTracerNamespace::ParticleInformation &info, double point1[4], double delT) |
void | AddParticleToMPISendList (vtkTemporalStreamTracerNamespace::ParticleInformation &info) |
bool | InsideBounds (double point[]) |
void | TestParticles (vtkTemporalStreamTracerNamespace::ParticleVector &candidates, vtkTemporalStreamTracerNamespace::ParticleVector &passed, int &count) |
void | UpdateParticleList (vtkTemporalStreamTracerNamespace::ParticleVector &candidates) |
void | IntegrateParticle (vtkTemporalStreamTracerNamespace::ParticleListIterator &it, double currenttime, double terminationtime, vtkInitialValueProblemSolver *integrator) |
bool | RetryWithPush (vtkTemporalStreamTracerNamespace::ParticleInformation &info, double velocity[3], double delT) |
bool | ComputeDomainExitLocation (double pos[4], double p2[4], double intersection[4], vtkGenericCell *cell) |
![]() | |
vtkStreamTracer () | |
~vtkStreamTracer () | |
virtual vtkExecutive * | CreateDefaultExecutive () |
void | AddInput (vtkDataObject *) |
void | CalculateVorticity (vtkGenericCell *cell, double pcoords[3], vtkDoubleArray *cellVectors, double vorticity[3]) |
void | Integrate (vtkPointData *inputData, vtkPolyData *output, vtkDataArray *seedSource, vtkIdList *seedIds, vtkIntArray *integrationDirections, double lastPoint[3], vtkAbstractInterpolatedVelocityField *func, int maxCellSize, int vecType, const char *vecFieldName, double &propagation, vtkIdType &numSteps) |
void | SimpleIntegrate (double seed[3], double lastPoint[3], double stepSize, vtkAbstractInterpolatedVelocityField *func) |
int | CheckInputs (vtkAbstractInterpolatedVelocityField *&func, int *maxCellSize) |
void | GenerateNormals (vtkPolyData *output, double *firstNormal, const char *vecName) |
void | ConvertIntervals (double &step, double &minStep, double &maxStep, int direction, double cellLength) |
int | SetupOutput (vtkInformation *inInfo, vtkInformation *outInfo) |
void | InitializeSeeds (vtkDataArray *&seeds, vtkIdList *&seedIds, vtkIntArray *&integrationDirections, vtkDataSet *source) |
Additional Inherited Members | |
![]() | |
static double | ConvertToLength (double interval, int unit, double cellLength) |
static double | ConvertToLength (IntervalInformation &interval, double cellLength) |
![]() | |
static const double | EPSILON |
Definition at line 54 of file vtkPTemporalStreamTracer.h.
Definition at line 58 of file vtkPTemporalStreamTracer.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkTemporalStreamTracer.
|
static |
|
protectedvirtual |
Reimplemented from vtkTemporalStreamTracer.
vtkPTemporalStreamTracer* vtkPTemporalStreamTracer::NewInstance | ( | ) | const |
void vtkPTemporalStreamTracer::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
static |
Construct object using 2nd order Runge Kutta
|
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 vtkTemporalStreamTracer.
|
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 vtkTemporalStreamTracer.
|
protectedvirtual |
give each one a uniqu ID. We need to use MPI to find out who is using which numbers.
Reimplemented from vtkTemporalStreamTracer.
|
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 vtkTemporalStreamTracer.
|
protected |
|
protected |
Definition at line 123 of file vtkPTemporalStreamTracer.h.