BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
Some form factor functions.
Functions | |
complex_t | ffSphere (C3 q, double R) |
Returns the form factor of a sphere of radius R. More... | |
complex_t SampleUtils::someff::ffSphere | ( | C3 | q, |
double | R | ||
) |
Returns the form factor of a sphere of radius R.
Used by the hard sphere and by several soft sphere classes.
Definition at line 21 of file SomeFormFactors.cpp.
References M_PI, and TMath::R().
Referenced by Sphere::formfactor_at_bottom(), and FuzzySphere::formfactor_at_bottom().