Remove 'cout'
This commit is contained in:
parent
04f7625c67
commit
c6c96eb688
1 changed files with 4 additions and 4 deletions
|
@ -72,8 +72,8 @@ double FGElectricalSupplier::get_output() {
|
||||||
return amps;
|
return amps;
|
||||||
} else if ( model == FG_ALTERNATOR ) {
|
} else if ( model == FG_ALTERNATOR ) {
|
||||||
// scale alternator output for rpms < 600. For rpms >= 600
|
// scale alternator output for rpms < 600. For rpms >= 600
|
||||||
// give full output. This is just a WAG, but I'm keeping
|
// give full output. This is just a WAG, and probably not how
|
||||||
// things simple to start.
|
// it really works but I'm keeping things "simple" to start.
|
||||||
double rpm = _rpm_node->getDoubleValue();
|
double rpm = _rpm_node->getDoubleValue();
|
||||||
double factor = rpm / 600.0;
|
double factor = rpm / 600.0;
|
||||||
if ( factor > 1.0 ) {
|
if ( factor > 1.0 ) {
|
||||||
|
@ -85,7 +85,7 @@ double FGElectricalSupplier::get_output() {
|
||||||
// cout << "external amps = " << 0.0 << endl;
|
// cout << "external amps = " << 0.0 << endl;
|
||||||
return 0.0;
|
return 0.0;
|
||||||
} else {
|
} else {
|
||||||
cout << "unknown supplier type" << endl;
|
SG_LOG( SG_ALL, SG_ALERT, "unknown supplier type" );
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0.0;
|
return 0.0;
|
||||||
|
@ -334,7 +334,7 @@ void FGElectricalSystem::propogate( FGElectricalComponent *node, double val,
|
||||||
}
|
}
|
||||||
// cout << s << " val = " << current << endl;
|
// cout << s << " val = " << current << endl;
|
||||||
} else {
|
} else {
|
||||||
cout << "unkown node type" << endl;
|
SG_LOG( SG_ALL, SG_ALERT, "unkown node type" );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( current > node->get_value() ) {
|
if ( current > node->get_value() ) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue