blob: 44dc52a6850f7619b6c3de48199b90a2219862ab (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
/*
* reax.c
*
* A new auto-indexer
*
* (c) 2011 Thomas White <taw@physics.org>
*
* Part of CrystFEL - crystallography with a FEL
*
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include "image.h"
#include "utils.h"
#include "peaks.h"
#include "cell.h"
#include "index.h"
#include "index-priv.h"
struct dvec
{
double x;
double y;
double z;
};
struct reax_private
{
IndexingPrivate base;
};
IndexingPrivate *reax_prepare()
{
struct reax_private *priv;
priv = calloc(1, sizeof(*priv));
if ( priv == NULL ) return NULL;
priv->base.indm = INDEXING_REAX;
return (IndexingPrivate *)priv;
}
void reax_index(struct image *image, UnitCell *cell)
{
}
|