1 /* This code is part of the tng compression routines.
3 * Written by Daniel Spangberg
4 * Copyright (c) 2010, 2013, The GROMACS development team.
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the Revised BSD License.
13 #include "../../include/compression/dict.h"
15 void Ptngc_comp_canonical_dict(unsigned int *dict, int *ndict)
18 for (i=0; i<0x20004; i++)
23 void Ptngc_comp_make_dict_hist(unsigned int *vals, int nvals,
24 unsigned int *dict, int *ndict,
29 for (i=0; i<0x20004; i++)
31 for (i=0; i<0x20004; i++)
33 for (i=0; i<nvals; i++)
35 for (i=0; i<0x20004; i++)