48 throw std::runtime_error(
"FormFactorWeighted::bottomZ() -> Error: "
49 "'this' contains no form factors.");
51 [&rotation](
IFormFactor* ff) { return ff->bottomZ(rotation); });
57 throw std::runtime_error(
"FormFactorWeighted::topZ() -> Error: "
58 "'this' contains no form factors.");
60 [&rotation](
IFormFactor* ff) { return ff->topZ(rotation); });
85 Eigen::Matrix2cd result = Eigen::Matrix2cd::Zero();
Defines and implements namespace algo with some algorithms.
std::complex< double > complex_t
void setName(const std::string &name)
Pure virtual interface for rotations.
virtual const Material * material() const
Returns nullptr, unless overwritten to return a specific material.
A wrapper for underlying material implementation.
Holds all wavevector information relevant for calculating form factors.
double max_value(const Iterator &begin, const Iterator &end, const Evaluator &evaluate)
Returns the maximum value of function evaluate as applied to the elements of an iterator range.
double min_value(const Iterator &begin, const Iterator &end, const Evaluator &evaluate)
Returns the minimum value of function evaluate as applied to the elements of an iterator range.