1 #ifndef MCMD_SEMI_GRAND_DISTRIBUTION_H 2 #define MCMD_SEMI_GRAND_DISTRIBUTION_H 11 #include <mcMd/analyzers/SystemAnalyzer.h> 12 #include <mcMd/mcSimulation/McSystem.h> 13 #include <util/accumulators/IntDistribution.h> 45 virtual void readParameters(std::istream& in);
67 template <
class Archive>
68 void serialize(Archive& ar,
const unsigned int version);
73 void sample(
long iStep);
78 virtual void output();
83 std::ofstream outputFile_;
92 int moleculeCapacity_;
105 template <
class Archive>
110 ar & moleculeCapacity_;
void serialize(Archive &ar, BoundaryEnsemble::Type &data, const unsigned int version)
Serialize a BoundaryEnsemble::Type enum value.
A System for use in a Markov chain Monte Carlo simulation.
A distribution (or histogram) of values for an int variable.
Classes used by all simpatico molecular simulations.
Mix-in class for mutable subclasses of Species.
Saving / output archive for binary ostream.
Utility classes for scientific computation.
Template for Analyzer associated with one System.
Saving archive for binary istream.
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
void serialize(Archive &ar, T &data, const unsigned int version)
Serialize one object of type T.
A Species represents a set of chemically similar molecules.
Calculate distribution of type indices for mutable species.