vector5f Struct Reference

#include <flowData.h>

List of all members.

Public Member Functions

 vector5f (void)
 vector5f (float nx, float ny, float nz, float np, float nv)
void setVecor5f (float nx, float ny, float nz, float np, float nv)
double length ()
double getAngle ()

Public Attributes

float x
float y
float z
float p
float v


Detailed Description

Struct where the data (velocity, pressure, vorticity) for a point in the grid file is stored.


Constructor & Destructor Documentation

vector5f::vector5f ( void   ) 

constructor

vector5f::vector5f ( float  nx,
float  ny,
float  nz,
float  np,
float  nv 
)

overloaded constructor

Parameters:
nx - new xvelocity value
ny - new yvelocity value
nz - new zvelocity value
np - new pressure value
nv - new vorticity value


Member Function Documentation

void vector5f::setVecor5f ( float  nx,
float  ny,
float  nz,
float  np,
float  nv 
)

Function to set the values of the struct object.

Parameters:
nx - new xvelocity value
ny - new yvelocity value
nz - new zvelocity value
np - new pressure value
nv - new vorticity value

double vector5f::length (  ) 

This function returns the length of the Velocity vector of the struct.

Returns:
the length of the velocity vector

double vector5f::getAngle (  ) 

This function calculated the angle from the velocity vector to the vector <0, 1, 0>

Returns:
double the angle


Member Data Documentation

float vector5f::x

float vector5f::y

xValue of the velocity

float vector5f::z

yValue of the velocity

float vector5f::p

zValue of the velocity

float vector5f::v

pressure


The documentation for this struct was generated from the following file:
Generated on Wed Jan 17 03:48:40 2007 for Flowvis-parma_wallaby by  doxygen 1.5.1-p1