32 #ifndef vtkLagrangianParticle_h 33 #define vtkLagrangianParticle_h 35 #include "vtkFiltersFlowPathsModule.h" 63 PARTICLE_TERMINATION_NOT_TERMINATED = 0,
69 PARTICLE_TERMINATION_OUT_OF_TIME
83 SURFACE_INTERACTION_NO_INTERACTION = 0,
88 SURFACE_INTERACTION_OTHER
136 return this->PrevEquationVariables;
155 return this->EquationVariables;
167 return this->NextEquationVariables;
179 return this->PrevEquationVariables;
191 return this->EquationVariables;
203 return this->NextEquationVariables;
215 return this->PrevVelocity;
227 return this->Velocity;
239 return this->NextVelocity;
251 return this->PrevUserVariables;
263 return this->UserVariables;
275 return this->NextUserVariables;
285 virtual void MoveToNextPosition();
297 virtual void SetParentId(
vtkIdType parentId);
312 virtual vtkIdType GetSeedArrayTupleIndex();
317 virtual int GetNumberOfVariables();
322 virtual int GetNumberOfUserVariables();
370 virtual void SetTermination(
int termination);
371 virtual int GetTermination();
380 virtual void SetInteraction(
int interaction);
381 virtual int GetInteraction();
388 virtual void SetUserFlag(
int flag);
389 virtual int GetUserFlag();
398 virtual void SetPInsertPreviousPosition(
bool val);
399 virtual bool GetPInsertPreviousPosition();
408 virtual void SetPManualShift(
bool val);
409 virtual bool GetPManualShift();
415 virtual double& GetStepTimeRef();
420 virtual double GetIntegrationTime();
425 virtual double GetPrevIntegrationTime();
435 virtual void SetIntegrationTime(
double time);
440 double GetPositionVectorMagnitude();
445 virtual void PrintSelf(ostream& os,
vtkIndent indent);
vtkIdType SeedArrayTupleIndex
represent and manipulate point attribute data
double * EquationVariables
vtkIdType LastSurfaceCellId
bool PInsertPreviousPosition
double * GetUserVariables()
Get a pointer to the user variables.
abstract class to specify dataset behavior
double * GetNextVelocity()
Get a pointer to the next particle velocity.
a simple class to control print indentation
double * GetNextEquationVariables()
Get a pointer to the particle variables array at its next position.
double * NextUserVariables
double * PrevUserVariables
vtkDataSet * LastSurfaceDataSet
double * NextEquationVariables
Basis class for Lagrangian particles.
double * GetPrevPosition()
Get a pointer to the previous particle position.
ParticleTermination
An enum to inform about a reason for termination PARTICLE_TERMINATION_NOT_TERMINATED = 0...
SurfaceInteraction
An enum to inform about a surface interaction SURFACE_INTERACTION_NO_INTERACTION = 0...
double * GetEquationVariables()
Get a pointer to the particle variables array.
double * GetPrevVelocity()
Get a pointer to the previous particle velocity.
double * GetNextUserVariables()
Get a pointer to the next user variables.
double * GetNextPosition()
Get a pointer to the next particle position.
double * GetVelocity()
Get a pointer to the particle velocity.
double * GetPosition()
Get a pointer to the particle position.
double * GetPrevUserVariables()
Get a pointer to the previous user variables.
double * GetPrevEquationVariables()
Get a pointer to Particle variables at its previous position See GetEquationVariables for content des...
double PrevIntegrationTime
double * PrevEquationVariables