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

Atom-specific constant form factor (q independent). More...

#include <scatter.h>

Public Member Functions

template<class Tscatterer >
T operator() (T, const Tscatterer &scatterer) const
 

Detailed Description

template<std::floating_point T = float>
struct Faunus::Scatter::FormFactorAtomicConstant< T >

Atom-specific constant form factor (q independent).

Returns the scattering_f0 property from AtomData for each scatterer. This allows atom-type specific scattering weights. For scatterers with id < 0, returns 1.0 (unity form factor).


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