<commit_before>/**
 * @file gordon-taylor.c
 * Functions to calculate glass transition temperature using the Gordon-Taylor
 * equation.
 */

#include "glass-transition.h"
#include <stdlib.h>

gordontaylor* GTSemolina()
{
    gordontaylor *gt;
    gt = (gordontaylor*) calloc(sizeof(gordontaylor), 1);

    gt->Tg1 = 435; /* [K] Tg of solid at zero moisture content */
    gt->Tg2 = 138; /* [K] Tg of water */
    gt->kGT = 3.4; /* Gordon-Taylor constant */

    return gt;
}

void DestroyGT(gordontaylor *gt)
{<commit_msg>Added the source for glass transition temperature parameters<commit_after>/**
 * @file gordon-taylor.c
 * Functions to calculate glass transition temperature using the Gordon-Taylor
 * equation.
 */

#include "glass-transition.h"
#include <stdlib.h>

/**
 * Model parameters for the Gordon-Taylor model for durum semolina flour. The
 * values are taken from the Handbook of Food Engineering (Second Edition),
 * which sourced the values from Cuq and Icard-Verniere (2001). These values
 * are for cooling predicting glass transition temperature during cooling.
 */
gordontaylor* GTSemolina()
{
    gordontaylor *gt;
    gt = (gordontaylor*) calloc(sizeof(gordontaylor), 1);

    gt->Tg1 = 435; /* [K] Tg of solid at zero moisture content */
    gt->Tg2 = 138; /* [K] Tg of water */
    gt->kGT = 3.4; /* Gordon-Taylor constant */

    return gt;
}

void DestroyGT(gordontaylor *gt)
{
{'fraction_non_alphanumeric': 0.12313167259786477, 'fraction_numerical': 0.018505338078291814, 'mean_word_length': 3.5947712418300655, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2114257', 'n_tokens_mistral': 513, 'n_tokens_neox': 443, 'n_words': 149}