aboutsummaryrefslogtreecommitdiff
path: root/src/ipr.h
blob: 3de37246908e878ae876ecf6c5f13c105626f77f (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
/*
 * ipr.h
 *
 * Iterative prediction-refinement reconstruction
 *
 * (c) 2007 Thomas White <taw27@cam.ac.uk>
 *
 *  dtr - Diffraction Tomography Reconstruction
 *
 */


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

#ifndef IPR_H
#define IPR_H

typedef struct {
	
	double x;
	double y;
	double z;
	
	double modulus;	/* Convenience */
	
} Vector;

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

#include "control.h"

extern int ipr_refine(ControlContext *ctx);

#endif	/* IPR_H */