src/Utils.h

changeset 340
b9af88bfe972
parent 339
2f3cfb983fcc
child 343
67e645b9d23f
equal deleted inserted replaced
339:2f3cfb983fcc 340:b9af88bfe972
76 * @param Method, 0 = Tinseth, 1 = Tinseth++ (+flamout, +whirlpool etc). 76 * @param Method, 0 = Tinseth, 1 = Tinseth++ (+flamout, +whirlpool etc).
77 * @param Whirlpool9 time in whirlpool above 80°C or zero. 77 * @param Whirlpool9 time in whirlpool above 80°C or zero.
78 * @param Whirlpool7 time in whirlpool between 72°C and 77°C. 78 * @param Whirlpool7 time in whirlpool between 72°C and 77°C.
79 * @param Whirlpool6 time in whirlpool between 60°C amd 66°C. 79 * @param Whirlpool6 time in whirlpool between 60°C amd 66°C.
80 * @param Fulltime, full boiltime, even for aroma hops. 80 * @param Fulltime, full boiltime, even for aroma hops.
81 * @param Cooltype 0 = N/A, 1 = Emersion chiller, 2 = Counterflow, 3 = Au bain marie, 4 = natural
82 * @param Coolparm1 to define later
83 * @param Coolparm2 to define later
81 * @return The calculated IBU's 84 * @return The calculated IBU's
82 */ 85 */
83 double toIBU(int Use, int Form, double SG, double Volume, double Amount, double Boiltime, double Alpha, 86 double toIBU(int Use, int Form, double SG, double Volume, double Amount, double Boiltime, double Alpha,
84 int Method, double Whirlpool9, double Whirlpool7, double Whirlpool6, double Fulltime); 87 int Method, double Whirlpool9, double Whirlpool7, double Whirlpool6, double Fulltime,
88 int Cooltype, double Coolparm1, double Coolparm2);
85 89
86 double hopFlavourContribution(double bt, double vol, int use, double amount); 90 double hopFlavourContribution(double bt, double vol, int use, double amount);
87 double hopAromaContribution(double bt, double vol, int use, double amount); 91 double hopAromaContribution(double bt, double vol, int use, double amount);
88 QString hours_to_string(int hours); 92 QString hours_to_string(int hours);
89 double kettle_cm(double volume, double kettle_volume, double kettle_height); 93 double kettle_cm(double volume, double kettle_volume, double kettle_height);

mercurial