6 /* Allow the use in C++ code. */
12 /* forward declaration begin */
14 /* forward declaration end */
18 struct hkl_parameter a
;
19 struct hkl_parameter b
;
20 struct hkl_parameter c
;
21 struct hkl_parameter alpha
;
22 struct hkl_parameter beta
;
23 struct hkl_parameter gamma
;
26 extern int hkl_lattice_init(struct hkl_lattice
*lattice
, double a
, double b
, double c
, double alpha
, double beta
, double gamma
);
28 extern int hkl_lattice_get_B(struct hkl_lattice
const *lattice
, struct hkl_smatrix
*B
);
30 extern int hkl_lattice_reciprocal(struct hkl_lattice
const *lattice
, struct hkl_lattice
*reciprocal
);
32 extern void hkl_lattice_randomize(struct hkl_lattice
*lattice
);
38 #endif /* _LATTICE_H_ */