aboutsummaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-07-13 11:57:21 +0200
committerThomas White <taw@physics.org>2012-02-22 15:26:53 +0100
commit5d0cae2baa9a7e09dd54b144cc503feac730794a (patch)
tree65b4bebe136811b78efd549484217b14eddca877 /src/utils.h
parent3c38652002e2793e5e6fc8115290a701fae9bb48 (diff)
Simplify symmetry and twinning quite a lot
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h
index ab07336d..46ce51a6 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -184,6 +184,7 @@ struct refl_item {
signed int h;
signed int k;
signed int l;
+ int op;
};
extern void clear_items(ReflItemList *items);
@@ -191,6 +192,8 @@ 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);