| 51 |
|
hasXi = false; |
| 52 |
|
} |
| 53 |
|
|
| 54 |
< |
HydroProp::HydroProp(Vector3d cor, Mat6x6d Xi, Mat6x6d D) : cor_(cor), Xi_(Xi), D_(D){ |
| 55 |
< |
hasCOR = true; |
| 56 |
< |
hasXi = true; |
| 54 |
> |
HydroProp::HydroProp(Vector3d cor, Mat6x6d Xi, Mat6x6d D) : cor_(cor), |
| 55 |
> |
Xi_(Xi), D_(D), |
| 56 |
> |
hasCOR(true), |
| 57 |
> |
hasXi(true) { |
| 58 |
|
} |
| 59 |
|
|
| 60 |
< |
HydroProp::HydroProp(const std::string frictionLine) { |
| 60 |
> |
HydroProp::HydroProp(const std::string &frictionLine) { |
| 61 |
|
|
| 62 |
|
StringTokenizer tokenizer(frictionLine); |
| 63 |
|
if (tokenizer.countTokens() >= 40) { |