File scatter_factors.hpp
This file contains a class which manages the generation of the proper scattering factors which may depend on atom and q vector lengths.
- Author
Benjamin Lindner ben@benlabs.net
- Version
See VERSION in CMakeLists.txt
- Copyright
GNU General Public License
-
class ReciprocalBox
- #include <scatter_factors.hpp>
-
class ScatterFactors
- #include <scatter_factors.hpp>
Efficient management class for scattering factors.
Public Functions
-
ScatterFactors()
-
void set_selection(IAtomselection *selection)
-
IAtomselection *get_selection()
-
double get(size_t atomselectionindex) const
-
ReciprocalBox get_recibox()
-
void update(CartesianCoor3D q)
-
void update_kappas()
-
void update_reciprocal_box()
-
double compute_background(CartesianCoor3D q, IAtomselection *selection = nullptr)
-
void set_background(bool status)
-
ScatterFactors()