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
|
# libformfactor
A C++ library for the efficient computation of scattering form factors
(Fourier shape transforms) of arbitrary polyhedra according to Wuttke,
[J Appl Cryst 54, 580-587 (2021)](https://doi.org/10.1107/S1600576721001710).
The library is in directory ff/. Tests are in directory test/.
To build the binaries and run the tests, do
```
mkdir build
cd build
cmake ..
make
ctest
make install
```
Usage is demonstrated in directory demo/. To build and run example
code that prints q vs |F(q)| for some sequences of q vectors, do
```
cd demo
mkdir build
cd build
cmake ..
make
octahedron
```
|