1 #ifndef MCMD_INTRA_STRUCTURE_FACTOR_H 2 #define MCMD_INTRA_STRUCTURE_FACTOR_H 11 #include <mcMd/analyzers/SystemAnalyzer.h> 12 #include <mcMd/simulation/System.h> 13 #include <util/containers/DMatrix.h> 14 #include <util/containers/DArray.h> 15 #include <util/containers/Pair.h> 122 virtual void readParameters(std::istream& in);
144 template <
class Archive>
145 void serialize(Archive& ar,
const unsigned int version);
150 virtual void setup();
157 void sample(
long iStep);
162 virtual void output();
220 void makeWaveVectors();
227 template <
class Archive>
229 const unsigned int version)
233 ar & nAtomTypeIdPair_;
234 ar & atomTypeIdPairs_;
236 ar & waveIntVectors_;
238 ar & structureFactors_;
int nAtomTypeIdPair_
Number of selected atom type pairs.
DMatrix< std::complex< double > > fourierModes_
Fourier modes.
Intramolecular contribution to the structure factor S(k)
DMatrix< double > structureFactorDelta_
Contribution of current time step to structure factor average.
A set of interacting Molecules enclosed by a Boundary.
File containing preprocessor macros for error handling.
void serialize(Archive &ar, PairSelector &selector, const unsigned int version)
Serialize a PairSelector.
Saving / output archive for binary ostream.
int nSample_
Number of samples thus far.
void serialize(Archive &ar, const unsigned int version)
Serialize to/from an archive.
Utility classes for scientific computation.
int nWave_
Number of wavevectors.
Template for Analyzer associated with one System.
int speciesId_
Index for molecular species.
int nAtomType_
Number of atom types, copied from Simulation::nAtomType().
Dynamically allocatable contiguous array template.
Saving archive for binary istream.
std::ofstream outputFile_
Output file stream.
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
DMatrix< double > structureFactors_
Structure factor accumulators.
void serialize(Archive &ar, const unsigned int version)
Serialize to/from an archive.