aboutsummaryrefslogtreecommitdiff
path: root/src/diffraction.h
blob: 6a39ee93f5fa5194b8c99c323f1a90b4631a77ef (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
/*
 * diffraction.h
 *
 * Calculate diffraction patterns by Fourier methods
 *
 * (c) 2007-2009 Thomas White <thomas.white@desy.de>
 *
 * pattern_sim - Simulate diffraction patterns from small crystals
 *
 */

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

#ifndef DIFFRACTION_H
#define DIFFRACTION_H

#include "image.h"
#include "cell.h"

extern void get_diffraction(struct image *image, int na, int nb, int nc);
extern double water_intensity(struct threevec q, double en,
                              double beam_r, double water_r);

#endif	/* DIFFRACTION_H */