aboutsummaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-07-11 10:53:08 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:32 +0100
commit1bd043203f25a26d5d806ed847f87a4fd7df5f22 (patch)
tree0d8b8b8f337ba1bebc3e8d3c603ee27be5d19848 /src/utils.h
parentf3ee6ff395edd10a764347e5f54be9ce57817faf (diff)
Get rid of ReflItemList - it's only used by the symmetry module now
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/utils.h b/src/utils.h
index 66299867..5e05a7f3 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -200,39 +200,6 @@ static inline int within_tolerance(double a, double b, double percent)
#include "list_tmp.h"
-/* ----------- Reflection lists indexed by sequence (not indices) ----------- */
-
-/**
- * ReflItemList
- *
- * Opaque type.
- **/
-typedef struct _reflitemlist ReflItemList;
-
-struct refl_item {
- signed int h;
- signed int k;
- signed int l;
- int op;
-};
-
-extern void clear_items(ReflItemList *items);
-extern ReflItemList *new_items(void);
-extern void delete_items(ReflItemList *items);
-extern void add_item(ReflItemList *items,
- signed int h, signed int k, signed int l);
-extern void add_item_with_op(ReflItemList *items,
- signed int h, signed int k, signed int l, int op);
-extern int find_item(ReflItemList *items,
- signed int h, signed int k, signed int l);
-extern struct refl_item *get_item(ReflItemList *items, int i);
-extern int num_items(const ReflItemList *items);
-extern unsigned int *items_to_counts(ReflItemList *items);
-extern void union_op_items(ReflItemList *items, ReflItemList *newi);
-extern void union_items(ReflItemList *items, ReflItemList *newi);
-extern ReflItemList *intersection_items(ReflItemList *i1, ReflItemList *i2);
-
-
/* ------------------------------ Message macros ---------------------------- */
extern pthread_mutex_t stderr_lock;