Simpatico
v1.10
|
This analyzer calculates structure factors using a specified set of "mode" vectors, which define weighting factors for different atom types, and a specified set of reciprocal lattice wavevectors.
See the McMd::StructureFactor class documentation for a precise mathematical definition of the structure factor, and an explanation of the notion of "modes". Also see the example input file below.
The parameter file format is:
in which
interval | number of steps between data samples |
outputFileName | name of output file |
nMode | number of modes (vectors in space of dimension nAtomType) |
modes | Each row is a vector of dimension nAtomType, which specifies a set of weight factors for different atom types in the calcultation of Fourier modes. |
nWave | number of reciprocal lattice wavevectors. |
waves | array of reciprocal lattice vectors, each specified on a separate line by 3 integer indices (Miller indices) |
Consider a system with nAtomType = 2, with two monomer types 0 and 1. The correlation function for the monomer density can be calculted using a mode vector (1,1). The correlation function for the difference between the A and B monomer concentrations can be calculated using the mode vector (1,-1). A parameter file input for simultaneously calculating the density and composition mode correlation functions for 5 wavevectors along the x axis in a cubic or orthorhombic unit cell might look like this:
At the end of a simulation, all of the structure factors are output in a file {outputFileName}.dat Each line in this file contains the results for a single wavevector. Each line contains the 3 Miller indices of a wavevector, the absolute magnitude of the wavevector, and a list of structure factor values for that wavevector, one for each mode.