16 #error no need to expose this header to Swig
20 #ifndef BORNAGAIN_RESAMPLE_COHERENCE_COHERENTFFSUM_H
21 #define BORNAGAIN_RESAMPLE_COHERENCE_COHERENTFFSUM_H
24 #include <heinz/Complex.h>
35 CoherentFFSum(
double abundance, std::vector<std::shared_ptr<const SumDWBA>> terms);
45 const std::vector<std::shared_ptr<const SumDWBA>>
m_terms;
Defines class SpinMatrix.
Information about particle form factor and abundance.
SpinMatrix summedPolFF(const DiffuseElement &ele) const
double radialExtension() const
CoherentFFSum(double abundance, std::vector< std::shared_ptr< const SumDWBA >> terms)
double relativeAbundance() const
complex_t summedFF(const DiffuseElement &ele) const
const std::vector< std::shared_ptr< const SumDWBA > > m_terms
Data stucture containing both input and output of a single detector cell.
Computes coherent sum of the four DWBA terms. Wraps an IReParticle, and provides functions evaluate o...