Fluid3dSolver::Advection Class Reference

#include <Fluid3dSolver.h>

Inheritance diagram for Fluid3dSolver::Advection:

Fluid3dSolver::AdvectionImpl List of all members.

Public Member Functions

void setVoxelSize (float voxelSize)
void setUniformAdvection (const Math::Vector3d &uniformAdvection)
void run (float timestep)

Detailed Description

Advects (transports) a value field along a velocity field. The value field and velocity field are each represented by a flat 3d texture.


Member Function Documentation

void Fluid3dSolver::Advection::run float  timestep  ) 
 

Performs one computation step of the advection.

Parameters:
timestep the time step to be used in the computation step.

void Fluid3dSolver::Advection::setUniformAdvection const Math::Vector3d &  uniformAdvection  ) 
 

Sets the uniform advection (same for all cells).

Parameters:
uniformAdvection the uniform advection.

void Fluid3dSolver::Advection::setVoxelSize float  voxelSize  ) 
 

Sets the voxel size of the computation domain.

Parameters:
voxelSize the voxel size to be set.


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