diff options
author | Thomas White <taw@physics.org> | 2011-03-16 18:23:48 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:20 +0100 |
commit | 86e621ad289638d7bf1440092cffd4c2ac64f982 (patch) | |
tree | 0abc051952d4d7d581bfe7b2d7403972ebd7327f /src/reflist-utils.h | |
parent | eaee0f6415b06f40ff7f477328f9f26f01c4d7ec (diff) |
Remove old reflections.h
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 */ |