1 #ifndef MCMD_STRUCTURE_FACTOR_P_H 2 #define MCMD_STRUCTURE_FACTOR_P_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> 121 virtual void readParameters(std::istream& in);
143 template <
class Archive>
144 void serialize(Archive& ar,
const unsigned int version);
149 virtual void setup();
156 void sample(
long iStep);
161 virtual void output();
209 void makeWaveVectors();
216 template <
class Archive>
221 ar & nAtomTypeIdPair_;
222 ar & atomTypeIdPairs_;
224 ar & waveIntVectors_;
226 ar & structureFactors_;
StructureFactorP evaluates partial structure factors in Fourier space.
int nAtomTypeIdPair_
Number of selected atom type pairs.
std::ofstream outputFile_
Output file stream.
bool isInitialized_
Has readParam been called?
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.
DArray< IntVector > waveIntVectors_
Array of miller index IntVectors for wavevectors.
void serialize(Archive &ar, const unsigned int version)
Serialize to/from an archive.
Utility classes for scientific computation.
int nAtomType_
Number of atom types, copied from Simulation::nAtomType().
Template for Analyzer associated with one System.
int nSample_
Number of samples thus far.
Dynamically allocatable contiguous array template.
Saving archive for binary istream.
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.
DArray< Vector > waveVectors_
Array of wave vectors (temporary)
DArray< Pair< int > > atomTypeIdPairs_
Array of atom type indices (-1 indicates a sum of all types)
int nWave_
Number of wavevectors.