15 #ifndef BORNAGAIN_CORE_MULTILAYER_INTERFERENCEFUNCTIONUTILS_H
16 #define BORNAGAIN_CORE_MULTILAYER_INTERFERENCEFUNCTIONUTILS_H
19 #include <Eigen/StdVector>
27 using matrixFFVector_t = std::vector<Eigen::Matrix2cd, Eigen::aligned_allocator<Eigen::Matrix2cd>>;
29 std::vector<complex_t>
31 const std::vector<FormFactorCoherentSum>& ff_wrappers);
34 const std::vector<FormFactorCoherentSum>& ff_wrappers);
Defines complex_t, and a few elementary functions.
Data stucture containing both input and output of a single detector cell.
std::vector< complex_t > PrecomputeScalarFormFactors(const SimulationElement &sim_element, const std::vector< FormFactorCoherentSum > &ff_wrappers)
matrixFFVector_t PrecomputePolarizedFormFactors(const SimulationElement &sim_element, const std::vector< FormFactorCoherentSum > &ff_wrappers)
std::vector< Eigen::Matrix2cd, Eigen::aligned_allocator< Eigen::Matrix2cd > > matrixFFVector_t