-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscans.h
More file actions
43 lines (37 loc) · 1.16 KB
/
scans.h
File metadata and controls
43 lines (37 loc) · 1.16 KB
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
///////////////////////////////////////////////////////////////////
// s c a n s . h
// scanning procedures - boundary mapping, etc.
//
// started 6/15/98, Karl Kosack (kosack@andrew.cmu.edu)
///////////////////////////////////////////////////////////////////
#include <iostream.h>
/////////////////////////////////////////////////////////
// s c a n s . h
//
// include file for scan procedures
/////////////////////////////////////////////////////////
#define X 0
#define Y 1
#define Z 2
#define OMEGA 0
#define CHI 0
#define PHI 0
#define PI (4*atan(1))
extern bool toggle[];
extern double value[];
extern int voxel_disp;
extern int boundaryfileext;
extern char *boundaryfile;
extern char *detectordatafile;
extern char *logfile;
extern ExpWindow *expwin;
extern DetWindow *detwin;
void autorotate(void);
void find_peak(void);
int get_bragg_intensity(void);
void step(double,double,bool);
void rotstep(double, double&, double&);
void boundary_mark(ofstream);
bool boundary_search(ofstream);
void map_grain(void);
void map_crystal(void);