aboutsummaryrefslogtreecommitdiff
path: root/src/basis.h
blob: 1d12be128f1a19b2eb684dd0099beb9f57b03fb8 (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
/*
 * basis.h
 *
 * Find approximate lattices to feed various procedures
 *
 * (c) 2007 Thomas White <taw27@cam.ac.uk>
 *
 *  dtr - Diffraction Tomography Reconstruction
 *
 */
 
#ifndef BASIS_H
#define BASIS_H

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

#include "control.h"

typedef struct {
	
	double x;
	double y;
	double z;
	
} Vector;

typedef struct basis_struct {
	Vector a;
	Vector b;
	Vector c;
} Basis;

extern Basis *basis_find(ControlContext *ctx);

#endif	/* BASIS_H */