16 #error no need to expose this header to Swig
20 #ifndef BORNAGAIN_SAMPLE_FFCOMPUTE_COMPUTEBAPOL_H
21 #define BORNAGAIN_SAMPLE_FFCOMPUTE_COMPUTEBAPOL_H
std::complex< double > complex_t
Defines and implements interface IFormFactor.
Provides polarized form factor evaluation in Born Approximation for given IFormFactor.
complex_t evaluate(const WavevectorInfo &wavevectors) const override
Throws not-implemented exception.
Eigen::Matrix2cd evaluatePol(const WavevectorInfo &wavevectors) const override
Calculates and returns a polarized form factor calculation in BA.
ComputeBAPol * clone() const override
ComputeBAPol(const IFormFactor &ff)
Abstract base class for form factor evaluations.
Holds all wavevector information relevant for calculating form factors.