Fhsim
Marine systems simulation
CurveRudder.h
1
#ifndef _CCURVE_RUDDER_H_
2
#define _CCURVE_RUDDER_H_
3
4
#include <cmath>
5
#include "IRudderCalculator.h"
6
#include <vector>
7
namespace
Ship
{
8
class
CurveRudder
:
public
IRudderCalculator
9
{
10
public
:
11
CurveRudder
();
12
~CurveRudder
();
13
14
double
GetLiftCoeff(
double
_alfa );
15
double
GetDragCoeff(
double
_alfa );
16
double
GetStemCoeff(
double
_alfa );
17
18
void
SetData( std::vector<double> X, std::vector<double> Cl, std::vector<double> Cd);
19
void
SetData(
double
* X,
double
*Cd,
double
* Cl,
unsigned
int
num_elements);
20
21
private
:
22
unsigned
int
curve_elements;
23
24
double
*alfa;
// Lift curve rudder angles
25
double
*Cl;
// Lift coefficient
26
double
*Cd;
// Drag coefficient
27
double
*Cn;
// Stem torque coefficient
28
};
29
}
30
31
#endif
Ship::CurveRudder
Definition:
CurveRudder.h:9
Ship::IRudderCalculator
Definition:
IRudderCalculator.h:8
Ship
Simple waypoint object.
Definition:
CableAttach.h:16
reloadrepos
fhsim_marine_elements
src
ship
Ship
Actuators
CurveRudder.h
Generated by
1.9.4