|
FhSim
3.1.0
Marine systems simulation
|
#include <OpenWaterPropeller.h>
Inheritance diagram for Ship::OpenWaterPropeller:
Collaboration diagram for Ship::OpenWaterPropeller:Public Member Functions | |
| OpenWaterPropeller (double D, double PD) | |
| double | GetKq (double J) |
| double | GetKt (double J) |
| void | SetData (double *J, double *Kt, double *Kq, int num_elements) |
| Sets the data. | |
| void | SetData (std::vector< double > J, std::vector< double > Kt, std::vector< double > Kq) |
| void | SetWarnOnce (WarnOnce *warnOnce) |
| Where to report a J outside the table; null (the default) reports nowhere. | |
Open-water curves Kt(J) and Kq(J) of one propeller at one pitch ratio. Between the table nodes the value is linear; outside [J.front(), J.back()] the edge value is held and the condition is reported once through the WarnOnce set with SetWarnOnce (owner ruling D39).
|
virtual |
Implements Ship::IPropellerCalculator.
|
virtual |
Implements Ship::IPropellerCalculator.
|
virtual |
| std::invalid_argument | when a vector is empty or the sizes differ. |
Implements Ship::IPropellerCalculator.
|
virtual |
Implements Ship::IPropellerCalculator.