00001 #import <Cocoa/Cocoa.h> 00002 00003 #import "IntegrationMethod.h" 00004 00010 @interface Euler : NSObject <IntegrationMethod> { 00011 00012 FlowGeometry* geometry; 00013 00014 FlowChannel* channel1; 00015 FlowChannel* channel2; 00016 00017 float drawDimX; 00018 float drawDimY; 00019 00020 bool scaleStepsize; 00021 00022 00023 } 00024 00025 + (Euler*) createWithGeometry: (FlowGeometry*)_geometry Channel1: (FlowChannel*)_channel1 Channel2: (FlowChannel*)_channel2 00026 DimensionX: (float)_drawDimX DimensionY: (float)_drawDimY ScaleStepsize: (bool)_scaleStepsize ; 00027 00028 - (id) initWithGeometry: (FlowGeometry*)_geometry Channel1: (FlowChannel*)_channel1 Channel2: (FlowChannel*)_channel2 00029 DimensionX: (float)_drawDimX DimensionY: (float)_drawDimY ScaleStepsize: (bool)_scaleStepsize ; 00030 00031 @end