Add TNG writing and reading support
[alexxy/gromacs.git] / src / external / tng_io / include / compression / bwt.h
1 /* This code is part of the tng compression routines.
2  *
3  * Written by Daniel Spangberg
4  * Copyright (c) 2010, 2013, The GROMACS development team.
5  *
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the Revised BSD License.
9  */
10
11
12 #ifndef BWT_H
13 #define BWT_H
14
15 void Ptngc_comp_to_bwt(unsigned int *vals, int nvals,
16                  unsigned int *output, int *index);
17
18 void Ptngc_comp_from_bwt(unsigned int *input, int nvals, int index,
19                    unsigned int *vals);
20
21 void Ptngc_bwt_merge_sort_inner(int *indices, int nvals,unsigned int *vals,
22                           int start, int end,
23                           unsigned int *nrepeat,
24                           int *workarray);
25
26 #endif