Eigene Dateien/9.Semester/Visualisierung/LU/Beispiel2/FlowVis_jan17/FlowVis/FlowVis/Integrator.cpp File Reference

#include "stdafx.h"
#include "Integrator.h"
#include "GlobalVariables.h"

Functions

static Pos2d EulerInt (Pos2d anOriPos, FlowData *aData, float aDistance)
static Pos2d RKInt (Pos2d anOriPos, FlowData *aData, float aDistance)
void Integrator::setMethod (SLStyle aType)
Pos2d Integrator::integrate (Pos2d anOriPos, FlowData *aData, float aDistance)

Variables

static SLStyle theType = GlobalVariables::theStreamlineStyle()

Function Documentation

Pos2d EulerInt ( Pos2d  anOriPos,
FlowData aData,
float  aDistance 
) [static]

integrates the flow at a given position using euler integration

Parameters:
anOriPos the position to start at
aData the flow data to integrate
aDistance the distance to follow the flow
Returns:
the new position

Pos2d RKInt ( Pos2d  anOriPos,
FlowData aData,
float  aDistance 
) [static]

integrates the flow at a given position using runge-kutta integration (2nd order)

Parameters:
anOriPos the position to start at
aData the flow data to integrate
aDistance the distance to follow the flow
Returns:
the new position


Variable Documentation

SLStyle theType = GlobalVariables::theStreamlineStyle() [static]


Generated on Wed Jan 17 09:27:51 2007 for FlowVis by  doxygen 1.4.7