Diffuse Scattering Supplementary

Utilities documentation for the RMC6f diffuse-scattering tool.

What This Page Is

This page collects supplementary material: backend provenance, scattering-table families, reproducibility notes, and citation-oriented context.

Backend Stack

Precision Note

The bundled WebGPU FFT/NUFFT stack and the CPU FFT path use single-precision (fp32) arithmetic. They do not provide fp64 execution. For demanding cases this can introduce small numerical differences, rounding-sensitive behavior, or precision-related artifacts.

For important scientific checks, compare against type3NufftCpuDirect and verify that the qualitative interpretation is stable with respect to backend and grid settings.

Scattering Table Families

The coefficient database records its generated source paths as helper_info/xray_scattering_factor_constants.f90 and helper_info/scattering_coefficients.f90.

When publishing, retain the exact family name shown in the UI in figure captions and methods text. Formal references for each family are collected in Bibliography.

Reproducibility Notes

For scientific comparison or publication, record:

Advanced Scattering Modes

Grouped exact (neutron)

Grouped exact evaluates grouped element contributions explicitly instead of using the lightweight fast neutron path. It is more explicit about per-element weighting and can be slower than Fast (neutron).

Ion (Peng)

Ion (Peng) is the electron-ion mode. It uses Peng ion coefficients together with the Ion valence mapping entered in the UI, for example Fe:2,O:-2. If an element/valence pair is unsupported by the embedded coefficient set, the calculator reports that explicitly.