aboutsummaryrefslogtreecommitdiff
path: root/src/symmetry.h
blob: 0ae01e53208c3f160ca2c8bf22a047f423d7471d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
 * symmetry.h
 *
 * Symmetry
 *
 * (c) 2006-2010 Thomas White <taw@physics.org>
 *
 * Part of CrystFEL - crystallography with a FEL
 *
 */


#ifndef SYMMETRY_H
#define SYMMETRY_H

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif


extern void get_asymm(signed int h, signed int k, signed int l,
                      signed int *hp, signed int *kp, signed int *lp,
                      const char *sym);

extern int num_equivs(signed int h, signed int k, signed int l,
                      const char *sym);

extern void get_equiv(signed int h, signed int k, signed int l,
                      signed int *he, signed int *ke, signed int *le,
                      const char *sym, int idx);

extern void get_general_equiv(signed int h, signed int k, signed int l,
                              signed int *he, signed int *ke, signed int *le,
                              const char *sym, int idx);

extern const char *get_holohedral(const char *sym);

extern ReflItemList *get_twins(ReflItemList *items, const char *sym);


#endif	/* SYMMETRY_H */