17 FormFactorDot::FormFactorDot(
const std::vector<double> P)
20 "dot, with scattering power of a sphere of given radius",
21 {{
"Radius",
"nm",
"radius of sphere that defines scattering power", 0, +INF, 0}}},
28 FormFactorDot::FormFactorDot(
double radius) :
FormFactorDot(std::vector<double>{radius}) {}
32 return 4 * M_PI / 3 * pow(m_radius, 3);
virtual void onChange()
Action to be taken in inherited class when a parameter has changed.