palParticleFluid Class Reference

#include <palFluid.h>

Inheritance diagram for palParticleFluid:

palSPHFluid

List of all members.

Public Member Functions

virtual void AddParticle (Float x, Float y, Float z, Float vx, Float vy, Float vz)=0
virtual int GetNumParticles ()=0
virtual palVector3 * GetParticlePositions ()=0
virtual void Finalize ()=0


Detailed Description

A particle based fluid class. (Lagrangian View) This simulates a fluid composed of a number of particles.

Member Function Documentation

virtual void palParticleFluid::AddParticle ( Float  x,
Float  y,
Float  z,
Float  vx,
Float  vy,
Float  vz 
) [pure virtual]

Adds a particle to the fluid.

Parameters:
x The position (x)
y The position (y)
z The position (z)
vx The velocity (x)
vy The velocity (y)
vz The velocity (z)

virtual void palParticleFluid::Finalize (  )  [pure virtual]

Finalizes the construction of the fluid. This must be called after the fluid has been initialized, and all the particles have been added to the fluid.

virtual int palParticleFluid::GetNumParticles (  )  [pure virtual]

Gets the number of particles in the fluid.

Returns:
The number of active particles.

virtual palVector3* palParticleFluid::GetParticlePositions (  )  [pure virtual]

Gets the particle positions in the fluid.

Returns:
An array containing the particle positions.


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

Generated on Mon Aug 31 13:58:02 2009 for pal by  doxygen 1.5.7.1