GpuThesis::Fluid3dSimulator Class Reference

#include <Fluid3dSimulator.h>

Inheritance diagram for GpuThesis::Fluid3dSimulator:

GpuThesis::FluidParameters GpuThesis::Runnable List of all members.

Public Member Functions

 Fluid3dSimulator (unsigned int width, unsigned int height, unsigned int depth, Fluid3dSolver::FluidFactory *factory, Fluid3dSolver::BoundaryType densityBoundary, Fluid3dSolver::BoundaryType velocityBoundary)
OpenGL::Flat3dTextureSetgetFlat3dTextureSet ()
unsigned int getDensityTexture () const
unsigned int getDensityForceTexture () const
unsigned int getVelocityTexture () const
unsigned int getVelocityForceTexture () const

Private Member Functions

void doRun (float timestep)
void doReset ()

Detailed Description

Performs uncoupled fluid simulations.


Constructor & Destructor Documentation

GpuThesis::Fluid3dSimulator::Fluid3dSimulator unsigned int  width,
unsigned int  height,
unsigned int  depth,
Fluid3dSolver::FluidFactory factory,
Fluid3dSolver::BoundaryType  densityBoundary,
Fluid3dSolver::BoundaryType  velocityBoundary
 

Create a fluid simulation at the given computation dimensions.

Parameters:
width the width of the simulation domain.
height the height of the simulation domain.
depth the depth of the simulation domain.
factory the factory used to create fluid solver operations.
densityBoundary the density boundary type.
velocityBoundary the velocity boundary type.


Member Function Documentation

void GpuThesis::Fluid3dSimulator::doReset  )  [inline, private, virtual]
 

Implemented by subclasses.

Implements GpuThesis::Runnable.

void GpuThesis::Fluid3dSimulator::doRun float  timestep  )  [private, virtual]
 

Implemented by subclasses.

Parameters:
timestep The timestep to run.

Implements GpuThesis::Runnable.

unsigned int GpuThesis::Fluid3dSimulator::getDensityForceTexture  )  const
 

Get the identifier of the density force texture.

Returns:
the density force texture identifier.

unsigned int GpuThesis::Fluid3dSimulator::getDensityTexture  )  const
 

Get the identifier of the density texture.

Returns:
the density texture identifier.

OpenGL::Flat3dTextureSet * GpuThesis::Fluid3dSimulator::getFlat3dTextureSet  ) 
 

Get the Flat3dTextureSet instance used.

Returns:
the Flat3dTextureSet instance.

unsigned int GpuThesis::Fluid3dSimulator::getVelocityForceTexture  )  const
 

Get the identifier of the velocity force texture.

Returns:
the velocity force texture identifier.

unsigned int GpuThesis::Fluid3dSimulator::getVelocityTexture  )  const
 

Get the identifier of the velocity texture.

Returns:
the velocity texture identifier.


The documentation for this class was generated from the following files:
Generated on Fri Jun 16 08:42:50 2006 for GPU Thesis by  doxygen 1.4.6-NO