60 const string s(
"Fatal Error: Nozzle exit area must be given in nozzle config file.");
62 throw BaseException(s);
82 Thrust = max((
double)0.0, vacThrust -
in.Pressure*Area);
93 std::ostringstream buf;
95 buf <<
Name <<
" Thrust (engine " <<
id <<
" in lbs)";
104 std::ostringstream buf;
130void FGNozzle::Debug(
int from)
136 cout <<
" Nozzle Name: " <<
Name << endl;
137 cout <<
" Nozzle Exit Area = " << Area << endl;
141 if (from == 0) cout <<
"Instantiated: FGNozzle" << endl;
142 if (from == 1) cout <<
"Destroyed: FGNozzle" << endl;
JSBSim::FGFDMExec * FDMExec
double FindElementValueAsNumberConvertTo(const std::string &el, const std::string &target_units)
Searches for the named element and converts and returns the data belonging to it.
Element * FindElement(const std::string &el="")
Searches for a specified element.
std::string GetThrusterValues(int id, const std::string &delimeter)
std::string GetThrusterLabels(int id, const std::string &delimeter)
FGNozzle(FGFDMExec *exec, Element *el, int num=0)
Constructor.
double Calculate(double vacThrust)
struct JSBSim::FGThruster::Inputs in
FGThruster(FGFDMExec *FDMExec, Element *el, int num)
Constructor.