Class AllVectorsScatterDeviceο
-
class AllVectorsScatterDevice : public AbstractVectorsScatterDeviceο
Calculates scattering using a frame-based decomposition.
This device calculates the total coherent scattering amplitude A(q,t) by considering all pairs of atoms in the system. It is selected by the
ScatterDeviceFactorywhen the configurationscattering.typeis set to βallβ.The parallelization strategy is decomposition by frames. The
stage_data()method, implemented viaDataStagerByFrame, distributes subsets of the total simulation frames to each MPI node within a partition. The computation for each q-vector is then parallelized across these nodes.