50 Rates[0]=Rates[1]=Rates[2]=0;
51 LoRates[0]=LoRates[1]=LoRates[2]=0;
52 TroeParams[0]=TroeParams[1]=TroeParams[2]=TroeParams[3]=0;
91 Efficiencies[id] = Eff;
96 return Efficiencies[id];
102 std::map<std::string, double>::iterator itr;
104 itr = Efficiencies.begin();
107 itr = Efficiencies.find(
id);
108 if(itr!=Efficiencies.end())
111 if(itr==Efficiencies.end())
169 #endif //OB_KINETICS_H const unsigned ThermoData
Definition: kinetics.h:25
double TroeParams[4]
Definition: kinetics.h:41
double GetRate(rate_type n) const
Definition: kinetics.h:56
Holds rate constant data for OBReaction.
Definition: kinetics.h:36
OBRateData()
Definition: kinetics.h:48
Definition: kinetics.h:46
Base class for generic data.
Definition: base.h:188
void SetTroeParams(int n, const double val)
Definition: kinetics.h:83
double GetTroeParam(int n) const
Definition: kinetics.h:78
char GetPhase() const
Definition: kinetics.h:163
reaction_type
Definition: kinetics.h:46
double GetMidT() const
Definition: kinetics.h:157
Definition: kinetics.h:46
double Rates[3]
Definition: kinetics.h:39
unsigned int _type
attribute type – declared for each subclass
Definition: base.h:192
rate_type
Definition: kinetics.h:45
char phase
Definition: kinetics.h:139
Definition: kinetics.h:45
void SetLoT(double val)
Definition: kinetics.h:159
double MidT
Definition: kinetics.h:138
double GetCoeff(unsigned n) const
Definition: kinetics.h:146
const unsigned RateData
Definition: kinetics.h:24
Thermodynamic data in old style NASA polynomial form for OBMol.
Definition: kinetics.h:134
reaction_type ReactionType
Definition: kinetics.h:47
double GetHiT() const
Definition: kinetics.h:158
Definition: kinetics.h:45
void SetRate(rate_type n, const double val)
Definition: kinetics.h:61
double GetEfficiency(std::string id)
Definition: kinetics.h:94
void SetLoRate(rate_type n, const double val)
Definition: kinetics.h:72
Definition: kinetics.h:46
void SetHiT(double val)
Definition: kinetics.h:161
Definition: kinetics.h:46
OBNasaThermoData()
Definition: kinetics.h:141
Definition: kinetics.h:46
double GetLoT() const
Definition: kinetics.h:156
Definition: kinetics.h:45
bool GetNextEff(std::string &id, double &Eff)
Definition: kinetics.h:99
double GetLoRate(rate_type n) const
Definition: kinetics.h:67
virtual OBGenericData * Clone(OBBase *parent) const
Definition: kinetics.h:144
std::map< std::string, double > Efficiencies
Definition: kinetics.h:42
virtual OBGenericData * Clone(OBBase *parent) const
Definition: kinetics.h:44
void SetMidT(double val)
Definition: kinetics.h:160
Handle generic data classes. Custom data for atoms, bonds, etc.
void SetEfficiency(std::string id, double Eff)
Definition: kinetics.h:89
Base Class.
Definition: base.h:239
std::string _attr
attribute tag (e.g., "UnitCell", "Comment" or "Author")
Definition: base.h:191
void SetPhase(char ph)
Definition: kinetics.h:164
double LoRates[3]
Definition: kinetics.h:40
void SetCoeff(unsigned n, const double val)
Definition: kinetics.h:151
Global namespace for all Open Babel code.
Definition: alias.h:22