BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
someff Namespace Reference

Some form factor functions. More...

Functions

complex_t ffSphere (cvector_t q, double R)
 Returns the form factor of a sphere of radius R. More...
 

Detailed Description

Some form factor functions.

Function Documentation

◆ ffSphere()

complex_t someff::ffSphere ( cvector_t  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.