#include "FGFDMExec.h"
#ifndef FGFS
-# if defined(sgi) && !defined(__GNUC__)
+# if defined(sgi) && !defined(__GNUC__) && (_COMPILER_VERSION < 740)
# include <iomanip.h>
# else
# include <iomanip>
# include STL_IOMANIP
#endif
+namespace JSBSim {
+
static const char *IdSrc = "$Id$";
static const char *IdHdr = ID_FACTORGROUP;
{
FDMExec = fdmex;
totalValue = 0;
+ IsFactor = true;
Debug(0);
}
totalValue += sum[i]->TotalValue();
SDtotal += sum[i]->GetSD();
}
- //cout << totalValue << " " << FGCoefficient::TotalValue() << endl;
totalValue *= FGCoefficient::TotalValue();
SDtotal *= FGCoefficient::GetSD();
Debug(2);
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
-void FGFactorGroup::bind(FGPropertyManager* parent) {
-
- cout << "In FGFactorGroup::bind" << endl;
- cout << parent->getName() << endl;
+void FGFactorGroup::bind(FGPropertyManager* parent)
+{
unsigned i;
node=parent->GetNode(name,true);
- cout << node->getName() << endl;
node->SetString("description",description);
FGCoefficient::bind(node);
for (i=0; i < sum.size(); i++) {
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
-void FGFactorGroup::unbind(void) {
+void FGFactorGroup::unbind(void)
+{
unsigned i;
-
FGCoefficient::unbind();
for (i=0; i < sum.size(); i++) {
sum[i]->unbind();
}
}
+}