faunus
Public Member Functions | List of all members
Faunus::Scatter::FormFactorSphere< T > Class Template Reference

Form factor, F(q), for a hard sphere of radius R. More...

#include <scatter.h>

Public Member Functions

template<class Tparticle >
T operator() (T q, const Tparticle &a) const
 

Detailed Description

template<std::floating_point T = float>
class Faunus::Scatter::FormFactorSphere< T >

Form factor, F(q), for a hard sphere of radius R.

Member Function Documentation

◆ operator()()

template<std::floating_point T = float>
template<class Tparticle >
T Faunus::Scatter::FormFactorSphere< T >::operator() ( T  q,
const Tparticle &  a 
) const
inline
Parameters
qq value in inverse angstroms
aparticle to take radius, R from
Returns
\(I(q)=\left [\frac{3}{(qR)^3}\left (\sin{qR}-qR\cos{qR}\right )\right ]^2\)

The documentation for this class was generated from the following file: