28 for (
const auto& part :
m_parts)
29 result += part.evaluate(sim_element);
35 Eigen::Matrix2cd result = Eigen::Matrix2cd::Zero();
36 for (
const auto& part :
m_parts)
37 result += part.evaluatePol(sim_element);
43 if (total_abundance <= 0.0)
44 throw std::runtime_error(
"FormFactorCoherentSum::scaleRelativeAbundance: "
45 "Trying to scale with non strictly positive factor.");
51 return m_parts[0].radialExtension();
56 : m_parts(parts), m_abundance(abundance)
std::complex< double > complex_t
Defines class SimulationElement.
Data stucture containing both input and output of a single detector cell.