This class corresponds to the IntegrationMethod protocol. More...
#import <Euler.h>
Public Member Functions | |
(id) | - initWithGeometry:Channel1:Channel2:DimensionX:DimensionY:ScaleStepsize: |
(bool) | - integrateForX:Y:Stepsize:Direction:StoringIn:Direction: [implementation] |
Performs a single integration step from initial x/y coords, whereas a stepsize and a direction (forward/backward) can be defined. | |
Static Public Member Functions | |
(Euler *) | + createWithGeometry:Channel1:Channel2:DimensionX:DimensionY:ScaleStepsize: |
Protected Attributes | |
FlowGeometry * | geometry |
FlowChannel * | channel1 |
FlowChannel * | channel2 |
float | drawDimX |
float | drawDimY |
bool | scaleStepsize |
This class corresponds to the IntegrationMethod protocol.
It performs simple Euler integration.
- (bool) integrateForX: | (float) | x | ||
Y: | (float) | y | ||
Stepsize: | (float) | stepSize | ||
Direction: | (int) | direction | ||
StoringIn: | (float *) | integratedPoint | ||
Direction: | (float *) | integratedVector | ||
[implementation] |
Performs a single integration step from initial x/y coords, whereas a stepsize and a direction (forward/backward) can be defined.
The result is the calculated point and a vector in zhis direction.
Reimplemented from <IntegrationMethod>.
Reimplemented in RungeKutta2.