BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Functions | |
complex_t | ffSphere (cvector_t q, double R) |
Some form factor functions.
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, BasicVector3D< T >::x(), BasicVector3D< T >::y(), and BasicVector3D< T >::z().
Referenced by FormFactorFullSphere::evaluate_for_q(), FormFactorSphereGaussianRadius::evaluate_for_q(), and FormFactorSphereLogNormalRadius::evaluate_for_q().