From 7cb53822927c4035fa2a83b9176305706e3ffc40 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 13 Jul 2010 20:05:27 +0200 Subject: Add useful comment --- src/symmetry.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/symmetry.c b/src/symmetry.c index 595f3a72..614114d2 100644 --- a/src/symmetry.c +++ b/src/symmetry.c @@ -155,6 +155,11 @@ void get_general_equiv(signed int h, signed int k, signed int l, } +/* Given a reflection and a point group, this returns (by reference) the indices + * of the "idx"th equivalent reflection, taking special positions into account. + * It returns "idx" if successful. Otherwise, it returns the number of + * equivalents for the particular reflection (taking special positions into + * account). Therefore, set idx=-1 to get the number of equivalents. */ static int special_position(signed int hs, signed int ks, signed int ls, signed int *hp, signed int *kp, signed int *lp, const char *sym, signed int idx) -- cgit v1.2.3