diff -r 473479de8c5b -r 2f3cfb983fcc src/Utils.h --- a/src/Utils.h Thu Jul 07 09:54:42 2022 +0200 +++ b/src/Utils.h Thu Jul 07 14:17:53 2022 +0200 @@ -54,18 +54,15 @@ double IBU_reduction(double Tc); /** - * @brief Calculate IBU's of a hop at 100°C. - * @param Use HOP_USEAT_MASH HOP_USEAT_FWH HOP_USEAT_BOIL, all others are ignored. - * @param Form HOP_FORMS_PELLET HOP_FORMS_PLUG HOP_FORMS_LEAF HOP_FORMS_LEAF_WET HOP_FORMS_CRYO HOP_FORMS_EXTRACT + * @brief Calculate IBU's of a hop at 100°C using the Tinseth formula. * @param SG the density * @param Volume in liters * @param Amount in kilograms * @param Time in minutes * @param Alpha in procent - * @param Method, 0 = Tinseth, 1 = Rager, 2 = Daniels * @return The calculated IBU's */ - double boilIBU(int Form, double SG, double Volume, double Amount, double Time, double Alpha, int Method); + double TinsethIBU(double SG, double Volume, double Amount, double Time, double Alpha); /** * @brief Calculate IBU's of a hop during the whole production process. @@ -76,7 +73,7 @@ * @param Amount in kilograms * @param Boiltime in minutes * @param Alpha in procent - * @param Method, 0 = Tinseth, 1 = Rager, 2 = Daniels + * @param Method, 0 = Tinseth, 1 = Tinseth++ (+flamout, +whirlpool etc). * @param Whirlpool9 time in whirlpool above 80°C or zero. * @param Whirlpool7 time in whirlpool between 72°C and 77°C. * @param Whirlpool6 time in whirlpool between 60°C amd 66°C.