1 #ifndef MCMD_COMPOSITION_PROFILE_H 2 #define MCMD_COMPOSITION_PROFILE_H 11 #include <mcMd/analyzers/SystemAnalyzer.h> 12 #include <mcMd/simulation/System.h> 13 #include <util/accumulators/Distribution.h> 14 #include <util/containers/DArray.h> 63 virtual void readParameters(std::istream& in);
75 void sample(
long iStep);
97 template <
class Archive>
98 void serialize(Archive &ar,
const unsigned int version);
104 virtual void output();
147 void makeWaveVectors();
155 template <
class Archive>
bool isInitialized_
Has readParam been called?
std::ofstream outputFile_
Output file stream.
bool isFirstStep_
True if this is the first step.
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.
void serialize(Archive &ar, const unsigned int version)
Serialize to/from an archive.
Utility classes for scientific computation.
int nDirection_
Number of directions.
DArray< Distribution > currentAccumulators_
Distribution statistical accumulators.
Template for Analyzer associated with one System.
Dynamically allocatable contiguous array template.
int nSample_
Number of samples thus far.
Saving archive for binary istream.
int nBins_
Number of bins for density profile.
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
DArray< Distribution > accumulators_
Distribution statistical accumulators.
DArray< Vector > waveVectors_
Array of direction vectors.
DArray< IntVector > intVectors_
Array of Miller index vectors for directions.
int nAtomType_
Number of atom types, copied from Simulation::nAtomType().
CompositionProfile evaluates the distribution of monomer positions along several user-specified direc...
void serialize(Archive &ar, const unsigned int version)
Serialize internal state to/from archive.