diff options
Diffstat (limited to 'src/reflist-utils.h')
-rw-r--r-- | src/reflist-utils.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/src/reflist-utils.h b/src/reflist-utils.h index d5c1e655..b7ecd3ea 100644 --- a/src/reflist-utils.h +++ b/src/reflist-utils.h @@ -21,10 +21,24 @@ #include "cell.h" +#define REFLECTION_END_MARKER "End of reflections" + + extern void write_reflections_to_file(FILE *fh, RefList *list, UnitCell *cell); -extern int write_reflist(const char *filename, RefList *list, - UnitCell *cell); +extern int write_reflist(const char *filename, RefList *list, UnitCell *cell); + +extern RefList *read_reflections_from_file(FILE *fh); + +extern RefList *read_reflections(const char *filename); + +extern double *intensities_from_list(RefList *list); +extern double *phases_from_list(RefList *list); +extern unsigned char *flags_from_list(RefList *list); +extern int check_list_symmetry(RefList *list, const char *sym); +extern int find_equiv_in_list(RefList *list, signed int h, signed int k, + signed int l, const char *sym, signed int *hu, + signed int *ku, signed int *lu); #endif /* REFLIST_UTILS_H */ |